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

Disassembly:
sub esp, 0x31c
mov eax, dword [0x691844]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
mov esi, dword [esp + 0x32c]
push edi
lea eax, [ebp + 2]
push eax
mov edi, ecx
lea ecx, [esp + 0x6c]
push 0x5b1588
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_wsprintfA]
movzx edx, word [ebp]
add esp, 0xc
push edx
mov ecx, edi
call fcn.004ae9c0
test eax, eax
je 0x4b21c3
cmp dword [eax], 0
je 0x4b21c3
mov eax, dword [eax + 0xc]
push eax
lea ecx, [esp + 0x6c]
push ecx
jmp 0x4b21cd
push 0xf0f0f0
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
push 0xf0f0f0
push 0x5af25f
mov ecx, esi
call fcn.0043c080
movzx ecx, word [ebp + 0x28]
xor eax, eax
cmp ecx, 0x2001
jg 0x4b2246
je 0x4b223f
sub ecx, 0x1001
cmp ecx, 8
ja case.0x4b2200.4103
jmp dword [ecx*4 + 0x4b2848]
mov eax, 0xfb
jmp case.0x4b2200.4103
mov eax, 0xfc
jmp case.0x4b2200.4103
mov eax, 0xfd
jmp case.0x4b2200.4103
mov eax, 0xfe
jmp case.0x4b2200.4103
mov eax, 0xff
jmp case.0x4b2200.4103
mov eax, 0x100
jmp case.0x4b2200.4103
mov eax, 0x103
jmp case.0x4b2200.4103
mov eax, 0x104
jmp case.0x4b2200.4103
mov eax, 0x101
jmp case.0x4b2200.4103
cmp ecx, 0x2002
jne case.0x4b2200.4103
mov eax, 0x102
push eax
mov ecx, 0x6a0f60
call fcn.004d6bc0
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
push eax
lea eax, [esp + 0xec]
push 0x5ba598
push eax
call ebx
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esi + 0x190]
push 0x5acee4
push edx
call ebx
push 0xff
lea eax, [esp + 0x145]
push 0
push eax
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 2
mov dword [esp + 0x6c], 4
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 0x10
mov dword [esp + 0x78], 0x20
mov dword [esp + 0x7c], 0x40
mov dword [esp + 0x80], 0x80
mov dword [esp + 0x84], 0x100
mov dword [esp + 0x88], 0x200
mov dword [esp + 0x3c], 0x5ba590
mov dword [esp + 0x40], 0x5ba58c
mov dword [esp + 0x44], 0x5ba584
mov dword [esp + 0x48], 0x5ba57c
mov dword [esp + 0x4c], 0x5ba574
mov dword [esp + 0x50], 0x5ba56c
mov dword [esp + 0x54], 0x5ba564
mov dword [esp + 0x58], 0x5ba55c
mov dword [esp + 0x5c], 0x5ba550
mov dword [esp + 0x60], str.UNIQUE
mov byte [esp + 0x14c], 0
call sub.MSVCR90.dll_memset
add esp, 0x24
xor edi, edi
movzx ecx, word [ebp + 0x38]
test dword [esp + edi + 0x40], ecx
je 0x4b2378
mov edx, dword [esp + edi + 0x18]
push edx
lea eax, [esp + 0x12c]
push eax
mov ecx, eax
push str._s__s
push ecx
call ebx
add esp, 0x10
add edi, 4
cmp edi, 0x28
jl 0x4b2354
cmp byte [esp + 0x128], 0
je 0x4b23b8
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x22c]
push 0x5ba530
push eax
call ebx
add esp, 0xc
push 0x55fc55
lea ecx, [esp + 0x22c]
push ecx
mov ecx, esi
call fcn.0043c080
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x4b23f0
push eax
push 0x182
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea edx, [esp + 0x70]
push 0x5b5eb4
push edx
call ebx
add esp, 0x10
push 0x9bdeff
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0043c080
fldz
fcomp dword [ebp + 0xb4]
fnstsw ax
test ah, 0x44
jnp 0x4b2441
fld dword [ebp + 0xb4]
fmul qword [0x5af4d8]
call fcn.00599920
push eax
push 0x182
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push 0x5b5e98
push ecx
call ebx
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx eax, word [ebp + 0x3a]
test ax, ax
je 0x4b2486
movzx eax, ax
push eax
push 0x105
mov ecx, 0x6a0f60
call fcn.004d6bc0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x70]
push 0x5b5eb4
push ecx
call edi
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
jmp 0x4b248c
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
movzx eax, word [ebp + 0x3c]
test ax, ax
je 0x4b24c9
movzx eax, ax
push eax
push 0x106
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push 0x5b5eb4
push ecx
call edi
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx eax, word [ebp + 0x3e]
test ax, ax
je 0x4b2506
movzx eax, ax
push eax
push 0x107
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push 0x5b5eb4
push ecx
call edi
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx eax, word [ebp + 0x40]
test ax, ax
je 0x4b2543
movzx eax, ax
push eax
push 0x108
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push 0x5b5eb4
push ecx
call edi
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx eax, word [ebp + 0xa4]
test ax, ax
je 0x4b2583
movzx eax, ax
push eax
push 0x18d
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push 0x5b5eb4
push ecx
call ebx
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx edi, word [ebp + 0x80]
test di, di
jbe 0x4b25d6
push 0x80
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCR90.dll_memset
movzx ecx, di
add esp, 0xc
push ecx
push 0x5f1
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x9bdeff
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0043c080
movzx edi, word [ebp + 0x82]
test di, di
jbe 0x4b2629
push 0x80
lea ecx, [esp + 0x6c]
push 0
push ecx
call sub.MSVCR90.dll_memset
movzx edx, di
add esp, 0xc
push edx
push 0x5f2
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x9bdeff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043c080
movzx edi, word [ebp + 0x84]
test di, di
jbe 0x4b267c
push 0x80
lea edx, [esp + 0x6c]
push 0
push edx
call sub.MSVCR90.dll_memset
movzx eax, di
add esp, 0xc
push eax
push 0x5f3
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
movzx edi, word [ebp + 0x86]
test di, di
jbe 0x4b26cf
push 0x80
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCR90.dll_memset
movzx ecx, di
add esp, 0xc
push ecx
push 0x5f4
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x9bdeff
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0043c080
mov edi, 1
movzx eax, di
test ax, ax
jne 0x4b26e0
fldz
jmp 0x4b26ea
movzx ecx, ax
fld dword [ebp + ecx*4 + 0x88]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul qword [0x5af4d8]
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4b2747
call fcn.00599920
push eax
lea edx, [edi + 0x187]
push edx
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea eax, [esp + 0x70]
push str._s__d__
push eax
call ebx
add esp, 0x10
push 0x9bdeff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043c080
jmp 0x4b2749
fstp st(0)
inc edi
cmp edi, 5
jle 0x4b26d4
mov edi, 1
movzx eax, di
test ax, ax
jne 0x4b2760
fldz
jmp 0x4b2767
movzx edx, ax
fld dword [ebp + edx*4 + 0x4c]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul qword [0x5af4d8]
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4b27c4
call fcn.00599920
push eax
lea eax, [edi + 0x108]
push eax
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
lea ecx, [esp + 0x70]
push str._s__d__
push ecx
call ebx
add esp, 0x10
push 0x9bdeff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043c080
jmp 0x4b27c6
fstp st(0)
inc edi
cmp edi, 5
jle 0x4b2754
movzx ecx, word [ebp + 0x24]
mov edi, dword [esp + 0x14]
xor edx, edx
mov eax, ecx
div dword [edi + 0x1e8]
mov eax, dword [edi + 0x1ec]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4b282b
jmp 0x4b27f0
cmp dword [edx], ecx
je 0x4b27fd
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4b27f0
jmp 0x4b282b
mov edi, dword [edx + 4]
test edi, edi
je 0x4b282b
push 0xf0f0f0
push 0x5af25f
mov ecx, esi
call fcn.0043c080
mov ecx, dword [edi]
push 0xc8d7aa
push ecx
mov ecx, esi
call fcn.0043c080
mov edi, dword [edi + 4]
test edi, edi
jne 0x4b2815
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005997a8
add esp, 0x31c
ret 8