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

Disassembly:
mov eax, 0x140
call fcn.005c5c30
push ebx
push esi
mov esi, dword [esp + 0x14c]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x530241
mov edi, dword [esi + 0x1bc]
cmp edi, ebx
jne 0x52fee4
cmp dword [esi + 0x1c0], ebx
je 0x530241
push 0x78
lea eax, [esp + 0x18]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [esi]
add esp, 0xc
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
cmp edi, ebx
jne 0x52ff0e
mov eax, dword [esi + 0x1c0]
jmp 0x52ff11
mov eax, dword [edi + 0xc]
mov edx, eax
sar edx, 8
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x10], dl
mov dword [esp + 0x114], eax
mov dword [esp + 0x10c], 2
mov dword [esp + 0x118], ebx
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x1b8], ebx
je 0x52ff80
mov dl, byte [esi + 0x1b8]
lea eax, [esp + 0xf]
lea ecx, [esp + 0x13c]
mov byte [esp + 0xf], dl
mov dword [esp + 0x144], eax
mov dword [esp + 0x13c], 1
mov dword [esp + 0x148], ebx
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x148]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x16c]
lea edx, [esi + 0x48]
mov dword [esp + 0xb4], edx
lea edx, [esi + 0x14c]
mov dword [esp + 0x134], edx
mov dword [esp + 0xcc], eax
mov eax, dword [esi + 0x1b4]
lea edx, [esi + 0x170]
mov dword [esp + 0xd4], edx
cdq
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1b0]
mov dword [esp + 0x38], edx
cdq
lea ecx, [esp + 0xac]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x1a8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x19c]
lea ecx, [esp + 0xcc]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
cmp edx, ebx
je 0x53006b
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x530040
sub eax, edi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x50], ecx
jmp 0x53006f
mov dword [esp + 0x50], ebx
mov eax, dword [esi + 0x1d4]
cmp eax, ebx
je 0x53009f
mov edx, dword [esi + 0x1d8]
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x1dc]
cmp eax, ebx
jbe 0x5300b1
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov edx, dword [esi + 0x190]
mov ecx, dword [esi + 0x1e0]
mov dword [esp + 0x5c], ecx
cmp edx, ebx
je 0x5300fb
mov eax, edx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5300d0
mov dword [esp + 0xa4], edx
sub eax, edi
lea edx, [esp + 0x9c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x64], edx
jmp 0x5300ff
mov dword [esp + 0x64], ebx
mov edx, dword [esi + 0x194]
cmp edx, ebx
je 0x53013b
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x530110
sub eax, edi
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x68], eax
jmp 0x53013f
mov dword [esp + 0x68], ebx
mov edx, dword [esi + 0x1f4]
cmp edx, ebx
je 0x53017b
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x530150
sub eax, edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0x6c], ecx
jmp 0x53017f
mov dword [esp + 0x6c], ebx
mov eax, dword [esi + 0x1e4]
mov edx, dword [esi + 0x200]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x1e8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
cmp eax, ebx
jne 0x5301aa
mov dword [esp + 0x80], ebx
jmp 0x5301d3
mov ecx, dword [esi + 0x1ec]
lea edx, [esp + 0xfc]
mov dword [esp + 0x104], eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x80], edx
movzx eax, byte [esi + 0x1f0]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x1f8]
cmp eax, ebx
jne 0x5301f4
mov dword [esp + 0x88], ebx
jmp 0x53021d
mov ecx, dword [esi + 0x1fc]
lea edx, [esp + 0x11c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x154]
push 0x61e3b8
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004e9110
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x140
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x140
ret