Function at 0x479160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6a15
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x624500]
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, ecx
mov dword [ebp - 0x13c], esi
mov ecx, dword [ebp + 0x18]
xor edi, edi
mov dword [ebp - 0x140], edi
push dword [ebp + 0xc]
mov dword [ebp - 0x144], ecx
mov ecx, esi
push dword [ebp + 8]
call fcn.0046e700
push dword [ebp + 0x14]
lea ecx, [esi + 0x1c]
push dword [ebp + 0x10]
call fcn.0046e700
push dword [ebp + 0xc]
add esi, 0x38
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x150], esi
call fcn.0046e700
xor eax, eax
mov byte [ebp - 0x135], 0
mov dword [ebp - 0x14c], eax
test eax, eax
jne 0x4791f2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
jmp 0x4791f8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
sub esp, 0x1c
xor edx, edx
mov esi, esp
mov dword [ebp - 0x130], esi
push ecx
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push eax
mov word [esi], dx
call fcn.0040612d
or edi, 0x10
mov dword [esi + 0x18], 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x134], edi
push eax
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x130], edi
call fcn.0047f380
add esp, 0x20
mov edi, dword [ebp - 0x15c]
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x148], eax
cmp eax, edi
je 0x479401
nop word [eax + eax]
lea esi, [eax + 0x10]
push esi
lea ecx, [ebp - 0xf0]
call fcn.0040b9e1
mov dword [ebp - 0xd8], 0
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040b9e1
mov dword [ebp - 0xbc], 0
push dword [0x625120]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
push 0x5d0eb0
call fcn.0040625b
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
mov esi, dword [ebp - 0xe0]
lea ecx, [ebp - 0xf0]
cmovae eax, dword [ebp - 0x9c]
cmp dword [ebp - 0xdc], 8
cmovae ecx, dword [ebp - 0xf0]
cmp esi, dword [ebp - 0x8c]
jne 0x47930c
push esi
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x479313
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x9c]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
jne 0x47939e
push dword [0x625120]
lea ecx, [ebp - 0x9c]
push 0x5d0ebc
call fcn.0040625b
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xf0]
cmovae eax, dword [ebp - 0x9c]
cmp dword [ebp - 0xdc], 8
cmovae ecx, dword [ebp - 0xf0]
cmp esi, dword [ebp - 0x8c]
jne 0x479383
push esi
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x47938a
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x9c]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x4793c8
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0xd4]
cmp ecx, eax
je 0x4793c8
cmp dword [ebp - 0xc0], 8
push dword [ebp - 0xc4]
cmovae eax, dword [ebp - 0xd4]
push eax
call fcn.0040612d
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0
call fcn.00405f7b
lea ecx, [ebp - 0xf0]
call fcn.00405f7b
lea ecx, [ebp - 0x148]
call fcn.00472300
mov eax, dword [ebp - 0x148]
cmp eax, edi
jne 0x479270
mov edi, dword [ebp - 0x15c]
push dword [edi + 4]
lea ecx, [ebp - 0x15c]
mov dword [ebp - 4], 3
call fcn.0047e810
mov eax, dword [ebp - 0x15c]
push 0x48
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x15c]
mov dword [eax], edi
mov eax, dword [ebp - 0x15c]
mov dword [eax + 8], edi
push dword [ebp - 0x15c]
mov dword [ebp - 0x158], 0
call fcn.0053a186
mov eax, dword [ebp - 0x14c]
add esp, 8
mov edi, dword [ebp - 0x134]
inc eax
mov dword [ebp - 0x14c], eax
cmp eax, 2
jb 0x4791e6
mov edi, dword [ebp - 0x144]
test edi, edi
je 0x479804
mov eax, dword [edi + 0x48c]
test eax, eax
jne 0x4794b8
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4794a9
mov ecx, eax
call fcn.00487890
jmp 0x4794ab
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x48c], eax
mov ecx, eax
call fcn.00487a00
cmp eax, 0x64
je 0x479804
xor eax, eax
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x48c]
mov byte [ebp - 4], 6
test eax, eax
jne 0x47953e
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x479532
mov ecx, eax
call fcn.00487890
jmp 0x479534
xor eax, eax
mov byte [ebp - 4], 6
mov dword [edi + 0x48c], eax
mov ecx, eax
call fcn.00487a00
push eax
lea eax, [ebp - 0xd4]
push str.__d.
push eax
call fcn.0047ed80
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 8
cmp ecx, eax
je 0x479580
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x479573
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0040612d
lea ecx, [ebp - 0xd4]
call fcn.00405f7b
cmp dword [ebp - 0xf8], 8
lea eax, [ebp - 0x10c]
cmovae eax, dword [ebp - 0x10c]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x154], eax
mov esi, dword [ebp - 0x150]
lea ecx, [ebp - 0x2c]
push esi
mov byte [ebp - 4], 9
call fcn.0040b9e1
mov eax, dword [ebp - 0x134]
push 1
or eax, 0x20
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 8
push 0x5ff990
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x1c]
push eax
call fcn.0045e920
add esp, 0x14
mov dword [ebp - 0x14c], eax
cmp eax, dword [0x625120]
je 0x479652
mov esi, dword [ebp - 0x148]
mov edi, eax
push dword [ebp - 0x154]
lea ecx, [ebp - 0x2c]
push esi
push 1
push edi
call fcn.004296a0
push 1
push 0x5ff990
lea eax, [edi + 2]
push eax
push 1
push 0x5ff990
call fcn.0045e920
mov edi, eax
add esp, 0x14
cmp edi, dword [0x625120]
jne 0x479610
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x150]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push eax
call fcn.0040612d
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x2c]
and eax, 0xffffffdf
mov byte [ebp - 4], 6
mov dword [ebp - 0x134], eax
call fcn.00405f7b
cmp byte [0x62a4e4], 0
je 0x4796fa
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 4
cmovae eax, dword [ebp - 0x64]
push 0x5d0ed0
push 0
push dword [ebp - 0x54]
push eax
call fcn.0045e920
add esp, 0x14
cmp dword [0x625120], eax
jne 0x4796d4
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.004aeac0
add esp, 8
test al, al
je 0x4797ea
lea eax, [ebp - 0x64]
cmp esi, eax
je 0x4796ee
cmp dword [ebp - 0x50], 8
mov ecx, esi
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.0040612d
mov byte [ebp - 0x135], 1
jmp 0x4797ea
cmp dword [0x624098], 8
mov eax, 0x624084
push dword [0x624094]
cmovae eax, dword [0x624084]
xor ecx, ecx
mov word [ebp - 0xb8], cx
lea ecx, [ebp - 0xb8]
push eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
call fcn.0040612d
or dword [ebp - 0x134], 0x40
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xa
call fcn.004173e6
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push 4
cmovae eax, dword [ebp - 0xb8]
push 0x5d0ed0
push 0
push dword [ebp - 0xa8]
push eax
call fcn.0045e920
add esp, 0x14
cmp dword [0x625120], eax
jne 0x4797be
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4797df
lea eax, [ebp - 0x64]
cmp esi, eax
je 0x4797d8
cmp dword [ebp - 0x50], 8
mov ecx, esi
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.0040612d
mov byte [ebp - 0x135], 1
lea ecx, [ebp - 0xb8]
call fcn.00405f7b
lea ecx, [ebp - 0x64]
call fcn.00405f7b
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 0xffffffff
call fcn.00405f7b
xor eax, eax
mov dword [ebp - 0x148], eax
nop dword [eax]
test eax, eax
jne 0x47981c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
jmp 0x479822
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
sub esp, 0x1c
xor edx, edx
mov esi, esp
mov dword [ebp - 0x130], esi
push ecx
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push eax
mov word [esi], dx
call fcn.0040612d
mov eax, dword [ebp - 0x134]
or eax, 0x80
mov dword [esi + 0x18], 0
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x164]
push eax
call fcn.0047f380
add esp, 0x20
mov dword [ebp - 4], 0xb
test edi, edi
je 0x4798e2
mov eax, dword [edi + 0x48c]
test eax, eax
jne 0x4798b8
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4798ac
mov ecx, eax
call fcn.00487890
jmp 0x4798ae
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x48c], eax
mov ecx, eax
call fcn.00487a00
push eax
lea eax, [ebp - 0x80]
push str.dest_d
push eax
call fcn.0047ed80
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 0xd
or eax, 1
jmp 0x479943
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x5fcef8
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.0040612d
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [ebp - 0x1c], xmm0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xf
or eax, 0x102
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x134], eax
call fcn.0040b9e1
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], 0x11
test cl, 2
je 0x4799d6
and ecx, 0xfffffffd
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x134], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x140], ecx
mov word [eax], dx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4799d6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4799c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a348
push edx
push ecx
call fcn.0053a186
mov ecx, dword [ebp - 0x134]
add esp, 8
mov byte [ebp - 4], 0x12
test cl, 1
je 0x479a53
and ecx, 0xfffffffe
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov dword [ebp - 0x134], ecx
cmovae eax, dword [ebp - 0x80]
mov dword [ebp - 0x140], ecx
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x479a3f
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479a35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a348
push edx
push ecx
call fcn.0053a186
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
test edi, edi
je 0x479abe
mov eax, dword [edi + 0x48c]
test eax, eax
jne 0x479a8e
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x479a82
mov ecx, eax
call fcn.00487890
jmp 0x479a84
xor eax, eax
mov byte [ebp - 4], 0x12
mov dword [edi + 0x48c], eax
mov ecx, eax
call fcn.00487a00
push eax
lea eax, [ebp - 0xd4]
push str.source_d
push eax
call fcn.0047ed80
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 0x14
or eax, 4
jmp 0x479b43
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x5fcef8
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
call fcn.0040612d
lea ecx, [ebp - 0x2c]
call fcn.00406228
movups xmm0, xmmword [ebp - 0x60]
xor eax, eax
lea ecx, [ebp - 0x60]
mov word [ebp - 0x60], ax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
call fcn.00406256
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0x16
or eax, 0x208
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x134], eax
call fcn.0040b9e1
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0x17
mov eax, dword [ebp - 0x134]
test al, 8
je 0x479ba4
and eax, 0xfffffff7
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2c]
call fcn.00406256
mov eax, dword [ebp - 0x134]
mov byte [ebp - 4], 0x19
test al, 4
je 0x479be3
and eax, 0xfffffffb
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0xd4]
cmovae eax, dword [ebp - 0xd4]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0xd4]
call fcn.00406256
mov esi, dword [ebp - 0x164]
mov eax, dword [esi]
mov dword [ebp - 0x14c], eax
cmp eax, esi
je 0x47a2a7
nop dword [eax]
lea edi, [eax + 0x10]
push edi
lea ecx, [ebp - 0x48]
call fcn.0040b9e1
mov dword [ebp - 0x30], 0
lea eax, [edi + 0x1c]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b9e1
mov dword [ebp - 0x14], 0
push dword [0x625120]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
push str.restype
call fcn.0040625b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x70]
jne 0x479c75
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x479c7c
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x80]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x479cb7
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x2c]
add ecx, 0x54
cmp ecx, eax
je 0x47a274
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0040612d
jmp 0x47a274
push dword [0x625120]
lea ecx, [ebp - 0x80]
push str.dest
call fcn.0040625b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x70]
jne 0x479cfe
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x479d05
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x80]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x479d95
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
lea eax, [ebp - 0x184]
mov dword [edi + 0x18], 0
push eax
call fcn.0047fb10
mov edi, dword [ebp - 0x13c]
add esp, 0x20
add edi, 0x70
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x144]
movups xmmword [edi], xmm0
test eax, eax
je 0x47a274
mov eax, dword [eax + 0x48c]
test eax, eax
jne 0x479f02
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x479ef0
mov ecx, eax
call fcn.00487890
jmp 0x479ef2
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x128]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x118]
jne 0x479e0c
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
test eax, eax
jne 0x479e0c
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
lea eax, [ebp - 0x194]
mov dword [edi + 0x18], 0
push eax
call fcn.0047fb10
add esp, 0x20
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x13c]
movups xmmword [eax + 0x70], xmm0
jmp 0x47a274
push dword [0x625120]
lea ecx, [ebp - 0x80]
push 0x5d0f1c
call fcn.0040625b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x70]
jne 0x479e53
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x479e5a
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x80]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x479f0f
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
lea eax, [ebp - 0x1a4]
mov dword [edi + 0x18], 0
push eax
call fcn.0047fb10
mov edi, dword [ebp - 0x13c]
add esp, 0x20
sub edi, 0xffffff80
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x144]
movups xmmword [edi], xmm0
test eax, eax
je 0x47a274
cmp byte [ebp - 0x135], 0
je 0x47a274
mov eax, dword [eax + 0x48c]
test eax, eax
jne 0x479f02
push 0xc
call fcn.0053a194
add esp, 4
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x479ef0
mov ecx, eax
call fcn.00487890
jmp 0x479ef2
xor eax, eax
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 0x1b
mov dword [ecx + 0x48c], eax
push edi
mov ecx, eax
call fcn.00487da0
jmp 0x47a274
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0046e420
add esp, 8
test al, al
je 0x479f67
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
lea eax, [ebp - 0x100]
mov dword [edi + 0x18], 0
push eax
call fcn.0047fb10
add esp, 0x20
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x13c]
movups xmmword [eax + 0x80], xmm0
jmp 0x47a274
push dword [0x625120]
lea ecx, [ebp - 0x80]
push str.corner
call fcn.0040625b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x70]
jne 0x479fae
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x479fb5
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x80]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x47a033
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
lea eax, [ebp - 0xac]
mov dword [edi + 0x18], 0
push eax
call fcn.0047fb10
mov edi, dword [ebp - 0x13c]
add esp, 0x20
add edi, 0x90
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x144]
movups xmmword [edi], xmm0
test eax, eax
je 0x47a274
cmp byte [ebp - 0x135], 0
je 0x47a274
mov ecx, eax
call fcn.00473930
push edi
mov ecx, eax
call fcn.00487da0
jmp 0x47a274
push dword [0x625120]
lea ecx, [ebp - 0x80]
push 0x5d0f3c
call fcn.0040625b
cmp dword [ebp - 0x6c], 8
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x80]
cmp dword [ebp - 0x34], 8
cmovae ecx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x70]
jne 0x47a07a
push edx
push eax
push ecx
call fcn.00408f44
add esp, 0xc
mov byte [ebp - 0x129], 1
test eax, eax
je 0x47a081
mov byte [ebp - 0x129], 0
lea ecx, [ebp - 0x80]
call fcn.00405f7b
cmp byte [ebp - 0x129], 0
je 0x47a0af
lea eax, [ebp - 0x2c]
push eax
call fcn.00470ea0
mov ecx, dword [ebp - 0x13c]
add esp, 4
mov dword [ecx + 0xa0], eax
jmp 0x47a274
push str.fade
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a0e5
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.005a7f36
mov ecx, dword [ebp - 0x13c]
add esp, 4
mov byte [ecx + 0xa4], al
jmp 0x47a274
push str.hole
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a12c
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
mov dword [edi + 0x18], 0
call fcn.0047f010
mov ecx, dword [ebp - 0x13c]
add esp, 0x1c
mov byte [ecx + 0xa5], al
jmp 0x47a274
push str.xtiled
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a173
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
mov dword [edi + 0x18], 0
call fcn.0047f010
mov ecx, dword [ebp - 0x13c]
add esp, 0x1c
mov byte [ecx + 0xa6], al
jmp 0x47a274
push str.ytiled
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a1ba
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x130], edi
push eax
call fcn.0040b9e1
mov dword [edi + 0x18], 0
call fcn.0047f010
mov ecx, dword [ebp - 0x13c]
add esp, 0x1c
mov byte [ecx + 0xa7], al
jmp 0x47a274
push 0x5d0f80
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a1f2
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0040b9fb
call fcn.0047f010
mov ecx, dword [ebp - 0x13c]
add esp, 0x1c
mov byte [ecx + 0xa8], al
jmp 0x47a274
push str.iconsize
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a24e
push 2
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.00470fa0
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
add esp, 0xc
mov edi, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x130], eax
call fcn.00471ad0
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x130]
mov dword [ecx + 0xac], edi
mov dword [ecx + 0xb0], eax
jmp 0x47a274
push str.iconalign
lea ecx, [ebp - 0x48]
call fcn.004720e0
test al, al
je 0x47a274
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ecx + 0xb4]
call fcn.0040b956
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.00405f7b
lea ecx, [ebp - 0x48]
call fcn.00405f7b
lea ecx, [ebp - 0x14c]
call fcn.00472300
mov eax, dword [ebp - 0x14c]
cmp eax, esi
jne 0x479c00
mov edi, dword [ebp - 0x144]
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
cmovae eax, dword [ebp - 0x9c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x9c]
call fcn.00406256
cmp dword [ebp - 0x114], 8
lea eax, [ebp - 0x128]
mov dword [ebp - 0x118], 0
cmovae eax, dword [ebp - 0x128]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x128]
call fcn.00406256
lea ecx, [ebp - 0x164]
mov dword [ebp - 4], 0xffffffff
call fcn.004719d0
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
cmp eax, 2
jb 0x479810
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.0053a175
mov esp, ebp
pop ebp
ret 0x14
call fcn.0059164f
int3