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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 1
mov ebx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [ebx + 0x10]
mov ebp, dword [edi + 8]
mov eax, ecx
mov dword [esp + 0x2c], esi
cdq
sub eax, edx
mov edx, dword [esi + 0xc]
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
push edx
push ecx
push eax
mov dword [esp + 0x2c], ecx
call fcn.004b8930
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.004b8930
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [edi + 0x38]
push eax
mov eax, dword [edi + 0x34]
push ecx
mov ecx, dword [edi + 0x3c]
push edx
mov edx, dword [esp + 0xa4]
push eax
push ecx
mov ecx, dword [esp + 0xa4]
mov eax, dword [edx]
push ebx
mov edx, dword [ecx]
push esi
push eax
push edx
call fcn.004b6650
mov esi, eax
add esp, 0x40
test esi, esi
jne 0x4b2095
mov eax, dword [esp + 0x84]
push 1
push eax
push ebp
call fcn.004b5fc0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x90]
push ecx
push edx
push ebx
call fcn.004b7fb0
mov ecx, dword [ebx + 0x14]
xor eax, eax
add esp, 0x18
cmp ecx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
jle 0x4b2056
push ebp
call fcn.00461c30
mov eax, dword [ebx + 0x10]
add esp, 4
test eax, eax
mov dword [esp + 0x78], 0
jle 0x4b1f91
mov eax, dword [edi + 0x38]
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x14]
movsx ecx, word [eax + esi*2]
push edx
push ebp
mov dword [esp + 0x1c], ecx
call fcn.004b6110
mov eax, dword [esp + 0x1c]
add esp, 8
cmp eax, 4
ja case.default.0x4b1d7d
jmp dword [eax*4 + 0x4b20a0]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi + 0x38]
push ecx
mov ecx, dword [edi + 0x34]
push edx
mov edx, dword [esp + 0x38]
push esi
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
call fcn.004b7320
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4b2095
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x1c]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push ebp
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x80]
push ecx
push edx
push eax
call fcn.004b20c0
mov esi, eax
add esp, 0x34
test esi, esi
jne 0x4b2095
jmp 0x4b1ee8
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edi + 0x38]
push edx
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [esp + 0x38]
push esi
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
call fcn.004b7a10
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4b2095
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x1c]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [edi + 0x34]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x80]
push eax
push ecx
call fcn.004b22b0
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x4b2095
jmp 0x4b1ee8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x84]
inc ecx
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x74]
push ecx
push edx
push eax
call fcn.004b1a90
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x4b2095
push ebp
call fcn.004b6190
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ecx, 0x10
add esp, 4
add edx, ecx
add eax, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
add edx, ecx
add eax, ecx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov eax, 8
add edx, eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x6c]
add edx, eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
add edx, ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x44]
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x48]
add edx, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
add edx, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x54]
add edx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
add eax, ecx
mov ecx, dword [ebx + 0x10]
inc edx
cmp eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
jl 0x4b1d53
push ebp
call fcn.004b61b0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add edx, eax
add ecx, eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x68]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x70]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x48]
add edx, eax
add ecx, eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x50]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x14]
add eax, 0x10
add esp, 4
cmp eax, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x80], eax
jge 0x4b2056
jmp 0x4b1d37
mov esi, 0x2c
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x84]
push eax
call fcn.004b2580
push ebp
call fcn.004b6260
mov ebx, dword [ebx + 0x20]
add esp, 8
fild dword [esp + 0x28]
mov dword [esp + 0x7c], ebx
fidiv dword [esp + 0x7c]
fcomp qword [str.333333]
fnstsw ax
test ah, 0x41
jne 0x4b2095
mov ecx, dword [edi + 0x30]
push ecx
push ebx
call fcn.004b8740
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret