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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 0x1eb4]
cmp eax, 1
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
je 0x52ea56
cmp eax, 4
je 0x52ea56
mov eax, dword [ecx + 0x1ea0]
jmp 0x52ea5c
mov eax, dword [ecx + 0x1ea8]
mov ebx, dword [ecx + 0x1ec0]
mov esi, dword [ecx + 0x1ebc]
mov dword [ebp - 4], eax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 4]
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
mov eax, dword [0x62d190]
push 0x10
push 2
add ebx, 0x18
mov dword [ebp - 0x10], eax
call fcn.004581aa
push 0
push 1
mov edi, eax
push 1
push edi
push dword [ebp - 4]
mov ecx, edi
call fcn.0045dd7b
mov ecx, eax
call fcn.00455986
mov ax, word [ebx + 0x158]
push 0
push 0
push 1
push edi
push dword [ebp - 4]
mov ecx, edi
mov word [edi + 0xe], ax
call fcn.0045dd7b
mov ecx, eax
call fcn.00455986
mov eax, dword [esi + 8]
mov ecx, eax
imul ecx, ecx, 0xe0
mov edx, eax
imul eax, eax, 0x1c
imul edx, edx, 0x38
lea edi, [ecx + esi]
mov ecx, dword [edi + 0xd0]
add edx, ecx
add eax, ecx
mov ecx, dword [esi + edx*4 + 0x28]
lea eax, [ecx + eax*2 + 0x26]
xor ecx, ecx
cmp dword [esi + eax*4], ecx
sete cl
push ecx
mov ecx, dword [ebp - 4]
push 0x61a3dc
call fcn.0045751c
and dword [ebp - 8], 0
xor esi, esi
xor eax, eax
mov eax, dword [0x648e08]
imul eax, eax, 0x1c
add eax, dword [ebp - 8]
mov ecx, 0x62d3e0
lea eax, [esi + eax*2 + 0x28]
mov al, byte [eax*4 + 0x648df8]
and eax, 0xffffff01
push eax
push esi
push dword [ebp - 8]
call fcn.00449e35
inc esi
cmp esi, 2
jl 0x52eb12
inc dword [ebp - 8]
cmp dword [ebp - 8], 7
jl 0x52eb10
lea ecx, [edi + 0xc]
call fcn.00448fe1
lea esi, [eax + 0x610]
mov dword [ebp - 8], eax
mov eax, dword [0x6442ec]
lea edi, [eax + 0x2320]
mov ecx, 0xe2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10]
call fcn.004434a2
test al, al
je 0x52f251
mov eax, dword [ebp - 8]
mov esi, dword [0x62d190]
mov edi, dword [eax + 0x9c4]
push edi
mov ecx, esi
call fcn.004437e8
cmp eax, 0xffffffff
je 0x52ebac
push edi
mov ecx, esi
call fcn.004437e8
mov ecx, dword [0x6442ec]
mov dword [ecx], eax
mov eax, dword [0x6442ec]
mov eax, dword [eax]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
mov ecx, esi
call fcn.00443927
test al, al
mov eax, dword [0x6442ec]
je 0x52ec7e
mov ecx, dword [eax]
mov dl, byte [ebp - 0x1c]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c0], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x1b]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c1], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x1a]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c2], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x19]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c3], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x18]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c4], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x17]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c5], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x16]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c6], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x15]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c7], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x14]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c8], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x13]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24c9], dl
mov ecx, dword [eax]
mov dl, byte [ebp - 0x12]
imul ecx, ecx, 0x1b
mov byte [ecx + eax + 0x24ca], dl
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 0x794], ecx
xor edi, edi
mov ecx, dword [eax]
dec ecx
mov dword [eax + 0x10], 0x1068
mov dword [eax + 0x14], 0x1388
mov dword [ebx + 0x158], ecx
mov ecx, dword [0x63cef0]
mov dword [eax + 0x18], edi
push 0x60a690
mov dword [eax + 0x1c], edi
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x20], eax
mov ecx, dword [0x63cef0]
push 0x60a688
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x24], eax
mov ecx, dword [0x63cef0]
push 0x617308
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x28], eax
mov ecx, dword [0x63cef0]
push 0x617300
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x2c], eax
mov ecx, dword [0x63cef0]
push 0x61ab98
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x30], eax
mov ecx, dword [0x63cef0]
mov esi, 0x61ab8c
push esi
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x34], eax
mov ecx, dword [0x63cef0]
push 0x61ab84
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x38], eax
mov ecx, dword [0x63cef0]
push 0x61ab78
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x3c], eax
mov ecx, dword [0x63cef0]
push 0x61ab64
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x40], eax
mov ecx, dword [0x63cef0]
push 0x61ab50
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x44], eax
mov ecx, dword [0x63cef0]
push 0x61ab40
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x48], eax
mov ecx, dword [0x63cef0]
push 0x61ab30
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x4c], eax
mov ecx, dword [0x63cef0]
push 0x61ab1c
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x50], eax
mov ecx, dword [0x63cef0]
push 0x61ab10
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x54], eax
mov ecx, dword [0x63cef0]
push 0x61ab00
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x58], eax
mov ecx, dword [0x63cef0]
push 0x61aaf4
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x5c], eax
mov ecx, dword [0x63cef0]
push 0x61aae8
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x60], eax
mov ecx, dword [0x63cef0]
push esi
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x64], eax
mov ecx, dword [0x63cef0]
push 0x61aadc
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x68], eax
mov ecx, dword [0x63cef0]
push 0x61aad0
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x6c], eax
mov ecx, dword [0x63cef0]
push 0x61aac4
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x70], eax
mov ecx, dword [0x63cef0]
push 0x61aab8
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x74], eax
mov ecx, dword [0x63cef0]
push 0x61aaa4
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x78], eax
mov ecx, dword [0x63cef0]
push 0x61aa98
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x7c], eax
mov ecx, dword [0x63cef0]
push 0x61aa90
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x80], eax
mov ecx, dword [0x63cef0]
mov esi, 0x61aa88
push esi
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x84], eax
mov ecx, dword [0x63cef0]
push 0x61aa80
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x88], eax
mov ecx, dword [0x63cef0]
push 0x61aa78
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x8c], eax
mov ecx, dword [0x63cef0]
push esi
call fcn.004e055e
mov ecx, dword [0x6442ec]
mov dword [ecx + 0x90], eax
mov ecx, dword [0x63cef0]
push 0x61aa70
call fcn.004e055e
mov ecx, dword [0x6442ec]
push 0x14
pop esi
mov dword [ecx + 0x94], eax
mov dword [ecx + 0x1fd8], esi
push 0x23
pop eax
mov dword [ecx + 0x1fe0], eax
mov edx, 0x190
mov dword [ecx + 0x1ff4], edx
mov dword [ecx + 0x2000], edi
mov dword [ecx + 0x1fe8], esi
mov dword [ecx + 0x1fec], eax
mov dword [ecx + 0x2014], esi
mov dword [ecx + 0x201c], eax
mov dword [ecx + 0x2030], edx
mov dword [ecx + 0x203c], edi
mov dword [ecx + 0x2024], esi
mov dword [ecx + 0x2028], eax
push 0x3c
pop eax
mov dword [ecx + 0x2050], eax
push 0x55
pop esi
mov dword [ecx + 0x2058], esi
mov dword [ecx + 0x206c], edx
mov dword [ecx + 0x2078], edi
mov dword [ecx + 0x2060], eax
mov dword [ecx + 0x2064], esi
mov dword [ecx + 0x208c], eax
mov dword [ecx + 0x2094], esi
mov dword [ecx + 0x20a8], edx
mov dword [ecx + 0x20b4], edi
mov dword [ecx + 0x209c], eax
mov dword [ecx + 0x20a0], esi
mov dword [ecx + 0x20c8], eax
push 0x78
pop esi
mov dword [ecx + 0x20d0], esi
mov dword [ecx + 0x20e4], edx
mov ebx, 0x3e8
mov dword [ecx + 0x20f0], ebx
mov dword [ecx + 0x20d8], eax
mov dword [ecx + 0x20dc], esi
mov dword [ecx + 0x2104], eax
mov dword [ecx + 0x210c], esi
mov dword [ecx + 0x2120], edx
mov dword [ecx + 0x212c], ebx
mov dword [ecx + 0x2114], eax
mov dword [ecx + 0x2118], esi
mov dword [ecx + 0x2140], eax
mov dword [ecx + 0x2148], esi
mov dword [ecx + 0x215c], edx
mov dword [ecx + 0x2168], ebx
mov dword [ecx + 0x2150], eax
mov dword [ecx + 0x2154], esi
push 0x28
pop edi
mov dword [ecx + 0x217c], edi
mov dword [ecx + 0x2184], eax
mov dword [ecx + 0x2198], edx
and dword [ecx + 0x21a4], 0
mov dword [ecx + 0x218c], edi
mov dword [ecx + 0x2190], eax
mov dword [ecx + 0x21b8], edi
mov dword [ecx + 0x21c0], eax
mov dword [ecx + 0x21d4], edx
and dword [ecx + 0x21e0], 0
mov dword [ecx + 0x21c8], edi
mov dword [ecx + 0x21cc], eax
push 0x64
pop edi
mov dword [ecx + 0x21f4], edi
mov dword [ecx + 0x21fc], 0x8c
mov dword [ecx + 0x2210], edx
and dword [ecx + 0x221c], 0
mov dword [ecx + 0x2204], edi
mov dword [ecx + 0x2208], 0x8c
mov dword [ecx + 0x2230], edi
mov dword [ecx + 0x2238], 0x8c
mov dword [ecx + 0x224c], edx
and dword [ecx + 0x2258], 0
mov dword [ecx + 0x2240], edi
mov dword [ecx + 0x2244], 0x8c
mov dword [ecx + 0x226c], edi
mov dword [ecx + 0x2274], 0xc8
mov dword [ecx + 0x2288], edx
mov dword [ecx + 0x2294], ebx
mov dword [ecx + 0x227c], edi
mov edi, dword [ebp - 4]
mov dword [ecx + 0x2280], 0xc8
mov dword [ecx + 0x22a8], eax
mov dword [ecx + 0x22b0], esi
mov dword [ecx + 0x22c4], edx
mov dword [ecx + 0x22d0], ebx
mov dword [ecx + 0x22b8], eax
mov dword [ecx + 0x22bc], esi
mov dword [ecx + 0x22e4], eax
mov dword [ecx + 0x22ec], esi
mov dword [ecx + 0x2300], edx
mov dword [ecx + 0x230c], ebx
mov dword [ecx + 0x22f4], eax
push ecx
mov dword [ecx + 0x22f8], esi
mov eax, esp
mov esi, 0xff0000
push 0x619f04
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
push ecx
mov eax, esp
push 0x619ef0
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
push ecx
mov eax, esp
push 0x619edc
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
push ecx
mov eax, esp
push 0x619ec8
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
push ecx
mov eax, esp
push 0x619eb4
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
push ecx
mov eax, esp
push 0x619ea0
mov ecx, edi
mov dword [eax], esi
call fcn.00457423
mov ecx, dword [ebp - 0xc]
push 0
xor edx, edx
call fcn.00529dcf
mov ecx, dword [ebp - 0xc]
call fcn.0052bda6
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 8]
xor edi, edi
mov dword [eax + 0x794], edi
mov eax, dword [0x6442ec]
mov dword [eax], 1
jmp 0x52ec80