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

Disassembly:
sub esp, 0x17c
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x184]
mov edx, dword [esp + 0x18c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18c]
movzx ebx, word [esi + 0x220]
push edi
mov edi, ecx
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1a0]
push ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
call fcn.0052e7a0
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
call fcn.00424ad0
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0xd4
mov ecx, 0x6d8e50
call fcn.00429b80
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x17c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x180], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x178], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x184], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x18c], ecx
lea ecx, [esp + 0x68]
mov dword [esi + 0x188], eax
mov dword [esi + 0x190], edx
call fcn.00424ad0
push 0
lea eax, [esp + 0x6c]
push eax
push 0x3f
mov ecx, 0x6d8e50
call fcn.00429b80
push 0x1e1e1e
lea ecx, [esp + 0x6c]
push ecx
push 0xffffffffffffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436270
lea ecx, [esp + 0x48]
mov dword [esi + 0x170], 1
call fcn.00424ad0
push 0
lea edx, [esp + 0x4c]
push edx
push 0xd5
mov ecx, 0x6d8e50
call fcn.00429b80
lea eax, [esi + 0x194]
test eax, eax
je 0x4ac357
push eax
mov ecx, esi
call fcn.00436230
test ebp, 0x800
je 0x4ac3ae
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4acf45
cmp dword [edx], ecx
je 0x4ac386
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4ac376
jmp 0x4acf45
mov edx, dword [edx + 4]
test edx, edx
je 0x4acf45
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.004a8a70
jmp 0x4acf45
test ebp, 0x400
je 0x4ac3f9
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x4acf45
lea ecx, [ecx]
cmp dword [edx], ecx
je 0x4ac3e0
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4ac3d0
jmp 0x4acf45
mov edx, dword [edx + 4]
test edx, edx
je 0x4acf45
push edx
push esi
mov ecx, edi
call fcn.004a4b90
jmp 0x4acf45
test ebp, 0x200
je 0x4ac41d
push ebx
mov ecx, edi
call fcn.004a11a0
test eax, eax
je 0x4acf45
push eax
push esi
call fcn.004a4310
jmp 0x4acf45
test ebp, 0x3000
jne 0x4acf32
test ebp, 0x4000
je 0x4ac649
push ebx
mov ecx, edi
call fcn.004a11a0
mov ebp, eax
test ebp, ebp
je 0x4acf45
push ebx
call fcn.004a1340
test eax, eax
je 0x4ac516
lea ecx, [ebp + 2]
push ecx
lea edx, [esp + 0x8c]
push 0x5a4e58
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.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
movzx eax, word [ebp + 0x28]
mov ecx, 0x4010
cmp ax, cx
je 0x4ac4b4
mov edx, 0x401a
cmp ax, dx
jne 0x4ac501
push 0x94a
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x956
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea eax, [esp + 0x90]
push str._s__s
push eax
call fcn.00583d3f
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00436210
mov edx, dword [esp + 0x10]
push 0
push edx
push ebp
push esi
mov ecx, edi
call fcn.004a5640
jmp 0x4acf45
lea eax, [ebp + 2]
push eax
lea ecx, [esp + 0x8c]
push 0x5a4e58
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
movzx eax, word [ebp + 0x28]
mov ecx, 0x4000
cmp ax, cx
je 0x4ac57f
mov edx, 0x4001
cmp ax, dx
je 0x4ac57f
mov ecx, 0x4002
cmp ax, cx
jne 0x4ac5cc
push 0x94a
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x956
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea edx, [esp + 0x90]
push str._s__s
push edx
call fcn.00583d3f
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0x94]
push eax
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push ebx
mov ecx, edi
call fcn.004a1340
test eax, eax
jne 0x4ac638
push eax
push eax
push 0xffc800
push 0x104
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
mov ecx, esi
call fcn.00436210
movzx edx, word [ebp + 0x24]
push 1
push 0xc8d7aa
push edx
jmp 0x4ac7ce
test ebp, 0x8000
je 0x4ac7f0
push ebx
mov ecx, edi
call fcn.004a11a0
mov ebx, eax
test ebx, ebx
je 0x4acf45
lea eax, [ebx + 2]
push eax
lea ecx, [esp + 0x8c]
push 0x5a4e58
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 2
push 0
push 0xffffff
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
movzx eax, word [ebx + 0x28]
mov ecx, 0x8000
cmp ax, cx
je 0x4ac6c6
mov edx, 0x8001
cmp ax, dx
jne 0x4ac713
push 0x94b
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x956
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea eax, [esp + 0x90]
push str._s__s
push eax
call fcn.00583d3f
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
cmp ebp, 0x8001
jne 0x4ac7aa
movzx edx, word [ebx + 0xc0]
push edx
push 0xee
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00583d3f
mov ecx, dword [0x6d944c]
mov dx, word [ecx + 0x43c]
add esp, 0xc
push 0
push 0
cmp dx, word [ebx + 0xc0]
jae 0x4ac796
push 0xe61414
lea eax, [esp + 0x94]
push eax
jmp 0x4ac7a3
push 0xffffff
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00436210
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
movzx eax, word [ebx + 0x24]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, edi
call fcn.004a0c20
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
jmp 0x4acf45
test ebp, 0x100
je 0x4acbc8
push ebx
mov ecx, edi
call fcn.004a11a0
mov ebp, eax
test ebp, ebp
je 0x4acf45
lea ecx, [ebp + 2]
push ecx
lea edx, [esp + 0x8c]
push 0x5a4e58
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, 0x104
add esp, 0xc
mov ecx, 0xffffff
cmp word [ebp + 0x28], ax
jne 0x4ac88c
cmp word [ebp + 0x68], 0
je 0x4ac88c
movzx eax, word [ebp + 0x6a]
mov edx, dword [0x6d944c]
test ax, ax
jne 0x4ac858
cmp word [edx + 0x43c], 0x32
ja 0x4ac8b0
cmp eax, 1
jne 0x4ac874
movzx edx, word [edx + 0x43c]
cmp edx, 0x33
jb 0x4ac8b0
cmp edx, 0x46
ja 0x4ac8b0
mov edx, dword [0x6d944c]
cmp eax, 2
jne 0x4ac8b5
movzx eax, word [edx + 0x43c]
cmp eax, 0x47
jb 0x4ac8b0
cmp eax, 0x5a
jbe 0x4ac8b5
jmp 0x4ac8b0
mov edx, dword [0x6d944c]
movzx eax, word [edx + 0x43c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [ebp + 0xbc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ac8b5
mov ecx, 0xe61414
push 2
push 0
push ecx
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00436210
fld dword [ebp + 0xbc]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4ac969
fld dword [ebp + 0xbc]
call fcn.005846d0
push eax
push 0xee
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x5a2b8c
push 0x956
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea edx, [esp + 0x98]
push edx
call fcn.00583d3f
mov eax, dword [0x6d944c]
movzx ecx, word [eax + 0x43c]
mov dword [esp + 0x28], ecx
add esp, 0x14
push 2
fild dword [esp + 0x18]
mov ecx, esi
fld dword [ebp + 0xbc]
push 0
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ac957
push 0xe61414
lea edx, [esp + 0x94]
push edx
jmp 0x4ac964
push 0xffffff
lea eax, [esp + 0x94]
push eax
call fcn.00436210
movzx eax, word [esi + 0xc]
mov ecx, 0x88
cmp ax, cx
je 0x4acb66
mov edx, 0x85
cmp ax, dx
je 0x4acb66
mov ecx, 0x12c
cmp word [ebp + 0x28], cx
je 0x4acb66
mov edx, 0x83
cmp ax, dx
jne 0x4ac9c2
test byte [esi + 0x29e], 1
je 0x4ac9c2
push ebp
push esi
mov ecx, edi
call fcn.004a1880
push ebp
push esi
mov ecx, edi
call fcn.004a0230
jmp 0x4acf45
push ebp
push esi
mov ecx, edi
call fcn.004a1880
cmp word [ebp + 0xc0], 0xb
jne 0x4ac9b4
push 0x2c
call fcn.0058453b
add esp, 4
test eax, eax
je 0x4ac9ea
mov ecx, eax
call fcn.0049ec90
mov eax, dword [0x6cbed8]
mov edx, dword [esi]
mov ebx, 1
mov ecx, esi
cmp dword [eax + 0x218], ebx
jne 0x4aca08
mov eax, dword [edx + 0x74]
call eax
push eax
jmp 0x4aca11
mov eax, dword [edx + 0x78]
call eax
movzx ecx, ax
push ecx
lea ecx, [edi + 0x1ac]
call fcn.00463360
mov edi, eax
test edi, edi
je 0x4acf45
push 0
push 0
push 0xffffff
mov ecx, esi
push 0x5a2b8c
cmp dword [ebp + 0x30], ebx
jne 0x4acb04
call fcn.00436210
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x2fe
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
mov ecx, esi
call fcn.00436210
push 0x7f
lea eax, [esp + 0x10d]
push 0
push eax
mov byte [esp + 0x114], 0
call fcn.00583f60
mov eax, dword [edi + 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, 0x6daf28
call fcn.004c8e10
push eax
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push 0
push 0
push 0xffc800
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call fcn.00436210
jmp 0x4acf45
call fcn.00436210
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffc800
push 0x5a4
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
mov ecx, esi
call fcn.00436210
jmp 0x4acf45
test byte [esi + 0x2a4], 1
push ebx
mov ecx, edi
je 0x4acb96
call fcn.004a1340
test eax, eax
je 0x4acbba
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push ebp
push esi
mov ecx, edi
call fcn.004a5640
jmp 0x4ac7d6
call fcn.004a1340
test eax, eax
je 0x4acbba
mov edx, dword [esp + 0x1a4]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
push esi
mov ecx, edi
call fcn.004a5640
jmp 0x4acf45
push ebp
push esi
mov ecx, edi
call fcn.004a1880
jmp 0x4ac7d6
mov eax, ebp
and ebp, 0x80
jne 0x4acbf9
cmp eax, 0x42
je 0x4acbf9
cmp eax, 0x41
je 0x4acbf9
cmp eax, 0x43
je 0x4acbf9
push ebp
push 0x30a
push str.ItemManager.cpp
call fcn.0052f000
add esp, 0xc
jmp 0x4acf45
push ebx
mov ecx, edi
call fcn.004a11a0
mov ebx, eax
test ebx, ebx
je 0x4acf45
lea ecx, [ebx + 2]
push ecx
lea edx, [esp + 0x8c]
push 0x5a4e58
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.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0x968
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x956
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
lea ecx, [esp + 0x90]
push str._s__s
push ecx
call fcn.00583d3f
add esp, 0x10
push 7
push 0
push 0xffffb0
lea edx, [esp + 0x94]
push edx
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
lea eax, [esp + 0x4c]
push eax
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
test ebp, ebp
je 0x4ace05
movzx eax, word [esi + 0xc]
mov ecx, 0x88
cmp ax, cx
je 0x4acd0e
mov edx, 0x85
cmp ax, dx
je 0x4acd0e
mov eax, dword [esi]
mov edx, dword [eax + 0x74]
mov ecx, esi
call edx
mov ebp, eax
jmp 0x4acd14
mov ebp, dword [esi + 0x2a0]
push ebx
push esi
mov ecx, edi
call fcn.0049f200
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4acd28
push eax
jmp 0x4acd31
test ebp, ebp
je 0x4ace05
push ebp
mov ecx, 0x6ff860
call fcn.00573770
test eax, eax
je 0x4ace05
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
test eax, eax
jns 0x4acd58
fadd dword [0x5a2d60]
fmul qword [0x5a4158]
fdiv qword [0x5a4150]
fstp dword [esp + 0x10]
fldz
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4acd8c
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4acd8c
fstp dword [esp + 0x10]
jmp 0x4acd8e
fstp st(0)
push 0x80
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.00583f60
fld dword [esp + 0x1c]
fnstcw word [esp + 0x1c]
add esp, 0xc
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
mov ecx, 0x6daf28
fldcw word [esp + 0x14]
fistp qword [esp + 0x14]
mov edx, dword [esp + 0x14]
push edx
push 0x5ec
fldcw word [esp + 0x18]
call fcn.004c8e10
push eax
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.00436210
cmp dword [esp + 0x1c], 0x41
jne 0x4aceef
movzx eax, word [esi + 0xc]
mov edx, 0x88
cmp ax, dx
je 0x4ace35
mov ecx, 0x85
cmp ax, cx
je 0x4ace35
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
call eax
mov ebp, eax
jmp 0x4ace3b
mov ebp, dword [esi + 0x2a0]
push 0x80
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.00583f60
movzx edx, word [ebx + 0xa8]
add esp, 0xc
push edx
push 0x5ef
mov ecx, 0x6daf28
call fcn.004c8e10
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.00436210
test ebp, ebp
je 0x4aceef
cmp ebp, dword [0x6ff874]
jne 0x4aceef
push 0x80
lea edx, [esp + 0x8c]
push 0
push edx
call fcn.00583f60
add esp, 0xc
push 0x5f0
mov ecx, 0x6daf28
call fcn.004c8e10
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.00436210
push 0
push 0
push 0xffffff
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
push 0
lea edx, [esp + 0x4c]
push edx
push 0xffffb0
push 0x5a2b8c
mov ecx, esi
call fcn.00436210
movzx eax, word [ebx + 0x24]
push 1
push 0xc8d7aa
push eax
push esi
mov ecx, edi
call fcn.004a0c20
jmp 0x4acf45
push ebx
mov ecx, edi
call fcn.004a11a0
test eax, eax
je 0x4acf45
push eax
push esi
call fcn.004a3f50
lea ecx, [esp + 0x48]
call fcn.00424ae0
lea ecx, [esp + 0x68]
call fcn.00424ae0
lea ecx, [esp + 0x28]
call fcn.00424ae0
mov ecx, dword [esp + 0x188]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005837be
add esp, 0x17c
ret 0x18