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

Disassembly:
sub esp, 0x3c
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1b2]
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp dword [esi + 0xe], ebx
je 0x4ba712
call fcn.0042af10
cmp dword [esi + 0x286], ebx
je 0x4ba15f
mov ecx, dword [esi + 0x1ba]
fldz
imul ecx, dword [esi + 0x1b6]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
push edx
lea edx, [esi + 0x1be]
push edx
push ecx
fstp dword [esp]
push ebx
push ebx
lea ecx, [esi + 0x282]
call fcn.0042cf50
cmp dword [esi + 0x2a6], ebx
je 0x4ba1c0
mov ecx, dword [esi + 0x1ba]
fld dword [esi + 0x1be]
imul ecx, dword [esi + 0x1b6]
fadd qword [0x585bd0]
fstp dword [esp + 0xc]
fld dword [esi + 0x1c2]
fadd qword [0x58f440]
mov eax, 0x51eb851f
fstp dword [esp + 0x10]
fldz
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
push edx
lea edx, [esp + 0x10]
push edx
push ecx
fstp dword [esp]
push ebx
push ebx
lea ecx, [esi + 0x2a2]
call fcn.0042cf50
mov ecx, dword [esi + 0x2e2]
push ebp
cmp ecx, ebx
je 0x4ba56d
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
movzx eax, ax
push eax
call fcn.005150d0
mov ebp, 1
add esp, 4
cmp eax, ebp
je 0x4ba2a2
mov ecx, dword [esi + 0x2e2]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
mov ecx, 0x6b1d70
call fcn.0049f760
test eax, eax
je 0x4ba2a2
mov edx, dword [esi + 0x2e8]
push edx
push 0x58a9d0
push 0x6b20a4
call dword [sym.imp.USER32.dll_wsprintfA]
fld dword [esi + 0x1be]
add esp, 0xc
call fcn.00565c50
fld dword [esi + 0x1c2]
add eax, 0x15
mov dword [esp + 0x24], eax
call fcn.00565c50
add eax, 0x1d
mov dword [esp + 0x28], eax
mov eax, 0x6b20a4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4ba260
sub eax, edx
mov edx, dword [esi + 0x1ba]
imul edx, dword [esi + 0x1b6]
mov ecx, eax
mov eax, 0x51eb851f
mul edx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
push 0x6b20a4
push ebx
mov ecx, 0x6b01e8
call fcn.0042a1e0
mov ecx, dword [esi + 0x2e2]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
call fcn.005150d0
add esp, 4
cmp eax, 3
jne 0x4ba2d2
mov ecx, dword [esi + 0x2e2]
lea edx, [esi + 0x1be]
push edx
call fcn.005347b0
mov ecx, dword [esi + 0x2e2]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
push edi
call edx
movzx eax, ax
push eax
call fcn.005150d0
add esp, 4
cmp eax, 2
jne 0x4ba57d
mov ecx, dword [esi + 0x2e2]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
push eax
mov ecx, 0x6b1d70
call fcn.0049f0d0
mov edi, eax
cmp edi, ebx
je 0x4ba57d
test dword [edi + 0x298], 0x1000
je 0x4ba41d
mov ecx, esi
call fcn.00428580
fld dword [esi + 0x1be]
call fcn.00565c50
fld dword [esi + 0x1c2]
add eax, 9
mov dword [esp + 0x38], eax
call fcn.00565c50
push 0xffff0000
lea ecx, [esp + 0x3c]
push ecx
push 4
add eax, 0xf
push 0x5eb
mov ecx, 0x6b2fd8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call fcn.004c6410
push eax
push ebx
mov ecx, 0x6b01e8
call fcn.0042a1e0
mov eax, dword [edi]
mov ebp, dword [0x6b1164]
lea edx, [esp + 0x10]
push edx
mov edx, dword [eax + 0x78]
mov ecx, edi
mov dword [esp + 0x14], ebx
call edx
movzx eax, ax
push eax
push 2
lea ecx, [ebp + 0x602]
call fcn.00521970
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4ba574
fld1
movzx ecx, word [esi + 0x1e8]
fstp dword [esp + 0x28]
mov dword [esp + 0x14], ecx
push 0xff000000
lea edx, [esp + 0x20]
fst dword [esp + 0x30]
push edx
fld dword [esi + 0x1be]
push ecx
fstp dword [esp + 0x28]
lea eax, [esp + 0x34]
fld1
lea ecx, [esi + 0x2c2]
fsubrp st(1)
fild dword [esp + 0x20]
fmulp st(1)
fadd dword [esi + 0x1c2]
fstp dword [esp + 0x2c]
fstp dword [esp]
push ebx
push eax
call fcn.0042cf50
mov ebp, 1
jmp 0x4ba57d
mov ecx, edi
call fcn.0049c680
cmp eax, 0x22b
jne 0x4ba4b7
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x6b1164]
add ecx, 0x602
mov dword [esp + 0x18], ebx
call fcn.00521a50
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4ba579
fld1
movzx edx, word [esi + 0x1e8]
fstp dword [esp + 0x1c]
mov dword [esp + 0x10], edx
push 0xff000000
lea eax, [esp + 0x2c]
fst dword [esp + 0x24]
push eax
fld dword [esi + 0x1be]
push ecx
fstp dword [esp + 0x34]
lea ecx, [esp + 0x28]
fld1
fsubrp st(1)
fild dword [esp + 0x1c]
fmulp st(1)
fadd dword [esi + 0x1c2]
fstp dword [esp + 0x38]
fstp dword [esp]
push ebx
push ecx
lea ecx, [esi + 0x2c2]
call fcn.0042cf50
jmp 0x4ba57d
mov ecx, edi
call fcn.0049c680
cmp eax, 0x200
jne 0x4ba57d
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
movzx ecx, ax
push ecx
mov ecx, 0x6c1d98
call fcn.00451c60
cmp eax, ebx
je 0x4ba57d
movzx eax, word [eax]
mov ecx, dword [0x6b1164]
lea edx, [esp + 0x14]
push edx
push eax
add ecx, 0x602
mov dword [esp + 0x1c], ebx
call fcn.00521af0
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4ba579
fld1
movzx ecx, word [esi + 0x1e8]
fstp dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
push 0xff000000
lea edx, [esp + 0x2c]
fst dword [esp + 0x24]
push edx
fld dword [esi + 0x1be]
push ecx
fstp dword [esp + 0x34]
lea eax, [esp + 0x28]
fld1
lea ecx, [esi + 0x2c2]
fsubrp st(1)
fild dword [esp + 0x1c]
fmulp st(1)
fadd dword [esi + 0x1c2]
fstp dword [esp + 0x38]
fstp dword [esp]
push ebx
push eax
call fcn.0042cf50
jmp 0x4ba57d
mov ebp, 1
jmp 0x4ba57e
mov ebp, 1
fstp st(0)
fstp st(0)
pop edi
mov ecx, dword [esi + 0x2e2]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
call fcn.005150d0
add esp, 4
cmp eax, ebp
jne 0x4ba707
mov ecx, dword [esi + 0x2e2]
mov edx, dword [ecx]
mov eax, dword [edx + 0xbc]
call eax
test ax, ax
je 0x4ba5ef
mov ecx, dword [esi + 0x1ba]
fldz
imul ecx, dword [esi + 0x1b6]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x1b2]
push edx
lea edx, [esi + 0x1be]
push edx
push ecx
fstp dword [esp]
push ebx
push ebx
lea ecx, [esi + 0x2f4]
call fcn.0042cf50
mov eax, dword [0x6b1164]
mov ecx, dword [esi + 0x2e2]
mov dword [esp + 0xc], ebx
mov edx, dword [ecx]
cmp dword [eax + 0x3f6], ebx
mov eax, dword [edx + 0x78]
call eax
movzx eax, ax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [0x6b1164]
push eax
push ebp
add ecx, 0x602
call fcn.00521970
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4ba68d
fld1
movzx edx, word [esi + 0x1e8]
fstp dword [esp + 0x18]
mov dword [esp + 0x10], edx
push 0xff000000
lea eax, [esp + 0x28]
fst dword [esp + 0x20]
push eax
fld dword [esi + 0x1be]
push ecx
fstp dword [esp + 0x30]
lea ecx, [esp + 0x24]
fld1
fsubrp st(1)
fild dword [esp + 0x1c]
fmulp st(1)
fadd dword [esi + 0x1c2]
fstp dword [esp + 0x34]
fstp dword [esp]
push ebx
push ecx
lea ecx, [esi + 0x2c2]
call fcn.0042cf50
jmp 0x4ba691
fstp st(0)
fstp st(0)
cmp dword [0x6b08ac], ebx
je 0x4ba707
mov ecx, dword [0x6c1408]
mov eax, dword [0x6c1404]
push ecx
push eax
mov ecx, esi
call fcn.0043e020
cmp eax, ebp
jne 0x4ba707
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x4ba6e4
mov eax, 0x10624dd3
mul ecx
shr edx, 6
lea eax, [edx + 1]
cmp dword [esi + 0x2f0], eax
je 0x4ba707
push ecx
mov ecx, esi
mov dword [esi + 0x2f0], eax
call fcn.004b9b50
mov dword [esi + 0x2ec], ebp
jmp 0x4ba707
push ebx
mov ecx, esi
cmp dword [esi + 0x2ec], ebp
jne 0x4ba702
call fcn.004b9b50
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
jmp 0x4ba707
call fcn.004b9b50
mov edx, dword [esp + 0x20]
mov dword [esi + 0x1b2], edx
pop ebp
mov ecx, dword [esp + 0x40]
pop esi
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x3c
ret