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

Disassembly:
push 0xffffffffffffffff
push 0x59eedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x12c]
mov dword [esp + 0x14], ebp
cmp eax, ebx
je 0x4e0bdf
cmp eax, 1
je 0x4e0bdf
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebp + 0x130]
mov edx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
jle 0x4e0b6b
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x4e0b63
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x4e0b52
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0047b4e0
mov eax, dword [ebp + 0x90]
lea ecx, [ebp + 0x90]
call dword [eax + 0x30]
mov ecx, dword [eax + 0xe0]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
lea eax, [ecx + eax + 8]
lea ecx, [ebp + 0x3c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], eax
call fcn.00535f90
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x4e0df6
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.00535fa0
cmp eax, ebx
je 0x4e0c16
add eax, 0xffffffc4
mov dword [esp + 0x1c], eax
jmp 0x4e0c1a
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x10], 1
mov eax, dword [eax + 0x64]
cmp eax, ebx
je 0x4e0b0f
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
call dword [edx + 0x14]
test eax, eax
jne 0x4e0b0f
mov ecx, ebp
call fcn.004e0a90
mov dword [esp + 0x20], eax
jmp 0x4e0b13
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
lea ecx, [edx + 0x3c]
call dword [eax + 0x14]
test eax, eax
jne 0x4e0dec
mov esi, dword [ebp + 0x130]
push 0xac
call fcn.0057284c
mov edi, eax
add esp, 4
mov dword [esp + 0x30], edi
cmp edi, ebx
mov dword [esp + 0x6c], ebx
je 0x4e0c7b
mov ecx, edi
call fcn.004601e0
push ebx
mov ecx, edi
mov byte [esp + 0x70], 1
mov dword [edi], 0x5bf15c
call fcn.00460600
push 1
mov ecx, edi
mov dword [eax + 8], ebx
call fcn.00460600
mov dword [eax + 8], ebx
jmp 0x4e0c7d
xor edi, edi
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
mov dword [esp + 0x74], 0xffffffff
call fcn.004e59e0
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x98], esi
add ecx, 0x3c
call fcn.00535f90
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4e0d50
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + 0x3c]
call fcn.00535fa0
cmp eax, ebx
je 0x4e0cc9
lea esi, [eax - 0x1c]
jmp 0x4e0ccb
xor esi, esi
mov eax, dword [edi + 0x5c]
push ebx
push eax
mov ecx, edi
call fcn.004607b0
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov dword [ebp + 0x3c], esi
mov eax, dword [ecx + 0x154]
cmp eax, esi
jne 0x4e0cf2
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov eax, dword [eax]
mov ecx, ebp
push eax
mov dword [esp + 0x70], 2
call fcn.0045f150
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005772b0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
push eax
mov ecx, ebp
call fcn.0045f200
mov ecx, esi
call fcn.004761c0
and eax, 1
mov ecx, ebp
push eax
call fcn.0045f300
cmp dword [esp + 0x24], ebx
jne 0x4e0caf
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov esi, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], esi
mov esi, dword [esp + 0x8c]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x90]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x94]
mov dword [ecx + 0xc], esi
mov ecx, dword [esp + 0x84]
push ecx
push edi
mov ecx, eax
call dword [edx + 0x58]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
lea edx, [edi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [edx + 0xc], esi
je 0x4e0dd5
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x7c]
add eax, edx
add ecx, eax
mov dword [esp + 0x7c], ecx
jmp 0x4e0dec
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
add eax, edx
add ecx, eax
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x28], ebx
jne 0x4e0bc5
lea ecx, [ebp + 0x3c]
call fcn.004e2600
cmp dword [eax + 0x74], ebx
je 0x4e108c
cmp dword [esp + 0x10], ebx
jne 0x4e0e17
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x34]
jmp 0x4e0e1f
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
sub eax, ecx
sub eax, esi
push ebx
mov dword [ebp + 0x148], eax
add ebp, 0x90
mov ecx, ebp
call fcn.00460600
push 1
mov ecx, ebp
mov esi, eax
call fcn.00460600
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4e0e68
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [esp + 0x1c], ecx
jmp 0x4e0e7e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
xor eax, eax
cmp edx, ecx
setg al
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], ebx
je 0x4e0ed0
mov eax, 2
mov ecx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
sub esp, 0x10
mov edx, esp
and eax, ebp
push eax
mov eax, dword [ebp]
mov dword [edx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x68]
push edx
mov ecx, ebp
call dword [eax + 0x30]
mov ecx, eax
call fcn.00464ff0
jmp 0x4e0f1e
mov dword [esi + 8], ebx
sub esp, 0x10
mov dword [edi + 8], ebx
mov ebx, esp
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
xor ebp, ebp
mov dword [ebx + 4], ecx
mov ecx, esi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], ebp
call fcn.0045f860
sub esp, 0x10
xor eax, eax
mov ebx, esp
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, edi
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], esi
call fcn.0045f860
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xa4], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], edx
test eax, eax
mov dword [esp + 0x7c], ebx
je 0x4e108c
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0xa4]
test esi, esi
jge 0x4e0f9e
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, ebp
jne 0x4e0f5c
mov eax, edi
mov ecx, dword [edx + 0x148]
mov edx, eax
sub edx, dword [esp + 0x18]
add esi, ecx
sub edx, dword [esp + 0x20]
sub edx, 0x18
cmp esi, edx
jge 0x4e0f9a
mov esi, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
sub eax, ecx
xor ecx, ecx
sub eax, esi
add eax, 0xffffffe8
test eax, eax
setg cl
dec ecx
and eax, ecx
mov dword [edx + 0xa4], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e0fb8
mov ebx, dword [edx + 0xa4]
mov eax, dword [esp + 0x38]
add ebx, eax
mov dword [esp + 0x7c], ebx
jmp 0x4e0fc8
mov eax, dword [edx + 0xa4]
mov ecx, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x130]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 8]
test edx, edx
jle 0x4e108c
mov eax, dword [eax + 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e1000
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebp, eax
add ebp, ecx
add ebp, ebx
jmp 0x4e1015
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x18]
add edi, ecx
add edi, eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ebx, dword [esp + 0x78]
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [esp + 0x8c]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebp
mov ecx, dword [esp + 0x84]
push ecx
push esi
mov ecx, eax
call dword [edx + 0x58]
mov edx, dword [esp + 0x78]
add esi, 0x9c
mov eax, dword [esp + 0x10]
mov dword [esi], edx
test eax, eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ebp
je 0x4e106c
mov ebx, ebp
mov dword [esp + 0x7c], ebx
jmp 0x4e1070
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc ecx
mov eax, dword [eax + 0x130]
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 8]
jl 0x4e0fdf
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x14