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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525dac
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x5640a8]
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 [0x5651c4]
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0xd8]
xor eax, eax
xor edi, edi
mov word [ebp - 0xd0], ax
call fcn.004523e0
mov dword [ebp - 4], edi
test esi, esi
je 0x4b36cc
push esi
lea ecx, [ebp - 0xd8]
call fcn.004522b0
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b3703
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b3703
lea ecx, [ebp - 0xd8]
test esi, esi
je 0x4b36fb
push 0xffffffffffffffff
push esi
call fcn.004523e0
jmp 0x4b3703
mov eax, dword [ebp - 0xd8]
call dword [eax]
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b4610
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 0x10
je 0x4b373f
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x124]
call fcn.004b48d0
mov edi, eax
jmp 0x4b46c8
mov eax, dword [0x56e89c]
lea edx, [ebp - 0xdc]
push edx
push 1
push Ordinal_1
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 0x4b46c8
push 0x28
call fcn.004e1dfa
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 0x4b3812
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b46a7
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b46b0
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jbe 0x4b44ff
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 0x4b3b61
push str..ico
push esi
call fcn.004fa4ad
add esp, 8
test eax, eax
je 0x4b3b20
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 0x4b39a3
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 0x4b3ac3
mov eax, dword [0x56e89c]
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 0x4b3aa9
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 0x52cf38
push dword [ebp - 0xe8]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4b3a8f
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 0x4b3a8f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x134]
call fcn.00406f80
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4b3974
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4b3984
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 0x4b38a0
mov esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b39bd
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 0x4b3add
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e22d3
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.004e22d3
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 0x4b3afb
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.004e28e0
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.004e28e0
mov edx, dword [ebp - 0xf8]
inc edx
mov dword [edi + 0xc], eax
mov dword [ebp - 0xf8], edx
cmp edx, dword [ebp - 0x114]
jb 0x4b3a20
jmp 0x4b3afb
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4b3aa9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4b3ac3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b3add
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 0x4b3af0
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3af9
push eax
call fcn.004e22c5
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x4b46c8
mov eax, dword [ebp - 0x12c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00403d10
jmp 0x4b46c8
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b3b33
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3b3c
push eax
call fcn.004e22c5
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b4610
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
xor edi, edi
jmp 0x4b46c8
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 0x4b3c85
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3bab
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 0x4b3c85
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3bfa
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 + 0x549170]
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 + 0x549170]
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 0x4b3cd6
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b3c98
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3ca1
push eax
call fcn.004e22c5
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b3cbb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b4610
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor edi, edi
jmp 0x4b46c8
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.004b3300
mov ecx, dword [ebp - 0xe0]
add esp, 4
test ecx, ecx
je 0x4b3d0f
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 0x4b43c7
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 0x4b438e
cmp edi, 2
jne 0x4b3dd8
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 0x4b3e2c
cmp edi, 3
jne 0x4b3e2c
cmp dword [ebp - 0x100], 0
je 0x4b3e2c
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 0x4b3e2c
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 0x4b3e94
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.004b6090
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b3eaa
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x5a
push eax
call fcn.004b6090
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 0x4b3ef4
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3ee9
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b3efe
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 0x4b3f48
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3f3d
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b3f52
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 0x4b3f9c
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3f91
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b3fab
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 0x4b3ff5
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3fea
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b4004
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 0x4b4048
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x11
cmove eax, ecx
test eax, eax
js 0x4b403d
movzx edi, word [ebp - 0x108]
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b404a
xor edi, edi
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b4064
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
cmp edi, 3
jne 0x4b4131
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 0x4b4121
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x4b4111
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]
lea edx, [ebp - 0x100]
push edx
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
push edx
push 0
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xe4]
push 0
push dword [ebp - 0x164]
push dword [ebp - 0x168]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
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 0x4b4131
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x56e89c]
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 0x4b437e
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 0x52cf38
push dword [ebp - 0xfc]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4b4364
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 0x4b4364
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [ebp - 0x120], 0
jne 0x4b41dd
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 0x4b4284
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 0x4b4364
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]
lea edx, [ebp - 0xf4]
push edx
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
push edx
push 0
mov dword [ebp - 0x40], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xe4]
push 0
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
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 0x4b4352
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.00406f80
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4b437e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x4b438e
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 0x4b3d70
mov ecx, dword [ebp - 0x100]
mov edi, dword [ebp - 0x128]
test ecx, ecx
je 0x4b43c7
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 0x4b4407
cmp dword [edi - 4], esi
lea eax, [edi - 4]
je 0x4b43f7
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4b448a
push eax
call fcn.004e22c5
add esp, 4
xor edi, edi
jmp 0x4b448a
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.004e22d3
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.004e22d3
xor esi, esi
mov dword [edi + 0x20], eax
add esp, 8
cmp dword [ebp - 0x114], esi
jle 0x4b448a
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x14c]
sub ecx, eax
mov dword [ebp - 0x128], ecx
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 0x4b4461
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4b44a4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b44be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4b44da
mov eax, dword [ebp - 0x144]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00403d10
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x4b46c8
mov eax, dword [ebp - 0x150]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00403d10
jmp 0x4b46c8
jne 0x4b37f8
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 0x4b45d5
mov eax, dword [0x56e89c]
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 0x4b45bb
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 0x52cf38
push dword [ebp - 0xe0]
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4b45a1
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 0x4b4617
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4b45bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b45d5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b45ef
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 0x4b4607
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4b46c8
push eax
call fcn.004e22c5
add esp, 4
xor edi, edi
jmp 0x4b46c8
push 4
call fcn.004e22d3
mov dword [edi + 0x20], eax
push 4
mov dword [eax], 0
mov dword [edi + 0x1c], 1
call fcn.004e22d3
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 0x4b4671
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b468b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b46c8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
jmp 0x4b46c8
push eax
call fcn.004e22c5
add esp, 4
mov ecx, dword [ebp - 0xdc]
xor edi, edi
test ecx, ecx
je 0x4b46c8
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 0x4b46eb
push eax
call fcn.004fdfef
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.004e1bb1
mov esp, ebp
pop ebp
ret