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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51baa0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3740
call fcn.004daad0
mov eax, dword [0x55c2f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x3718], edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x36f4], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3714], 0
mov dword [ebp - 0x371c], 0
mov dword [ebp - 4], 0
lea esi, [eax + 0x40]
push eax
call fcn.004b6fc0
wait
push esi
mov ecx, edi
call fcn.004b70b0
wait
xor esi, esi
mov dword [ebp - 0x36fc], esi
mov eax, dword [ebx + 0x1c]
shr eax, 3
mov dword [ebp - 0x3730], eax
mov eax, dword [ebx + 0x14]
lea ecx, [eax*4]
mov dword [ebp - 0x3708], ecx
mov ecx, dword [ebx + 0x18]
mov edx, ecx
lea ebx, [eax*4]
imul edx, ebx
mov dword [ebp - 0x3710], edx
lea edx, [eax + 7]
and edx, 0xfffffff8
mov dword [ebp - 0x373c], edx
lea eax, [ecx + 7]
and eax, 0xfffffff8
mov ecx, eax
imul ecx, edx
mov dword [ebp - 0x3734], ecx
mov ecx, edx
shr ecx, 3
mov dword [ebp - 0x372c], ecx
shr eax, 3
mov dword [ebp - 0x3700], eax
lea eax, [ecx + 7]
shr eax, 3
mov dword [ebp - 0x3704], eax
xor ebx, ebx
mov dword [ebp - 0x36f8], ebx
cmp ebx, 0x10
jae 0x4b8840
lea eax, [ebp - 0x36e8]
push eax
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
call fcn.004ba7d0
mov dword [ebp + ebx*4 - 0x54], eax
add esi, dword [ebp - 0x36e8]
mov dword [ebp - 0x36fc], esi
inc ebx
jmp 0x4b8810
xor ebx, ebx
mov dword [ebp - 0x36f8], ebx
cmp ebx, 0xb0
jae 0x4b8878
lea eax, [ebp - 0x36e8]
push eax
mov eax, dword [ebp + 0x14]
add eax, esi
push eax
call fcn.004ba7d0
mov dword [ebp + ebx*4 - 0x5fc], eax
add esi, dword [ebp - 0x36e8]
mov dword [ebp - 0x36fc], esi
inc ebx
jmp 0x4b8842
push 0x10
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.004bb100
mov ebx, eax
mov dword [ebp - 0x3740], ebx
push 0xb0
lea eax, [ebp - 0x5fc]
push eax
lea eax, [ebp - 0x36e4]
push eax
call fcn.004bb100
mov dword [ebp - 0x3728], eax
push 0x10
push ebx
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x11fc]
push eax
lea eax, [ebp - 0x15fc]
push eax
mov ecx, edi
call fcn.004baf90
wait
push 0xb0
push dword [ebp - 0x3728]
lea eax, [ebp - 0x36e4]
push eax
lea eax, [ebp - 0x9fc]
push eax
lea eax, [ebp - 0xdfc]
push eax
mov ecx, edi
call fcn.004baf90
wait
mov eax, dword [ebp - 0x3700]
inc eax
mov dword [edi + 0x18], eax
mov ebx, dword [ebp + 0x14]
add ebx, esi
mov dword [ebp - 0x36ec], ebx
lea eax, [esi + eax*4]
mov dword [ebp - 0x36fc], eax
push 0x10
mov eax, dword [ebp - 0x3734]
lea eax, [eax + eax*2]
add eax, eax
push eax
call fcn.004eb6ec
add esp, 8
wait
mov esi, eax
mov dword [ebp - 0x371c], esi
test esi, esi
je 0x4b8d67
xor ecx, ecx
mov eax, dword [edi + 0x18]
mov edx, 0x84
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d9ebb
add esp, 4
wait
mov dword [edi + 0x14], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x36f0], ecx
mov dword [ebp - 0x3720], ecx
mov dword [ebp - 0x370c], esi
mov dword [eax], 2
mov eax, dword [edi + 0x14]
mov dword [eax + 8], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3710]
mov dword [eax + 0x10], ecx
mov esi, dword [ebp - 0x36f4]
mov edx, dword [ebp + 0x14]
cmp dword [esi + 0x1c], 0x20
jne 0x4b89ac
mov eax, dword [ebp - 0x3700]
mov ecx, dword [ebx + eax*4]
add ecx, edx
jmp 0x4b89ae
xor ecx, ecx
mov eax, dword [edi + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x36f0]
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x14]
mov dword [eax + 0x18], 0
mov eax, dword [edi + 0x14]
mov dword [eax + 0x1c], 0
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 0x14]
mov dword [eax + 0x34], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x14]
mov dword [eax + 0x38], ecx
mov eax, dword [edi + 0x14]
mov ebx, dword [ebp - 0x3708]
mov dword [eax + 0x3c], ebx
mov ecx, dword [esi + 0x14]
mov eax, dword [edi + 0x14]
mov dword [eax + 0x40], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [edi + 0x14]
mov dword [eax + 0x44], ecx
mov eax, dword [edi + 0x14]
mov dword [eax + 0x48], ebx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3730]
mov dword [eax + 0x4c], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x372c]
mov dword [eax + 0x50], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3700]
mov dword [eax + 0x54], ecx
mov eax, 1
mov dword [ebp - 0x3724], eax
xor ebx, ebx
mov dword [ebp - 0x3744], ebx
cmp eax, dword [edi + 0x18]
jge 0x4b8c57
imul esi, eax, 0x84
mov eax, dword [edi + 0x14]
mov dword [esi + eax], 0
lea eax, [ebx + 1]
mov dword [ebp - 0x3710], eax
cmp eax, dword [edi + 0x18]
jge 0x4b8a7d
mov eax, dword [ebp - 0x36ec]
mov ecx, dword [eax + ebx*4 + 4]
sub ecx, dword [eax + ebx*4]
sub ecx, dword [ebp - 0x3704]
jmp 0x4b8a80
or ecx, 0xffffffff
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 8], ecx
lea eax, [ebp - 0x36e8]
push eax
mov eax, dword [ebp - 0x36ec]
mov eax, dword [eax + ebx*4]
add eax, dword [ebp - 0x3704]
add eax, edx
push eax
call fcn.004ba7d0
mov ecx, dword [edi + 0x14]
mov dword [esi + ecx + 0x10], eax
mov eax, dword [ebp - 0x36ec]
mov ecx, dword [eax + ebx*4]
add ecx, dword [ebp - 0x36e8]
add ecx, dword [ebp - 0x3704]
mov edx, dword [ebp + 0x14]
add ecx, edx
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 4], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x36f0]
mov dword [esi + eax + 0xc], ecx
mov eax, dword [ebp - 0x36ec]
mov ecx, dword [eax + ebx*4]
add ecx, edx
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x14], ecx
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x18], 0
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x1c], 0
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x370c]
mov dword [esi + eax + 0x20], ecx
mov ecx, dword [ebp - 0x36f4]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x34], ecx
shl ebx, 3
mov eax, dword [ebp - 0x36f4]
mov ecx, dword [eax + 0x18]
lea eax, [ebx + 8]
cmp eax, ecx
jbe 0x4b8b36
sub ecx, ebx
jmp 0x4b8b3b
mov ecx, 8
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x38], ecx
mov eax, dword [edi + 0x14]
mov ebx, dword [ebp - 0x3708]
mov dword [esi + eax + 0x3c], ebx
mov eax, dword [edi + 0x14]
mov ebx, dword [ebp - 0x373c]
mov dword [esi + eax + 0x40], ebx
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x44], 8
mov eax, dword [edi + 0x14]
lea ecx, [ebx*4]
mov dword [esi + eax + 0x48], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3730]
mov dword [esi + eax + 0x4c], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x372c]
mov dword [esi + eax + 0x50], ecx
mov eax, dword [edi + 0x14]
mov dword [esi + eax + 0x54], 1
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3740]
mov dword [esi + eax + 0x5c], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x33c]
mov dword [esi + eax + 0x58], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x15fc]
mov dword [esi + eax + 0x60], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x11fc]
mov dword [esi + eax + 0x64], ecx
mov ecx, dword [edi + 0x14]
mov eax, dword [esi + ecx + 8]
mov dword [esi + ecx + 0x68], eax
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x3728]
mov dword [esi + eax + 0x70], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x36e4]
mov dword [esi + eax + 0x6c], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0xdfc]
mov dword [esi + eax + 0x74], ecx
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x9fc]
mov dword [esi + eax + 0x78], ecx
mov ecx, dword [edi + 0x14]
mov eax, dword [esi + ecx + 8]
mov dword [esi + ecx + 0x7c], eax
mov eax, dword [ebp - 0x36f0]
mov ecx, dword [ebp - 0x3708]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x36f0], eax
mov dword [ebp - 0x3720], eax
lea eax, [ebx + ebx*2]
shl eax, 4
add dword [ebp - 0x370c], eax
mov eax, dword [ebp - 0x3724]
inc eax
mov dword [ebp - 0x3724], eax
mov ebx, dword [ebp - 0x3710]
jmp 0x4b8a3b
mov esi, dword [ebp - 0x36f4]
cmp dword [esi + 0x1c], 0x20
jne 0x4b8cce
mov eax, dword [esi + 0x10]
sub eax, 0x10000
je 0x4b8c8c
sub eax, 1
jne 0x4b8d83
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3720], eax
mov esi, dword [eax]
add eax, 4
mov dword [ecx + 4], eax
jmp 0x4b8c91
mov esi, 1
mov eax, esi
sub eax, 1
je 0x4b8cb9
sub eax, 1
jne 0x4b8d9f
mov eax, dword [ebp - 0x3734]
add eax, eax
push eax
call fcn.004d9ebb
add esp, 4
wait
mov dword [ebp - 0x3714], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 0x3714]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [eax + 0x80], esi
push 0
mov ecx, edi
call fcn.004b9d60
push edi
push 0x4b9d50
mov ecx, dword [edi + 0x10]
call fcn.00450780
push 1
mov ecx, dword [edi + 0x10]
call fcn.004507c0
wait
push 0
push 0
mov ecx, dword [edi + 0x10]
call fcn.00450780
mov dword [ebp - 4], 0xffffffff
jmp 0x4b8d18
push dword [edi + 0x14]
call fcn.004d9e78
push dword [ebp - 0x3714]
call fcn.004d9e78
push dword [ebp - 0x371c]
call fcn.004eb6d2
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d9e67
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x3738], 0xb
push 0x559750
lea eax, [ebp - 0x3738]
push eax
call fcn.004e6147
wait
mov dword [ebp - 0x3748], 9
push 0x559750
lea eax, [ebp - 0x3748]
push eax
call fcn.004e6147
wait
mov dword [ebp - 0x374c], 9
push 0x559750
lea eax, [ebp - 0x374c]
push eax
call fcn.004e6147
wait
int3