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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4ecb48
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x48]
nop
test ecx, ecx
je 0x4ec4d6
mov edx, dword [0x9aef70]
mov ebx, dword [ecx]
test edx, edx
je 0x4ec4a6
call fcn.0046c8a0
mov dword [edi], ebx
mov edx, dword [eax + 0x48]
mov dword [edi + 4], edx
mov dword [eax + 0x48], ebx
mov edx, dword [0x9aef70]
mov ebx, dword [eax + 0x4c]
test edx, edx
jne 0x4ec4ba
test ecx, ecx
jmp 0x4ec4d1
call fcn.0046c8c0
mov dword [edi], ebx
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov edx, dword [eax + 0x4c]
mov dword [edi + 0xc], edx
test ecx, ecx
mov dword [ecx], ebx
mov dword [eax + 0x4c], ecx
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 0xc]
mov esi, dword [edx]
mov edi, dword [edx + 4]
je 0x4ec97f
mov edx, dword [ecx + 4]
test edx, edx
jne 0x4ec97f
mov edx, dword [ecx + 0x14]
cmp edx, ebp
jne 0x4ec80c
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], edi
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00403200
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ec7f9
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jne 0x4ec6af
mov eax, dword [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00403200
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ec6a7
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, 5
jne 0x4ec59a
cmp dword [edx], 0x6e6c6d78
jne 0x4ec59a
cmp byte [edx + 4], 0x73
jne 0x4ec59a
mov ecx, dword [esp + 0xa4]
jmp 0x4eca43
cmp ecx, 3
jne 0x4ec5d0
cmp word [edx], 0x6d78
jne 0x4ec5d0
cmp byte [edx + 2], 0x6c
jne 0x4ec5d0
mov dword [eax + 4], 0x24
mov ecx, dword [0x9aef70]
test ecx, ecx
je 0x4ec5c6
mov ecx, dword [eax]
call fcn.0046c890
mov dword [edi], ecx
lea ecx, [0x6de225]
mov dword [eax], ecx
jmp 0x4ec5f7
test ecx, ecx
jne 0x4ec5f7
cmp dword [eax + 0xc], 5
jne 0x4ec5f7
mov ecx, dword [eax + 8]
cmp dword [ecx], 0x6e6c6d78
jne 0x4ec5f7
cmp byte [ecx + 4], 0x73
jne 0x4ec5f7
mov ecx, dword [esp + 0xa4]
jmp 0x4eca43
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x70]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea esi, [0x694cc0]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004119f0
movzx eax, byte [esp + 0x14]
test al, al
je 0x4ec660
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [esp + 0xa8]
mov dword [edx + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
je 0x4ec652
call fcn.0046c8a0
mov dword [edi], eax
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov dword [edx], eax
mov ecx, dword [esp + 0xa4]
jmp 0x4eca43
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4ec69b
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 4], edx
mov edx, dword [0x9aef70]
test edx, edx
je 0x4ec694
call fcn.0046c8a0
mov dword [edi], ebx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ebx
jmp 0x4eca43
mov ecx, dword [esp + 0xa4]
jmp 0x4eca43
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x40]
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046cb20
mov dword [esp + 0x64], 9
lea ecx, [0x6d120b]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x74], 0xb
lea edx, [0x6d1bbc]
mov dword [esp + 0x70], edx
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x84], 0xd
lea ecx, [0x6d286f]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], 0xb
mov dword [esp + 0x90], edx
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov dword [esp], 0
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 8
mov dword [esp + 0xc], 8
call fcn.00454190
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
lea ebx, [0x6a4980]
mov dword [esp], ebx
call fcn.0040d2a0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], edx
mov edx, dword [0x9aef70]
test edx, edx
jne 0x4ec7ad
mov eax, dword [esp + 0x48]
jmp 0x4ec7b8
call fcn.0046c890
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov dword [ecx], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [eax + 0x7c]
mov dword [ecx + 8], edx
lea edx, [0x749798]
mov dword [eax + 0x74], edx
mov edx, dword [0x9aef70]
test edx, edx
je 0x4ec7e7
call fcn.0046c8a0
mov dword [edi], ecx
mov edx, dword [eax + 0x78]
mov dword [edi + 4], edx
mov dword [eax + 0x78], ecx
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x44]
movzx edx, byte [eax]
test dl, dl
jne 0x4ec8a2
mov byte [eax + 0x50], 1
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 4]
mov ebp, dword [edx + 0xc]
mov esi, dword [edx + 8]
mov edi, dword [edx]
mov dword [eax + 0x58], ebx
mov dword [eax + 0x60], ebp
mov ebx, dword [0x9aef70]
test ebx, ebx
je 0x4ec857
mov ebx, edi
call fcn.0046c8c0
mov dword [edi], ebx
mov ebp, dword [eax + 0x54]
mov dword [edi + 4], ebp
mov dword [edi + 8], esi
mov ebp, dword [eax + 0x5c]
mov dword [edi + 0xc], ebp
mov edi, ebx
mov dword [eax + 0x54], edi
mov dword [eax + 0x5c], esi
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x14]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov dword [edx + 4], eax
mov dword [edx + 0xc], ebx
mov eax, dword [0x9aef70]
test eax, eax
je 0x4ec88e
call fcn.0046c8c0
mov dword [edi], ebp
mov eax, dword [edx]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, dword [edx + 8]
mov dword [edi + 0xc], eax
mov dword [edx], ebp
mov dword [edx + 8], ecx
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp], 0
lea edx, [0x6d120b]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x6d2f1b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
lea eax, [0x746fc0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.00454550
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea edx, [0x6a4980]
mov dword [esp], edx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x4ec933
mov ecx, dword [esp + 0x4c]
jmp 0x4ec93e
call fcn.0046c890
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 8], edx
lea edx, [0x749798]
mov dword [ecx + 0x74], edx
mov edx, dword [0x9aef70]
test edx, edx
je 0x4ec96d
call fcn.0046c8a0
mov dword [edi], eax
mov edx, dword [ecx + 0x78]
mov dword [edi + 4], edx
mov dword [ecx + 0x78], eax
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov dword [esp], 0
lea eax, [0x6d8979]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x19
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
lea eax, [0x746fc0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00454410
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
lea edx, [0x6a4980]
mov dword [esp], edx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x4ec9f0
mov ecx, dword [esp + 0x50]
jmp 0x4ec9fb
call fcn.0046c890
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x7c]
mov dword [eax + 8], edx
lea edx, [0x749798]
mov dword [ecx + 0x74], edx
mov edx, dword [0x9aef70]
test edx, edx
je 0x4eca2a
call fcn.0046c8a0
mov dword [edi], eax
mov edx, dword [ecx + 0x78]
mov dword [edi + 4], edx
mov dword [ecx + 0x78], eax
mov byte [esp + 0xac], 0
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x4ecb39
mov edx, dword [eax + 4]
test edx, edx
je 0x4ecb39
cmp edx, 2
je 0x4ecb39
mov edx, dword [0x9aef70]
nop
mov ebx, dword [eax]
test edx, edx
je 0x4eca7c
call fcn.0046c8a0
mov dword [edi], ebx
mov edx, dword [ecx + 0x48]
mov dword [edi + 4], edx
mov dword [ecx + 0x48], ebx
mov edx, dword [0x9aef70]
mov ebx, dword [ecx + 0x4c]
test edx, edx
je 0x4ecaa1
call fcn.0046c8c0
mov dword [edi], ebx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov edx, dword [ecx + 0x4c]
mov dword [edi + 0xc], edx
mov dword [eax], ebx
mov dword [ecx + 0x4c], eax
movzx edx, byte [eax + 0x18]
test dl, dl
je 0x4ecb11
mov edx, dword [ecx + 0x70]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x44], esi
mov eax, dword [eax + 8]
mov dword [esp + 0x5c], eax
lea edi, [0x694cc0]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00411d50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x4ecafa
mov ecx, dword [esp + 0x5c]
jmp 0x4ecb0a
call fcn.0046c8a0
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x4eca3c
mov edx, dword [ecx + 0x70]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea ebp, [0x694cc0]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004120e0
jmp 0x4eca3c
mov byte [esp + 0xac], 1
add esp, 0xa0
ret
call fcn.0046b490
jmp fcn.004ec460