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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4e8e4c
sub esp, 0x98
mov eax, 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x23], 0
call fcn.004e7fc0
call fcn.004e7a70
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
call fcn.004e7e70
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e861c
xor eax, eax
jmp 0x4e8df8
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x7347e0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [0x8db184]
lea ecx, [0x7ca8a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7a40
mov dword [esp], 0x1000
mov byte [esp + 4], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004e36b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x4e86fb
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test edx, edx
je 0x4e86ca
mov edx, dword [edx + 4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00408f90
mov eax, dword [esp + 4]
lea ecx, [0x733320]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e8725
lea ecx, [0x7cc744]
jmp 0x4e8729
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
test ecx, ecx
je 0x4e8740
mov ecx, dword [ecx + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [0x8db184]
lea ecx, [0x7ca8a0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7a40
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 0xf01ff
lea ecx, [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004e2d80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e87f6
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e87c9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
lea eax, [0x76cb90]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004e27f0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004e2c80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4e8892
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8865
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 2
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov byte [esp + 4], 0
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004e29c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e895d
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8930
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
lea eax, [0x76cb90]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76fc9c]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76bff5]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76f44e]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76d78c]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76d122]
mov dword [esp], eax
mov dword [esp + 4], 0x11
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76ddf9]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x77242c]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x7705f8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x770610]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x77373d]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x76de0c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
lea eax, [0x772a42]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.004e27f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004e8340
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x20
lea eax, [0x76b0c6]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004606d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x4e8c1a
xor edx, edx
jmp 0x4e8c26
test ebx, ebx
jbe 0x4e8e36
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4e8c7a
mov dword [esp + 0x5c], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
je 0x4e8c49
mov eax, dword [eax + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
call fcn.004e2ae0
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x60], edx
test eax, eax
je 0x4e8cf7
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x4e8cc8
mov ebx, dword [ecx + 4]
jmp 0x4e8cca
mov ebx, ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
nop
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.004e2be0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x88]
mov edx, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 4], 0x19
mov dword [esp + 8], ecx
lea eax, [edx + 8]
mov dword [esp + 0xc], eax
call fcn.004e84c0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e8d8f
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4e8d5c
mov ecx, dword [eax + 4]
jmp 0x4e8d5e
mov ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004afd90
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x4e8ea0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x94], eax
mov byte [esp + 0x23], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea eax, [0x4e8e60]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x90], eax
mov byte [esp + 0x23], 3
mov eax, 3
test al, 2
je 0x4e8e18
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x90]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4e8e2f
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov eax, dword [edx]
call eax
add esp, 0x98
ret
xor eax, eax
mov ecx, eax
call fcn.00456b40
nop
call fcn.0042fda0
add esp, 0x98
ret
call fcn.00455690
jmp fcn.004e85b0