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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xf8]
cmp eax, dword [ecx + 8]
jbe 0x4ea02c
sub esp, 0x178
call fcn.0040d4d0
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x7c], edx
lea ebx, [edx + 1]
mov ebp, dword [esp]
mov dword [esp + 0xb0], ebp
mov esi, dword [eax + 4]
mov dword [esp + 0xc0], esi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x78], edi
mov ebp, dword [eax + 0x10]
mov dword [esp + 0xbc], ebp
cmp ecx, ebx
jae 0x4e9518
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x557540]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x17c]
mov dword [ebx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4e94f9
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebp, dword [esp + 0xbc]
mov edi, dword [esp + 0x78]
mov ebx, edx
mov esi, ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ebx
lea ecx, [esi + ebx*8 - 4]
mov dword [ecx], edi
mov ecx, dword [0x6d0ed8]
lea ebx, [esi + ebx*8 - 8]
test ecx, ecx
je 0x4e953f
mov ecx, edi
call fcn.00464b00
mov dword [edi], ebp
mov esi, dword [ebx]
mov dword [edi + 4], esi
mov edi, ecx
mov dword [ebx], ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0xb4], ecx
mov ebx, dword [eax + 8]
mov dword [esp + 0x6c], ebx
mov esi, dword [eax + 0xc]
mov dword [esp + 0x70], esi
mov dword [eax + 0x14], 0
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x4e9574
mov ecx, dword [eax + 0x10]
call fcn.00464af0
mov dword [edi], ecx
mov dword [eax + 0x10], 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004e5390
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
lea ebp, [0x558fa0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00410920
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov ebp, dword [esp + 0x10]
test byte [ebp], al
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
movzx ecx, byte [esp + 0x1a0]
mov byte [esp + 0x10], cl
call fcn.004ea040
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
call fcn.004e6110
lea edi, [esp + 0x108]
lea esi, [esp + 4]
call fcn.004651b0
jmp 0x4e9630
mov dword [esp], ebx
call fcn.004e6110
lea edi, [esp + 0x108]
lea esi, [esp + 4]
call fcn.004651b0
mov eax, dword [esp + 0x108]
cmp eax, 0x17
je 0x4e9a0c
cmp eax, 0x15
jne 0x4e9665
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.004e6340
mov ebx, dword [esp + 0x17c]
jmp 0x4e9618
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
call fcn.004e6110
lea edi, [esp + 0xe8]
lea esi, [esp + 4]
call fcn.004651b0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x17c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
lea edi, [esp + 0xc8]
lea esi, [esp + 0xe8]
call fcn.004651b0
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4e9b10
cmp ebp, 0x14
nop
jne 0x4e9f12
lea ebp, [ecx - 1]
cmp ecx, ebp
jbe 0x4e9f0b
lea esi, [edx + ecx*8 - 8]
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebx + 0x14], edi
mov edi, dword [0x6d0ed8]
test edi, edi
je 0x4e96ff
call fcn.00464b00
mov dword [edi], esi
mov ecx, dword [ebx + 0x10]
mov dword [edi + 4], ecx
mov dword [esp + 0x5c], ebp
mov dword [ebx + 0x10], esi
xor ecx, ecx
jmp 0x4e9cb5
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
cmp ecx, eax
jle 0x4e9755
lea ebp, [esi + eax*8 + 4]
mov dword [ebp], edx
mov edx, dword [0x6d0ed8]
lea ebp, [esi + eax*8]
test edx, edx
je 0x4e974c
mov edx, edi
call fcn.00464b00
mov dword [edi], edx
mov ebx, dword [ebp]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x17c]
mov edi, edx
mov dword [ebp], edi
inc eax
jmp 0x4e97df
mov dword [esp + 0x8c], eax
mov dword [esp + 0xb8], edi
mov dword [esp + 0x74], edx
lea ecx, [0x557540]
mov dword [esp], ecx
lea edx, [eax + 1]
mov dword [esp + 0x58], edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.0044b4a0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jae 0x4e9ef4
mov edx, dword [esp + 0x10]
lea ebx, [edx + eax*8 + 4]
mov ebp, dword [esp + 0x74]
mov dword [ebx], ebp
mov ebx, dword [0x6d0ed8]
lea eax, [edx + eax*8]
test ebx, ebx
jne 0x4e97bf
mov ebx, dword [esp + 0xb8]
jmp 0x4e97d2
call fcn.00464b00
mov ebx, dword [esp + 0xb8]
mov dword [edi], ebx
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov dword [eax], ebx
mov ebx, dword [esp + 0x17c]
mov esi, edx
mov eax, ecx
mov edx, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x2c]
inc ebp
mov edi, dword [ebx + 0x28]
cmp edx, ebp
jae 0x4e9861
mov dword [esp + 0xa4], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x56a5a0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x17c]
mov dword [ebx + 0x30], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4e984b
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [ebx + 0x28]
mov dword [edi + 4], eax
mov dword [ebx + 0x28], ecx
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0xa4]
mov edi, ecx
mov ebp, edx
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x2c], ebp
lea edx, [ebp + ebp*2]
mov dword [edi + edx*4 - 8], eax
mov dword [edi + edx*4 - 4], ecx
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4e988c
mov eax, edi
call fcn.00464b00
mov dword [edi], esi
mov ecx, dword [eax + edx*4 - 0xc]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [edi + edx*4 - 0xc], esi
mov dword [esp], ebx
call fcn.004e6110
lea edi, [esp + 0x148]
lea esi, [esp + 4]
call fcn.004651b0
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x148]
call fcn.004651b0
mov byte [esp + 0x24], 0
call fcn.004e76e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x17c]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.004ea790
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x120]
mov ebp, dword [esp + 0x124]
mov esi, dword [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
call fcn.004eae20
xor eax, eax
mov ecx, dword [esp + 0xb0]
jmp 0x4e9d54
mov eax, dword [esp + 0x17c]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
lea ebp, [0x558ea0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00410920
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
jne 0x4e99c8
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x17c]
jmp 0x4e99f3
call fcn.00464b20
mov ecx, dword [esp + 0xa8]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [edi + 8], edx
mov ebx, dword [esp + 0x17c]
mov ebp, dword [ebx + 4]
mov dword [edi + 0xc], ebp
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x6c]
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [ebx + 0xc], ecx
mov dword [ebx + 4], edx
jmp 0x4e9618
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x17c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x80]
mov dword [ecx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
jne 0x4e9a3e
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
jmp 0x4e9a62
call fcn.00464b20
mov eax, dword [esp + 0xc0]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xbc]
mov dword [edi + 8], edx
mov ebx, dword [ecx + 0x10]
mov dword [edi + 0xc], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], edx
mov eax, dword [0x68c890]
mov ecx, dword [0x68c894]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a330
mov eax, dword [esp + 8]
lea ecx, [0x558ea0]
mov dword [esp + 0x1a4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x1a8], ecx
lea ecx, [0x5b6560]
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], eax
add esp, 0x178
ret
mov dword [esi], ecx
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
call fcn.004e6110
lea edi, [esp + 0xc8]
lea esi, [esp + 4]
call fcn.004651b0
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
mov ebx, eax
mov eax, dword [esp + 0x88]
mov ecx, edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x88], eax
mov dword [esp + 0xc4], edx
mov ebp, dword [esp + 0xc8]
cmp ebp, 0x14
je 0x4e96ca
cmp ebp, 2
je 0x4e96c7
mov dword [esp + 0x84], ecx
mov dword [esp], ebx
lea edi, [esp + 4]
lea esi, [esp + 0xc8]
call fcn.004651b0
call fcn.004e7570
mov eax, dword [esp + 0x84]
inc eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x88]
cmp ebx, eax
jb 0x4e9b7a
mov ebp, dword [esp + 0xc4]
jmp 0x4e9bcf
mov dword [esp + 0xa0], edx
mov dword [esp + 0x174], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x557540]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
lea esi, [ebp + eax*8 - 4]
mov dword [esi], edx
mov edx, dword [0x6d0ed8]
lea esi, [ebp + eax*8 - 8]
test edx, edx
je 0x4e9ac1
call fcn.00464b00
mov dword [edi], ecx
mov edx, dword [esi]
mov dword [edi + 4], edx
jmp 0x4e9ac1
mov dword [esp + 0x170], ecx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], esi
lea edx, [0x557540]
mov dword [esp], edx
sub esi, edi
sub ebp, edi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edi, 3
sar esi, 0x1f
and esi, edi
add esi, ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00411480
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
mov ecx, dword [esp + 0x170]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], ecx
call fcn.004eb060
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa0]
mov ebx, ecx
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0xa0]
cmp ecx, ebp
jge 0x4e970d
lea esi, [ecx + 1]
cmp eax, esi
jb 0x4e9f02
cmp ecx, esi
ja 0x4e9ef9
mov dword [esp + 0xa0], esi
mov edi, dword [ebx + 8]
lea ebp, [edi + 1]
mov esi, dword [ebx + 0xc]
sub eax, ecx
neg eax
shl ecx, 3
sar eax, 0x1f
and eax, ecx
mov ecx, dword [ebx + 4]
add eax, edx
cmp esi, ebp
jae 0x4e9c0d
mov dword [esp + 0x170], eax
mov dword [esp + 0x9c], edi
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x557540]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x170]
mov edi, dword [esp + 0x9c]
jmp 0x4e9c0d
mov edx, dword [esp + 0xa0]
inc edx
mov ecx, eax
mov eax, edx
mov edx, dword [esp + 0x5c]
cmp eax, edx
jge 0x4e9976
mov dword [esp + 0xa0], eax
mov dword [esp + 0x128], ecx
mov edx, dword [esp + 0xc4]
lea ebx, [edx + eax*8]
mov ebp, dword [ebx]
mov dword [esp + 0x12c], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x90], ebx
lea esi, [0x558ea0]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.004105c0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x4e9e3c
call fcn.0040d4d0
mov eax, dword [esp]
mov dword [esp + 0x16c], eax
lea ecx, [0x558ea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x128]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x12c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
call fcn.00410920
mov eax, dword [esp + 0x10]
lea ecx, [0x558ea0]
mov dword [eax], ecx
mov edx, dword [0x6d0ed8]
test edx, edx
jne 0x4e9e18
mov edx, dword [esp + 0x16c]
jmp 0x4e9e2c
call fcn.00464b00
mov edx, dword [esp + 0x16c]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
lea edx, [0x558ea0]
mov eax, dword [esp + 0x16c]
lea ecx, [0x558ea0]
cmp edx, ecx
je 0x4e9e4b
mov eax, 0
je 0x4e9d48
mov dword [esp + 0x168], eax
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov eax, dword [esp + 0x17c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040a3b0
mov eax, dword [esp + 0xc]
lea ecx, [0x56a5a0]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
lea edx, [0x57ebee]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x11
lea ebx, [esp + 0x140]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e6020
mov eax, dword [esp + 0x168]
lea ecx, [0x558ea0]
jmp 0x4e9d48
call fcn.00464b70
mov eax, ecx
mov ecx, esi
call fcn.00464bd0
mov ecx, esi
mov edx, eax
call fcn.00464bb0
mov eax, ebp
call fcn.00464b70
mov dword [esp + 0x94], ebp
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp], 0x14
call fcn.0040a230
mov eax, dword [esp + 4]
lea ecx, [0x559de0]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.0040a230
mov eax, dword [esp + 4]
lea ecx, [0x559de0]
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x38]
mov dword [esp], eax
lea eax, [0x57bf8c]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
lea eax, [0x5825c6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x1b
lea eax, [0x57bb3a]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 2
call fcn.0044f150
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x130]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b5ed0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040a330
mov eax, dword [esp + 8]
lea ecx, [0x557540]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435f80
nop
call fcn.004636f0
jmp fcn.004e9440