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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x4ea5b8
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4e9b19
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4e9b19
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x4e9b19
lea eax, [0x500aa0]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x514ec6]
mov dword [eax], ecx
lea ecx, [0x5492c8]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x61b8e0]
test ebx, ebx
jne 0x4e9b0f
mov dword [edx + 0x64], eax
jmp 0x4e9b21
lea edi, [edx + 0x64]
call fcn.00460010
jmp 0x4e9b21
lea ecx, [0x5492c8]
mov edx, eax
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x4e9b32
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4e9b4a
mov eax, dword [edx + 0x74]
mov dword [esp + 0xa0], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x4c], ecx
xor ebx, ebx
jmp 0x4ea528
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004e97a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x4e9bab
mov dword [esp + 0x74], edx
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xf8]
mov ebx, dword [eax + 0x74]
mov dword [esp + 0x98], ebx
mov ebp, dword [eax + 0x78]
mov dword [esp + 0x44], ebp
xor esi, esi
jmp 0x4ea492
mov edi, dword [esp + 0xf8]
mov dword [edi + 4], ebp
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4e9bc3
mov dword [edi], ebx
jmp 0x4e9bca
mov eax, ebx
call fcn.00460010
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4e9cc9
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x4e9c22
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.004059b0
movzx eax, byte [esp + 8]
test al, al
je 0x4e9c1b
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x4ea3df
mov edi, dword [esp + 0xf8]
mov eax, dword [edi + 0x44]
lea ecx, [0x50f700]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.00449b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], 0
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x70], edx
lea edi, [ecx + 0x68]
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x4e9c71
mov dword [ecx + 0x68], eax
jmp 0x4e9c76
call fcn.00460010
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea ebx, [0x51f420]
mov dword [esp + 0xc4], ebx
lea ebx, [0x51f424]
mov dword [esp + 0xc8], ebx
lea ebx, [0x51f41c]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4e9d15
lea eax, [0x500aa0]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x516c96]
mov dword [eax], ecx
lea ecx, [0x5492c8]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], eax
add esp, 0xf4
ret
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0xb4]
cmp eax, 3
jge 0x4e9e16
mov dword [esp + 0x58], eax
mov edx, dword [esp + eax*4 + 0xc4]
mov ebx, dword [edx]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test ecx, ecx
jne 0x4e9dec
mov ebx, dword [esp + 0xf8]
mov ebp, dword [ebx + 0x6c]
lea esi, [ebp + 1]
mov ecx, ebp
mov ebp, dword [ebx + 0x68]
mov edx, ebx
mov ebx, dword [ebx + 0x70]
cmp ebx, esi
jae 0x4e9dc5
mov dword [esp + 0x64], eax
lea eax, [0x50f700]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00449cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xf8]
mov dword [ebx + 0x70], edx
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x4e9db1
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0xb4]
jmp 0x4e9dbd
mov edi, dword [esp + 0xb4]
call fcn.00460010
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov dword [edx + 0x6c], ebx
mov ebx, dword [0x61b8e0]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x4e9de2
mov dword [ebp + ecx*4], eax
jmp 0x4e9d05
call fcn.00460010
jmp 0x4e9d05
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x34], edx
xor esi, esi
jmp 0x4ea349
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x58], ebx
mov ebp, dword [ecx + 0x70]
mov esi, dword [ecx + 0x68]
mov edi, dword [ecx + 0x40]
cmp ebp, ebx
jae 0x4e9e7f
mov dword [esp + 0xb0], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
lea ecx, [0x50f700]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00449cd0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
cmp eax, ebx
ja 0x4ea30a
mov dword [esp + 0x54], ebp
mov dword [esp + 0xac], esi
lea ecx, [0x50f700]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.0040fa80
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x70], eax
mov eax, dword [0x61b8e0]
test eax, eax
jne 0x4e9eed
mov eax, dword [esp + 0xac]
mov dword [ecx + 0x68], eax
jmp 0x4e9f00
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
call fcn.00460010
mov dword [esp], ecx
call fcn.004eb500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4ea09a
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx + 0xc]
mov eax, esi
mov esi, dword [ecx + 8]
mov edi, ebp
mov ebp, dword [ecx + 0x10]
test edx, edx
jne 0x4e9f82
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov edx, ebx
mov ebx, dword [ecx]
mov ebp, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ecx
mov ecx, ebp
mov ebx, edx
mov ebp, 1
mov edx, 1
lea esi, [esp + 0xbc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], esi
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.00460217
mov ecx, dword [esp + 0xf8]
mov eax, ebp
mov ebp, dword [ecx + 0x20]
mov edi, edx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], edx
mov edx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x70]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xd8], ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xe0], edx
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0xf0], edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0xd0]
mov dword [esp + 0x14], edx
call fcn.004a2c70
mov ecx, dword [0x61b8e0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x4ea052
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x50], eax
jmp 0x4ea061
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x50]
call fcn.00460010
test edx, edx
je 0x4ea088
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xb8], ebx
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x80], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x2c], edx
xor esi, esi
jmp 0x4ea2a7
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x4ea0d9
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jl 0x4ea0af
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x4ea147
lea ecx, [0x4fa820]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004045c0
mov eax, dword [esp + 8]
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4ea116
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x98], eax
jmp 0x4ea128
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x98]
call fcn.00460010
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x8c]
mov dword [esp + 0xa8], edx
mov ebx, dword [ecx + 0x90]
mov dword [esp + 0x58], ebx
xor ebp, ebp
jmp 0x4ea1c2
mov dword [esp], ecx
call fcn.004ea9d0
mov eax, dword [0x61b8e0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4ea16c
mov eax, dword [esp + 0xf8]
mov dword [eax + 0x9c], ecx
jmp 0x4ea180
mov edx, dword [esp + 0xf8]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.00460010
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
mov dword [esp], eax
call fcn.00440950
mov eax, dword [esp + 0x54]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
jge 0x4ea147
mov dword [esp + 0x54], ebp
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x60], eax
lea ecx, [0x500680]
mov dword [esp], ecx
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [0x4ea610]
mov dword [eax], ecx
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x4ea205
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
jmp 0x4ea211
lea edi, [eax + 4]
mov eax, dword [esp + 0x68]
call fcn.00460010
lea eax, [0x5024c0]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
lea ecx, [0x4ea5d0]
mov dword [eax], ecx
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x4ea24b
mov edx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
jmp 0x4ea19d
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa4]
call fcn.00460010
lea edi, [edx + 8]
mov eax, dword [esp + 0x60]
call fcn.00460010
mov eax, edx
jmp 0x4ea19d
mov dword [esp + 0x58], esi
lea ecx, [eax + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp esi, edx
jl 0x4ea26f
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 0x84]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4ea2f1
mov dword [esp + 0x58], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp edx, ecx
jl 0x4ea2c3
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov ecx, ebx
call fcn.004600f0
mov dword [esp + 0x58], esi
lea eax, [ecx + esi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp esi, edx
jl 0x4ea311
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4ea399
mov dword [esp + 0x58], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp edx, eax
jl 0x4ea368
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
cmp ebx, edx
jl 0x4ea3b2
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4ea42b
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4ea3fe
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov dword [esp + 0x58], esi
lea eax, [ebx + esi*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x44]
cmp esi, ebp
jl 0x4ea45a
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x94], ebx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4ea4e2
mov dword [esp + 0x58], ebp
lea eax, [ebx + ebp*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x94]
cmp ebp, eax
jl 0x4ea4b1
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4ea4fb
mov eax, dword [edx + 0x80]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0x84]
mov dword [esp + 0x48], ecx
xor ebx, ebx
jmp 0x4ea574
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4ea547
mov eax, dword [edx + 0xa0]
mov ecx, dword [edx + 0xa4]
test eax, eax
je 0x4ea59d
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
call fcn.0045ec00
jmp fcn.004e9a90