Function at 0x4a4d30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50921c
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x541074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x124], ecx
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd8], vtable.ui::CDuiString.0
push 0xffffffffffffffff
push dword [0x542094]
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0xd8]
xor eax, eax
xor edi, edi
mov word [ebp - 0xd0], ax
call fcn.00434660
mov dword [ebp - 4], edi
test esi, esi
je 0x4a4dac
push esi
lea ecx, [ebp - 0xd8]
call fcn.00434530
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a4de3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a4de3
lea ecx, [ebp - 0xd8]
test esi, esi
je 0x4a4ddb
push 0xffffffffffffffff
push esi
call fcn.00434660
jmp 0x4a4de3
mov eax, dword [ebp - 0xd8]
call dword [eax]
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a5cef
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4a4e1f
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x124]
call fcn.004a5fb0
mov edi, eax
jmp 0x4a5da7
mov eax, dword [0x548198]
lea edx, [ebp - 0xdc]
push edx
push 1
push SysReAllocString
push 0
push dword [ebp - 0xd4]
mov dword [ebp - 0xdc], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4a5da7
push 0x28
call fcn.004c8893
mov edi, eax
lea edx, [ebp - 0x11c]
lea eax, [edi + 8]
mov dword [edi + 0xc], 0
mov dword [eax], 0
add esp, 4
mov dword [ebp - 0x15c], eax
lea eax, [edi + 0xc]
mov dword [edi], vtable.ui::tagTImageInfo.0
mov dword [edi + 0x10], 0x60
mov dword [edi + 0x14], 0x60
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 4], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x11c], 0
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x128], edi
call dword [ecx + 0x30]
test eax, eax
jns 0x4a4ef2
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4a5d86
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4a5d8f
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jbe 0x4a5bde
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xe0]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x4a5241
push str..ico
push esi
call fcn.004e1212
add esp, 8
test eax, eax
je 0x4a5200
xor esi, esi
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x12c], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0xf4], esi
cmp dword [ebp - 0x11c], esi
jbe 0x4a5083
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xe8]
push edx
mov dword [ebp - 0xe8], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x4a51a3
mov eax, dword [0x548198]
lea edx, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4a5189
mov eax, dword [ebp - 0xec]
xorps xmm0, xmm0
push 0
sub esp, 8
mov ecx, dword [eax]
movsd qword [esp], xmm0
push 0
push 0
push 0x50e1e0
push dword [ebp - 0xe8]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4a516f
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
push edx
push 0
push dword [ebp - 0xec]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x120], 0
call dword [eax + 0x14]
test eax, eax
js 0x4a516f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x134]
call fcn.00409560
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4a5054
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4a5064
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp eax, dword [ebp - 0x11c]
jb 0x4a4f80
mov esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a509d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
sub esi, dword [ebp - 0x134]
sar esi, 2
mov dword [ebp - 0x114], esi
test esi, esi
je 0x4a51bd
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8b41
mov dword [edi + 0x20], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8b41
xor edx, edx
mov dword [edi + 0x24], eax
add esp, 8
mov dword [edi + 0x1c], esi
mov dword [ebp - 0xf8], edx
test esi, esi
je 0x4a51db
mov eax, dword [edi + 0x20]
mov esi, dword [ebp - 0x134]
mov dword [eax + edx*4], 0
mov ecx, dword [edi + 0x24]
mov eax, dword [esi + edx*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + edx*4]
lea edx, [ebp - 0x170]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm0, dword [eax]
call fcn.004c93d0
mov dword [edi + 8], eax
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 0xf8]
push edx
mov eax, dword [esi + eax*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
movss xmm0, dword [eax + 4]
call fcn.004c93d0
mov edx, dword [ebp - 0xf8]
inc edx
mov dword [edi + 0xc], eax
mov dword [ebp - 0xf8], edx
cmp edx, dword [ebp - 0x114]
jb 0x4a5100
jmp 0x4a51db
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4a5189
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4a51a3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a51bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4a51d0
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4a51d9
push eax
call fcn.004c8d6c
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x4a5da7
mov eax, dword [ebp - 0x12c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00409870
jmp 0x4a5da7
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4a5213
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4a521c
push eax
call fcn.004c8d6c
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a5cef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
xor edi, edi
jmp 0x4a5da7
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
xorps xmm0, xmm0
push edx
movups xmmword [ebp - 0x110], xmm0
mov ecx, dword [eax]
push str._logscrdesc_Width
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4a5365
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a528b
movzx eax, word [ebp - 0x108]
mov dword [edi + 8], eax
mov esi, dword [sym.imp.ole32.dll_PropVariantClear]
lea eax, [ebp - 0x110]
push eax
call esi
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._logscrdesc_Height
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a5365
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a52da
movzx eax, word [ebp - 0x108]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x110]
push eax
call esi
mov eax, dword [edi + 8]
lea edx, [ebp - 0xe4]
mov ecx, dword [ebp - 0x124]
push edx
push 0
movd xmm0, eax
lea edx, [ebp - 0x140]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push 0
push 0
push edx
push ecx
addsd xmm0, qword [eax*8 + 0x52aed0]
mov eax, dword [edi + 0xc]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x118], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x52aed0]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x140], eax
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x114], xmm0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
jns 0x4a53b6
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4a5378
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4a5381
push eax
call fcn.004c8d6c
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a539b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4a5cef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor edi, edi
jmp 0x4a5da7
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0xdc]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.004a49f0
mov ecx, dword [ebp - 0xe0]
add esp, 4
test ecx, ecx
je 0x4a53ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov byte [ebp - 4], 3
xor edx, edx
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x120], edx
cmp dword [ebp - 0x11c], edx
jbe 0x4a5a9d
lea edi, [edx + 1]
mov eax, dword [ebp - 0xdc]
lea esi, [ebp - 0xfc]
push esi
mov dword [ebp - 0xfc], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov esi, dword [sym.imp.ole32.dll_PropVariantClear]
test eax, eax
js 0x4a5a64
cmp edi, 2
jne 0x4a54b8
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0xe4]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
jmp 0x4a550c
cmp edi, 3
jne 0x4a550c
cmp dword [ebp - 0x100], 0
je 0x4a550c
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [ebp - 0xf0]
push 0
push dword [ebp - 0x100]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x4a550c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xfc]
lea edx, [ebp - 0xe0]
push edx
push eax
mov dword [ebp - 0xf4], 0
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._grctlext_Delay
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp - 0x14c]
test eax, eax
js 0x4a5574
movzx eax, word [ebp - 0x108]
lea eax, [eax + eax*4]
add eax, eax
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00409560
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a558a
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x5a
push eax
call fcn.00409560
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._imgdesc_left
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a55d4
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a55c9
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a55de
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._imgdesc_Top
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a5628
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a561d
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a5632
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._imgdesc_Width
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a567c
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a5671
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a568b
mov eax, dword [ebp - 0x15c]
movzx eax, word [eax]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._imgdesc_Height
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a56d5
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4a56ca
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a56e4
mov eax, dword [ebp - 0x160]
movzx eax, word [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x110]
push edx
push str._grctlext_Disposal
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4a5728
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x11
cmove eax, ecx
test eax, eax
js 0x4a571d
movzx edi, word [ebp - 0x108]
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4a572a
xor edi, edi
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4a5744
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
cmp edi, 3
jne 0x4a580c
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
test eax, eax
js 0x4a57fc
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x4a57ec
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x168]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0x178]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [ebp - 0x164]
push dword [ebp - 0x168]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004a9fb0
mov ecx, dword [ebp - 0x100]
mov eax, dword [ecx]
push 0
push dword [ebp - 0xf0]
push 0
push ecx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xf0]
test ecx, ecx
je 0x4a580c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x548198]
lea edx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4a5a54
mov eax, dword [ebp - 0xe8]
xorps xmm0, xmm0
push 0
sub esp, 8
mov ecx, dword [eax]
movsd qword [esp], xmm0
push 0
push 0
push 0x50e1e0
push dword [ebp - 0xfc]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4a5a3a
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0xf8]
push edx
push 0
push dword [ebp - 0xe8]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0xf8], 0
call dword [eax + 0x14]
test eax, eax
js 0x4a5a3a
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [ebp - 0x120], 0
jne 0x4a58b8
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 0x138]
movzx ecx, ax
mov eax, dword [ebp - 0x13c]
movzx edx, ax
mov eax, dword [ebp - 0x114]
movzx eax, ax
add eax, ecx
movd xmm3, ecx
movd xmm2, edx
cvtdq2ps xmm3, xmm3
push 0
push 1
movd xmm1, eax
mov eax, dword [ebp - 0xf4]
movzx eax, ax
add eax, edx
movss dword [ebp - 0x30], xmm3
cvtdq2ps xmm2, xmm2
lea edx, [ebp - 0x30]
movd xmm0, eax
mov eax, dword [ebp - 0xe4]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push edx
push dword [ebp - 0xf8]
push eax
call dword [ecx + 0x68]
mov eax, dword [ebp - 0xe4]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x4a595f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
test eax, eax
js 0x4a5a3a
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0x170]
mov dword [ebp - 0xf4], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0x130]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a9fb0
mov eax, dword [ebp - 0xf4]
push 0
push dword [ebp - 0xec]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x20]
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4a5a28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x158]
call fcn.00409560
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4a5a54
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x4a5a64
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp - 0x120]
inc edx
mov dword [ebp - 0x120], edx
cmp edx, dword [ebp - 0x11c]
jb 0x4a5450
mov ecx, dword [ebp - 0x100]
mov edi, dword [ebp - 0x128]
test ecx, ecx
je 0x4a5a9d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x100], 0
mov esi, dword [ebp - 0x154]
sub esi, dword [ebp - 0x158]
sar esi, 2
mov dword [ebp - 0x114], esi
test esi, esi
jne 0x4a5add
cmp dword [edi - 4], esi
lea eax, [edi - 4]
je 0x4a5acd
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4a5b69
push eax
call fcn.004c8d6c
add esp, 4
xor edi, edi
jmp 0x4a5b69
xor ecx, ecx
mov dword [edi + 0x1c], esi
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8b41
mov dword [edi + 0x24], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8b41
xor esi, esi
mov dword [edi + 0x20], eax
add esp, 8
cmp dword [ebp - 0x114], esi
jle 0x4a5b69
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x14c]
sub ecx, eax
mov dword [ebp - 0x128], ecx
nop word [eax + eax]
mov ecx, dword [edi + 0x24]
lea edx, [eax + esi*4]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + edx]
mov dword [ecx + esi*4], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0x14c]
cmp esi, dword [ebp - 0x114]
jl 0x4a5b40
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4a5b83
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a5b9d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4a5bb9
mov eax, dword [ebp - 0x144]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00409870
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x4a5da7
mov eax, dword [ebp - 0x150]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00409870
jmp 0x4a5da7
jne 0x4a4ed8
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xe0]
push edx
mov dword [ebp - 0xe0], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x4a5cb4
mov eax, dword [0x548198]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4a5c9a
mov eax, dword [ebp - 0xe4]
xorps xmm0, xmm0
push 0
sub esp, 8
mov ecx, dword [eax]
movsd qword [esp], xmm0
push 0
push 0
push 0x50e1e0
push dword [ebp - 0xe0]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4a5c80
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x114]
push edx
push 0
push dword [ebp - 0xe4]
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x114], 0
call dword [eax + 0x14]
test eax, eax
jns 0x4a5cf6
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4a5c9a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4a5cb4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a5cce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4a5ce6
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4a5da7
push eax
call fcn.004c8d6c
add esp, 4
xor edi, edi
jmp 0x4a5da7
push 4
call fcn.004c8b41
mov dword [edi + 0x20], eax
push 4
mov dword [eax], 0
mov dword [edi + 0x1c], 1
call fcn.004c8b41
mov ecx, dword [ebp - 0x114]
lea edx, [edi + 0xc]
add esp, 8
mov dword [edi + 0x24], eax
mov dword [eax], ecx
mov eax, dword [ebp - 0xe4]
push edx
lea edx, [edi + 8]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4a5d50
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4a5d6a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4a5da7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
jmp 0x4a5da7
push eax
call fcn.004c8d6c
add esp, 4
mov ecx, dword [ebp - 0xdc]
xor edi, edi
test ecx, ecx
je 0x4a5da7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], edi
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd8], vtable.ui::CDuiString.0
cmp eax, ecx
je 0x4a5dca
push eax
call fcn.004e7744
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8882
mov esp, ebp
pop ebp
ret