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

Disassembly:
push 0xffffffffffffffff
push 0x5a2fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
mov dword [esp + 4], ecx
push edi
lea ecx, [esp + 0x38]
call fcn.0045cd50
xor ebx, ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0xa0], ebx
call fcn.0045cd50
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 1
call fcn.0045cd50
mov edi, dword [esp + 0xa8]
push ebx
push ebx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
mov byte [esp + 0xac], 2
call fcn.0042c000
push ebx
push 0x45ce00
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x84]
call fcn.004581a0
push ebx
push 0x45da90
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x64]
call fcn.004581a0
lea ecx, [esp + 0x18]
call fcn.0045cd50
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 3
call fcn.00458970
cmp dword [esp + 0x24], ebx
lea ecx, [esp + 0x18]
je 0x4eb236
lea edx, [esp + 0x10]
push edx
push 0x45d8d0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 1
call fcn.00457400
cmp eax, ebx
jg 0x4eb27d
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.0045cd70
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 1
call fcn.0045cd70
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], bl
call fcn.0045cd70
lea ecx, [esp + 0x38]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0045cd70
jmp 0x4eb4f8
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4eb326
push eax
mov ecx, edi
call fcn.0042b9a0
cmp eax, ebx
mov dword [esp + 0x10], eax
jg 0x4eb326
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x3c]
test eax, eax
je 0x4eb326
push edi
push 1
push 0x1819
call fcn.0053f010
push 0x1b
push 0xa5
push eax
call fcn.00467d90
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ecx]
add esp, 0x18
call dword [edx + 0xb8]
push edi
push 1
push 0x25a2
mov esi, eax
call fcn.0053f010
push edi
push esi
push 1
push eax
call fcn.00467dd0
push ebx
push 0x1b6e
call fcn.0053f010
push 0x1b
push 0xa5
push eax
call fcn.00467d90
push ebx
push 0x261d
call fcn.0053f010
push edi
push esi
push 2
push eax
call fcn.00467dd0
add esp, 0x48
cmp dword [esp + 0x28], ebx
je 0x4eb4b1
push ebp
lea ecx, [esp + 0x20]
call fcn.004f4f90
mov esi, eax
cmp esi, ebx
je 0x4eb35b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x4eb35b
push 0x5b4074
mov ecx, esi
call fcn.00591e20
test eax, eax
jne 0x4eb35d
xor esi, esi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
push eax
call fcn.00404810
add esp, 4
test eax, eax
je 0x4eb4a6
cmp dword [esp + 0x14], ebx
jle 0x4eb439
cmp dword [esi + 0x24], 7
je 0x4eb439
mov ecx, dword [esp + 0x10]
call fcn.00467d30
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test eax, eax
jne 0x4eb4a6
mov ecx, esi
call fcn.0044d650
test eax, eax
je 0x4eb409
mov ecx, esi
call fcn.0044dc50
test eax, eax
jne 0x4eb4a6
mov ecx, ebp
and ecx, 0x80000001
jns 0x4eb3cc
dec ecx
or ecx, 0xfffffffe
inc ecx
cmp ecx, 1
jne 0x4eb3d9
push ecx
mov ecx, esi
call fcn.004478e0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x90]
test eax, eax
je 0x4eb482
and ebp, 0x80000003
jns 0x4eb3f8
dec ebp
or ebp, 0xfffffffc
inc ebp
jne 0x4eb482
push 1
mov ecx, esi
call fcn.004478e0
jmp 0x4eb482
mov eax, ebp
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x4eb482
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
mov ecx, edi
mov ebp, eax
call fcn.0042d620
cmp ebp, eax
jge 0x4eb482
push 1
mov ecx, esi
call fcn.004478c0
jmp 0x4eb482
push 3
mov ecx, esi
call fcn.004478e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ecx, eax
lea edx, [ecx + 0x63]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
cmp ecx, ebp
jg 0x4eb473
mov ecx, dword [esp + 0x10]
push esi
push esi
call fcn.004e6ef0
push 1
push ebx
push ebp
mov ecx, esi
call fcn.00450590
test eax, eax
jne 0x4eb4a6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x84]
test eax, eax
jg 0x4eb4a6
mov ecx, dword [esp + 0x10]
push esi
push esi
call fcn.004e6ef0
push ebx
push ebx
push 1
mov ecx, esi
call fcn.0044ffe0
cmp dword [esp + 0x2c], ebx
jne 0x4eb331
pop ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 2
call fcn.0045cd70
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 1
call fcn.0045cd70
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], bl
call fcn.0045cd70
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0045cd70
pop esi
mov ecx, dword [esp + 0x98]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4