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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff68
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebx, eax
cmp dword [ebx + 0x40], 0
je 0x4c1134
cmp byte [ebx + 0x84], 0
je 0x4c0bad
cmp dword [ebx + 0x48], 0
je 0x4c0bad
mov esi, dword [ebx + 0x48]
jmp 0x4c0bb0
mov esi, dword [ebx + 0x44]
cmp dword [ebx + 0x4c], 0
je 0x4c0bbe
mov eax, dword [ebx + 0x4c]
call fcn.00403734
cmp dword [ebx + 0x50], 0
je 0x4c0bcc
mov eax, dword [ebx + 0x50]
call fcn.00403734
cmp dword [ebx + 0x54], 0
je 0x4c0bda
mov eax, dword [ebx + 0x54]
call fcn.00403734
cmp dword [ebx + 0x58], 0
je 0x4c0be8
mov eax, dword [ebx + 0x58]
call fcn.00403734
mov dl, 1
mov eax, dword [0x4f3f78]
call fcn.004f4138
mov edi, eax
mov dword [ebx + 0x50], edi
mov ebp, dword [ebx + 0x40]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
call fcn.004edf14
mov ecx, eax
mov edx, dword [esp]
mov eax, edi
call fcn.004f46f4
mov eax, dword [ebx + 0x40]
mov edi, dword [eax + 0x14]
mov ebp, dword [esi + 8]
sub ebp, dword [eax + 0x1c]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
xor edx, edx
xor eax, eax
call fcn.00413be8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
xor edx, edx
xor eax, eax
call fcn.00413be8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.00413be8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
sub eax, ebp
xor edx, edx
call fcn.00413be8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x1c]
xor edx, edx
mov eax, edi
call fcn.00413be8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax + 8]
sub ecx, ebp
xor edx, edx
mov eax, edi
call fcn.00413be8
mov eax, dword [ebx + 0x50]
call fcn.004f4f40
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x2c]
mov eax, edi
call fcn.0041f2b0
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x4c]
mov eax, edi
call fcn.0041f2b0
lea eax, [esp + 0x58]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x6c]
mov eax, edi
call fcn.0041f2b0
mov eax, dword [ebx + 0x50]
call fcn.004f4954
mov dl, 1
mov eax, dword [0x4f3f78]
call fcn.004f4138
mov edi, eax
mov dword [ebx + 0x58], edi
mov ebp, dword [ebx + 0x40]
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x28]
call fcn.004edf1c
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov edx, dword [esp]
mov eax, edi
call fcn.004f46f4
mov eax, dword [ebx + 0x40]
mov edi, dword [eax + 0x24]
mov ebp, dword [esi + 8]
sub ebp, dword [eax + 0x2c]
mov eax, dword [esi + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x58]
mov edx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
mov ecx, edi
xor eax, eax
call fcn.00413be8
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
xor edx, edx
xor eax, eax
call fcn.00413be8
mov eax, dword [esi + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x58]
mov edx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
mov eax, dword [esi + 8]
sub eax, ebp
mov ecx, dword [esi + 8]
call fcn.00413be8
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 8]
sub eax, ebp
xor edx, edx
call fcn.00413be8
mov eax, dword [esi + 0xc]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x58]
mov edx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 0x1c]
mov eax, edi
call fcn.00413be8
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 8]
sub ecx, ebp
xor edx, edx
mov eax, edi
call fcn.00413be8
mov eax, dword [ebx + 0x58]
call fcn.004f4f40
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x2c]
mov eax, edi
call fcn.0041f2b0
lea eax, [esp + 0x38]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x4c]
mov eax, edi
call fcn.0041f2b0
lea eax, [esp + 0x58]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
lea edx, [esp + 0x6c]
mov eax, edi
call fcn.0041f2b0
mov eax, dword [ebx + 0x58]
call fcn.004f4954
mov dl, 1
mov eax, dword [0x4f3f78]
call fcn.004f4138
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [esp + 4]
sub edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub edx, dword [eax + 0xc]
test edx, edx
jle 0x4c0fc7
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 4]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x40]
mov edx, dword [eax + 0x34]
mov eax, dword [ebx + 0x4c]
call fcn.004f46f4
mov eax, dword [ebx + 0x50]
mov edx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub edx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x50]
mov edx, dword [eax + 0xc]
xor eax, eax
call fcn.00413be8
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 8]
xor edx, edx
xor eax, eax
call fcn.00413be8
lea eax, [esp + 0x18]
call fcn.004ee688
push eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xc]
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebp, eax
lea eax, [esp + 0x18]
call fcn.004ee688
mov edi, eax
mov eax, dword [ebx + 0x4c]
call fcn.004f4f40
mov dword [esp + 0xc], eax
test ebp, ebp
jl 0x4c0fbf
inc ebp
mov dword [esp + 0x10], ebp
xor ebp, ebp
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xc]
mov edx, ebp
imul edx, edi
add edx, edi
cmp eax, edx
jge 0x4c0f4a
mov edx, ebp
imul edx, edi
add edx, edi
sub edx, eax
mov dword [esp + 8], edx
jmp 0x4c0f50
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 8]
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call fcn.00413be8
lea eax, [esp + 0x78]
push eax
mov eax, ebp
imul edi
add eax, edi
sub eax, dword [esp + 0xc]
push eax
lea eax, [esp + 0x90]
push eax
mov edx, ebp
imul edx, edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
call fcn.00413be8
lea eax, [esp + 0x8c]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
mov eax, dword [esp + 0x14]
pop edx
call fcn.0041f2b0
inc ebp
dec dword [esp + 0x10]
jne 0x4c0f2a
mov eax, dword [ebx + 0x4c]
call fcn.004f4954
mov dl, 1
mov eax, dword [0x4f3f78]
call fcn.004f4138
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x50]
mov edx, dword [esp + 4]
sub edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub edx, dword [eax + 0xc]
test edx, edx
jle 0x4c1134
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 4]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x40]
mov edx, dword [esi + 8]
sub edx, dword [eax + 0x3c]
mov eax, dword [ebx + 0x54]
call fcn.004f46f4
mov eax, dword [ebx + 0x50]
mov edx, dword [esi + 0xc]
sub edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58]
sub edx, dword [eax + 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x54]
push dword [eax + 8]
mov eax, dword [esi + 8]
pop edx
sub eax, edx
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0xc]
mov ecx, dword [esi + 8]
call fcn.00413be8
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax + 8]
xor edx, edx
xor eax, eax
call fcn.00413be8
lea eax, [esp + 0x18]
call fcn.004ee688
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0xc]
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebp, eax
lea eax, [esp + 0x18]
call fcn.004ee688
mov edi, eax
mov eax, dword [ebx + 0x54]
call fcn.004f4f40
mov dword [esp + 0x14], eax
test ebp, ebp
jl 0x4c112c
inc ebp
mov dword [esp + 0x10], ebp
xor ebp, ebp
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0xc]
mov edx, ebp
imul edx, edi
add edx, edi
cmp eax, edx
jge 0x4c10b7
mov edx, ebp
imul edx, edi
add edx, edi
sub edx, eax
mov dword [esp + 8], edx
jmp 0x4c10bd
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 8]
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call fcn.00413be8
lea eax, [esp + 0x78]
push eax
mov eax, ebp
imul edi
add eax, edi
sub eax, dword [esp + 0xc]
push eax
lea eax, [esp + 0x90]
push eax
mov edx, ebp
imul edx, edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
call fcn.00413be8
lea eax, [esp + 0x8c]
push eax
mov eax, esi
call fcn.004f4f40
mov ecx, eax
mov eax, dword [esp + 0x1c]
pop edx
call fcn.0041f2b0
inc ebp
dec dword [esp + 0x10]
jne 0x4c1097
mov eax, dword [ebx + 0x54]
call fcn.004f4954
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret