Function at 0x4101c0
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Encode data using xor
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7036
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x6817dc]
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
mov ebx, ecx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebx + 0x94], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0xc8
lea eax, [ebp - 0x19c]
push 0
push eax
call fcn.005c9930
add esp, 0xc
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x198], 0
call fcn.00410080
lea edi, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x410279
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x410280
sub esi, ecx
lea ecx, [ebp - 0x19c]
call fcn.00410110
lea ecx, [ebp - 0x19c]
call fcn.00410080
mov edx, dword [ebp - 0x19c]
lea eax, [ebp - 0x198]
push eax
sub esp, 0x10
lea ecx, [ebp - 0x1a8]
push esi
push edi
push edx
call fcn.0040fe50
add esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1ac], 0xf0f4ffdb
xor ecx, ecx
mov dword [ebp - 0x1a8], 0xfcd2f6e6
mov dword [ebp - 0x1a4], 0xebf2fa
mov byte [ebp - 0x1a0], 1
nop
lea eax, [ecx - 0x72]
xor byte [ebp + ecx - 0x1ac], al
inc ecx
cmp ecx, 0xb
jb 0x4102f0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 0x1a0], 0
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x19c]
call fcn.00410000
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x410329
mov esi, dword [eax + 0x10]
jmp 0x41032b
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x411500
nop dword [eax]
push str.Name
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00410000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41036d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41036d
mov edx, dword [edx + 8]
test edx, edx
jne 0x410372
mov edx, 0x664884
mov ecx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410390
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004042b0
push 0x6650a8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.00410000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4103d4
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4103d4
mov edx, dword [edx + 8]
test edx, edx
jne 0x4103d9
mov edx, 0x664884
mov ecx, edx
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410400
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.004042b0
push 0x6650ac
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.00410000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410447
mov edx, dword [eax + 0x10]
test edx, edx
je 0x410447
mov edx, dword [edx + 8]
test edx, edx
jne 0x41044c
mov edx, 0x664884
mov ecx, edx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410470
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xbc]
call fcn.004042b0
push 0x6650b0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.00410000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4104b7
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4104b7
mov edx, dword [edx + 8]
test edx, edx
jne 0x4104bc
mov edx, 0x664884
mov ecx, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4104d6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.004042b0
push str.Length
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.00410000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41051d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41051d
mov edx, dword [edx + 8]
test edx, edx
jne 0x410522
mov edx, 0x664884
mov ecx, edx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410542
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.004042b0
mov byte [ebp - 4], 7
lea edx, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x20], 0
cmovae edx, dword [ebp - 0xbc]
mov ecx, edx
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410597
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x25c]
call fcn.004042b0
lea edx, [ebp - 0x25c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x274]
call fcn.004061e0
mov edi, eax
push 0x664eac
lea edx, [ebp + 8]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x200]
call fcn.00412c50
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x14], 8
jb 0x4105ea
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00412c50
add esp, 4
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov edx, dword [ebp - 0x200]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41061a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x260]
cmp edx, 8
jb 0x41065e
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410654
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 7
mov word [ebp - 0x274], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x248]
cmp edx, 0x10
jb 0x4106b9
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4106af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
cmp dword [ebp - 0x60], 0x10
lea edx, [ebp - 0x74]
mov dword [ebp - 0x24c], 0
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x248], 0xf
mov byte [ebp - 0x25c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x44], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410700
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x234]
call fcn.004061e0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
jb 0x410731
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00412c50
add esp, 4
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410784
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41077a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4107d9
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4107cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
cmp dword [ebp - 0x90], 0x10
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x34], 0
cmovae edx, dword [ebp - 0xa4]
mov ecx, edx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410820
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x1b4]
call fcn.004042b0
push 0
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x1b4]
cmp dword [ebp - 0x1a0], 0x10
push 0
cmovae eax, dword [ebp - 0x1b4]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055e74b
lea ecx, [ebx*2 + 2]
mov edi, eax
push ecx
push 0
push edi
mov dword [ebp - 0x1b8], edi
call fcn.005c9930
add esp, 0x10
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x1a0], 0x10
cmovae ecx, dword [ebp - 0x1b4]
push ebx
push edi
push dword [ebp - 0x1a4]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea edi, [ebx + 1]
push edi
call fcn.0055e74b
push edi
mov edi, eax
mov dword [ebp - 0x14], eax
push 0
push edi
call fcn.005c9930
add esp, 0x10
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x1b8]
push edi
push dword [ebp - 0x1c]
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0xf
mov byte [ebp - 0x218], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410930
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x218]
call fcn.004042b0
or dword [ebp - 0x1c4], 1
push edi
call fcn.0055e6e5
push ebx
call fcn.0055e6e5
cmp dword [ebp - 0x204], 0x10
lea eax, [ebp - 0x218]
cmovae eax, dword [ebp - 0x218]
push eax
call fcn.005d7f35
mov edx, dword [ebp - 0x204]
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp edx, 0x10
jb 0x4109b5
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4109ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0xf
mov byte [ebp - 0x218], 0
cmp edx, 0x10
jb 0x410a0e
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x5c]
call fcn.00413190
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, 1
mov eax, dword [ebp - 0x18]
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x410a44
push 0
lea ecx, [ebp - 0x18]
call fcn.0040d390
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x1b8], edi
test eax, eax
jne 0x410e0c
lea ecx, [ebp - 0x1b0]
call fcn.00411cd0
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x1ac], ebx
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410a96
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x234]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x18
cmp dword [edx + 0x14], 8
jb 0x410ac9
mov edx, dword [edx]
test edx, edx
jne 0x410ad1
xor ecx, ecx
jmp 0x410ae5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410ad6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040d210
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410b36
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
cmp edx, 0x10
jb 0x410b8b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410b81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1a8]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x410be4
cmp dword [edi + 0xc], 0
jl 0x410bd5
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x410bd5
mov ecx, ebx
call fcn.00412ea0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410bca
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a8], eax
jmp 0x410be4
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0040d210
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x34], 0
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410c06
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004042b0
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x234]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x1a
cmp dword [edx + 0x14], 8
jb 0x410c39
mov edx, dword [edx]
test edx, edx
jne 0x410c41
xor ecx, ecx
jmp 0x410c55
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c46
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040d210
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410ca6
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
cmp edx, 0x10
jb 0x410cfb
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410cf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1a0]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x410d54
cmp dword [edi + 0xc], 0
jl 0x410d45
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x410d45
mov ecx, ebx
call fcn.00412ea0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410d3a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a0], eax
jmp 0x410d54
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.0040d210
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1b0]
push ecx
cmp dword [ebp - 0x24], eax
je 0x410d70
mov ecx, eax
call fcn.004137c0
add dword [ebp - 0x28], 0x14
jmp 0x410d79
push eax
lea ecx, [ebp - 0x2c]
call fcn.004132d0
mov ebx, dword [ebp - 0x1bc]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x1a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410dac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1a4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410dc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1a8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410de6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411335
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x234]
call fcn.004063f0
mov edx, eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x44]
call fcn.00402a80
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x410e66
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x8c]
mov ebx, dword [ebp - 0x44]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, edi
cmp dword [ebp - 0x30], 0x10
mov edi, eax
mov dword [ebp - 0x224], 0
cmovae edx, ebx
mov dword [ebp - 0x220], 0xf
cmp dword [ebp - 0x7c], eax
mov byte [ebp - 0x234], 0
cmovb edi, dword [ebp - 0x7c]
sub edi, 4
jb 0x410ec1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x410ec6
add edx, 4
add ecx, 4
sub edi, 4
jae 0x410eb0
cmp edi, 0xfffffffc
je 0x410efa
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x410ef3
cmp edi, 0xfffffffd
je 0x410efa
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x410ef3
cmp edi, 0xfffffffe
je 0x410efa
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x410ef3
cmp edi, 0xffffffff
je 0x410efa
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x410efa
sbb eax, eax
or eax, 1
jmp 0x410efc
xor eax, eax
test eax, eax
jne 0x410f1b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jbe 0x410f0f
or eax, 0xffffffff
jmp 0x410f13
sbb eax, eax
neg eax
test eax, eax
je 0x4112f5
lea ecx, [ebp - 0x1b0]
call fcn.00411cd0
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x74]
mov ecx, edx
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0xf
mov byte [ebp - 0x218], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410f60
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x218]
call fcn.004042b0
lea edx, [ebp - 0x218]
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1e0]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 8
jb 0x410f99
mov edx, dword [edx]
test edx, edx
jne 0x410fa1
xor ecx, ecx
jmp 0x410fb5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410fa6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040d210
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x1cc]
cmp edx, 8
jb 0x411006
mov ecx, dword [ebp - 0x1e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410ffc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 7
mov word [ebp - 0x1e0], ax
cmp edx, 0x10
jb 0x411061
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411057
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1a8]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x4110ba
cmp dword [edi + 0xc], 0
jl 0x4110ab
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x4110ab
mov ecx, ebx
call fcn.00412ea0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110a0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a8], eax
jmp 0x4110ba
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0040d210
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1a0]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x411113
cmp dword [edi + 0xc], 0
jl 0x411104
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x411104
mov ecx, ebx
call fcn.00412ea0
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110f9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a0], eax
jmp 0x411113
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.0040d210
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x208], 0
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x204], 0xf
mov byte [ebp - 0x218], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411140
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x218]
call fcn.004042b0
lea edx, [ebp - 0x218]
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1e0]
call fcn.004061e0
mov edx, eax
mov byte [ebp - 4], 0x22
cmp dword [edx + 0x14], 8
jb 0x411179
mov edx, dword [edx]
test edx, edx
jne 0x411181
xor ecx, ecx
jmp 0x411195
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411186
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040d210
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x1cc]
cmp edx, 8
jb 0x4111e6
mov ecx, dword [ebp - 0x1e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 7
mov word [ebp - 0x1e0], ax
cmp edx, 0x10
jb 0x411241
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411237
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1b0]
push ecx
cmp dword [ebp - 0x24], eax
je 0x41125d
mov ecx, eax
call fcn.004137c0
add dword [ebp - 0x28], 0x14
jmp 0x411266
push eax
lea ecx, [ebp - 0x2c]
call fcn.004132d0
mov ecx, dword [ebp - 0x1bc]
or edi, 0xffffffff
mov eax, dword [ebp - 0x1c]
add dword [ecx + 0x94], eax
mov eax, edi
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x1a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411299
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1a4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1a8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4112f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x44]
jmp 0x4112f8
or edi, 0xffffffff
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x41132f
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x411325
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push ecx
push ebx
call fcn.0055e71a
add esp, 8
mov ebx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x41136d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, edi
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41139d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4113bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x4113f9
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4113ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x411436
mov edx, dword [ebp - 0x1b8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41142c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push ecx
push edx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x411474
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41146a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x4114b2
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4114a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x4114ea
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4114e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
test esi, esi
je 0x4114f3
mov esi, dword [esi + 0x18]
jmp 0x4114f5
xor esi, esi
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x410340
push 0
mov dword [ebx + 0x70], 0
call fcn.005d3b64
mov ecx, dword [ebp - 0x28]
add esp, 4
mov esi, dword [ebp - 0x2c]
sub ecx, esi
mov dword [ebx + 0x98], eax
mov eax, 0x66666667
imul ecx
mov dword [ebp - 0x200], 0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4119af
xor ebx, ebx
push dword [ebx + esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411657
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebx + eax + 0x10]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411574
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00405d50
mov byte [ebp - 4], 0x23
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x1e0]
cmovae edx, dword [ebp - 0x5c]
call fcn.004063f0
cmp dword [eax + 0x14], 0x10
jb 0x4115af
mov eax, dword [eax]
push eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
mov edx, dword [ebp - 0x1cc]
test eax, eax
sete al
mov byte [ebp - 0x1bd], al
cmp edx, 0x10
jb 0x411601
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4115f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
mov al, byte [ebp - 0x1bd]
add esp, 8
test al, al
je 0x411619
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x411657
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41164d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
add edx, 0x10
mov dword [ebp - 0x18], 0
push str.temp.pak
add edx, ebx
call fcn.00412c50
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x240], esp
mov eax, dword [ebx + eax + 0xc]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x4116af
cmp ecx, dword [esi]
jne 0x4116af
lock inc dword [eax]
jmp 0x4116de
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x411cbb
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1b8]
call fcn.0040d0a0
add esp, 8
mov ecx, dword [ebp - 0x240]
lea eax, [esi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x23c], esp
mov dword [ebp - 0x244], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x41171d
cmp ecx, dword [esi - 0x10]
jne 0x41171d
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x411747
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x411cbb
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.0040d0a0
add esp, 8
mov ecx, dword [ebp - 0x244]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x238], esp
mov eax, dword [ebx + eax]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x411788
cmp ecx, dword [esi]
jne 0x411788
lock inc dword [eax]
jmp 0x4117b7
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x411cbb
mov ecx, dword [edi]
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [edi]
inc edx
push edx
push dword [ebp - 0x1b8]
call fcn.0040d0a0
add esp, 8
mov ecx, dword [ebp - 0x238]
lea eax, [esi + 0x10]
push ecx
mov dword [ecx], eax
mov ecx, dword [ebp - 0x1bc]
mov byte [ebp - 4], 0x24
call fcn.004121f0
test eax, eax
jg 0x4119bf
mov eax, dword [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebx + eax + 8]
call edi
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebx + eax + 0x10]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 4], 1
jle 0x411807
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0040be90
mov eax, dword [ebp - 0x18]
push fcn.00403c50
push esi
push eax
call fcn.0056081c
add esp, 0xc
push dword [ebp - 0x18]
call edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x27
mov eax, dword [edi + ebx + 0x10]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x411844
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x411858
call fcn.00406a40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x411cb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x1c4], 4
mov ecx, dword [edi + ebx + 0x10]
mov dword [ebp - 0x1b8], ecx
lea esi, [eax + 0x10]
mov eax, dword [edi + ebx + 0xc]
mov dword [ebp - 0x21c], eax
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x20], esi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x14], edx
lea edi, [edx + eax]
test edi, edi
js 0x411ca7
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4118ba
push edi
lea ecx, [ebp - 0x20]
call fcn.0040d390
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push edx
push dword [ebp - 0x1b8]
mov ecx, esi
call fcn.0040d0a0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x23c]
push edx
push dword [ebp - 0x21c]
lea ecx, [esi + eax*2]
call fcn.0040d0a0
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x411ca7
xor eax, eax
mov dword [esi - 0xc], edi
push str..tmp
lea edx, [ebp - 0x20]
mov word [esi + edi*2], ax
lea ecx, [ebp - 0x1c]
call fcn.00412c50
and dword [ebp - 0x1c4], 0xfffffffb
or edi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 0x24
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41192d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2c]
push dword [ebx + eax + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411957
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov eax, 0x66666667
mov esi, dword [ebp - 0x2c]
add ebx, 0x14
mov edi, dword [ebp - 0x200]
sub ecx, esi
imul ecx
inc edi
sar edx, 3
mov eax, edx
mov dword [ebp - 0x200], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x411542
or edi, 0xffffffff
mov ebx, dword [ebp - 0x1bc]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x411ca2
jmp 0x411be2
xor eax, eax
mov dword [ebp - 0x1a8], 0xc14bf246
mov dword [ebp - 0x1a4], 0xd8aac25f
xor ecx, ecx
mov word [ebp - 0x1a0], ax
mov byte [ebp - 0x19e], 1
nop word [eax + eax]
lea eax, [ecx - 0x5e73]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
cmp ecx, 4
jb 0x4119f0
mov byte [ebp - 0x19e], 0
xor ecx, ecx
mov dword [ebp - 0x1ec], 0xef79c409
mov dword [ebp - 0x1e8], 0xc421c764
mov dword [ebp - 0x1e4], 0x2cb6f8a3
mov dword [ebp - 0x1e0], 0x2a625e98
mov dword [ebp - 0x1dc], 0xfa0ff22d
mov dword [ebp - 0x1d8], 0xef92dec9
mov dword [ebp - 0x1d4], 0xc69b2ee7
mov dword [ebp - 0x1d0], 0xd3d5c42c
mov dword [ebp - 0x1cc], 0xc6b2
mov byte [ebp - 0x1c8], 1
nop
lea eax, [ecx - 0x5e72]
xor word [ebp + ecx*2 - 0x1ec], ax
inc ecx
cmp ecx, 0x11
jb 0x411a70
push 1
lea eax, [ebp - 0x1a8]
mov byte [ebp - 0x1c8], 0
push eax
lea eax, [ebp - 0x1ec]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x411bb8
mov dword [ebp - 0x1fc], 0xa1fba1e6
xor ecx, ecx
mov dword [ebp - 0x1f8], 0xa1e1a1e4
mov dword [ebp - 0x1f4], 0xa1a9a1e1
mov dword [ebp - 0x1f0], 0xa1baa1bb
mov dword [ebp - 0x1ec], 0xa1e0a1e1
mov dword [ebp - 0x1e8], 0xa1b7a1ef
mov dword [ebp - 0x1e4], 0xa1eea1e0
mov dword [ebp - 0x1e0], 0xa1fca1f4
mov dword [ebp - 0x1dc], 0xa1e8a1f1
mov dword [ebp - 0x1d8], 0xa1cfa1c1
mov dword [ebp - 0x1d4], 0xa1c0a18c
mov dword [ebp - 0x1d0], 0xa1c8a1cb
mov dword [ebp - 0x1cc], 0xa189
mov byte [ebp - 0x1c8], al
nop word [eax + eax]
lea eax, [ecx - 0x5e72]
xor word [ebp + ecx*2 - 0x1fc], ax
inc ecx
cmp ecx, 0x19
jb 0x411b40
xor eax, eax
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1a8], 0xa1fea1e2
xor ecx, ecx
mov dword [ebp - 0x1a4], 0xa1fea1ea
mov word [ebp - 0x1a0], ax
mov byte [ebp - 0x19e], 1
lea eax, [ecx - 0x5e73]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
cmp ecx, 4
jb 0x411b81
push 1
push 0
push 0
lea eax, [ebp - 0x1fc]
mov byte [ebp - 0x19e], 0
push eax
lea eax, [ebp - 0x1a8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4119a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4119a9
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x19c]
call fcn.00410110
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x411c65
mov edx, dword [ebp - 0x28]
push ecx
call fcn.00413730
mov ecx, dword [ebp - 0x24]
mov eax, 0x66666667
mov esi, dword [ebp - 0x2c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x411c46
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411cc0
push ecx
push esi
call fcn.0055e71a
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x411c84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0055e6d4
mov esp, ebp
pop ebp
ret 4
call fcn.0055ca1a
push 0x80070057
call fcn.004068b0
push 0x80004005
call fcn.004068b0
call fcn.0040d090
call fcn.005ce7a3
int3