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

Disassembly:
mov eax, 0x40
call fcn.004aee10
push ebx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.0042a330
mov edi, dword [esp + 0x78]
push edi
call fcn.0042afa0
push edi
mov esi, eax
call fcn.0042afb0
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x34], ebp
jge 0x476947
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
push 0x8a
push str..cryptopkcs12p12_key.c
push esi
call fcn.00419d30
push 0x8b
push str..cryptopkcs12p12_key.c
push ebp
mov dword [esp + 0x44], eax
call fcn.00419d30
push 0x8c
lea ecx, [esi + 1]
push str..cryptopkcs12p12_key.c
push ecx
mov dword [esp + 0x3c], eax
call fcn.00419d30
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 0x4769b4
lea eax, [esi + eax - 1]
cdq
idiv esi
imul eax, esi
mov dword [esp + 0x20], eax
jmp 0x4769ba
mov dword [esp + 0x20], ebx
mov eax, ebx
push 0x91
add eax, edi
push str..cryptopkcs12p12_key.c
push eax
mov dword [esp + 0x34], eax
call fcn.00419d30
add esp, 0xc
mov dword [esp + 0x1c], eax
call fcn.0041ac40
mov dword [esp + 0x10], eax
call fcn.0041ac40
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp ecx, ebx
je 0x476a81
cmp dword [esp + 0x18], ebx
je 0x476a81
cmp dword [esp + 0x14], ebx
je 0x476a81
cmp dword [esp + 0x1c], ebx
je 0x476a81
cmp dword [esp + 0x10], ebx
je 0x476a81
cmp eax, ebx
je 0x476a81
cmp esi, ebx
jle 0x476a28
mov eax, dword [esp + 0x64]
push esi
push eax
push ecx
call fcn.004c42d0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test edi, edi
jle 0x476a47
mov eax, ebx
cdq
idiv dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
inc ebx
inc ecx
cmp ebx, edi
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x476a30
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x476a69
nop
mov eax, edi
cdq
idiv dword [esp + 0x58]
mov eax, dword [esp + 0x54]
inc edi
inc ecx
cmp edi, dword [esp + 0x20]
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
jl 0x476a50
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0042a380
add esp, 0xc
test eax, eax
jne 0x476af4
push 0xd1
push str..cryptopkcs12p12_key.c
push 0x41
push 0x6f
push 0x23
call fcn.00423100
add esp, 0x14
mov eax, dword [esp + 0x18]
push eax
call fcn.00419ed0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00419ed0
mov edx, dword [esp + 0x34]
push edx
call fcn.00419ed0
mov eax, dword [esp + 0x28]
push eax
call fcn.00419ed0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041abe0
mov edx, dword [esp + 0x38]
push edx
call fcn.0041abe0
lea eax, [esp + 0x50]
push eax
call fcn.0042a5c0
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.0042a530
add esp, 0xc
test eax, eax
je 0x476a81
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042a530
add esp, 0xc
test eax, eax
je 0x476a81
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0042a540
add esp, 0xc
test eax, eax
je 0x476a81
mov ebx, dword [esp + 0x68]
mov edi, 1
cmp ebx, edi
jle 0x476baf
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0042a380
add esp, 0xc
test eax, eax
je 0x476a81
mov edx, dword [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0042a530
add esp, 0xc
test eax, eax
je 0x476a81
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0042a540
add esp, 0xc
test eax, eax
je 0x476a81
inc edi
cmp edi, ebx
jl 0x476b57
mov edi, dword [esp + 0x6c]
cmp edi, ebp
mov eax, edi
jl 0x476bbb
mov eax, ebp
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x74]
push ebx
push eax
call fcn.004c3bb0
add esp, 0xc
cmp ebp, edi
jge 0x476d45
add dword [esp + 0x70], ebp
sub edi, ebp
xor ecx, ecx
mov dword [esp + 0x6c], edi
test esi, esi
jle 0x476bfb
mov eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, esi
mov dl, byte [edx + ebx]
mov byte [ecx + eax - 1], dl
jl 0x476be6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call fcn.0041aee0
add esp, 0xc
test eax, eax
je 0x476a81
mov eax, dword [esp + 0x24]
push 1
push eax
call fcn.00439020
add esp, 8
test eax, eax
je 0x476a81
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jle 0x476d24
mov ebx, dword [esp + 0x1c]
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.0041aee0
add esp, 0xc
test eax, eax
je 0x476a81
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
call fcn.004474c0
add esp, 0xc
test eax, eax
je 0x476a81
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0041afc0
add esp, 8
test eax, eax
je 0x476a81
mov edx, dword [esp + 0x10]
push edx
call fcn.0041ab50
add eax, 7
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
add esp, 4
cmp edi, esi
jle 0x476cd7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0041afc0
add esp, 8
test eax, eax
je 0x476a81
mov edx, dword [esp + 0x14]
push esi
inc edx
push edx
push ebx
call fcn.004c3bb0
add esp, 0xc
jmp 0x476d16
jge 0x476d00
mov eax, esi
sub eax, edi
push eax
push 0
push ebx
call fcn.004c42d0
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.0041afc0
add esp, 0x14
jmp 0x476d0e
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.0041afc0
add esp, 8
test eax, eax
je 0x476a81
add ebp, esi
add ebx, esi
cmp ebp, dword [esp + 0x28]
jl 0x476c40
mov ecx, dword [esp + 0x74]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0042a380
add esp, 0xc
test eax, eax
jne 0x476af0
jmp 0x476a81
mov dword [esp + 0x30], 1
jmp 0x476a99