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

Disassembly:
mov eax, 0x4c
call fcn.005dc4c0
mov eax, dword [0x6b8dd8]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
push ebx
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov eax, dword [esp + 0x68]
push ebp
mov dword [esp + 0x24], eax
xor ebp, ebp
mov eax, dword [esp + 0x70]
push esi
mov dword [esp + 0x3c], eax
xor esi, esi
mov eax, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 0x28], esi
and eax, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x5152f6
push 0xdd
push str.cryptopempem_lib.c
push 0
push esi
call fcn.004f1fd0
push 0xdd
push str.cryptopempem_lib.c
push 0
push edi
call fcn.004f1fd0
push 0xdd
push str.cryptopempem_lib.c
push ebp
push ebx
call fcn.004f1fd0
add esp, 0x30
jmp 0x515329
push 0xdf
push str.cryptopempem_lib.c
push esi
call fcn.004d98d0
push 0xdf
push str.cryptopempem_lib.c
push edi
call fcn.004d98d0
push 0xdf
push str.cryptopempem_lib.c
push ebx
call fcn.004d98d0
add esp, 0x24
push dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x4c]
call fcn.00514330
add esp, 0x18
test eax, eax
je 0x5154a4
push dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push esi
call fcn.00514860
add esp, 8
test eax, eax
jne 0x51537f
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
jmp 0x5152b8
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.00514050
mov edi, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x5153e0
push dword [esp + 0x40]
lea eax, [esp + 0x14]
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00513ea0
add esp, 0x14
test eax, eax
je 0x5153e0
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
mov dword [eax], edi
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5153d2
mov dword [eax], esi
mov dword [esp + 0x24], 1
test eax, eax
jne 0x515415
jmp 0x5153e4
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
je 0x515402
push 0xdd
push str.cryptopempem_lib.c
push 0
push esi
call fcn.004f1fd0
add esp, 0x10
jmp 0x515415
push 0xdf
push str.cryptopempem_lib.c
push esi
call fcn.004d98d0
add esp, 0xc
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x515434
push 0xdd
push str.cryptopempem_lib.c
push 0
push ebp
call fcn.004f1fd0
add esp, 0x10
jmp 0x515447
push 0xdf
push str.cryptopempem_lib.c
push ebp
call fcn.004d98d0
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x51548f
test esi, esi
je 0x51547c
push 0xdd
push str.cryptopempem_lib.c
push ebx
push edi
call fcn.004f1fd0
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005db6f9
add esp, 0x4c
ret
push 0xdf
push str.cryptopempem_lib.c
push edi
call fcn.004d98d0
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005db6f9
add esp, 0x4c
ret
call fcn.004e8e70
and eax, 0xfff
cmp eax, 0x6c
jne 0x5154c6
push dword [esp + 0x20]
push str.Expecting:
push 2
call fcn.004e87c0
add esp, 0xc
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005db6f9
add esp, 0x4c
ret