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

Disassembly:
sub esp, 0x78
mov eax, 5
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, eax
push ecx
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.004b9fe0
add esp, 4
mov ecx, eax
call fcn.004b98d0
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x68]
push edx
push eax
call dword [0x5e91ac]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.0055b694
mov eax, dword [edi + 0x1c]
mov esi, dword [0x5e91b0]
lea edx, [esp + 0x48]
push edx
push eax
call esi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ebx, dword [0x5e91a8]
neg ecx
neg eax
push ecx
lea ecx, [esp + 0x6c]
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
neg ecx
neg eax
push ecx
lea edx, [esp + 0x4c]
push eax
push edx
call ebx
mov ecx, edi
call fcn.0055664c
test eax, 0x400000
je 0x4b9d55
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x48]
sub eax, ecx
push 0
sub eax, ebp
lea ecx, [esp + 0x6c]
add eax, edx
push eax
push ecx
call ebx
lea edx, [esp + 0x68]
push 1
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, edi
call fcn.004baae0
mov ecx, edi
call fcn.004b8d00
test eax, eax
je 0x4b9db3
mov eax, dword [0x60391c]
test eax, eax
jne 0x4b9db3
push 0xfffffffffffffffe
lea ecx, [esp + 0x5c]
push 0
push ecx
call dword [0x5e921c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x58]
sub eax, ecx
cdq
sub eax, edx
mov edx, 0
sar eax, 1
sets dl
dec edx
and eax, edx
add eax, ecx
mov ecx, dword [esp + 0x5c]
jmp 0x4b9dee
push 0
lea eax, [esp + 0x5c]
push 0xfffffffffffffffe
push eax
call dword [0x5e921c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x5c]
sub eax, ecx
mov ebx, dword [esp + 0x20]
cdq
sub eax, edx
mov edx, 0
sar eax, 1
sets dl
dec edx
and edx, eax
mov eax, dword [esp + 0x60]
sub eax, ebx
add ecx, edx
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
push ecx
push edx
call esi
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.0055b658
mov eax, dword [edi + 0xe0]
test eax, eax
jle 0x4b9fc4
xor ebp, ebp
lea ebx, [edi + 0xe8]
mov dword [esp + 0x14], ebp
lea esi, [edi + 0x180]
mov dword [esi + 4], 0xffffffff
mov ecx, dword [0x603918]
xor eax, eax
cmp ecx, eax
je 0x4b9e58
cmp dword [edi + 0x140], eax
je 0x4b9e58
mov ecx, dword [esi - 8]
mov dword [esp + 0x10], 1
cmp ecx, 9
je 0x4b9e5c
mov dword [esp + 0x10], eax
mov ecx, edi
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], eax
call fcn.004b8d20
test eax, eax
jne 0x4b9e76
mov eax, dword [0x60391c]
test eax, eax
je 0x4b9e9b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b9e9b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi], 1
lea eax, [ecx + edx]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
jmp 0x4b9eaf
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi], eax
test ebx, ebx
je 0x4b9f72
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4b9f72
cmp dword [esi], 0
je 0x4b9edd
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x28]
jmp 0x4b9f21
mov ebx, 5
mov ebp, ebx
call fcn.004fd260
lea ecx, [esp + 0x40]
push 0
push ecx
mov ecx, 0x6043d8
call fcn.004b9890
mov edx, eax
push ebp
push ebx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004b98d0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x38]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add edx, eax
mov dword [esp + 0x7c], ecx
add ebx, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x78], eax
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
mov dword [esp + 0x90], ebx
call dword [0x5e91a8]
lea ecx, [esp + 0x78]
lea edx, [ebp + 1]
push ecx
lea ebx, [edi + 0xe8]
push edx
push edi
mov ecx, ebx
call fcn.005505b7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4b9fb3
mov ecx, edi
call fcn.004b8d00
test eax, eax
je 0x4b9fa0
mov eax, dword [0x60391c]
test eax, eax
jne 0x4b9fa0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x1c], edx
jmp 0x4b9fb3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov dword [esp + 0x18], ecx
inc ebp
add esi, 0x24
cmp ebp, 2
mov dword [esp + 0x14], ebp
jl 0x4b9e2d
mov ecx, dword [edi + 0x1c]
push 0x401
push 0
push 0
push ecx
call dword [0x5e9228]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret