Function at 0x512e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525de4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp + 0xc], 0
je 0x512e5a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x512e64
mov eax, 1
jmp 0x5140cc
mov word [ebp - 0x234], 0
push 0x206
push 0
lea ecx, [ebp - 0x232]
push ecx
call fcn.0049e730
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x512eda
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5c
lea ecx, [ebp - 0x234]
push ecx
call fcn.004080a0
add esp, 8
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0
je 0x512eda
mov edx, dword [ebp - 0x2a8]
mov word [edx], 0
mov eax, dword [ebp - 0x2a8]
add eax, 2
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x234]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x18], 0
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x512f0c
cmp dword [ebp - 0x18], 0
jne 0x512f1c
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xf
xor eax, eax
jmp 0x5140cc
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x250]
call fcn.0040bdb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00498d80
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x52b96c
lea ecx, [ebp - 0x268]
call fcn.00477000
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x512fa7
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xe
mov dword [ebp - 0x2b4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2b4]
jmp 0x5140cc
push 3
push 0
lea ecx, [ebp - 0x264]
call fcn.00477200
mov byte [ebp - 4], 2
push 3
push 0
lea ecx, [ebp - 0x2a4]
call fcn.00477200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00498d80
mov byte [ebp - 4], 4
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x290], 1
lea ecx, [ebp - 0x268]
call fcn.00477060
mov dword [ebp - 0x33c], eax
lea ecx, [ebp - 0x284]
call fcn.0045a3c0
push eax
mov edx, dword [ebp - 0x290]
push edx
lea eax, [ebp - 0x278]
push eax
push 8
lea ecx, [ebp - 0x2a4]
push ecx
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x5130ba
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2b8]
jmp 0x5140cc
lea ecx, [ebp - 0x24]
call fcn.00498d80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x284]
call fcn.00477060
mov dword [ebp - 0x340], eax
lea ecx, [ebp - 0x24]
call fcn.0045a3c0
push eax
push 0x52b97c
mov edx, dword [ebp - 0x340]
push edx
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51317f
mov eax, dword [ebp + 0x14]
mov dword [eax], 2
mov dword [ebp - 0x2bc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2bc]
jmp 0x5140cc
lea ecx, [ebp - 0x28c]
call fcn.00498d80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.00477060
mov dword [ebp - 0x344], eax
lea ecx, [ebp - 0x28c]
call fcn.0045a3c0
push eax
push 0x52b98c
mov ecx, dword [ebp - 0x344]
push ecx
mov edx, dword [ebp - 0x344]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51325a
mov edx, dword [ebp + 0x14]
mov dword [edx], 3
mov dword [ebp - 0x2c0], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2c0]
jmp 0x5140cc
lea ecx, [ebp - 0x280]
call fcn.00498d80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28c]
call fcn.00477060
mov dword [ebp - 0x348], eax
lea ecx, [ebp - 0x280]
call fcn.0045a3c0
push eax
push 0x52b91c
push 0x52b8fc
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51334d
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 4
mov dword [ebp - 0x2c4], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2c4]
jmp 0x5140cc
lea ecx, [ebp - 0x14]
call fcn.00498d80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x280]
call fcn.00477060
mov dword [ebp - 0x34c], eax
lea ecx, [ebp - 0x14]
call fcn.0045a3c0
push eax
mov edx, dword [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
call edx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51343c
mov eax, dword [ebp + 0x14]
mov dword [eax], 5
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2c8]
jmp 0x5140cc
lea ecx, [ebp - 0x284]
call fcn.004771a0
lea ecx, [ebp - 0x14]
call fcn.00477060
mov dword [ebp - 0x350], eax
lea ecx, [ebp - 0x284]
call fcn.0045a3c0
push eax
push 0x52b99c
push 0
mov ecx, dword [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x350]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x513531
mov edx, dword [ebp + 0x14]
mov dword [edx], 6
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2cc]
jmp 0x5140cc
lea ecx, [ebp - 0x10]
call fcn.00498d80
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x284]
call fcn.00477060
mov dword [ebp - 0x354], eax
lea ecx, [ebp - 0x10]
call fcn.0045a3c0
push eax
push 0x52b9bc
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x354]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x513630
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 7
mov dword [ebp - 0x2d0], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2d0]
jmp 0x5140cc
lea ecx, [ebp - 0x284]
call fcn.004771a0
lea ecx, [ebp - 0x10]
call fcn.00477060
mov dword [ebp - 0x358], eax
lea ecx, [ebp - 0x284]
call fcn.0045a3c0
push eax
mov edx, dword [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51372a
mov eax, dword [ebp + 0x14]
mov dword [eax], 8
mov dword [ebp - 0x2d4], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2d4]
jmp 0x5140cc
lea ecx, [ebp - 0x27c]
call fcn.00498d80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x284]
call fcn.00477060
mov dword [ebp - 0x35c], eax
lea ecx, [ebp - 0x27c]
call fcn.0045a3c0
push eax
push 0x52b9ac
mov ecx, dword [ebp - 0x35c]
push ecx
mov edx, dword [ebp - 0x35c]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x51383e
mov edx, dword [ebp + 0x14]
mov dword [edx], 9
mov dword [ebp - 0x2d8], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x2d8]
jmp 0x5140cc
lea ecx, [ebp - 0x274]
call fcn.00498d80
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004770e0
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x364]
mov eax, dword [edx]
mov dword [ebp - 0x2ec], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x2e8], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x2e0], ecx
lea ecx, [ebp - 0x27c]
call fcn.00477060
mov dword [ebp - 0x368], eax
lea ecx, [ebp - 0x274]
call fcn.0045a3c0
push eax
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x2ec]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2e8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x2e4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x368]
push edx
mov eax, dword [ebp - 0x368]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
call edx
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2fc]
call fcn.004771e0
cmp dword [ebp - 0x288], 0
jge 0x5139e2
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xa
mov dword [ebp - 0x300], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00476fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x300]
jmp 0x5140cc
lea ecx, [ebp - 0x26c]
call fcn.00498d80
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x274]
call fcn.00477060
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x304]
call fcn.00477090
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x374], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x26c]
call fcn.0045a3c0
push eax
mov ecx, dword [ebp - 0x374]
call fcn.00477060
push eax
mov eax, dword [ebp - 0x36c]
push eax
mov ecx, dword [ebp - 0x36c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x304]
call fcn.0045b130
cmp dword [ebp - 0x288], 0
jl 0x513a87
lea ecx, [ebp - 0x26c]
call fcn.0045d650
movzx ecx, al
test ecx, ecx
je 0x513b62
mov edx, dword [ebp + 0x14]
mov dword [edx], 0xb
mov dword [ebp - 0x308], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26c]
call fcn.00476fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00476fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x308]
jmp 0x5140cc
lea ecx, [ebp - 0x270]
call fcn.00498d80
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x26c]
call fcn.00477060
mov dword [ebp - 0x378], eax
lea ecx, [ebp - 0x270]
call fcn.0045a3c0
push eax
mov eax, dword [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x378]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x513c9f
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xc
mov dword [ebp - 0x30c], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x270]
call fcn.00476fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26c]
call fcn.00476fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00476fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x30c]
jmp 0x5140cc
lea ecx, [ebp - 0x270]
call fcn.00477060
mov dword [ebp - 0x37c], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x37c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 0
jge 0x513dc5
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0xd
mov dword [ebp - 0x310], 0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x270]
call fcn.00476fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26c]
call fcn.00476fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00476fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x310]
jmp 0x5140cc
mov dword [ebp - 0x20], 0
jmp 0x513dd7
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
jge 0x513fc7
lea ecx, [ebp - 0x2ac]
call fcn.00498d80
mov byte [ebp - 4], 0x10
push 3
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x334]
call fcn.00477200
mov dword [ebp - 0x380], eax
mov edx, dword [ebp - 0x380]
mov dword [ebp - 0x384], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x384]
mov ecx, dword [eax]
mov dword [ebp - 0x324], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x320], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x31c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x318], edx
lea ecx, [ebp - 0x270]
call fcn.00477060
mov dword [ebp - 0x388], eax
lea ecx, [ebp - 0x2ac]
call fcn.0045a3c0
push eax
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x324]
mov dword [eax], ecx
mov edx, dword [ebp - 0x320]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x31c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x318]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x388]
push eax
mov ecx, dword [ebp - 0x388]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
xor ecx, ecx
test eax, eax
setl cl
mov byte [ebp - 0x311], cl
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x334]
call fcn.004771e0
movzx edx, byte [ebp - 0x311]
test edx, edx
je 0x513ed6
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.00476fc0
jmp 0x513dce
lea ecx, [ebp - 0x2b0]
call fcn.00467c60
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2ac]
call fcn.00477060
mov dword [ebp - 0x38c], eax
lea ecx, [ebp - 0x2b0]
call fcn.0045a3c0
push eax
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x38c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jge 0x513f3d
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2b0]
call fcn.0045b130
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.00476fc0
jmp 0x513dce
lea ecx, [ebp - 0x2b0]
call fcn.00477060
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.0040be60
add esp, 8
movzx edx, al
test edx, edx
je 0x513fa4
lea ecx, [ebp - 0x2ac]
call fcn.00477060
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x390]
push edx
mov eax, dword [ecx + 0x28]
call eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2b0]
call fcn.0045b130
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.00476fc0
jmp 0x513fc7
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2b0]
call fcn.0045b130
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2ac]
call fcn.00476fc0
jmp 0x513dce
cmp dword [ebp - 0x288], 0
jl 0x513fe4
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x28]
jge 0x513fe4
mov dword [ebp - 0x394], 1
jmp 0x513fee
mov dword [ebp - 0x394], 0
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x338], edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x270]
call fcn.00476fc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x26c]
call fcn.00476fc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.00476fc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x27c]
call fcn.00476fc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10]
call fcn.00476fc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.00476fc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00476fc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28c]
call fcn.00476fc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00476fc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00476fc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a4]
call fcn.004771e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.004771e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00476fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00407750
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret