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

Disassembly:
sub esp, 0x170
push ebx
push ebp
push esi
mov esi, dword [esp + 0x180]
movzx ebx, word [esi + 0x220]
push edi
push ebx
mov ebp, ecx
call fcn.00511f70
mov edi, eax
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], edi
call fcn.0042c010
push 0
lea eax, [esp + 0x24]
push eax
push 0xd4
mov ecx, 0x6b3720
call fcn.00430ce0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x178], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x17c], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x184], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x190], ecx
lea ecx, [esp + 0xe0]
mov dword [esi + 0x188], edx
mov dword [esi + 0x18c], eax
call fcn.0042c010
push 0
lea edx, [esp + 0xe4]
push edx
push 0x3f
mov ecx, 0x6b3720
call fcn.00430ce0
push 0x1e1e1e
lea eax, [esp + 0xe4]
push eax
push 0xffffffffffffffff
push 0x58cc6b
mov ecx, esi
call fcn.0043d6b0
lea ecx, [esp + 0x40]
mov dword [esi + 0x170], 1
call fcn.0042c010
push 0
lea ecx, [esp + 0x44]
push ecx
push 0xd5
mov ecx, 0x6b3720
call fcn.00430ce0
lea eax, [esi + 0x194]
test eax, eax
je 0x4a84b6
push eax
mov ecx, esi
call fcn.0043d670
test edi, 0x800
je 0x4a84f4
push ebx
mov ecx, ebp
call fcn.0049d590
test eax, eax
je 0x4a907a
mov edx, dword [esp + 0x194]
mov ecx, dword [esp + 0x18c]
push edx
mov edx, dword [esp + 0x18c]
push ecx
push edx
push eax
push esi
mov ecx, ebp
call fcn.004a4c90
jmp 0x4a907a
test edi, 0x400
je 0x4a8518
push ebx
mov ecx, ebp
call fcn.0049d590
test eax, eax
je 0x4a907a
push eax
push esi
call fcn.004a10f0
jmp 0x4a907a
test edi, 0x200
je 0x4a853c
push ebx
mov ecx, ebp
call fcn.0049d590
test eax, eax
je 0x4a907a
push eax
push esi
call fcn.004a0810
jmp 0x4a907a
test edi, 0x3000
jne 0x4a9067
test edi, 0x4000
je 0x4a8768
push ebx
mov ecx, ebp
call fcn.0049d590
mov edi, eax
test edi, edi
je 0x4a907a
push ebx
call fcn.0049d6d0
test eax, eax
lea eax, [edi + 2]
lea ecx, [esp + 0x60]
push eax
je 0x4a862c
push 0x58ccfc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cc87
mov ecx, esi
call fcn.0043d650
movzx eax, word [edi + 0x48]
mov ecx, 0x4010
cmp ax, cx
je 0x4a85cd
mov edx, 0x401a
cmp ax, dx
jne 0x4a8614
push 0x94a
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x956
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x68]
push 0x58cd04
push eax
call fcn.00561680
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
mov edx, dword [esp + 0x190]
push 0
push edx
push edi
push esi
mov ecx, ebp
call fcn.004a1bb0
jmp 0x4a907a
push 0x58cd0c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cc8b
mov ecx, esi
call fcn.0043d650
movzx eax, word [edi + 0x48]
mov ecx, 0x4000
cmp ax, cx
je 0x4a8687
mov edx, 0x4001
cmp ax, dx
je 0x4a8687
mov ecx, 0x4002
cmp ax, cx
jne 0x4a86ce
push 0x94a
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x956
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea edx, [esp + 0x68]
push 0x58cd14
push edx
call fcn.00561680
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58ccb1
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58ccb2
mov ecx, esi
call fcn.0043d650
push 0
lea ecx, [esp + 0x44]
push ecx
push 0xffffb0
push 0x58ccb3
mov ecx, esi
call fcn.0043d650
push ebx
mov ecx, ebp
call fcn.0049d6d0
test eax, eax
jne 0x4a873a
push eax
push eax
push 0xffc800
push 0x104
mov ecx, 0x6b6198
call fcn.004c4980
push eax
mov ecx, esi
call fcn.0043d650
movzx edx, word [edi + 0x44]
push 1
push 0xc8d7aa
push edx
push esi
mov ecx, ebp
call fcn.0049d010
push 0
push 0
push 0xffffff
push 0x58ccea
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
test edi, 0x8000
je 0x4a88fc
push ebx
mov ecx, ebp
call fcn.0049d590
mov edi, eax
test edi, edi
je 0x4a907a
lea eax, [edi + 2]
push eax
lea ecx, [esp + 0x64]
push 0x58cd1c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cceb
mov ecx, esi
call fcn.0043d650
movzx eax, word [edi + 0x48]
mov ecx, 0x8000
cmp ax, cx
je 0x4a87df
mov edx, 0x8001
cmp ax, dx
jne 0x4a8826
push 0x94b
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x956
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x68]
push 0x58cd24
push eax
call fcn.00561680
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd01
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd02
mov ecx, esi
call fcn.0043d650
cmp dword [esp + 0x10], 0x8001
jne 0x4a88b6
movzx edx, word [edi + 0xe0]
push edx
push 0xee
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00561680
mov ecx, dword [0x6b419c]
mov dx, word [ecx + 0x43c]
add esp, 0xc
push 0
push 0
cmp dx, word [edi + 0xe0]
jae 0x4a88a5
push 0xe61414
lea eax, [esp + 0x6c]
push eax
jmp 0x4a88af
push 0xffffff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
push 0
lea edx, [esp + 0x44]
push edx
push 0xffffb0
push 0x58cd03
mov ecx, esi
call fcn.0043d650
movzx eax, word [edi + 0x44]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, ebp
call fcn.0049d010
push 0
push 0
push 0xffffff
push 0x58cd0a
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
test edi, 0x100
je 0x4a8d21
push ebx
mov ecx, ebp
call fcn.0049d590
mov edi, eax
test edi, edi
je 0x4a907a
lea ecx, [edi + 2]
push ecx
lea edx, [esp + 0x64]
push 0x58cd2c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x104
add esp, 0xc
mov ecx, 0xffffff
cmp word [edi + 0x48], ax
jne 0x4a899b
cmp word [edi + 0x88], 0
je 0x4a899b
movzx eax, word [edi + 0x8a]
mov edx, dword [0x6b419c]
test ax, ax
jne 0x4a8967
cmp word [edx + 0x43c], 0x32
ja 0x4a89bf
cmp eax, 1
jne 0x4a8983
movzx edx, word [edx + 0x43c]
cmp edx, 0x33
jb 0x4a89bf
cmp edx, 0x46
ja 0x4a89bf
mov edx, dword [0x6b419c]
cmp eax, 2
jne 0x4a89c4
movzx eax, word [edx + 0x43c]
cmp eax, 0x47
jb 0x4a89bf
cmp eax, 0x5a
jbe 0x4a89c4
jmp 0x4a89bf
mov edx, dword [0x6b419c]
movzx eax, word [edx + 0x43c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld dword [edi + 0xdc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a89c4
mov ecx, 0xe61414
push 2
push 0
push ecx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
fld dword [edi + 0xdc]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4a8a6c
fld dword [edi + 0xdc]
call fcn.00561730
push eax
push 0xee
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x58cd0b
push 0x956
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea edx, [esp + 0x70]
push edx
call fcn.00561680
mov eax, dword [0x6b419c]
movzx ecx, word [eax + 0x43c]
mov dword [esp + 0x24], ecx
add esp, 0x14
push 2
fild dword [esp + 0x14]
mov ecx, esi
fld dword [edi + 0xdc]
push 0
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a8a5d
push 0xe61414
lea edx, [esp + 0x6c]
push edx
jmp 0x4a8a67
push 0xffffff
lea eax, [esp + 0x6c]
push eax
call fcn.0043d650
movzx eax, word [esi + 0xc]
mov ecx, 0x88
cmp ax, cx
je 0x4a8c6e
mov edx, 0x85
cmp ax, dx
je 0x4a8c6e
mov ecx, 0x12c
cmp word [edi + 0x48], cx
je 0x4a8c6e
mov edx, 0x83
cmp ax, dx
jne 0x4a8ac5
test byte [esi + 0x29e], 1
je 0x4a8ac5
push edi
push esi
mov ecx, ebp
call fcn.0049dc00
push edi
push esi
mov ecx, ebp
call fcn.0049c670
jmp 0x4a907a
push edi
push esi
mov ecx, ebp
call fcn.0049dc00
cmp word [edi + 0xe0], 0xb
jne 0x4a8ab7
push 0x2c
call fcn.005617f1
add esp, 4
test eax, eax
je 0x4a8aed
mov ecx, eax
call fcn.0049b0c0
mov eax, dword [0x6a6318]
mov edx, dword [esi]
mov ebx, 1
mov ecx, esi
cmp dword [eax + 0x218], ebx
jne 0x4a8b0b
mov eax, dword [edx + 0x74]
call eax
push eax
jmp 0x4a8b14
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
lea ecx, [ebp + 0x1ac]
call fcn.00450ef0
mov ebp, eax
test ebp, ebp
je 0x4a907a
push 0
push 0
mov ecx, esi
push 0xffffff
cmp dword [edi + 0x50], ebx
jne 0x4a8c07
push 0x58cd1a
call fcn.0043d650
push 0
lea edx, [esp + 0x44]
push edx
push 0xffffb0
push 0x58cd1b
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x2fe
mov ecx, 0x6b6198
call fcn.004c4980
push eax
mov ecx, esi
call fcn.0043d650
push 0x7f
lea eax, [esp + 0x105]
push 0
push eax
mov byte [esp + 0x10c], 0
call fcn.00561170
mov eax, dword [ebp + 0x28]
mov ecx, eax
shr ecx, 6
add esp, 0xc
and ecx, 0x3f
push ecx
mov edx, eax
shr edx, 0xc
and edx, 0x3f
push edx
mov ecx, eax
mov edx, eax
shr ecx, 0x12
and ecx, 0x3f
push ecx
shr edx, 0x18
and edx, 0xf
shr eax, 0x1c
push edx
add eax, 0xf
push eax
push 0x2ff
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push 0
push 0
push 0xffc800
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
push 0x58cd21
call fcn.0043d650
push 0
lea edx, [esp + 0x44]
push edx
push 0xffffb0
push 0x58cd22
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x5a2
mov ecx, 0x6b6198
call fcn.004c4980
push eax
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffc800
push 0x5a4
mov ecx, 0x6b6198
call fcn.004c4980
push eax
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
test byte [esi + 0x2a4], 1
push ebx
mov ecx, ebp
je 0x4a8cd9
call fcn.0049d6d0
test eax, eax
je 0x4a8cb6
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x190]
push eax
push ecx
push edi
push esi
mov ecx, ebp
call fcn.004a1bb0
push 0
push 0
push 0xffffff
push 0x58cd11
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
push edi
push esi
mov ecx, ebp
call fcn.0049dc00
push 0
push 0
push 0xffffff
push 0x58cd12
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
call fcn.0049d6d0
mov ecx, ebp
test eax, eax
je 0x4a8d00
mov edx, dword [esp + 0x198]
mov eax, dword [esp + 0x190]
push edx
push eax
push edi
push esi
call fcn.004a1bb0
jmp 0x4a907a
push edi
push esi
call fcn.0049dc00
push 0
push 0
push 0xffffff
push 0x58cd13
mov ecx, esi
call fcn.0043d650
jmp 0x4a907a
mov eax, edi
and edi, 0x80
jne 0x4a8d52
cmp eax, 0x42
je 0x4a8d52
cmp eax, 0x41
je 0x4a8d52
cmp eax, 0x43
je 0x4a8d52
push edi
push 0x30a
push 0x58cd44
call fcn.00513100
add esp, 0xc
jmp 0x4a907a
push ebx
mov ecx, ebp
call fcn.0049d590
mov ebx, eax
test ebx, ebx
je 0x4a907a
lea ecx, [ebx + 2]
push ecx
lea edx, [esp + 0x64]
push 0x58cd34
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd23
mov ecx, esi
call fcn.0043d650
push 0x968
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x956
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea ecx, [esp + 0x68]
push 0x58cd3c
push ecx
call fcn.00561680
add esp, 0x10
push 7
push 0
push 0xffffb0
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd2a
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd2b
mov ecx, esi
call fcn.0043d650
push 0
lea eax, [esp + 0x44]
push eax
push 0xffffb0
push 0x58cd31
mov ecx, esi
call fcn.0043d650
test edi, edi
je 0x4a8f4c
movzx eax, word [esi + 0xc]
mov ecx, 0x88
cmp ax, cx
je 0x4a8e5b
mov edx, 0x85
cmp ax, dx
je 0x4a8e5b
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
mov ecx, esi
call edx
mov edi, eax
jmp 0x4a8e61
mov edi, dword [esi + 0x2a0]
push ebx
push esi
mov ecx, ebp
call fcn.0049b640
mov eax, dword [esp + 0x190]
test eax, eax
je 0x4a8e78
push eax
jmp 0x4a8e81
test edi, edi
je 0x4a8f4c
push edi
mov ecx, 0x6e1eb0
call fcn.00553260
test eax, eax
je 0x4a8f4c
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x4a8ea8
fadd dword [0x57f6f0]
fmul qword [0x57f6d0]
fdiv qword [0x5816c0]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4a8edc
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4a8edc
fstp dword [esp + 0x14]
jmp 0x4a8ede
fstp st(0)
push 0x80
lea ecx, [esp + 0x64]
push 0
push ecx
call fcn.00561170
fld dword [esp + 0x20]
fnstcw word [esp + 0x20]
add esp, 0xc
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
mov ecx, 0x6b6198
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov edx, dword [esp + 0x18]
push edx
push 0x5ec
fldcw word [esp + 0x1c]
call fcn.004c4980
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
cmp dword [esp + 0x10], 0x41
jne 0x4a9024
movzx eax, word [esi + 0xc]
mov edx, 0x88
cmp ax, dx
je 0x4a8f7c
mov ecx, 0x85
cmp ax, cx
je 0x4a8f7c
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov edi, eax
jmp 0x4a8f82
mov edi, dword [esi + 0x2a0]
push 0x80
lea ecx, [esp + 0x64]
push 0
push ecx
call fcn.00561170
movzx edx, word [ebx + 0xc8]
add esp, 0xc
push edx
push 0x5ef
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0xffffff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
test edi, edi
je 0x4a9024
cmp edi, dword [0x6e1ec4]
jne 0x4a9024
push 0x80
lea edx, [esp + 0x64]
push 0
push edx
call fcn.00561170
add esp, 0xc
push 0x5f0
mov ecx, 0x6b6198
call fcn.004c4980
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0
push 0
push 0xffffff
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0043d650
push 0
push 0
push 0xffffff
push 0x58cd32
mov ecx, esi
call fcn.0043d650
push 0
lea edx, [esp + 0x44]
push edx
push 0xffffb0
push 0x58cd33
mov ecx, esi
call fcn.0043d650
movzx eax, word [ebx + 0x44]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, ebp
call fcn.0049d010
jmp 0x4a907a
push ebx
mov ecx, ebp
call fcn.0049d590
test eax, eax
je 0x4a907a
push eax
push esi
call fcn.004a0460
lea ecx, [esp + 0x40]
call fcn.0042c020
lea ecx, [esp + 0xe0]
call fcn.0042c020
lea ecx, [esp + 0x20]
call fcn.0042c020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x170
ret 0x18