Function at 0x410190
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.00410050
lea edi, [ebx + 4]
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
jb 0x410249
mov edi, dword [edi]
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x410250
sub esi, ecx
lea ecx, [ebp - 0x19c]
call fcn.004100e0
lea ecx, [ebp - 0x19c]
call fcn.00410050
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.0040fe20
add esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1ac], 0xa7a1b496
xor ecx, ecx
mov dword [ebp - 0x1a8], 0xa38fadb3
mov dword [ebp - 0x1a4], 0xbea9a7
mov byte [ebp - 0x1a0], 1
nop
lea eax, [ecx - 0x3d]
xor byte [ebp + ecx - 0x1ac], al
inc ecx
cmp ecx, 0xb
jb 0x4102c0
lea eax, [ebp - 0x1ac]
mov byte [ebp - 0x1a0], 0
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0040ffd0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4102f9
mov esi, dword [eax + 0x10]
jmp 0x4102fb
xor esi, esi
or edi, 0xffffffff
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4114d0
nop dword [eax]
push str.Name
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ffd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41033d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41033d
mov edx, dword [edx + 8]
test edx, edx
jne 0x410342
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 0x410360
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.0040ffd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4103a4
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4103a4
mov edx, dword [edx + 8]
test edx, edx
jne 0x4103a9
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 0x4103d0
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.0040ffd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410417
mov edx, dword [eax + 0x10]
test edx, edx
je 0x410417
mov edx, dword [edx + 8]
test edx, edx
jne 0x41041c
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 0x410440
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.0040ffd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x410487
mov edx, dword [eax + 0x10]
test edx, edx
je 0x410487
mov edx, dword [edx + 8]
test edx, edx
jne 0x41048c
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 0x4104a6
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.0040ffd0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4104ed
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4104ed
mov edx, dword [edx + 8]
test edx, edx
jne 0x4104f2
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 0x410512
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 0x410567
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.00412c20
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [edi + 0x14], 8
jb 0x4105ba
mov edi, dword [edi]
push edi
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00412c20
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 0x4105ea
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 0x41062e
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410624
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410689
mov ecx, dword [ebp - 0x25c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41067f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x4106d0
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 0x410701
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00412c20
add esp, 4
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410754
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41074a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x4107a9
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41079f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x4107f0
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 0x410900
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 0x410985
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41097b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x4109de
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4109d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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.00413160
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 0x410a14
push 0
lea ecx, [ebp - 0x18]
call fcn.0040d360
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 0x410ddc
lea ecx, [ebp - 0x1b0]
call fcn.00411ca0
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 0x410a66
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 0x410a99
mov edx, dword [edx]
test edx, edx
jne 0x410aa1
xor ecx, ecx
jmp 0x410ab5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410aa6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040d1e0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410b06
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410afc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410b5b
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410b51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410bb4
cmp dword [edi + 0xc], 0
jl 0x410ba5
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x410ba5
mov ecx, ebx
call fcn.00412e70
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410b9a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a8], eax
jmp 0x410bb4
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0040d1e0
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 0x410bd6
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 0x410c09
mov edx, dword [edx]
test edx, edx
jne 0x410c11
xor ecx, ecx
jmp 0x410c25
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c16
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040d1e0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x410c76
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410ccb
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410cc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410d24
cmp dword [edi + 0xc], 0
jl 0x410d15
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x410d15
mov ecx, ebx
call fcn.00412e70
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410d0a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a0], eax
jmp 0x410d24
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.0040d1e0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x1b0]
push ecx
cmp dword [ebp - 0x24], eax
je 0x410d40
mov ecx, eax
call fcn.00413790
add dword [ebp - 0x28], 0x14
jmp 0x410d49
push eax
lea ecx, [ebp - 0x2c]
call fcn.004132a0
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 0x410d7c
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 0x410d99
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 0x410db6
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 0x411305
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411305
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 0x410e36
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x410e91
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x410e96
add edx, 4
add ecx, 4
sub edi, 4
jae 0x410e80
cmp edi, 0xfffffffc
je 0x410eca
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x410ec3
cmp edi, 0xfffffffd
je 0x410eca
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x410ec3
cmp edi, 0xfffffffe
je 0x410eca
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x410ec3
cmp edi, 0xffffffff
je 0x410eca
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x410eca
sbb eax, eax
or eax, 1
jmp 0x410ecc
xor eax, eax
test eax, eax
jne 0x410eeb
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
cmp ecx, eax
jbe 0x410edf
or eax, 0xffffffff
jmp 0x410ee3
sbb eax, eax
neg eax
test eax, eax
je 0x4112c5
lea ecx, [ebp - 0x1b0]
call fcn.00411ca0
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 0x410f30
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 0x410f69
mov edx, dword [edx]
test edx, edx
jne 0x410f71
xor ecx, ecx
jmp 0x410f85
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410f76
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1a4]
call fcn.0040d1e0
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x1cc]
cmp edx, 8
jb 0x410fd6
mov ecx, dword [ebp - 0x1e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410fcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x411031
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x41108a
cmp dword [edi + 0xc], 0
jl 0x41107b
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x41107b
mov ecx, ebx
call fcn.00412e70
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411070
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a8], eax
jmp 0x41108a
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a8]
push eax
call fcn.0040d1e0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1a0]
add edi, 0xfffffff0
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x4110e3
cmp dword [edi + 0xc], 0
jl 0x4110d4
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x4110d4
mov ecx, ebx
call fcn.00412e70
mov ebx, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4110c9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x1a0], eax
jmp 0x4110e3
push dword [eax - 0xc]
lea ecx, [ebp - 0x1a0]
push eax
call fcn.0040d1e0
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 0x411110
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 0x411149
mov edx, dword [edx]
test edx, edx
jne 0x411151
xor ecx, ecx
jmp 0x411165
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411156
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040d1e0
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x1cc]
cmp edx, 8
jb 0x4111b6
mov ecx, dword [ebp - 0x1e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4111ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x411211
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411207
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x41122d
mov ecx, eax
call fcn.00413790
add dword [ebp - 0x28], 0x14
jmp 0x411236
push eax
lea ecx, [ebp - 0x2c]
call fcn.004132a0
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 0x411269
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 0x411286
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 0x4112a3
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 0x4112c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x44]
jmp 0x4112c8
or edi, 0xffffffff
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4112ff
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4112f5
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x41133d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411333
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x41136d
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 0x41138b
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 0x4113c9
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4113bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x411406
mov edx, dword [ebp - 0x1b8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4113fc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push ecx
push edx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x411444
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41143a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x411482
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411478
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push edx
push ecx
call fcn.0055e71a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x4114ba
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4114b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push edx
push ecx
call fcn.0055e71a
add esp, 8
test esi, esi
je 0x4114c3
mov esi, dword [esi + 0x18]
jmp 0x4114c5
xor esi, esi
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x410310
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 0x41197f
xor ebx, ebx
push dword [ebx + esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411627
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 0x411544
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 0x41157f
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 0x4115d1
mov ecx, dword [ebp - 0x1e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4115c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
push edx
push ecx
call fcn.0055e71a
mov al, byte [ebp - 0x1bd]
add esp, 8
test al, al
je 0x4115e9
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 0x411627
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41161d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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.00412c20
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 0x41167f
cmp ecx, dword [esi]
jne 0x41167f
lock inc dword [eax]
jmp 0x4116ae
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x411c8b
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.0040d070
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 0x4116ed
cmp ecx, dword [esi - 0x10]
jne 0x4116ed
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x411717
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x411c8b
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.0040d070
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 0x411758
cmp ecx, dword [esi]
jne 0x411758
lock inc dword [eax]
jmp 0x411787
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x411c8b
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.0040d070
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.004121c0
test eax, eax
jg 0x41198f
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 0x4117d7
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
call fcn.0040be60
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 0x411814
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x411828
call fcn.00406a40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x411c81
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 0x411c77
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41188a
push edi
lea ecx, [ebp - 0x20]
call fcn.0040d360
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
push edx
push dword [ebp - 0x1b8]
mov ecx, esi
call fcn.0040d070
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x23c]
push edx
push dword [ebp - 0x21c]
lea ecx, [esi + eax*2]
call fcn.0040d070
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x411c77
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.00412c20
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 0x4118fd
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 0x411927
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 0x411945
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 0x411512
or edi, 0xffffffff
mov ebx, dword [ebp - 0x1bc]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x411c72
jmp 0x411bb2
xor eax, eax
mov dword [ebp - 0x1a8], 0x8b06b809
mov dword [ebp - 0x1a4], 0x92ff8814
xor ecx, ecx
mov word [ebp - 0x1a0], ax
mov byte [ebp - 0x19e], 1
nop word [eax + eax]
lea eax, [ecx - 0x143e]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
cmp ecx, 4
jb 0x4119c0
mov byte [ebp - 0x19e], 0
xor ecx, ecx
mov dword [ebp - 0x1ec], 0xa5328e44
mov dword [ebp - 0x1e8], 0x8e768d31
mov dword [ebp - 0x1e4], 0x66edb2f6
mov dword [ebp - 0x1e0], 0x603d14c5
mov dword [ebp - 0x1dc], 0xb054b870
mov dword [ebp - 0x1d8], 0xa5c5949c
mov dword [ebp - 0x1d4], 0x8cd064b2
mov dword [ebp - 0x1d0], 0x999a8e61
mov dword [ebp - 0x1cc], 0x8cff
mov byte [ebp - 0x1c8], 1
nop
lea eax, [ecx - 0x143d]
xor word [ebp + ecx*2 - 0x1ec], ax
inc ecx
cmp ecx, 0x11
jb 0x411a40
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 0x411b88
mov dword [ebp - 0x1fc], 0xebb0ebab
xor ecx, ecx
mov dword [ebp - 0x1f8], 0xebb6ebb1
mov dword [ebp - 0x1f4], 0xebf2ebb4
mov dword [ebp - 0x1f0], 0xebe5ebe6
mov dword [ebp - 0x1ec], 0xebbbebbc
mov dword [ebp - 0x1e8], 0xebe0ebba
mov dword [ebp - 0x1e4], 0xeba5ebb5
mov dword [ebp - 0x1e0], 0xebb3ebb9
mov dword [ebp - 0x1dc], 0xeba3ebbc
mov dword [ebp - 0x1d8], 0xebb8ebb4
mov dword [ebp - 0x1d4], 0xebbbebf9
mov dword [ebp - 0x1d0], 0xebb7ebb6
mov dword [ebp - 0x1cc], 0xebf4
mov byte [ebp - 0x1c8], al
nop word [eax + eax]
lea eax, [ecx - 0x143d]
xor word [ebp + ecx*2 - 0x1fc], ax
inc ecx
cmp ecx, 0x19
jb 0x411b10
xor eax, eax
mov byte [ebp - 0x1c8], 0
mov dword [ebp - 0x1a8], 0xebb3ebad
xor ecx, ecx
mov dword [ebp - 0x1a4], 0xebabeba1
mov word [ebp - 0x1a0], ax
mov byte [ebp - 0x19e], 1
lea eax, [ecx - 0x143e]
xor word [ebp + ecx*2 - 0x1a8], ax
inc ecx
cmp ecx, 4
jb 0x411b51
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 0x411979
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411979
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x19c]
call fcn.004100e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x411c35
mov edx, dword [ebp - 0x28]
push ecx
call fcn.00413700
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 0x411c16
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411c90
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 0x411c54
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.0040d060
call fcn.005ce7a3
int3