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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x4e0295
sub esp, 0xd8
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x14], esi
call fcn.004dd810
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4df7fc
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xfc]
mov dword [esp + 0x14], esi
call fcn.004dd810
movzx eax, byte [esp + 0x18]
test al, al
je 0x4df804
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4df819
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x104]
cmp ebx, 1
jne 0x4df872
mov ebp, dword [esp + 0x100]
cmp dword [ebp], 1
jne 0x4df879
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0xf8]
test esi, esi
je 0x4dfd6f
mov edi, dword [esp + 0xec]
test edi, edi
je 0x4dfd2f
cmp edi, 1
jne 0x4df8e9
mov ebp, dword [esp + 0xe8]
cmp dword [ebp], 1
jne 0x4df8f0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov ebp, dword [esp + 0xe8]
cmp esi, 1
jne 0x4df9bd
mov esi, dword [esp + 0xf4]
cmp dword [esi], 1
jne 0x4df9c4
test ebx, ebx
je 0x4df972
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x108]
mov dword [esp + 0x20], eax
call fcn.004e3900
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
call fcn.004dc660
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov esi, dword [esp + 0xf4]
test ebx, ebx
je 0x4dfc4e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.004dc450
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xf8]
cmp ebx, 1
jle 0x4dfc38
movzx ebp, byte [esp + 0x10c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4dfc38
mov ebp, dword [esp + 0x100]
mov esi, dword [ebp]
test esi, 1
jne 0x4dfbab
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xd4], eax
mov dword [esp], ebp
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 8], ecx
call fcn.004dee00
movzx eax, byte [esp + 0x10]
test al, al
je 0x4dfafb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xd4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.004e06f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x2c], eax
call fcn.004e02a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x104]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x2c], eax
call fcn.004e1000
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov ebp, dword [esp + 0xe8]
mov edi, dword [esp + 0xec]
mov esi, eax
mov eax, ecx
mov ecx, edx
mov edx, esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x14], eax
call fcn.004dc660
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf4]
mov edx, dword [ecx + eax*4 - 4]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xd4], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xac], ebp
mov esi, dword [esp + 0x20]
mov dword [esp + 0xa8], esi
mov dword [esp], edx
call fcn.004d8cb0
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x50]
shl edx, cl
add eax, 0xffffffe1
neg eax
cmp ecx, 0x20
sbb ecx, ecx
and edx, ecx
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xd4]
xor esi, esi
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xb0], ecx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebp, ebp
mov dword [esp + 0x58], ebp
xor ecx, ecx
mov dword [esp + 0xb4], ecx
xor ecx, ecx
mov dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0x60], ecx
xor ecx, ecx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xd4]
jmp 0x4dfdcc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004dc510
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov esi, dword [esp + 0x68]
dec esi
shl ebx, 1
mov dword [esp + 0x78], eax
mov eax, esi
mov esi, ebp
mov ebp, dword [esp + 0x78]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x78]
test eax, eax
jle 0x4dffe0
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
test ebx, 0x80000000
jne 0x4dfe4e
mov esi, dword [esp + 0x104]
test esi, esi
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0x48]
jmp 0x4dfef2
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xcc], eax
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x20], esi
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x104]
test ebx, ebx
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x104]
mov ebp, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xcc]
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0xa0]
je 0x4dfdaf
mov dword [esp + 0xc8], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x2c], ebp
call fcn.004e3a70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xb0], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xc8]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], eax
mov eax, ecx
mov edi, dword [esp + 0x60]
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x50]
mov edx, esi
mov esi, dword [esp + 0x104]
jmp 0x4dfdaf
mov eax, dword [esp + 0xf8]
add eax, 0xfffffffe
mov edx, dword [esp + 0xf4]
jmp 0x4dfffb
dec eax
mov edx, dword [esp + 0xf4]
test eax, eax
jl 0x4e0016
mov dword [esp + 0x6c], eax
mov edx, dword [edx + eax*4]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
jmp 0x4e006b
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xd8
ret
mov esi, dword [esp + 0x64]
inc esi
shl ebx, 1
mov dword [esp + 0x64], esi
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x6c]
mov eax, ebx
mov ebx, edx
mov edx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x64]
cmp edx, 0x20
jge 0x4dfff3
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], ebx
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call fcn.004de680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x50]
test ebx, 0x80000000
jne 0x4e00fd
mov esi, dword [esp + 0x104]
test esi, esi
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0x94]
jmp 0x4e01a7
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc0], eax
mov ebx, dword [esp + 0xc4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x20], esi
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x104]
test ebx, ebx
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x104]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0xb0], ebp
mov ebp, dword [esp + 0x88]
je 0x4e004e
mov dword [esp + 0xbc], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x2c], ebp
call fcn.004e3a70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xb0], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], eax
mov eax, ecx
mov edi, dword [esp + 0x60]
mov ecx, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x50]
mov edx, esi
mov esi, dword [esp + 0x104]
jmp 0x4e004e
call fcn.00475ee0
jmp fcn.004df740