Function at 0x4042b0
Capabilities:
Check if file exists
Create directory
Create thread
Get file attributes
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4417b7
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x450398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x194]
call fcn.00402300
mov eax, esi
push eax
lea ecx, [ebp - 0x1a0]
push ecx
mov ebx, 0x44639c
mov dword [ebp - 4], 0
call fcn.004141a0
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x405e96
xor eax, eax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x168]
push eax
mov byte [ebp - 4], 3
call fcn.00421b90
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x168]
call fcn.00421c40
test al, al
je 0x404fc5
mov esi, dword [ebp - 0x150]
test esi, esi
je 0x404fc5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x40439f
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x404386
jmp 0x404fc5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov esi, eax
mov dword [ebp - 0x1a4], esi
test esi, esi
je 0x404fc5
mov ecx, str.files
call fcn.004019b0
test eax, eax
je 0x40487a
mov ecx, str.file
call fcn.004019b0
mov dword [ebp - 0x174], eax
test eax, eax
je 0x40487a
lea ecx, [ebp - 0x180]
push ecx
call fcn.004028c0
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x174]
add edi, 0x44
mov esi, 0x4463e0
call fcn.004228f0
test eax, eax
je 0x404419
cmp dword [eax + 0x44], 0x10
jb 0x404414
mov ebx, dword [eax + 0x30]
jmp 0x40441b
lea ebx, [eax + 0x30]
jmp 0x40441b
xor ebx, ebx
mov esi, 0x4463e4
call fcn.004228f0
test eax, eax
je 0x404436
cmp dword [eax + 0x44], 0x10
lea esi, [eax + 0x30]
jb 0x404438
mov esi, dword [esi]
jmp 0x404438
xor esi, esi
test ebx, ebx
je 0x404845
test esi, esi
je 0x404845
mov edi, 0xf
mov eax, ebx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404460
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x64]
call fcn.00416f20
mov byte [ebp - 4], 6
mov eax, esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404490
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00416f20
mov byte [ebp - 4], 7
push 1
xor esi, esi
push 0x4463e8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
call fcn.00416f20
mov byte [ebp - 4], 8
push 1
push 0x4463ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.00416f20
lea edx, [ebp - 0x48]
push edx
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.004025a0
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x18], edi
jb 0x40450b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00426798
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x404530
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00426798
add esp, 4
push 1
push 0x4463e8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00416f20
mov byte [ebp - 4], 0xa
push 1
push 0x4463ec
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00416f20
lea edx, [ebp - 0x48]
push edx
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.004025a0
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x404590
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00426798
add esp, 4
xor eax, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
cmp dword [ebp - 0x34], esi
jb 0x4045b4
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00426798
add esp, 4
lea edx, [ebp - 0x64]
push edx
lea ebx, [ebp - 0x9c]
call fcn.004024e0
add esp, 4
lea eax, [ebp - 0x80]
push eax
lea ebx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.004024e0
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x88], 8
mov ecx, dword [ebp - 0x9c]
jae 0x4045f5
lea ecx, [ebp - 0x9c]
lea edx, [ebp - 0x190]
push edx
call fcn.00413b80
push eax
lea eax, [ebp - 0x18c]
push eax
lea ebx, [ebp - 0x194]
mov byte [ebp - 4], 0xe
call fcn.004140f0
add esp, 8
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0xf
call fcn.00413c20
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x18c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404650
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x190]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0xa4], 8
mov ecx, dword [ebp - 0xb8]
jae 0x40468b
lea ecx, [ebp - 0xb8]
lea edx, [ebp - 0x198]
push edx
call fcn.00413b80
mov esi, eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x170]
push ecx
mov ebx, 0x4462a4
mov byte [ebp - 4], 0x10
call fcn.004141a0
push eax
lea edx, [ebp - 0x16c]
push edx
mov ebx, 0x4463f0
mov byte [ebp - 4], 0x11
call fcn.004141a0
lea ecx, [ebp - 0x188]
push esi
push ecx
mov ebx, eax
mov byte [ebp - 4], 0x12
call fcn.004140f0
add esp, 0x18
lea edi, [ebp - 0x17c]
mov byte [ebp - 4], 0x13
call fcn.00413c20
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x188]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x16c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40473c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x170]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404788
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, 0x4498c4
lea edi, [ebp - 0x178]
call fcn.00413c90
lea ecx, [ebp - 0x180]
lea ebx, [ebp - 0x1c4]
call fcn.00415650
mov edi, 8
cmp dword [ebp - 0xa4], edi
jb 0x4047c5
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00426798
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x88], edi
jb 0x4047f8
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00426798
add esp, 4
mov dword [ebp - 0x88], esi
xor ecx, ecx
mov esi, 0x10
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x6c], esi
jb 0x404823
mov edx, dword [ebp - 0x80]
push edx
call fcn.00426798
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x50], esi
jb 0x404845
mov eax, dword [ebp - 0x64]
push eax
call fcn.00426798
add esp, 4
mov eax, dword [ebp - 0x174]
mov ecx, str.file
call fcn.00421580
mov edi, eax
lea esi, [ebp - 0x180]
mov dword [ebp - 0x174], edi
mov byte [ebp - 4], 4
call fcn.00409d90
test edi, edi
jne 0x4043e2
mov esi, dword [ebp - 0x1a4]
mov ecx, str.folders
mov eax, esi
call fcn.004019b0
test eax, eax
je 0x404fc5
mov ecx, str.folder
call fcn.004019b0
mov dword [ebp - 0x170], eax
test eax, eax
je 0x404fc5
lea ecx, [ebp - 0x180]
push ecx
call fcn.004028c0
mov byte [ebp - 4], 0x14
mov edi, dword [ebp - 0x170]
add edi, 0x44
mov esi, 0x4463e0
call fcn.004228f0
test eax, eax
je 0x4048e8
add eax, 0x30
cmp dword [eax + 0x14], 0x10
jb 0x4048e0
mov edx, dword [eax]
mov dword [ebp - 0x16c], edx
jmp 0x4048f2
mov dword [ebp - 0x16c], eax
jmp 0x4048f2
mov dword [ebp - 0x16c], 0
mov esi, 0x4463e4
call fcn.004228f0
test eax, eax
je 0x404910
cmp dword [eax + 0x44], 0x10
jb 0x40490b
mov ebx, dword [eax + 0x30]
jmp 0x404912
lea ebx, [eax + 0x30]
jmp 0x404912
xor ebx, ebx
mov esi, str.filter
call fcn.004228f0
test eax, eax
je 0x404930
cmp dword [eax + 0x44], 0x10
jb 0x40492b
mov esi, dword [eax + 0x30]
jmp 0x404932
lea esi, [eax + 0x30]
jmp 0x404932
xor esi, esi
cmp dword [ebp - 0x16c], 0
je 0x404f93
test ebx, ebx
je 0x404f93
mov eax, dword [ebp - 0x16c]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00414400
push ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x15
call fcn.00414400
push 0x4463e8
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x16
call fcn.00414400
push 0x4463ec
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.00414400
lea ecx, [ebp - 0xd4]
push ecx
lea ebx, [ebp - 0x48]
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x18
call fcn.004025a0
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x4049c0
mov edx, dword [ebp - 0x48]
push edx
call fcn.00426798
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
cmp dword [ebp - 0xc0], edi
jb 0x4049ea
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00426798
add esp, 4
push 0x4463e8
lea ecx, [ebp - 0xd4]
call fcn.00414400
push 0x4463ec
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x19
call fcn.00414400
lea ecx, [ebp - 0xd4]
push ecx
lea ebx, [ebp - 0x48]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0x1a
call fcn.004025a0
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x404a3d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00426798
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x48], al
cmp dword [ebp - 0xc0], edi
jb 0x404a67
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00426798
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
lea ebx, [ebp - 0x2c]
call fcn.004024e0
add esp, 4
lea edx, [ebp - 0xb8]
push edx
lea ebx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.004024e0
add esp, 4
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x404a9f
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x198]
push eax
call fcn.00413b80
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea ebx, [ebp - 0x194]
mov byte [ebp - 4], 0x1d
call fcn.004140f0
add esp, 8
lea edi, [ebp - 0x180]
mov byte [ebp - 4], 0x1e
call fcn.00413c20
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x1a4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x6c], 8
mov ecx, dword [ebp - 0x80]
jae 0x404b2c
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x184]
push edx
call fcn.00413b80
mov edi, eax
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x19c]
push ecx
mov ebx, 0x4462a4
mov byte [ebp - 4], 0x1f
call fcn.004141a0
push eax
lea edx, [ebp - 0x190]
push edx
mov ebx, 0x4463f0
mov byte [ebp - 4], 0x20
call fcn.004141a0
lea ecx, [ebp - 0x18c]
push edi
push ecx
mov ebx, eax
mov byte [ebp - 4], 0x21
call fcn.004140f0
add esp, 0x18
lea edi, [ebp - 0x17c]
mov byte [ebp - 4], 0x22
call fcn.00413c20
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x18c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404bb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x190]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404bdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x19c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x184]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x404c82
push esi
lea ecx, [ebp - 0xd4]
call fcn.00414400
lea ecx, [ebp - 0xd4]
push ecx
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 0x23
call fcn.004024e0
add esp, 4
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x34], 8
mov edx, dword [ebp - 0x48]
jae 0x404c5e
mov edx, ebx
lea edi, [ebp - 0x178]
call fcn.00413c90
lea esi, [ebp - 0x48]
call fcn.00414a40
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1c
call fcn.00414440
jmp 0x404c92
mov edx, 0x4498c4
lea edi, [ebp - 0x178]
call fcn.00413c90
mov eax, dword [ebp - 0x180]
xor edi, edi
cmp dword [eax - 0xc], edi
jge 0x404ca4
or esi, 0xffffffff
jmp 0x404cc5
push str._uid_
push eax
call fcn.004282c3
add esp, 8
cmp eax, edi
jne 0x404cbb
or esi, 0xffffffff
jmp 0x404cc5
sub eax, dword [ebp - 0x180]
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x17c]
cmp dword [eax - 0xc], edi
jge 0x404cd5
or eax, 0xffffffff
jmp 0x404cf4
push str._uid_
push eax
call fcn.004282c3
add esp, 8
cmp eax, edi
jne 0x404cec
or eax, 0xffffffff
jmp 0x404cf4
sub eax, dword [ebp - 0x17c]
sar eax, 1
cmp esi, 0xffffffff
jne 0x404d17
cmp eax, esi
jne 0x405042
lea ecx, [ebp - 0x180]
lea ebx, [ebp - 0x1b4]
call fcn.00415650
jmp 0x404f00
cmp esi, edi
jle 0x405042
cmp eax, edi
jle 0x405042
lea eax, [esi - 1]
lea ecx, [ebp - 0x188]
lea edx, [ebp - 0x180]
call fcn.00414080
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
push 1
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x188]
push edi
push eax
call fcn.00403170
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
call fcn.004028c0
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
sub edx, eax
xor esi, esi
sar edx, 2
mov dword [ebp - 0x174], esi
test edx, edx
je 0x404ec7
mov ecx, dword [eax + esi*4]
cmp dword [ecx - 0xc], 0x10
lea eax, [eax + esi*4]
jne 0x404ea7
call fcn.004034d0
test eax, eax
je 0x404ea7
lea eax, [ebp - 0x180]
lea edi, [ebp - 0x54]
call fcn.00413c20
lea eax, [ebp - 0x17c]
lea edi, [ebp - 0x50]
call fcn.00413c20
lea eax, [ebp - 0x178]
lea edi, [ebp - 0x4c]
call fcn.00413c20
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + esi*4]
push eax
push str._uid_
lea eax, [ebp - 0x54]
push eax
call fcn.00413d40
mov ecx, dword [ebp - 0x90]
mov esi, dword [ecx + esi*4]
push esi
push str._uid_
lea edx, [ebp - 0x50]
push edx
call fcn.00413d40
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
je 0x404e93
mov ecx, str.CustomBlockV2
mov esi, edi
call fcn.00414050
cmp eax, 0xffffffff
jne 0x404e36
mov ecx, edi
push ecx
mov edx, str._CustomBlockV2
call fcn.004143c0
mov ecx, str.CustomBlockDynamicV2
lea esi, [ebp - 0x4c]
call fcn.00414050
cmp eax, 0xffffffff
jne 0x404e55
mov edx, esi
push edx
mov edx, str._CustomBlockDynamicV2
call fcn.004143c0
mov ecx, str.ConditionSelStock
lea esi, [ebp - 0x4c]
call fcn.00414050
cmp eax, 0xffffffff
jne 0x404e74
mov eax, esi
push eax
mov edx, str._ConditionSelStock
call fcn.004143c0
mov ecx, str.THEME.ini
lea esi, [ebp - 0x4c]
call fcn.00414050
cmp eax, 0xffffffff
jne 0x404e93
mov ecx, esi
push ecx
mov edx, str._THEME.ini
call fcn.004143c0
lea ecx, [ebp - 0x54]
lea ebx, [ebp - 0x1b4]
call fcn.00415650
mov esi, dword [ebp - 0x174]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
sub edx, eax
inc esi
sar edx, 2
mov dword [ebp - 0x174], esi
cmp esi, edx
jb 0x404d98
lea esi, [ebp - 0x54]
call fcn.00409d90
lea ebx, [ebp - 0x90]
call fcn.00416700
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x188]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x404f16
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00426798
add esp, 4
xor ebx, ebx
xor edx, edx
mov esi, 7
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], edi
jb 0x404f3a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00426798
add esp, 4
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov esi, 0x10
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0xa4], esi
jb 0x404f62
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00426798
add esp, 4
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0xdc], esi
jb 0x404f93
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00426798
add esp, 4
mov eax, dword [ebp - 0x170]
mov ecx, str.folder
call fcn.00421580
mov dword [ebp - 0x170], eax
lea esi, [ebp - 0x180]
mov byte [ebp - 4], 4
call fcn.00409d90
cmp dword [ebp - 0x170], 0
jne 0x4048a6
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1c4]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4050bf
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esi, 4
mov dword [ebp - 0x174], eax
mov eax, dword [esi - 4]
push eax
call edi
test eax, eax
je 0x4050b0
lea ecx, [esi - 4]
lea ebx, [ebp - 0x90]
call fcn.00415650
mov eax, dword [esi]
push 0x5c
push eax
call fcn.00428376
add esp, 8
test eax, eax
jne 0x40506d
or eax, 0xffffffff
jmp 0x405071
lea esi, [ebp - 0x80]
call fcn.00414a40
lea esi, [ebp - 0x2c]
call fcn.00414a40
lea ecx, [ebp - 0xb8]
call fcn.00414440
lea ecx, [ebp - 0xf0]
call fcn.00414440
jmp 0x404fa9
sub eax, dword [esi]
sar eax, 1
lea ecx, [ebp - 0x184]
mov edx, esi
call fcn.00414080
mov ebx, dword [ebp - 0x184]
push ebx
call edi
test eax, eax
jne 0x405094
push eax
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4050b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xc
dec dword [ebp - 0x174]
jne 0x405010
mov ecx, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x19c], eax
je 0x405743
mov dword [ebp - 0x16c], esi
lea esp, [esp]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ecx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405723
mov ecx, dword [ebp - 0x16c]
mov esi, dword [ecx + 8]
xor edi, edi
cmp dword [esi - 0xc], edi
jne 0x405137
lea ebx, [ebp - 0x90]
call fcn.00415650
jmp 0x405723
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], edi
lea ecx, [esi - 4]
jl 0x40515c
cmp eax, dword [esi - 0x10]
jne 0x40515c
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x405194
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
cmp ebx, edi
je 0x405782
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.00426d31
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x174], ebx
push 0x4462a4
push 0x446394
lea ecx, [ebp - 0x174]
push ecx
mov byte [ebp - 4], 0x29
call fcn.00413d40
mov eax, dword [ebp - 0x174]
xor edx, edx
mov word [ebp - 0xb8], dx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4051e0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x174]
lea esi, [ebp - 0xb8]
call fcn.00417550
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 0x2b
xor eax, eax
mov word [ebp - 0x48], ax
push 1
mov eax, 0x446398
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
call fcn.00417550
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x58]
mov ecx, esi
mov byte [ebp - 4], 0x2c
call fcn.00403520
add esp, 4
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x34], 8
jb 0x40525b
mov edx, dword [ebp - 0x48]
push edx
call fcn.00426798
add esp, 4
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x58]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jle 0x40567e
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x190], eax
jmp 0x405290
mov ebx, dword [ebp - 0x16c]
mov eax, dword [ebx]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4052b1
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00417550
push 1
mov eax, 0x4462a4
mov ecx, esi
mov byte [ebp - 4], 0x2d
call fcn.00417420
mov eax, dword [ebp - 0x188]
push 0
push eax
or eax, 0xffffffff
call fcn.00417330
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4052fb
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40531c
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x18], edi
jb 0x40566b
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x405663
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
lea esi, [ecx + 2]
jmp 0x405340
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405340
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x80]
call fcn.00417550
push 1
mov eax, 0x4462a4
mov ecx, esi
mov byte [ebp - 4], 0x2e
call fcn.00417420
mov eax, dword [ebp - 0x188]
push 0
push eax
or eax, 0xffffffff
call fcn.00417330
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x405386
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40549e
test al, 0x10
jne 0x40549e
mov esi, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], edi
jae 0x4053a9
lea esi, [ebp - 0x80]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x170], ebx
mov byte [ebp - 4], 0x2f
test esi, esi
je 0x4053ee
test esi, 0xffff0000
jne 0x4053f2
movzx edi, si
call fcn.004196c0
test eax, eax
je 0x40541b
push eax
mov eax, edi
lea edi, [ebp - 0x170]
call fcn.00417fa0
jmp 0x405415
xor eax, eax
jmp 0x405406
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4053f7
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x170]
push ecx
mov ebx, eax
call fcn.00416d10
mov ebx, dword [ebp - 0x170]
push 0x5c
push ebx
mov byte [ebp - 4], 0x30
call fcn.00428376
add esp, 8
test eax, eax
jne 0x405433
or eax, 0xffffffff
jmp 0x405437
sub eax, ebx
sar eax, 1
lea ecx, [ebp - 0x184]
lea edx, [ebp - 0x170]
call fcn.00414080
mov esi, dword [ebp - 0x184]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405462
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40547e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x2e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40549e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 0x31
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0x32
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x178], eax
push 0x4498c4
lea ecx, [ebp - 0x180]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0x33
call fcn.00416d10
push 0x4498c4
lea edx, [ebp - 0x17c]
push edx
call fcn.00416d10
push 0x4498c4
lea eax, [ebp - 0x178]
push eax
call fcn.00416d10
mov byte [ebp - 4], 0x34
cmp dword [ebp - 0x18], 8
jb 0x40553f
mov eax, dword [ebp - 0x2c]
mov esi, eax
test eax, eax
jne 0x405542
jmp 0x405556
lea esi, [ebp - 0x2c]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405547
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp - 0x180]
push ecx
mov ebx, eax
call fcn.00416d10
cmp dword [ebp - 0x6c], 8
jb 0x405576
mov edx, dword [ebp - 0x80]
test edx, edx
jne 0x405579
xor eax, eax
jmp 0x40558f
lea edx, [ebp - 0x80]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405580
sub eax, esi
sar eax, 1
push edx
lea edx, [ebp - 0x17c]
push edx
mov ebx, eax
call fcn.00416d10
push 0x4498c4
lea eax, [ebp - 0x178]
push eax
xor ebx, ebx
call fcn.00416d10
lea ecx, [ebp - 0x180]
lea ebx, [ebp - 0x90]
call fcn.00415650
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x178]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x17c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40560a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40562c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x405642
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00426798
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jb 0x40566b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00426798
add esp, 4
add dword [ebp - 0x188], 0x1c
dec dword [ebp - 0x190]
jne 0x405290
mov esi, dword [ebp - 0x58]
xor ebx, ebx
cmp esi, ebx
je 0x4056c3
mov edi, dword [ebp - 0x54]
cmp esi, edi
je 0x4056b7
mov edi, edi
cmp dword [esi + 0x14], 8
jb 0x4056a1
mov eax, dword [esi]
push eax
call fcn.00426798
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
add esi, 0x1c
cmp esi, edi
jne 0x405690
mov edx, dword [ebp - 0x58]
push edx
call fcn.00426798
add esp, 4
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
jb 0x4056e4
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00426798
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x174]
xor ecx, ecx
add eax, 0xfffffff0
mov word [ebp - 0xb8], cx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18c]
add dword [ebp - 0x16c], 0xc
inc eax
mov dword [ebp - 0x18c], eax
cmp eax, dword [ebp - 0x19c]
jb 0x405100
mov ecx, dword [ebp - 0x8c]
sub ecx, dword [ebp - 0x90]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov esi, edx
shr esi, 0x1f
add esi, edx
test esi, esi
jle 0x405db4
push esi
push 0x452bc4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp esi, 0x1e
jge 0x405787
mov edi, esi
mov dword [ebp - 0x16c], esi
jmp 0x405792
call fcn.004180a0
mov edi, 0x1e
mov dword [ebp - 0x16c], edi
test byte [0x453d58], 1
jne 0x4057c1
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x35
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x1c]
push 2
push 0
mov ecx, 0x452c40
call eax
test al, al
je 0x4058a8
test byte [0x453d58], 1
jne 0x40580c
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x36
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x6c]
push 2
push 0
mov ecx, 0x452c40
call eax
mov ecx, dword [ebp - 0x16c]
push ecx
push esi
mov edi, eax
mov eax, dword [edi + 0x20]
push str.have__d_jobs__create__d_threads_to_deal
mov edx, 0xa000
sub edx, eax
push 0xffffffffffffffff
push edx
lea eax, [edi + eax + 0x24]
push eax
call fcn.00427aed
add esp, 0x18
test eax, eax
jns 0x405855
mov eax, 0xa000
sub eax, dword [edi + 0x20]
add dword [edi + 0x20], eax
test byte [0x453d58], 1
jne 0x405887
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x37
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x20]
push 0x506
push str.ChoiceHelper.cpp
push edi
mov ecx, 0x452c40
call eax
mov edi, dword [ebp - 0x16c]
xor ecx, ecx
mov eax, edi
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00426317
add esp, 4
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 0x38
test eax, eax
je 0x4058f7
push 0x4036c0
push 0x403690
push edi
lea ebx, [eax + 4]
push 0x18
push ebx
mov dword [eax], edi
call fcn.00427c73
jmp 0x4058f9
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov byte [ebp - 4], 0x28
test ebx, ebx
je 0x405db4
test edi, edi
jle 0x405951
mov edi, ebx
mov ebx, dword [ebp - 0x16c]
add edi, 0xc
cmp byte [edi], 0
jne 0x40594b
lea ecx, [edi + 4]
push ecx
push 0
lea edx, [edi - 0xc]
push edx
push 0x420d30
push 0
push 0
call fcn.00427bd3
add esp, 0x18
mov dword [edi - 4], eax
test eax, eax
je 0x40594b
push eax
mov byte [edi], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
add edi, 0x18
dec ebx
jne 0x40591a
test esi, esi
jle 0x405997
mov edi, dword [ebp - 0x90]
mov ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x452bc8]
push 0xffffffffffffffff
push eax
call esi
mov ecx, 0x452bd0
call fcn.004169e0
mov ecx, dword [0x452bcc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x452bc8]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
add edi, 0xc
dec ebx
jne 0x405963
test byte [0x453d58], 1
jne 0x4059c6
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x39
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x1c]
push 2
push 0
mov ecx, 0x452c40
call edx
test al, al
je 0x405aa8
test byte [0x453d58], 1
jne 0x405a10
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3a
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x6c]
push 2
push 0
mov ecx, 0x452c40
call edx
mov esi, eax
mov ecx, dword [esi + 0x20]
mov eax, 0xa000
sub eax, ecx
lea edi, [esi + ecx + 0x24]
add eax, edi
mov ebx, 0x12
sub eax, edi
mov ecx, edi
cmp eax, ebx
jae 0x405a48
mov ebx, eax
test eax, eax
je 0x405a5a
push ebx
push str.message_loop_begin
push edi
call fcn.0042aac0
add esp, 0xc
lea ecx, [ebx + edi]
sub ecx, edi
add dword [esi + 0x20], ecx
test byte [0x453d58], 1
jne 0x405a8e
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3b
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x20]
push 0x515
push str.ChoiceHelper.cpp
push esi
mov ecx, 0x452c40
call edx
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0xd4]
push eax
call esi
test eax, eax
je 0x405af5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea ecx, [ecx]
lea ecx, [ebp - 0xd4]
push ecx
call edi
lea edx, [ebp - 0xd4]
push edx
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0xd4]
push eax
call esi
test eax, eax
jne 0x405ad0
test byte [0x453d58], 1
jne 0x405b24
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3c
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x1c]
push 2
push 0
mov ecx, 0x452c40
call eax
test al, al
je 0x405c09
test byte [0x453d58], 1
jne 0x405b6f
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3d
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x6c]
push 2
push 0
mov ecx, 0x452c40
call eax
mov esi, eax
mov ecx, dword [esi + 0x20]
mov eax, 0xa000
sub eax, ecx
lea edi, [esi + ecx + 0x24]
add eax, edi
mov ebx, 0x27
sub eax, edi
mov ecx, edi
cmp eax, ebx
jae 0x405ba8
mov ebx, eax
test eax, eax
je 0x405bba
push ebx
push str.message_loop_end__wait_quit_all_threads
push edi
call fcn.0042aac0
add esp, 0xc
lea ecx, [ebx + edi]
sub ecx, edi
add dword [esi + 0x20], ecx
test byte [0x453d58], 1
jne 0x405bee
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3e
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x20]
push 0x51c
push str.ChoiceHelper.cpp
push esi
mov ecx, 0x452c40
call eax
mov ecx, dword [0x452bc8]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
mov byte [0x452bb8], 1
call esi
mov edx, dword [0x452bc8]
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edx
mov byte [0x452be8], 0
call edi
mov eax, dword [0x452bc8]
push 0xffffffffffffffff
push eax
call esi
mov ecx, dword [0x452bcc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x452bc8]
push edx
call edi
mov ebx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x170]
test ebx, ebx
jle 0x405c7f
mov edi, esi
lea esp, [esp]
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
add edi, 0x18
dec ebx
jne 0x405c70
test byte [0x453d58], 1
jne 0x405cae
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x3f
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x1c]
push 2
push 0
mov ecx, 0x452c40
call edx
test al, al
je 0x405d96
test byte [0x453d58], 1
jne 0x405cf8
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x40
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x6c]
push 2
push 0
mov ecx, 0x452c40
call edx
mov esi, eax
mov ecx, dword [esi + 0x20]
mov eax, 0xa000
sub eax, ecx
lea edi, [esi + ecx + 0x24]
add eax, edi
mov ebx, 0xf
sub eax, edi
mov ecx, edi
cmp eax, ebx
jae 0x405d30
mov ebx, eax
test eax, eax
je 0x405d42
push ebx
push str.all_threads_end
push edi
call fcn.0042aac0
add esp, 0xc
lea ecx, [ebx + edi]
sub ecx, edi
add dword [esi + 0x20], ecx
test byte [0x453d58], 1
jne 0x405d76
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x41
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 0x28
mov eax, dword [0x452c40]
mov edx, dword [eax + 0x20]
push 0x524
push str.ChoiceHelper.cpp
push esi
mov ecx, 0x452c40
call edx
mov esi, dword [ebp - 0x170]
cmp dword [esi - 4], 0
lea eax, [esi - 4]
je 0x405dab
mov eax, dword [esi]
mov edx, dword [eax]
push 3
mov ecx, esi
call edx
jmp 0x405db4
push eax
call fcn.00426f68
add esp, 4
cmp dword [ebp - 0x90], 0
je 0x405de3
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
push eax
mov eax, esi
call fcn.00419030
add esp, 4
push esi
call fcn.00426798
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x108], 0x10
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
jb 0x405e09
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.00426798
add esp, 4
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x11c], 0
call fcn.00421360
cmp dword [ebp - 0x1b4], 0
je 0x405e5e
mov edx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1b0]
push edx
mov eax, esi
call fcn.00419030
add esp, 4
push esi
call fcn.00426798
add esp, 4
cmp dword [ebp - 0x1c4], 0
je 0x405faa
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x1c4]
mov edi, dword [ebp - 0x1c0]
push eax
mov eax, esi
call fcn.00419030
add esp, 4
push esi
call fcn.00426798
add esp, 4
jmp 0x405faa
test byte [0x453d58], 1
jne 0x405ec5
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x42
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x1c]
push 4
push 0
mov ecx, 0x452c40
call eax
test al, al
je 0x405faa
test byte [0x453d58], 1
jne 0x405f10
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x43
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x6c]
push 4
push 0
mov ecx, 0x452c40
call eax
mov edi, eax
mov ecx, dword [edi + 0x20]
mov eax, 0xa000
sub eax, ecx
lea esi, [edi + ecx + 0x24]
add eax, esi
mov ebx, 0x1e
sub eax, esi
mov ecx, esi
cmp eax, ebx
jae 0x405f49
mov ebx, eax
test eax, eax
je 0x405f5b
push ebx
push str.MoveFileInfo.xml_is_not_exist.
push esi
call fcn.0042aac0
add esp, 0xc
lea ecx, [ebx + esi]
sub ecx, esi
add dword [edi + 0x20], ecx
test byte [0x453d58], 1
jne 0x405f8f
or dword [0x453d58], 1
mov ebx, 0x452c30
mov byte [ebp - 4], 0x44
call fcn.0041b190
push 0x4422a0
call fcn.00427096
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [0x452c40]
mov eax, dword [edx + 0x20]
push 0x52c
push str.ChoiceHelper.cpp
push edi
mov ecx, 0x452c40
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x194]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ff9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004267a3
mov esp, ebp
pop ebp
ret