Function at 0x40aac0
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x648]
sub esp, 0x648
push 0xffffffffffffffff
push 0x43e964
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x45060c]
xor eax, ebp
mov dword [ebp + 0x644], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x30], ebx
call fcn.0041a118
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ab20
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x80], edi
cmp dword [ebx + 0x10], edi
jne 0x40ab40
lea ecx, [ebp - 0x80]
mov dword [ebx + 0x10], ecx
call fcn.0041a00a
mov ecx, dword [eax + 4]
call fcn.0041d8e8
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ab67
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040a640
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40abb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
call fcn.0040aa10
mov byte [ebp - 4], 3
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40abdb
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac08
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], edi
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac38
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 6
call fcn.0041a118
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac65
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.00409920
test al, al
je 0x40af16
push ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [eax], str.IR_ZCD
call fcn.00408000
test al, al
je 0x40af16
xor edx, edx
cmp dword [ebp - 0x70], edi
push ecx
setne dl
mov eax, esp
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x60], edx
mov dword [eax], 0x442238
call fcn.00408070
test al, al
je 0x40ad10
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a210
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
cmp dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
setne cl
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push ecx
mov dword [ebp - 0x60], ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [eax], str.Title
call fcn.00408070
test al, al
je 0x40ad78
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040a210
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ad78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
cmp dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
setne cl
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push ecx
mov dword [ebp - 0x60], ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [eax], str.Prog
call fcn.00408070
test al, al
je 0x40adda
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040a210
mov eax, dword [eax]
push eax
call fcn.0042ba91
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40adda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
cmp dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
setne cl
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push ecx
mov dword [ebp - 0x60], ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [eax], str.UsePW
call fcn.00408070
test al, al
je 0x40ae3f
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040a210
mov eax, dword [eax]
push eax
call fcn.0042ba91
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
cmp dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
setne cl
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
push ecx
mov dword [ebp - 0x60], ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], esp
mov dword [eax], 0x44221c
call fcn.00408070
test al, al
je 0x40af16
lea ecx, [ebp]
call fcn.00406100
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x7c]
call fcn.0040a210
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40aeb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx - 8]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0xa
or eax, ecx
jge 0x40aed8
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00401640
mov edx, dword [ebp - 0x28]
push esi
push edx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp]
call fcn.004062e0
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40af16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x40af43
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40af43
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 8]
cmp dword [eax - 0xc], edi
je 0x40af39
push eax
jmp 0x40af3e
push str.Loading
call fcn.0041b03c
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
call fcn.0040a850
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.004020e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x68]
call fcn.0040cfc0
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 0xd
call fcn.00411220
push 0xa
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.004247cc
push 0xa
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.004247cc
mov eax, dword [ebx + 0x14]
push edi
push 1
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x11
call fcn.0040d160
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0x10
cmp eax, edi
je 0x40afe3
push 8
push eax
lea ecx, [ebp + 0x68]
call fcn.0040d630
xor edi, edi
xor esi, esi
jmp 0x40aff0
movzx ecx, si
cmp ecx, dword [ebp + 0x178]
jge 0x40b02b
mov edx, dword [ebx + 0x10]
cmp dword [edx], 0
jne 0x40b02b
push esi
lea eax, [ebp + 0x20c]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040ca70
lea ecx, [ebp + 0x20c]
call fcn.00411af0
test al, al
jne 0x40b028
add edi, dword [ebp + 0x228]
inc esi
jmp 0x40aff0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40b055
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b055
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x20]
push edi
push 0
push 0x406
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
movzx eax, si
cmp eax, dword [ebp + 0x178]
mov dword [ebp - 0x1c], esi
jge 0x40b1ba
mov ecx, dword [ebx + 0x10]
cmp dword [ecx], 0
jne 0x40b1ba
push esi
lea edx, [ebp + 0x20c]
push edx
lea ecx, [ebp + 0x68]
call fcn.0040ca70
lea ecx, [ebp + 0x20c]
call fcn.00411af0
test al, al
jne 0x40b0cc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20c]
call fcn.004118d0
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x14
call fcn.00424915
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40b102
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 0x20c]
call fcn.004118d0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
call fcn.00424915
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x16
je 0x40b124
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x68]
call fcn.0040c6c0
mov edx, dword [ebp - 0x24]
push 0x10000
push 0
push 1
push edx
push esi
lea ecx, [ebp + 0x68]
call fcn.0040e370
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0x10
inc esi
jmp 0x40b057
push 0
push 0
lea ecx, [ebp + 0x68]
call fcn.0040d940
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x40b4f0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
cmp dword [edx], 0
jne 0x40b4f0
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x40b203
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b203
mov ecx, dword [esi + 8]
push 0
call fcn.0041b083
call fcn.0041a118
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b21d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x441968
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x18
call fcn.00401d10
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x19
call fcn.00401fe0
add esp, 0x18
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
cmp eax, esi
je 0x40b2ac
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40b29f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b29f
push eax
call fcn.00401690
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b297
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x18], ebx
jmp 0x40b2ac
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401a80
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b2f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041a118
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b30c
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1b
call fcn.0041a118
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b339
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x40], edi
mov esi, 1
cmp dword [0x453ce4], esi
mov byte [ebp - 4], 0x1c
jle 0x40b3c0
lea esp, [esp]
mov ecx, dword [0x453ce8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x40b371
xor eax, eax
jmp 0x40b37f
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b376
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401a80
push 1
push 0x442098
lea ecx, [ebp - 0x1c]
call fcn.00401b10
mov edi, dword [ebp - 0x40]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401b10
push 2
push 0x442210
lea ecx, [ebp - 0x1c]
call fcn.00401b10
inc esi
cmp esi, dword [0x453ce4]
jl 0x40b360
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40b48a
call fcn.0041a118
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b3ed
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp - 0x14]
push str._SFXSOURCE:_s_
push eax
mov byte [ebp - 4], 0x1d
call fcn.004061a0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401b10
push 0x442094
lea ecx, [ebp - 0x1c]
call fcn.00404280
push 0x442094
lea ecx, [ebp - 0x1c]
call fcn.00401f40
call fcn.0041a00a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
push 0xf
push 0
push 1
push ecx
push edx
push eax
call fcn.0040a260
mov dword [ebx + 0xac], eax
lea eax, [esi - 0x10]
add esp, 0x18
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b48a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4aa
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b4f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
call fcn.00404040
mov byte [ebp - 4], 0x1e
call fcn.0041a118
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b519
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
push 0x4421f8
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x1f
call fcn.00401d10
add esp, 0xc
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
mov byte [ebp - 4], 0x20
cmp esi, ebx
je 0x40b5e8
cmp dword [ebx + 0xc], 0
jl 0x40b5d8
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40b5d8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40b582
cmp eax, dword [esi]
jne 0x40b582
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40b5b7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40b59b
call fcn.00401260
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00428b80
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40b5d0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0x10
mov dword [ebp - 0x18], edi
jmp 0x40b5e8
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a80
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b60b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x118]
lea esi, [edi - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x40b6b9
cmp dword [ebx + 0xc], 0
jl 0x40b6a9
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40b6a9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40b650
cmp eax, dword [esi]
jne 0x40b650
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40b685
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40b669
call fcn.00401260
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [edi + 0x10]
push edx
call fcn.00428b80
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b69e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [ebp - 0x118], edi
jmp 0x40b6b9
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x118]
call fcn.00401a80
mov eax, 1
push eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
call fcn.00405f80
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call fcn.0041a00a
mov ecx, dword [eax + 4]
call fcn.0041d8fd
mov edi, dword [ebp - 0x30]
mov edx, dword [edi + 0x10]
cmp dword [edx], 0
je 0x40b72e
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x40b71b
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b71b
mov ecx, dword [edi + 8]
mov ebx, dword [ecx + 0x20]
push 0x30
push str.Status
push str.Extraction_Cancelled
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov byte [ebp - 4], 0x1e
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40b753
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x10
call fcn.00404130
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.004248e3
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.004248e3
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 0xd
call fcn.004112b0
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 7
call fcn.0040c850
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00408d40
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b856
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b87c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40b988
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x644]
xor ecx, ebp
call fcn.00429433
add ebp, 0x648
mov esp, ebp
pop ebp
ret