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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52600c
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.004526d0
mov dword [ebp - 4], edi
test esi, esi
je 0x4b38dc
push esi
lea ecx, [ebp - 0xd8]
call fcn.004525a0
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b3913
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b3913
lea ecx, [ebp - 0xd8]
test esi, esi
je 0x4b390b
push 0xffffffffffffffff
push esi
call fcn.004526d0
jmp 0x4b3913
mov eax, dword [ebp - 0xd8]
call dword [eax]
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b4820
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4b394f
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x124]
call fcn.004b4ae0
mov edi, eax
jmp 0x4b48d8
mov eax, dword [0x56e964]
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 0x4b48d8
push 0x28
call fcn.004e204b
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 0x4b3a22
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b48b7
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b48c0
mov eax, dword [ebp - 0x11c]
cmp eax, 1
jbe 0x4b470f
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 0x4b3d71
push str..ico
push esi
call fcn.004fa70d
add esp, 8
test eax, eax
je 0x4b3d30
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 0x4b3bb3
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 0x4b3cd3
mov eax, dword [0x56e964]
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 0x4b3cb9
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 0x4b3c9f
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 0x4b3c9f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x134]
call fcn.00406f80
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4b3b84
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4b3b94
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 0x4b3ab0
mov esi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b3bcd
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 0x4b3ced
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e2524
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.004e2524
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 0x4b3d0b
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.004e2b30
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.004e2b30
mov edx, dword [ebp - 0xf8]
inc edx
mov dword [edi + 0xc], eax
mov dword [ebp - 0xf8], edx
cmp edx, dword [ebp - 0x114]
jb 0x4b3c30
jmp 0x4b3d0b
mov ecx, dword [ebp - 0xec]
test ecx, ecx
je 0x4b3cb9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xec], 0
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x4b3cd3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b3ced
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 0x4b3d00
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3d09
push eax
call fcn.004e2516
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x4b48d8
mov eax, dword [ebp - 0x12c]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00403d10
jmp 0x4b48d8
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b3d43
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3d4c
push eax
call fcn.004e2516
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b4820
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
xor edi, edi
jmp 0x4b48d8
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 0x4b3e95
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3dbb
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 0x4b3e95
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b3e0a
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 + 0x5491a0]
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 + 0x5491a0]
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 0x4b3ee6
cmp dword [edi - 4], 0
lea eax, [edi - 4]
je 0x4b3ea8
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
jmp 0x4b3eb1
push eax
call fcn.004e2516
add esp, 4
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b3ecb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b4820
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor edi, edi
jmp 0x4b48d8
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.004b3510
mov ecx, dword [ebp - 0xe0]
add esp, 4
test ecx, ecx
je 0x4b3f1f
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 0x4b45d7
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 0x4b459e
cmp edi, 2
jne 0x4b3fe8
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 0x4b403c
cmp edi, 3
jne 0x4b403c
cmp dword [ebp - 0x100], 0
je 0x4b403c
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 0x4b403c
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 0x4b40a4
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.004b62c0
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b40ba
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x5a
push eax
call fcn.004b62c0
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 0x4b4104
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b40f9
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b410e
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 0x4b4158
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b414d
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b4162
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 0x4b41ac
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b41a1
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b41bb
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 0x4b4205
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x12
cmove eax, ecx
test eax, eax
js 0x4b41fa
movzx eax, word [ebp - 0x108]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b4214
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 0x4b4258
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp - 0x110], 0x11
cmove eax, ecx
test eax, eax
js 0x4b424d
movzx edi, word [ebp - 0x108]
lea eax, [ebp - 0x110]
push eax
call esi
jmp 0x4b425a
xor edi, edi
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b4274
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
cmp edi, 3
jne 0x4b4341
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 0x4b4331
mov ecx, dword [ebp - 0x100]
test ecx, ecx
jne 0x4b4321
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 0x4b4341
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x56e964]
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 0x4b458e
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 0x4b4574
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 0x4b4574
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
cmp dword [ebp - 0x120], 0
jne 0x4b43ed
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 0x4b4494
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 0x4b4574
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 0x4b4562
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 0x4b458e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x4b459e
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 0x4b3f80
mov ecx, dword [ebp - 0x100]
mov edi, dword [ebp - 0x128]
test ecx, ecx
je 0x4b45d7
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 0x4b4617
cmp dword [edi - 4], esi
lea eax, [edi - 4]
je 0x4b4607
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4b469a
push eax
call fcn.004e2516
add esp, 4
xor edi, edi
jmp 0x4b469a
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.004e2524
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.004e2524
xor esi, esi
mov dword [edi + 0x20], eax
add esp, 8
cmp dword [ebp - 0x114], esi
jle 0x4b469a
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 0x4b4671
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4b46b4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b46ce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x4b46ea
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 0x4b48d8
mov eax, dword [ebp - 0x150]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00403d10
jmp 0x4b48d8
jne 0x4b3a08
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 0x4b47e5
mov eax, dword [0x56e964]
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 0x4b47cb
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 0x4b47b1
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 0x4b4827
mov ecx, dword [ebp - 0xe4]
test ecx, ecx
je 0x4b47cb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b47e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b47ff
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 0x4b4817
mov eax, dword [edi]
mov ecx, edi
push 3
call dword [eax]
xor edi, edi
jmp 0x4b48d8
push eax
call fcn.004e2516
add esp, 4
xor edi, edi
jmp 0x4b48d8
push 4
call fcn.004e2524
mov dword [edi + 0x20], eax
push 4
mov dword [eax], 0
mov dword [edi + 0x1c], 1
call fcn.004e2524
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 0x4b4881
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x4b489b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xe0], 0
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4b48d8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0xdc], 0
jmp 0x4b48d8
push eax
call fcn.004e2516
add esp, 4
mov ecx, dword [ebp - 0xdc]
xor edi, edi
test ecx, ecx
je 0x4b48d8
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 0x4b48fb
push eax
call fcn.004fe1ff
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.004e1de4
mov esp, ebp
pop ebp
ret