Function at 0x40a400
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576282
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5d61f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x20c], eax
xor ecx, ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f4], ecx
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x224], eax
call fcn.0041a0d0
push 0x5acf94
push eax
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 4], 0
call fcn.0040de30
push str.Update.json
push eax
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 1
call fcn.0040de30
add esp, 0x18
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40a4b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a4d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
call fcn.00437e73
push 0
push 0x8040
mov byte [ebp - 4], 5
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x78]
call fcn.00438378
lea ecx, [ebp - 0x78]
test eax, eax
je 0x40c06d
call fcn.004382b6
mov dword [ebp - 0x1f0], eax
test eax, eax
je 0x40c06a
push eax
call fcn.00426df8
add esp, 4
mov esi, eax
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x78]
push esi
call fcn.0043854b
mov dword [ebp - 0x200], eax
cmp eax, dword [ebp - 0x1f0]
je 0x40a55d
push esi
call fcn.00426e01
add esp, 4
jmp 0x40c06a
lea ecx, [ebp - 0x78]
call fcn.00438151
mov edx, dword [ebp - 0x200]
xor ecx, ecx
test edx, edx
je 0x40a5b9
cmp edx, 0x10
jb 0x40a5ab
movdqa xmm1, xmmword [0x5b05b0]
mov eax, edx
and eax, 0xf
mov dword [ebp - 0x1d8], edx
sub dword [ebp - 0x1d8], eax
mov eax, esi
movdqu xmm0, xmmword [eax]
add ecx, 0x10
psubb xmm0, xmm1
movdqu xmmword [eax], xmm0
lea eax, [eax + 0x10]
cmp ecx, dword [ebp - 0x1d8]
jb 0x40a591
cmp ecx, edx
jae 0x40a5b9
nop
add byte [ecx + esi], 0x9c
inc ecx
cmp ecx, edx
jb 0x40a5b0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [esi], 0
jne 0x40a5d7
xor ecx, ecx
jmp 0x40a5e9
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a5e0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.00401940
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
call fcn.0041c410
and dword [ebp - 0x98], 0xfffffe00
mov dword [ebp - 0x94], 0
and dword [ebp - 0x5c], 0xfffffe00
mov dword [ebp - 0x58], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 0xb
call fcn.00401a70
cmp dword [ebp - 0x198], 0x10
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x1ac]
cmovae ecx, dword [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0xa0]
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x1d4]
call fcn.0041c520
test al, al
je 0x40c01b
xor esi, esi
movsx eax, byte [ebp - 0x98]
mov dword [ebp - 0x210], esi
cmp eax, 7
ja case.0x40a6d8.0
jmp dword [eax*4 + 0x40c0c8]
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 4], 0
je case.0x40a6d8.0
mov eax, dword [eax]
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], eax
call fcn.00420aa0
mov eax, dword [ebp - 0x1f0]
mov eax, dword [eax + 0x14]
inc eax
jmp 0x40a717
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 4]
cmp esi, eax
jae case.0x40a6d8.0
push esi
lea ecx, [ebp - 0xa0]
call fcn.0041fe50
push eax
lea ecx, [ebp - 0x64]
call fcn.0041fcc0
lea ecx, [ebp - 0x40]
call fcn.004069f0
push ecx
push 0x5ad398
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00404a20
push ecx
push str.show
lea ecx, [ebp - 0x64]
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00404a20
push ecx
push str.createlnk
lea ecx, [ebp - 0x64]
call fcn.004200d0
mov ecx, eax
call fcn.0041fd50
push ecx
push str.open
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x40], eax
call fcn.004200d0
mov ecx, eax
call fcn.0041fd50
push ecx
push str.lnkname
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x3c], eax
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00404a20
push ecx
push 0x5ad3c0
lea ecx, [ebp - 0x64]
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.00404a20
push ecx
push 0x5ad3c4
lea ecx, [ebp - 0x64]
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x1c]
call fcn.00404a20
push ecx
push str.param
lea ecx, [ebp - 0x64]
call fcn.004200d0
push dword [eax]
lea ecx, [ebp - 0x18]
call fcn.00404a20
mov ecx, dword [ebp - 0x20c]
add ecx, 0x174
mov eax, dword [ecx + 8]
mov dword [ebp - 0x200], eax
test eax, eax
jns 0x40a81e
call fcn.004276af
push ecx
inc eax
push eax
call fcn.004066f0
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x200]
imul eax, eax, 0x2c
add eax, dword [ecx + 0x178]
mov ecx, eax
call fcn.0040d630
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00406600
inc esi
jmp 0x40a6c2
push dword [ebp - 0x1f4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a8bb
push 0x80004005
call fcn.00402650
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0xf
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a8ed
push 0x80004005
call fcn.00402650
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 0x10
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a91f
push 0x80004005
call fcn.00402650
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x11
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40a951
push 0x80004005
call fcn.00402650
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x20c]
xor eax, eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x200], eax
cmp dword [ecx + 0x17c], eax
jle 0x40bed9
test eax, eax
js 0x40a819
cmp eax, dword [ecx + 0x17c]
jge 0x40a819
imul eax, eax, 0x2c
add eax, dword [ecx + 0x178]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040c170
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40a9d6
cmp ecx, dword [esi - 0x10]
jne 0x40a9d6
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40aa11
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x40c0c0
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.00549419
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x214], edi
push 0x2e
mov byte [ebp - 4], 0x14
mov esi, dword [edi - 0xc]
push edi
call fcn.0054aed1
add esp, 8
test eax, eax
jne 0x40aa35
or eax, 0xffffffff
jmp 0x40aa39
sub eax, edi
sar eax, 1
sub esi, eax
dec esi
push esi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x214]
call fcn.004041e0
mov byte [ebp - 4], 0x15
mov edx, dword [eax]
lea ecx, [edi - 0x10]
lea esi, [edx - 0x10]
mov dword [ebp - 0x1e4], ecx
cmp esi, ecx
je 0x40aac5
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40aab0
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40aab0
push esi
call fcn.00402680
or esi, 0xffffffff
add esp, 4
mov dword [ebp - 0x1d8], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40aaa5
mov edi, dword [ebp - 0x1e4]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1d8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x214], edi
jmp 0x40aac8
push dword [edx - 0xc]
lea ecx, [ebp - 0x214]
push edx
call fcn.00402470
mov edi, dword [ebp - 0x214]
or esi, 0xffffffff
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40aaeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x1f0]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 1
push 0x5acfa4
lea ecx, [ebp - 0x1f0]
call fcn.00404870
push 0x5ad3d0
push edi
call fcn.0054ad65
add esp, 8
test eax, eax
je 0x40b0e7
push 0x5ad3d8
push edi
call fcn.0054ad65
add esp, 8
test eax, eax
je 0x40b0e7
push 0x5ad3e0
push edi
call fcn.0054ad65
add esp, 8
test eax, eax
je 0x40b0e7
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x218]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 1
push 0x5acfa4
lea ecx, [ebp - 0x218]
call fcn.00404870
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x40bead
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x40a8b1
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1dc], eax
push ecx
mov byte [ebp - 4], 0x32
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
call fcn.00419680
mov byte [ebp - 4], 0x33
mov esi, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e4], esp
lea eax, [esi - 0x10]
push eax
mov dword [ebp - 0x1e0], eax
call fcn.00402680
mov ecx, dword [ebp - 0x1e4]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.0041a200
add esp, 4
test eax, eax
je 0x40be6b
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x40aeab
add eax, 0xfffffff0
push eax
call fcn.00402680
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x1d8], esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x34
call fcn.00402270
push 0x2f
push esi
mov dword [ebp - 0x1e4], 0
call fcn.0054aed1
add esp, 8
test eax, eax
jne 0x40ac53
or eax, 0xffffffff
jmp 0x40ac57
sub eax, esi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405be0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x1f8], 0
call fcn.0041a0d0
push 0x5acf94
push eax
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 4], 0x36
call fcn.0040de30
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 4], 0x37
call fcn.0040c720
add esp, 0x18
mov byte [ebp - 4], 0x39
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40acd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40acfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1f8]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00402680
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0041a200
add esp, 4
test eax, eax
jne 0x40ad2e
push eax
push dword [ebp - 0x1f8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5acf94
lea ecx, [ebp - 0x1f8]
call fcn.0040d8f0
mov edi, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x1f8]
push dword [edi - 0xc]
push edi
call fcn.00404870
push ecx
lea ecx, [ebp - 0x164]
call fcn.0040a1e0
push ecx
lea ecx, [ebp - 0x164]
call fcn.0041a6b0
sub esp, 0x18
mov ecx, esp
push 0x5ac810
mov byte [ebp - 4], 0x3b
call fcn.0040c800
push esi
lea ecx, [ebp - 0x164]
call fcn.0041ab00
test eax, eax
je 0x40ae37
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2a0], 0
call fcn.0040d540
mov byte [ebp - 4], 0x3c
cmp dword [ebp - 0x2a4], 0
je 0x40ae2c
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00437e73
push 0
push 0x9001
mov byte [ebp - 4], 0x3d
push dword [ebp - 0x1f8]
lea ecx, [ebp - 0x54]
call fcn.00438378
test eax, eax
je 0x40ae20
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x54]
push dword [ebp - 0x2a0]
call fcn.004386c1
lea ecx, [ebp - 0x54]
call fcn.00438151
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402530
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x3c
call fcn.00437ee9
lea ecx, [ebp - 0x2a8]
call fcn.0040d5b0
lea ecx, [ebp - 0x164]
call fcn.0041a7c0
mov byte [ebp - 4], 0x35
mov edx, dword [ebp - 0x1f8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ae66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x34
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ae86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x33
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40aea3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1dc]
jmp 0x40aeae
or edi, 0xffffffff
cmp dword [ebp - 0x40], 1
jne 0x40b06e
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x1d8], 0
call fcn.0041a0b0
push 0x5acf94
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 0x3e
call fcn.0040de30
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 0x3f
call fcn.0040c720
push str..lnk
push eax
lea eax, [ebp - 0x1d8]
push eax
mov byte [ebp - 4], 0x40
call fcn.0040de30
add esp, 0x24
mov byte [ebp - 4], 0x42
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40af34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x43
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40af57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x44
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40af7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jne 0x40af9f
push 0
lea ecx, [ebp - 0x260]
call fcn.00402110
mov byte [ebp - 4], 0x45
mov ecx, dword [ebp - 0x1fc]
or ecx, 1
jmp 0x40afca
add eax, 0xfffffff0
push eax
call fcn.00402680
add eax, 0x10
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0x46
mov ecx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x224]
or ecx, 2
push dword [ebp - 0x28]
mov edx, dword [ebp - 0x1d8]
push ecx
push dword [eax]
mov dword [ebp - 0x1fc], ecx
mov ecx, esi
call fcn.00419ce0
mov eax, dword [ebp - 0x1fc]
add esp, 0xc
test al, 2
je 0x40b00a
and eax, 0xfffffffd
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x1fc], eax
call fcn.00402630
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 4], 0x44
test al, 1
je 0x40b029
and eax, 0xfffffffe
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x1fc], eax
call fcn.00402630
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 0x5acfa4
lea ecx, [ebp - 0x220]
call fcn.0040d8f0
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x1d8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b06e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x3c], 1
jne 0x40b0b5
mov eax, dword [ebp - 0x28]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00402680
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0041a2c0
mov eax, dword [ebp - 0x34]
add esp, 4
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
push eax
call fcn.00404870
push 0x5acfa4
lea ecx, [ebp - 0x21c]
call fcn.0040d8f0
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x210]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b0d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x1e0]
jmp 0x40be05
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x218]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 1
push 0x5acfa4
lea ecx, [ebp - 0x218]
call fcn.00404870
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x204], 0
call fcn.0041a0d0
push 0x5acf94
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 0x16
call fcn.0040de30
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040c720
add esp, 0x18
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b171
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b194
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x204]
push ecx
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x1d8], esp
mov eax, dword [eax + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40b1c8
cmp ecx, dword [edi]
jne 0x40b1c8
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40b212
mov eax, dword [ecx]
push 2
push dword [edi + 4]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x1e4], edx
test edx, edx
je 0x40c0c0
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.00549419
mov edi, dword [ebp - 0x1e4]
add esp, 0x10
mov ecx, dword [ebp - 0x1d8]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.0041a200
add esp, 4
test eax, eax
jne 0x40b236
push eax
push dword [ebp - 0x204]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, dword [ebp - 0x28]
add edi, 0xfffffff0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40b265
cmp ecx, dword [edi]
jne 0x40b265
mov dword [ebp - 0x1e4], edi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40b2a9
mov eax, dword [ecx]
push 2
push dword [edi + 4]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x1e4], edx
test edx, edx
je 0x40c0c0
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.00549419
add esp, 0x10
mov edi, dword [ebp - 0x1e4]
add edi, 0x10
mov dword [ebp - 0x27c], edi
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
mov ecx, dword [eax - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x1d8], ecx
je 0x40b31b
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x40b2f5
cmp dword [eax - 8], 0
jl 0x40c0b6
mov dword [eax - 0xc], 0
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
jmp 0x40b31b
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40b308
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
push 0x2f
push edi
mov dword [ebp - 0x1e0], 0
call fcn.0054aed1
add esp, 8
test eax, eax
jne 0x40b339
or eax, 0xffffffff
jmp 0x40b33d
sub eax, edi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00405be0
mov byte [ebp - 4], 0x1c
mov esi, dword [ebp - 0x1e0]
cmp dword [esi - 0xc], 0
jl 0x40b465
push 0x5ad3e8
push esi
call fcn.00549bff
add esp, 8
test eax, eax
je 0x40b465
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x40b465
cmp dword [esi - 0xc], 0
jge 0x40b393
or eax, 0xffffffff
jmp 0x40b3ae
push 0x5ad3e8
push esi
call fcn.00549bff
add esp, 8
test eax, eax
jne 0x40b3aa
or eax, 0xffffffff
jmp 0x40b3ae
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00404260
mov byte [ebp - 4], 0x1d
mov eax, dword [eax]
lea ecx, [esi - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], ecx
cmp edx, ecx
je 0x40b441
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40b42c
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40b426
push edx
call fcn.00402680
add esp, 4
mov dword [ebp - 0x1dc], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40b41b
mov esi, dword [ebp - 0x1d8]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1dc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1e0], esi
jmp 0x40b441
mov eax, dword [ebp - 0x1dc]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.00402470
mov esi, dword [ebp - 0x1e0]
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b465
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5acf94
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.0040de30
lea ecx, [ebp - 0x1e0]
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0040c720
push 0x5acf98
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040de30
add esp, 0x24
mov byte [ebp - 4], 0x20
mov eax, dword [eax]
lea ecx, [esi - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], ecx
cmp edx, ecx
je 0x40b52e
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x40b519
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40b513
push edx
call fcn.00402680
add esp, 4
mov dword [ebp - 0x1dc], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x40b508
mov esi, dword [ebp - 0x1d8]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1dc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1e0], esi
jmp 0x40b52e
mov eax, dword [ebp - 0x1dc]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1e0]
push eax
call fcn.00402470
mov esi, dword [ebp - 0x1e0]
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b552
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b576
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b59a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xa4], 0
call fcn.0041a6b0
sub esp, 0x18
mov ecx, esp
xor eax, eax
mov byte [ebp - 4], 0x21
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x5ac810
mov word [ecx], ax
call fcn.0040ccd0
push edi
lea ecx, [ebp - 0x164]
call fcn.0041ab00
test eax, eax
je 0x40b7c2
mov eax, dword [ebp - 0x114]
xor edi, edi
mov dword [ebp - method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x24c], edi
test eax, eax
je 0x40b687
push eax
mov edi, eax
call fcn.00426df8
push dword [ebp - 0x114]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x110]
mov dword [ebp - 0x24c], edi
push eax
call fcn.00549570
mov eax, dword [ebp - 0x10c]
add esp, 0x10
cmp eax, edi
cmova eax, edi
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0x22
test edi, edi
je 0x40b79b
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00437e73
push 0
push 0x9001
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x23
call fcn.00438378
test eax, eax
je 0x40b787
push edi
mov edi, dword [ebp - 0x248]
push edi
lea ecx, [ebp - 0x54]
call fcn.004386c1
lea ecx, [ebp - 0x54]
call fcn.00438151
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lea edx, [esi - 0x10]
mov dword [ebp - 0x1dc], ecx
cmp edx, ecx
je 0x40b755
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1d8], eax
jl 0x40b749
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40b749
push edx
call fcn.00402680
mov edx, dword [ebp - 0x1d8]
add esp, 4
mov dword [ebp - 0x1ec], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b741
mov eax, dword [ebp - 0x1dc]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1ec]
add eax, 0x10
mov dword [ebp - 0x28], eax
jmp 0x40b755
push dword [esi - 0xc]
lea ecx, [ebp - 0x28]
push esi
call fcn.00402470
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x220]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 1
push 0x5acfa4
lea ecx, [ebp - 0x220]
call fcn.00404870
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x22
call fcn.00437ee9
jmp 0x40b7a1
mov edi, dword [ebp - 0x248]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x22
call fcn.00437ee9
jmp 0x40b7a1
mov edi, dword [ebp - 0x248]
mov dword [ebp - method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
test edi, edi
je 0x40b7c2
push edi
call fcn.00426e01
add esp, 4
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1c
call fcn.0041a7c0
mov edi, dword [ebp - 0x20]
add edi, 0xfffffff0
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40b7fa
cmp ecx, dword [edi]
jne 0x40b7fa
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40b844
mov eax, dword [ecx]
push 2
push dword [edi + 4]
mov eax, dword [eax]
call eax
mov edx, eax
mov dword [ebp - 0x1ec], edx
test edx, edx
je 0x40c0c0
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.00549419
mov edi, dword [ebp - 0x1ec]
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x1d8], edi
mov byte [ebp - 4], 0x24
cmp dword [edi - 0xc], 0
je 0x40bc1f
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
mov ecx, dword [eax - 0x10]
lea edx, [eax - 0x10]
mov dword [ebp - 0x1ec], ecx
je 0x40b8bb
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x40b894
cmp dword [eax - 8], 0
jl 0x40c0b6
mov dword [eax - 0xc], 0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov word [eax], cx
jmp 0x40b8bb
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40b8a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1ec]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x2f
push edi
mov dword [ebp - 0x1dc], 0
call fcn.0054aed1
add esp, 8
test eax, eax
jne 0x40b8d9
or eax, 0xffffffff
jmp 0x40b8dd
sub eax, edi
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00405be0
push 0x5acf94
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 0x25
call fcn.0040de30
lea ecx, [ebp - 0x1dc]
push ecx
push eax
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x26
call fcn.0040c720
add esp, 0x18
mov byte [ebp - 4], 0x27
mov eax, dword [eax]
mov edi, dword [ebp - 0x1dc]
lea edx, [eax - 0x10]
lea ecx, [edi - 0x10]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x1ec], ecx
cmp edx, ecx
je 0x40b9ae
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x40b999
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40b993
push edx
call fcn.00402680
add esp, 4
mov dword [ebp - 0x208], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40b988
mov edi, dword [ebp - 0x1ec]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x208]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1dc], edi
jmp 0x40b9ae
mov eax, dword [ebp - 0x208]
push dword [eax - 0xc]
lea ecx, [ebp - 0x1dc]
push eax
call fcn.00402470
mov edi, dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b9d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b9f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xa4], 0
call fcn.0041a6b0
sub esp, 0x18
mov ecx, esp
xor eax, eax
mov byte [ebp - 4], 0x28
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x5ac810
mov word [ecx], ax
call fcn.0040ccd0
push dword [ebp - 0x1d8]
lea ecx, [ebp - 0x164]
call fcn.0041ab00
test eax, eax
je 0x40bbf0
mov eax, dword [ebp - 0x114]
xor ecx, ecx
mov dword [ebp - method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x23c], ecx
test eax, eax
je 0x40baeb
push eax
lea ecx, [ebp - 0x240]
call fcn.0040d6c0
push dword [ebp - 0x114]
push dword [ebp - 0x110]
push dword [ebp - 0x238]
call fcn.00549570
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x23c]
add esp, 0xc
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x29
test ecx, ecx
je 0x40bbc9
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00437e73
push 0
push 0x9001
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x2a
call fcn.00438378
test eax, eax
je 0x40bbbd
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x54]
push dword [ebp - 0x238]
call fcn.004386c1
lea ecx, [ebp - 0x54]
call fcn.00438151
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
lea edx, [edi - 0x10]
mov dword [ebp - 0x1ec], ecx
cmp edx, ecx
je 0x40bbbd
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x208], eax
jl 0x40bbb1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x40bbb1
push edx
call fcn.00402680
mov edx, dword [ebp - 0x208]
add esp, 4
mov dword [ebp - 0x1e8], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bba9
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1e8]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x40bbbd
push dword [edi - 0xc]
lea ecx, [ebp - 0x20]
push edi
call fcn.00402470
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x29
call fcn.00437ee9
mov eax, dword [ebp - 0x238]
mov dword [ebp - method.CBuffer_unsigned_char_.virtual_0], vtable.CBuffer_unsigned_char_.0
test eax, eax
je 0x40bbf0
push eax
call fcn.00426e01
add esp, 4
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x164]
call fcn.0041a7c0
add edi, 0xfffffff0
mov byte [ebp - 4], 0x24
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bc19
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x40bd53
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
je 0x40bd56
cmp dword [ebp - 0x40], 1
jne 0x40bd56
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x1dc], 0
call fcn.0041a0b0
push 0x5acf94
push eax
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040de30
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 0x2c
call fcn.0040c720
push str..lnk
push eax
lea eax, [ebp - 0x1dc]
push eax
mov byte [ebp - 4], 0x2d
call fcn.0040de30
add esp, 0x24
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bcc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bce4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bd08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x28]
cmovne ecx, edx
mov edx, dword [ebp - 0x1dc]
push ecx
push dword [ecx]
mov ecx, dword [ebp - 0x28]
call fcn.00419ce0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x1dc]
add edx, 0xfffffff0
add esp, 0xc
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bd53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x3c], 1
jne 0x40bd9b
cmp dword [eax - 0xc], 0
je 0x40bd9b
push 1
push 0
push dword [ebp - 0x18]
push eax
push 0x5ad064
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x21c]
push dword [eax - 0xc]
push eax
call fcn.00404870
push 1
push 0x5acfa4
lea ecx, [ebp - 0x21c]
call fcn.00404870
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x1c
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdd8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x1e4]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdf8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x204]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40be1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40be3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.00406600
mov eax, dword [ebp - 0x200]
mov ecx, dword [ebp - 0x20c]
inc eax
mov dword [ebp - 0x200], eax
cmp eax, dword [ecx + 0x17c]
jl 0x40a981
jmp 0x40bed9
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x210]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40be8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x14
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bead
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 0x13
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40becd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.00406600
mov eax, dword [ebp - 0x21c]
sub esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x254], esp
mov esi, esp
push eax
mov dword [ebp - 0x230], eax
call fcn.00402680
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x47
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov dword [ebp - 0x258], esp
mov esi, esp
push eax
mov dword [ebp - 0x22c], eax
call fcn.00402680
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x48
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
mov dword [ebp - 0x208], esp
mov esi, esp
push eax
mov dword [ebp - 0x228], eax
call fcn.00402680
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x1f0]
add eax, 0xfffffff0
mov dword [ebp - 0x1ec], esp
mov esi, esp
push eax
mov dword [ebp - 0x1e8], eax
call fcn.00402680
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
push 0x5ad3ec
mov byte [ebp - 4], 0x4a
call fcn.00402110
mov ecx, dword [ebp - 0x20c]
mov byte [ebp - 4], 0x12
call fcn.0040c2a0
push dword [ebp - 0x1f4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x230]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bfbb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x22c]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bfdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x228]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bffb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1e8]
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c01b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.0041fc10
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.0041fc10
lea ecx, [ebp - 0x1d4]
call fcn.0040c0f0
cmp dword [ebp - 0x7c], 0x10
jb 0x40c055
push dword [ebp - 0x90]
call fcn.00426e01
add esp, 4
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00437ee9
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1f4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x40c09a
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 - 0x14]
xor ecx, ebp
call fcn.0054940a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402650
call fcn.00402670
lea ecx, [ecx]
xchg ebx, eax
test al, 64
add byte [ebx - 0x6cffbf58], dl
test al, 0x40
add byte [ebx - 0x6cffbf58], dl
test al, 0x40
add byte [ebx - 0x20ffbf58], dl
cmpsb byte [esi], byte es:[edi]
inc eax
add byte [esi], cl
cmpsd dword [esi], dword es:[edi]
inc eax
add ah, cl
int3