Function at 0x100317c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x40
call fcn.10117200
push ebx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.100067e0
mov edi, dword [esp + 0x78]
push edi
call fcn.10035d30
push edi
mov esi, eax
call fcn.10006360
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x34], ebp
jge 0x10031807
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push 0x8d
push str..cryptopkcs12p12_key.c
push esi
call fcn.10002040
push 0x8e
push str..cryptopkcs12p12_key.c
push ebp
mov dword [esp + 0x44], eax
call fcn.10002040
push 0x8f
lea ecx, [esi + 1]
push str..cryptopkcs12p12_key.c
push ecx
mov dword [esp + 0x3c], eax
call fcn.10002040
mov edx, dword [esp + 0x84]
mov dword [esp + 0x38], eax
lea eax, [esi + edx - 1]
cdq
idiv esi
add esp, 0x24
mov edi, eax
mov eax, dword [esp + 0x58]
imul edi, esi
cmp eax, ebx
je 0x10031874
lea eax, [esi + eax - 1]
cdq
idiv esi
imul eax, esi
mov dword [esp + 0x20], eax
jmp 0x1003187a
mov dword [esp + 0x20], ebx
mov eax, ebx
push 0x96
add eax, edi
push str..cryptopkcs12p12_key.c
push eax
mov dword [esp + 0x34], eax
call fcn.10002040
add esp, 0xc
mov dword [esp + 0x1c], eax
call fcn.100275d0
mov dword [esp + 0x10], eax
call fcn.100275d0
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x24], eax
je 0x10031955
cmp dword [esp + 0x18], ebx
je 0x10031955
cmp dword [esp + 0x14], ebx
je 0x10031955
cmp dword [esp + 0x1c], ebx
je 0x10031955
cmp dword [esp + 0x10], ebx
je 0x10031955
cmp eax, ebx
je 0x10031955
cmp esi, ebx
jle 0x100318f0
mov eax, dword [esp + 0x64]
push esi
push eax
push ecx
call fcn.1011a970
add esp, 0xc
test edi, edi
mov ecx, dword [esp + 0x1c]
jle 0x10031913
mov eax, ebx
cdq
idiv dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
add ebx, 1
add ecx, 1
cmp ebx, edi
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x100318f8
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x1003193d
jmp 0x10031920
mov eax, edi
cdq
idiv dword [esp + 0x58]
mov eax, dword [esp + 0x54]
add edi, 1
add ecx, 1
cmp edi, dword [esp + 0x20]
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x10031920
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10006830
add esp, 0xc
test eax, eax
jne 0x100319c6
push 0xda
push str..cryptopkcs12p12_key.c
push 0x41
push 0x6f
push 0x23
call fcn.10005d50
add esp, 0x14
mov eax, dword [esp + 0x18]
push eax
call fcn.100021f0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100021f0
mov edx, dword [esp + 0x34]
push edx
call fcn.100021f0
mov eax, dword [esp + 0x28]
push eax
call fcn.100021f0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.10027570
mov edx, dword [esp + 0x38]
push edx
call fcn.10027570
lea eax, [esp + 0x50]
push eax
call fcn.10006a70
mov eax, dword [esp + 0x4c]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
push esi
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100069e0
add esp, 0xc
test eax, eax
je 0x10031955
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100069e0
add esp, 0xc
test eax, eax
je 0x10031955
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x10031955
mov ebx, dword [esp + 0x68]
mov edi, 1
cmp ebx, edi
jle 0x10031a8a
lea esp, [esp]
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10006830
add esp, 0xc
test eax, eax
je 0x10031955
mov edx, dword [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x40]
push eax
call fcn.100069e0
add esp, 0xc
test eax, eax
je 0x10031955
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.100069f0
add esp, 0xc
test eax, eax
je 0x10031955
add edi, 1
cmp edi, ebx
jl 0x10031a30
mov edi, dword [esp + 0x6c]
cmp edi, ebp
mov eax, edi
jl 0x10031a96
mov eax, ebp
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x74]
push ebx
push eax
call fcn.1011aad0
add esp, 0xc
cmp ebp, edi
jge 0x10031c27
add dword [esp + 0x70], ebp
sub edi, ebp
xor ecx, ecx
test esi, esi
mov dword [esp + 0x6c], edi
jle 0x10031ad8
mov eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x14]
add ecx, 1
cmp ecx, esi
mov dl, byte [edx + ebx]
mov byte [ecx + eax - 1], dl
jl 0x10031ac1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call fcn.10027870
add esp, 0xc
test eax, eax
je 0x10031955
mov eax, dword [esp + 0x24]
push 1
push eax
call fcn.10028590
add esp, 8
test eax, eax
je 0x10031955
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jle 0x10031c06
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.10027870
add esp, 0xc
test eax, eax
je 0x10031955
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
call fcn.1002fde0
add esp, 0xc
test eax, eax
je 0x10031955
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.10027960
add esp, 8
test eax, eax
je 0x10031955
mov edx, dword [esp + 0x10]
push edx
call fcn.100274e0
add eax, 7
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
add esp, 4
cmp edi, esi
jle 0x10031bb9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.10027960
add esp, 8
test eax, eax
je 0x10031955
mov edx, dword [esp + 0x14]
push esi
add edx, 1
push edx
push ebx
call fcn.1011aad0
add esp, 0xc
jmp 0x10031bf8
jge 0x10031be2
mov eax, esi
sub eax, edi
push eax
push 0
push ebx
call fcn.1011a970
mov edx, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, edi
add ecx, dword [esp + 0x28]
add ecx, esi
push ecx
push edx
call fcn.10027960
add esp, 0x14
jmp 0x10031bf0
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.10027960
add esp, 8
test eax, eax
je 0x10031955
add ebp, esi
add ebx, esi
cmp ebp, dword [esp + 0x28]
jl 0x10031b20
mov ecx, dword [esp + 0x74]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.10006830
add esp, 0xc
test eax, eax
jne 0x100319c2
jmp 0x10031955
mov dword [esp + 0x30], 1
jmp 0x1003196d