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

Disassembly:
push ebp
lea ebp, [esp - 0x648]
sub esp, 0x648
push 0xffffffffffffffff
push 0x43e924
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x450610]
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.0041a128
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ab30
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 0x40ab50
lea ecx, [ebp - 0x80]
mov dword [ebx + 0x10], ecx
call fcn.0041a01a
mov ecx, dword [eax + 4]
call fcn.0041d8fc
call fcn.0041a128
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ab77
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.004020d0
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 0x40abc5
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.0041a128
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40abeb
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.0041a128
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac18
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.0041a128
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac48
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.0041a128
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40ac75
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 0x40af26
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 0x40af26
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], 0x442264
call fcn.00408070
test al, al
je 0x40ad20
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.004020d0
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 0x40ad20
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 0x40ad88
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.004020d0
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 0x40ad88
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 0x40adea
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 0x40adea
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 0x40ae4f
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 0x40ae4f
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], 0x442248
call fcn.00408070
test al, al
je 0x40af26
lea ecx, [ebp]
call fcn.00406110
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.004020d0
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 0x40aec3
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 0x40aee8
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00401630
mov edx, dword [ebp - 0x28]
push esi
push edx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp]
call fcn.004062f0
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call fcn.004020d0
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 0x40af26
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 0x40af53
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40af53
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebx + 8]
cmp dword [eax - 0xc], edi
je 0x40af49
push eax
jmp 0x40af4e
push str.Loading
call fcn.0041b04c
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.004020d0
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 0x40af8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x68]
call fcn.0040cfd0
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 0xd
call fcn.00411230
push 0xa
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.004247df
push 0xa
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.004247df
mov eax, dword [ebx + 0x14]
push edi
push 1
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x11
call fcn.0040d170
mov eax, dword [ebx + 4]
mov dword [ebp - 4], 0x10
cmp eax, edi
je 0x40aff3
push 8
push eax
lea ecx, [ebp + 0x68]
call fcn.0040d640
xor edi, edi
xor esi, esi
jmp 0x40b000
movzx ecx, si
cmp ecx, dword [ebp + 0x178]
jge 0x40b03b
mov edx, dword [ebx + 0x10]
cmp dword [edx], 0
jne 0x40b03b
push esi
lea eax, [ebp + 0x20c]
push eax
lea ecx, [ebp + 0x68]
call fcn.0040ca80
lea ecx, [ebp + 0x20c]
call fcn.00411b00
test al, al
jne 0x40b038
add edi, dword [ebp + 0x228]
inc esi
jmp 0x40b000
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40b065
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b065
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 0x40b1ca
mov ecx, dword [ebx + 0x10]
cmp dword [ecx], 0
jne 0x40b1ca
push esi
lea edx, [ebp + 0x20c]
push edx
lea ecx, [ebp + 0x68]
call fcn.0040ca80
lea ecx, [ebp + 0x20c]
call fcn.00411b00
test al, al
jne 0x40b0dc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x20c]
call fcn.004118e0
push eax
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x14
call fcn.00424928
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 0x40b112
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 0x20c]
call fcn.004118e0
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x15
call fcn.00424928
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 0x40b11e
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 0x40b134
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp + 0x68]
call fcn.0040c6b0
mov edx, dword [ebp - 0x24]
push 0x10000
push 0
push 1
push edx
push esi
lea ecx, [ebp + 0x68]
call fcn.0040e380
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0x10
inc esi
jmp 0x40b067
push 0
push 0
lea ecx, [ebp + 0x68]
call fcn.0040d950
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x40b500
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x10]
cmp dword [edx], 0
jne 0x40b500
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x40b213
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b213
mov ecx, dword [esi + 8]
push 0
call fcn.0041b093
call fcn.0041a128
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b22d
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.00401d20
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x19
call fcn.00401fd0
add esp, 0x18
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
cmp eax, esi
je 0x40b2bc
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40b2af
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40b2af
push eax
call fcn.00401680
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40b2a7
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 0x40b2bc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00401a90
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 0x40b2df
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 0x40b302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041a128
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b31c
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.0041a128
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b349
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 0x40b3d0
lea esp, [esp]
mov ecx, dword [0x453ce8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x40b381
xor eax, eax
jmp 0x40b38f
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b386
sub eax, edi
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401a90
push 1
push 0x442098
lea ecx, [ebp - 0x1c]
call fcn.00401b20
mov edi, dword [ebp - 0x40]
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401b20
push 2
push 0x44223c
lea ecx, [ebp - 0x1c]
call fcn.00401b20
inc esi
cmp esi, dword [0x453ce4]
jl 0x40b370
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40b49a
call fcn.0041a128
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b3fd
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.004061b0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401b20
push 0x442094
lea ecx, [ebp - 0x1c]
call fcn.00404290
push 0x442094
lea ecx, [ebp - 0x1c]
call fcn.00401f30
call fcn.0041a01a
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 0x40b49a
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 0x40b4ba
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 0x40b4dd
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 0x40b500
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
call fcn.00404050
mov byte [ebp - 4], 0x1e
call fcn.0041a128
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b529
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 0x442224
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x1f
call fcn.00401d20
add esp, 0xc
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea ebx, [edi - 0x10]
mov byte [ebp - 4], 0x20
cmp esi, ebx
je 0x40b5f8
cmp dword [ebx + 0xc], 0
jl 0x40b5e8
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40b5e8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40b592
cmp eax, dword [esi]
jne 0x40b592
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40b5c7
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 0x40b5ab
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.00428b90
add esp, 0x10
lea eax, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x40b5e0
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 0x40b5f8
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a90
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 0x40b61b
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 0x40b6c9
cmp dword [ebx + 0xc], 0
jl 0x40b6b9
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40b6b9
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x40b660
cmp eax, dword [esi]
jne 0x40b660
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40b695
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 0x40b679
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.00428b90
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b6ae
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 0x40b6c9
mov eax, dword [edi - 0xc]
push eax
push edi
lea ecx, [ebp - 0x118]
call fcn.00401a90
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.00405f90
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call fcn.0041a01a
mov ecx, dword [eax + 4]
call fcn.0041d911
mov edi, dword [ebp - 0x30]
mov edx, dword [edi + 0x10]
cmp dword [edx], 0
je 0x40b73e
mov eax, dword [edi + 8]
xor ebx, ebx
test eax, eax
je 0x40b72b
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40b72b
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 0x40b763
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.00404140
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.004248f6
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
call fcn.004248f6
lea ecx, [ebp + 0x20c]
mov byte [ebp - 4], 0xd
call fcn.004112c0
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 7
call fcn.0040c860
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 0x40b7ce
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 0x40b7f1
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 0x40b814
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 0x40b837
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 0x40b866
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 0x40b88c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40b998
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.004294c0
add ebp, 0x648
mov esp, ebp
pop ebp
ret