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

Disassembly:
mov eax, 0x40
call fcn.00497d50
push ebx
push ebp
push esi
lea eax, [esp + 0x34]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.004d43f0
mov edi, dword [esp + 0x78]
push edi
call fcn.004eb770
push edi
mov esi, eax
call fcn.004e41d0
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
mov dword [esp + 0x34], ebp
jge 0x50dac7
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.004cc280
push 0x8e
push str..cryptopkcs12p12_key.c
push ebp
mov dword [esp + 0x44], eax
call fcn.004cc280
push 0x8f
lea ecx, [esi + 1]
push str..cryptopkcs12p12_key.c
push ecx
mov dword [esp + 0x3c], eax
call fcn.004cc280
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 0x50db34
lea eax, [esi + eax - 1]
cdq
idiv esi
imul eax, esi
mov dword [esp + 0x20], eax
jmp 0x50db3a
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.004cc280
add esp, 0xc
mov dword [esp + 0x1c], eax
call fcn.004d0c80
mov dword [esp + 0x10], eax
call fcn.004d0c80
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x24], eax
je 0x50dc15
cmp dword [esp + 0x18], ebx
je 0x50dc15
cmp dword [esp + 0x14], ebx
je 0x50dc15
cmp dword [esp + 0x1c], ebx
je 0x50dc15
cmp dword [esp + 0x10], ebx
je 0x50dc15
cmp eax, ebx
je 0x50dc15
cmp esi, ebx
jle 0x50dbb0
mov eax, dword [esp + 0x64]
push esi
push eax
push ecx
call fcn.0044ea7c
add esp, 0xc
test edi, edi
mov ecx, dword [esp + 0x1c]
jle 0x50dbd3
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 0x50dbb8
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x50dbfd
jmp 0x50dbe0
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 0x50dbe0
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004d4440
add esp, 0xc
test eax, eax
jne 0x50dc86
push 0xda
push str..cryptopkcs12p12_key.c
push 0x41
push 0x6f
push 0x23
call fcn.004c7a20
add esp, 0x14
mov eax, dword [esp + 0x18]
push eax
call fcn.004cc480
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004cc480
mov edx, dword [esp + 0x34]
push edx
call fcn.004cc480
mov eax, dword [esp + 0x28]
push eax
call fcn.004cc480
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004d0c20
mov edx, dword [esp + 0x38]
push edx
call fcn.004d0c20
lea eax, [esp + 0x50]
push eax
call fcn.004d4680
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.004d45f0
add esp, 0xc
test eax, eax
je 0x50dc15
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004d45f0
add esp, 0xc
test eax, eax
je 0x50dc15
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d4600
add esp, 0xc
test eax, eax
je 0x50dc15
mov ebx, dword [esp + 0x68]
mov edi, 1
cmp ebx, edi
jle 0x50dd4a
lea esp, [esp]
mov eax, dword [esp + 0x74]
push 0
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004d4440
add esp, 0xc
test eax, eax
je 0x50dc15
mov edx, dword [esp + 0x18]
push ebp
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004d45f0
add esp, 0xc
test eax, eax
je 0x50dc15
mov ecx, dword [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d4600
add esp, 0xc
test eax, eax
je 0x50dc15
add edi, 1
cmp edi, ebx
jl 0x50dcf0
mov edi, dword [esp + 0x6c]
cmp edi, ebp
mov eax, edi
jl 0x50dd56
mov eax, ebp
mov ebx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x74]
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp ebp, edi
jge 0x50dee7
add dword [esp + 0x70], ebp
sub edi, ebp
xor ecx, ecx
test esi, esi
mov dword [esp + 0x6c], edi
jle 0x50dd98
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 0x50dd81
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
call fcn.004d0f20
add esp, 0xc
test eax, eax
je 0x50dc15
mov eax, dword [esp + 0x24]
push 1
push eax
call fcn.005059e0
add esp, 8
test eax, eax
je 0x50dc15
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jle 0x50dec6
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.004d0f20
add esp, 0xc
test eax, eax
je 0x50dc15
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edx
push eax
push eax
call fcn.0050d090
add esp, 0xc
test eax, eax
je 0x50dc15
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004d1010
add esp, 8
test eax, eax
je 0x50dc15
mov edx, dword [esp + 0x10]
push edx
call fcn.004d0b90
add eax, 7
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
add esp, 4
cmp edi, esi
jle 0x50de79
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.004d1010
add esp, 8
test eax, eax
je 0x50dc15
mov edx, dword [esp + 0x14]
push esi
add edx, 1
push edx
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x50deb8
jge 0x50dea2
mov eax, esi
sub eax, edi
push eax
push 0
push ebx
call fcn.0044ea7c
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.004d1010
add esp, 0x14
jmp 0x50deb0
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.004d1010
add esp, 8
test eax, eax
je 0x50dc15
add ebp, esi
add ebx, esi
cmp ebp, dword [esp + 0x28]
jl 0x50dde0
mov ecx, dword [esp + 0x74]
push 0
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d4440
add esp, 0xc
test eax, eax
jne 0x50dc82
jmp 0x50dc15
mov dword [esp + 0x30], 1
jmp 0x50dc2d