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

Disassembly:
push 0xffffffffffffffff
push 0x576741
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x18c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x19c]
mov ebx, dword [esi + 0x220]
mov eax, dword [esp + 0x1a0]
mov edx, dword [esp + 0x1ac]
mov ebp, ecx
mov ecx, dword [esp + 0x1a4]
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edx
call fcn.0050e6d0
mov edi, eax
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edi
call fcn.0042d050
push 0
lea eax, [esp + 0x2c]
push eax
push 0xd4
mov ecx, 0x6b6658
mov dword [esp + 0x1a0], 0
call fcn.00431a60
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x178], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x17c], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x184], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x190], ecx
lea ecx, [esp + 0x68]
mov dword [esi + 0x188], edx
mov dword [esi + 0x18c], eax
call fcn.0042d050
push 0
lea edx, [esp + 0x6c]
push edx
push 0x3f
mov ecx, 0x6b6658
mov byte [esp + 0x1a0], 1
call fcn.00431a60
push 0x1e1e1e
lea eax, [esp + 0x6c]
push eax
push 0xffffffffffffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e400
lea ecx, [esp + 0x48]
mov dword [esi + 0x170], 1
call fcn.0042d050
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0xd5
mov ecx, 0x6b6658
mov byte [esp + 0x1a0], 2
call fcn.00431a60
lea eax, [esi + 0x194]
test eax, eax
je 0x4a9a39
push eax
mov ecx, esi
call fcn.0043e3d0
test edi, 0x800
je 0x4a9a98
movzx ecx, bx
xor edx, edx
mov eax, ecx
div dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4aa658
lea esp, [esp]
cmp dword [eax], ecx
je 0x4a9a70
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4a9a60
jmp 0x4aa658
mov eax, dword [eax + 4]
test eax, eax
je 0x4aa658
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
push esi
mov ecx, ebp
call fcn.004a6750
jmp 0x4aa658
test edi, 0x400
je 0x4a9abc
push ebx
mov ecx, ebp
call fcn.0049ebe0
test eax, eax
je 0x4aa658
push eax
push esi
call fcn.004a28b0
jmp 0x4aa658
test edi, 0x200
je 0x4a9ae0
push ebx
mov ecx, ebp
call fcn.0049ebe0
test eax, eax
je 0x4aa658
push eax
push esi
call fcn.004a1fd0
jmp 0x4aa658
test edi, 0x3000
jne 0x4aa645
test edi, 0x4000
je 0x4a9d1b
push ebx
mov ecx, ebp
call fcn.0049ebe0
mov edi, eax
test edi, edi
je 0x4aa658
push ebx
call fcn.0049ed40
lea edx, [edi + 2]
push edx
test eax, eax
push 0x580ca8
lea eax, [esp + 0x110]
push eax
je 0x4a9bdc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [edi + 0x48]
mov edx, 0x4010
cmp ax, dx
je 0x4a9b77
mov ecx, 0x401a
cmp ax, cx
jne 0x4a9bc4
push 0x94a
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x956
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea edx, [esp + 0x110]
push str._s__s
push edx
call fcn.0055adac
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call fcn.0043e3b0
mov ecx, dword [esp + 0x1a8]
push 0
push ecx
push edi
push esi
mov ecx, ebp
call fcn.004a3390
jmp 0x4aa658
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [edi + 0x48]
mov edx, 0x4000
cmp ax, dx
je 0x4a9c34
mov ecx, 0x4001
cmp ax, cx
je 0x4a9c34
mov edx, 0x4002
cmp ax, dx
jne 0x4a9c81
push 0x94a
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x956
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea eax, [esp + 0x110]
push str._s__s
push eax
call fcn.0055adac
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push ebx
mov ecx, ebp
call fcn.0049ed40
test eax, eax
jne 0x4a9ced
push eax
push eax
push 0xffc800
push 0x104
mov ecx, 0x6b8950
call fcn.004c5020
push eax
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [edi + 0x44]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, ebp
call fcn.0049e6b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
jmp 0x4aa658
test edi, 0x8000
je 0x4a9ec4
push ebx
mov ecx, ebp
call fcn.0049ebe0
mov edi, eax
test edi, edi
je 0x4aa658
lea ecx, [edi + 2]
push ecx
lea edx, [esp + 0x8c]
push 0x580ca8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [edi + 0x48]
mov ecx, 0x8000
cmp ax, cx
je 0x4a9d98
mov edx, 0x8001
cmp ax, dx
jne 0x4a9de5
push 0x94b
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x956
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea eax, [esp + 0x90]
push str._s__s
push eax
call fcn.0055adac
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
cmp dword [esp + 0x20], 0x8001
jne 0x4a9e7e
movzx edx, word [edi + 0xe0]
push edx
push 0xee
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0055adac
mov ecx, dword [0x6b6dac]
mov dx, word [ecx + 0x43c]
add esp, 0xc
push 0
push 0
cmp dx, word [edi + 0xe0]
jae 0x4a9e6a
push 0xe61414
lea eax, [esp + 0x94]
push eax
jmp 0x4a9e77
push 0xffffff
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [edi + 0x44]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, ebp
call fcn.0049e6b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
jmp 0x4aa658
test edi, 0x100
je 0x4aa2cd
push ebx
mov ecx, ebp
call fcn.0049ebe0
mov edi, eax
test edi, edi
je 0x4aa658
lea ecx, [edi + 2]
push ecx
lea edx, [esp + 0x10c]
push 0x580ca8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x104
add esp, 0xc
mov ecx, 0xffffff
cmp word [edi + 0x48], ax
jne 0x4a9f87
cmp word [edi + 0x88], 0
je 0x4a9f87
movzx eax, word [edi + 0x8a]
test ax, ax
jne 0x4a9f35
mov edx, dword [0x6b6dac]
movzx edx, word [edx + 0x43c]
cmp dx, 0x32
ja 0x4a9fab
cmp ax, 1
jne 0x4a9f61
mov edx, dword [0x6b6dac]
movzx edx, word [edx + 0x43c]
cmp dx, 0x33
jb 0x4a9fab
mov edx, dword [0x6b6dac]
movzx edx, word [edx + 0x43c]
cmp dx, 0x46
ja 0x4a9fab
cmp ax, 2
jne 0x4a9fb0
mov eax, dword [0x6b6dac]
movzx eax, word [eax + 0x43c]
movzx edx, ax
cmp dx, 0x47
jb 0x4a9fab
movzx eax, ax
cmp ax, 0x5a
jbe 0x4a9fb0
jmp 0x4a9fab
mov edx, dword [0x6b6dac]
movzx eax, word [edx + 0x43c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld dword [edi + 0xdc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4a9fb0
mov ecx, 0xe61414
push 2
push 0
push ecx
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.0043e3b0
fldz
fcomp dword [edi + 0xdc]
fnstsw ax
test ah, 0x44
jnp 0x4aa062
fld dword [edi + 0xdc]
call fcn.0055b110
push eax
push 0xee
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x57ea62
push 0x956
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea edx, [esp + 0x118]
push edx
call fcn.0055adac
mov eax, dword [0x6b6dac]
movzx ecx, word [eax + 0x43c]
mov dword [esp + 0x2c], ecx
add esp, 0x14
push 2
fild dword [esp + 0x1c]
mov ecx, esi
fld dword [edi + 0xdc]
push 0
fcompp
fnstsw ax
test ah, 0x41
jne 0x4aa050
push 0xe61414
lea edx, [esp + 0x114]
push edx
jmp 0x4aa05d
push 0xffffff
lea eax, [esp + 0x114]
push eax
call fcn.0043e3b0
movzx eax, word [esi + 0xc]
movzx ecx, ax
mov edx, 0x88
cmp cx, dx
je 0x4aa265
movzx ecx, ax
mov edx, 0x85
cmp cx, dx
je 0x4aa265
mov ecx, 0x12c
cmp word [edi + 0x48], cx
je 0x4aa265
movzx eax, ax
mov edx, 0x83
cmp ax, dx
jne 0x4aa0c4
test byte [esi + 0x29e], 1
je 0x4aa0c4
push edi
push esi
mov ecx, ebp
call fcn.0049f2b0
push edi
push esi
mov ecx, ebp
call fcn.0049d4a0
jmp 0x4aa658
push edi
push esi
mov ecx, ebp
call fcn.0049f2b0
cmp word [edi + 0xe0], 0xb
jne 0x4aa0b6
push 0x2c
call fcn.0055a781
add esp, 4
test eax, eax
je 0x4aa0ec
mov ecx, eax
call fcn.0049cb70
mov eax, dword [0x6a97e0]
cmp dword [eax + 0x218], 1
mov edx, dword [esi]
mov ecx, esi
jne 0x4aa106
mov eax, dword [edx + 0x74]
call eax
push eax
jmp 0x4aa10f
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
lea ecx, [ebp + 0x1bc]
call fcn.00517b00
mov ebx, eax
test ebx, ebx
je 0x4aa658
cmp dword [edi + 0x50], 1
push 0
push 0
push 0xffffff
mov ecx, esi
push 0x57ea62
jne 0x4aa203
call fcn.0043e3b0
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x2fe
mov ecx, 0x6b8950
call fcn.004c5020
push eax
mov ecx, esi
call fcn.0043e3b0
push 0x7f
lea eax, [esp + 0x8d]
push 0
push eax
mov byte [esp + 0x94], 0
call fcn.0055a690
mov eax, dword [ebx + 0x28]
mov ecx, eax
add esp, 0xc
mov edx, eax
shl ecx, 0x14
mov edi, eax
shr ecx, 0x1a
push ecx
shl edx, 0xe
mov ebp, eax
shr edx, 0x1a
push edx
shl edi, 8
shl ebp, 4
shr edi, 0x1a
push edi
shr eax, 0x1c
shr ebp, 0x1c
push ebp
add eax, 0xf
push eax
push 0x2ff
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push 0
push 0
push 0xffc800
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0043e3b0
jmp 0x4aa658
call fcn.0043e3b0
push 0
lea eax, [esp + 0x4c]
push eax
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x5a2
mov ecx, 0x6b8950
call fcn.004c5020
push eax
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffc800
push 0x5a4
mov ecx, 0x6b8950
call fcn.004c5020
push eax
mov ecx, esi
call fcn.0043e3b0
jmp 0x4aa658
test byte [esi + 0x2a4], 1
push ebx
mov ecx, ebp
je 0x4aa298
call fcn.0049ed40
test eax, eax
je 0x4aa2bf
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1a8]
push ecx
push edx
push edi
push esi
mov ecx, ebp
call fcn.004a3390
jmp 0x4a9eaa
call fcn.0049ed40
test eax, eax
je 0x4aa2bf
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1a8]
push eax
push ecx
push edi
push esi
mov ecx, ebp
call fcn.004a3390
jmp 0x4aa658
push edi
push esi
mov ecx, ebp
call fcn.0049f2b0
jmp 0x4a9eaa
mov eax, dword [esp + 0x20]
mov edi, eax
and edi, 0x80
jne 0x4aa302
cmp eax, 0x42
je 0x4aa302
cmp eax, 0x41
je 0x4aa302
cmp eax, 0x43
je 0x4aa302
push edi
push 0x30a
push str.ItemManager.cpp
call fcn.0050ea20
add esp, 0xc
jmp 0x4aa658
push ebx
mov ecx, ebp
call fcn.0049ebe0
mov ebx, eax
test ebx, ebx
je 0x4aa658
lea edx, [ebx + 2]
push edx
lea eax, [esp + 0x8c]
push 0x580ca8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0x968
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x956
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea edx, [esp + 0x90]
push str._s__s
push edx
call fcn.0055adac
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
test edi, edi
je 0x4aa512
movzx eax, word [esi + 0xc]
movzx ecx, ax
mov edx, 0x88
cmp cx, dx
je 0x4aa41d
movzx eax, ax
mov ecx, 0x85
cmp ax, cx
je 0x4aa41d
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov edi, eax
jmp 0x4aa423
mov edi, dword [esi + 0x2a0]
push ebx
push esi
mov ecx, ebp
call fcn.0049df20
mov eax, dword [esp + 0x1a8]
test eax, eax
jbe 0x4aa43a
push eax
jmp 0x4aa443
test edi, edi
je 0x4aa512
push edi
mov ecx, 0x6dc478
call fcn.005508e0
test eax, eax
je 0x4aa512
mov ecx, dword [eax + 0xc]
fild dword [eax + 0xc]
test ecx, ecx
jge 0x4aa465
fadd dword [0x57e5c0]
fmul qword [0x57e5e8]
fdiv qword [0x5800c8]
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4aa499
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4aa499
fstp dword [esp + 0x14]
jmp 0x4aa49b
fstp st(0)
push 0x80
lea edx, [esp + 0x8c]
push 0
push edx
call fcn.0055a690
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, 0x6b8950
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
push 0x5ec
fldcw word [esp + 0x1c]
call fcn.004c5020
push eax
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.0043e3b0
cmp dword [esp + 0x20], 0x41
jne 0x4aa602
movzx eax, word [esi + 0xc]
movzx ecx, ax
mov edx, 0x88
cmp cx, dx
je 0x4aa548
movzx eax, ax
mov ecx, 0x85
cmp ax, cx
je 0x4aa548
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov edi, eax
jmp 0x4aa54e
mov edi, dword [esi + 0x2a0]
push 0x80
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.0055a690
movzx edx, word [ebx + 0xc8]
add esp, 0xc
push edx
push 0x5ef
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0xffffff
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0043e3b0
test edi, edi
je 0x4aa602
cmp edi, dword [0x6dc48c]
jne 0x4aa602
push 0x80
lea edx, [esp + 0x8c]
push 0
push edx
call fcn.0055a690
add esp, 0xc
push 0x5f0
mov ecx, 0x6b8950
call fcn.004c5020
push eax
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push 0
push 0
push 0xffffff
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0043e3b0
push 0
push 0
push 0xffffff
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x57ea62
mov ecx, esi
call fcn.0043e3b0
movzx eax, word [ebx + 0x44]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, ebp
call fcn.0049e6b0
jmp 0x4aa658
push ebx
mov ecx, ebp
call fcn.0049ebe0
test eax, eax
je 0x4aa658
push eax
push esi
call fcn.004a1bc0
lea ecx, [esp + 0x48]
mov byte [esp + 0x194], 1
call fcn.0042d060
lea ecx, [esp + 0x68]
mov byte [esp + 0x194], 0
call fcn.0042d060
lea ecx, [esp + 0x28]
mov dword [esp + 0x194], 0xffffffff
call fcn.0042d060
mov ecx, dword [esp + 0x18c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0055a677
add esp, 0x184
ret 0x18