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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x4ed39b
sub esp, 0xdc
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [edx + 0xc], ecx
cmp byte [0x6cfdd8], 0
jne 0x4ed36b
mov dword [edx + 0x10], edi
xor ebp, ebp
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ebp
mov dword [edx + 0x1c], ebp
cmp ecx, 0
jne 0x4ec753
cmp esi, 0x54
jne 0x4ec740
mov dword [esp], edx
cmp dword [esp], 0
je 0x4ec738
add dword [esp], 0x20
mov ebx, 0x5ee8c9
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.004e6940
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x4ec717
cmp esi, 0x76
je 0x4ec70e
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.004e9690
jmp 0x4ec731
cmp esi, 0x54
jne 0x4ec81c
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
xor ebx, ebx
xor ebx, ebx
lea ebx, [esp + 0x80]
cmp ebx, 0
je 0x4ec815
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], eax
xor ebx, ebx
xor ebp, ebp
cmp eax, ebp
jne 0x4ec80c
xor eax, eax
mov ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp], ecx
mov dword [esp + 0xa8], eax
mov ebx, dword [eax + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x4ec804
add dword [esp], 0x20
mov dword [esp + 0xb0], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 8], eax
call fcn.004e78b0
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x4ec7de
mov ecx, eax
mov eax, 0x6aaea0
jmp 0x4ec79d
mov dword [ebx], eax
jmp 0x4ec77e
cmp esi, 0x70
jne 0x4ec878
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00532140
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xd0], edx
mov dword [esp + 4], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x70
call fcn.004eb570
add esp, 0xdc
ret
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0xa0]
xor ebx, ebx
cmp eax, ebx
jne 0x4ec93b
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x94], ebx
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.004ec1f0
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x4ec939
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
call fcn.00532140
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xd0], edx
mov dword [esp + 4], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
call fcn.004ed3b0
add esp, 0xdc
ret
jmp 0x4ec932
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 8]
cmp eax, 0xb0c23ed3
ja 0x4ece4c
cmp eax, 0x500c1abc
ja 0x4ecbac
cmp eax, 0x2ea27ffb
ja 0x4eca55
mov dword [esp + 0x3c], eax
cmp eax, 0x13ff06c5
jne 0x4ec9d6
mov byte [esp + 0x1d], 0
mov dword [esp], 0x5bbde0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1d]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec9d6
mov dword [esp], edx
movzx ebx, byte [esp + 0x1d]
mov byte [esp + 4], bl
mov dword [esp + 8], esi
call fcn.004ea050
jmp 0x4ec932
cmp eax, 0x2ea27ffb
jne 0x4ec897
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov dword [esp], 0x5bc1e0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], esi
call fcn.004ea450
jmp 0x4ec932
mov dword [esp + 0x3c], eax
cmp eax, 0x382e7edf
jne 0x4ecb07
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp], 0x5b2340
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0xb8]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecb07
mov dword [esp], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov ebx, 0x5eec16
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 6
call fcn.004eaa00
jmp 0x4ec932
cmp eax, 0x500c1abc
jne 0x4ec897
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp], 0x5edda0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0xc4]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
call fcn.004ed3b0
jmp 0x4ec932
cmp eax, 0x7925028c
ja 0x4eccc3
mov dword [esp + 0x3c], eax
cmp eax, 0x663e425f
jne 0x4ecc32
mov byte [esp + 0x1e], 0
mov dword [esp], 0x5bd220
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1e]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecc32
mov dword [esp], edx
movzx ebx, byte [esp + 0x1e]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0x7925028c
jne 0x4ec897
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
mov dword [esp], 0x5bbea0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
cvtss2sd xmm0, dword [esp + 0x40]
movsd qword [esp + 4], xmm0
cvtss2sd xmm0, dword [esp + 0x44]
movsd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], esi
call fcn.004ea5c0
jmp 0x4ec932
mov dword [esp + 0x3c], eax
cmp eax, 0x86318d2e
jne 0x4ecd4a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], 0x5bd1e0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x50]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecd4a
mov dword [esp], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0x963f9bff
jne 0x4ecdcd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], 0x5bcb20
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x58]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecdcd
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xb0c23ed3
jne 0x4ec897
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm0
mov dword [esp], 0x5bc1a0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x38]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
cvtss2sd xmm0, dword [esp + 0x38]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], esi
call fcn.004ea450
jmp 0x4ec932
cmp eax, 0xd04ae83d
ja 0x4ed0e5
cmp eax, 0xbbad4102
ja 0x4ecf73
mov dword [esp + 0x3c], eax
cmp eax, 0xb31a546d
jne 0x4ecef7
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x68], xmm0
mov dword [esp], 0x5bbe60
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecef7
mov dword [esp], edx
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 4], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], esi
call fcn.004ea5c0
jmp 0x4ec932
cmp eax, 0xbbad4102
jne 0x4ec897
mov dword [esp + 0x28], 0
mov dword [esp], 0x5bcae0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
mov eax, dword [esp + 0x28]
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
mov dword [esp + 0x3c], eax
cmp eax, 0xbd4ad792
jne 0x4ecff0
mov dword [esp + 0x30], 0
mov dword [esp], 0x5bd260
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x30]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ecff0
mov dword [esp], edx
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xcc06c027
jne 0x4ed068
mov byte [esp + 0x1f], 0
mov dword [esp], 0x5bcb60
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1f]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ed068
mov dword [esp], edx
movsx ebx, byte [esp + 0x1f]
mov eax, ebx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xd04ae83d
jne 0x4ec897
mov dword [esp + 0x34], 0
mov dword [esp], 0x5bd1a0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x34]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xe0ff5cb4
ja 0x4ed1f8
mov dword [esp + 0x3c], eax
cmp eax, 0xd5b87712
jne 0x4ed16d
mov dword [esp + 0x2c], 0
mov dword [esp], 0x5bd120
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ed16d
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xe0ff5cb4
jne 0x4ec897
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp], 0x5bd020
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x88]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.004ea880
jmp 0x4ec932
mov dword [esp + 0x3c], eax
cmp eax, 0xecd580ce
jne 0x4ed276
mov word [esp + 0x20], 0
mov dword [esp], 0x5bcaa0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x20]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ed276
mov dword [esp], edx
movsx ebx, word [esp + 0x20]
mov eax, ebx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xeff20ea0
jne 0x4ed2ef
mov word [esp + 0x22], 0
mov dword [esp], 0x5bd160
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x22]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ed2ef
mov dword [esp], edx
movzx ebx, word [esp + 0x22]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
cmp eax, 0xf75371fa
jne 0x4ec897
mov dword [esp + 0x24], 0
mov dword [esp], 0x5bca60
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x24]
mov dword [esp + 0xc], ebx
call fcn.0040b390
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ec897
mov dword [esp], edx
mov eax, dword [esp + 0x24]
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.004ea150
jmp 0x4ec932
lea esi, [edx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0040e4e0
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
jmp 0x4ec6f9
call fcn.0044ff60
jmp fcn.004ec670