Function at 0x409960
Capabilities:
Delete file
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x560
mov eax, dword [0x4a8ae4]
push ebx
xor eax, ebp
mov dword [esp + 0x55c], eax
mov eax, dword [ebp + 8]
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
call fcn.0046249e
xor edi, edi
cmp eax, edi
je 0x4099b7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov dword [esp + 0x48], eax
jmp 0x4099bb
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x98]
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call fcn.0045be70
mov dword [esp + 0x574], edi
call fcn.00476002
mov eax, dword [eax + 4]
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], esi
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x574], 1
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x574], 2
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x574], 3
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x64], eax
mov dword [esp + 0x14c], 7
mov dword [esp + 0x148], edi
mov word [esp + 0x138], di
mov byte [esp + 0x574], 5
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
xor edx, edx
cmp esi, edi
mov byte [esp + 0x574], 6
mov dword [esp + 0x4c], edx
jle 0x40a4a1
xor esi, esi
xor eax, eax
mov word [esp + 0x358], si
mov ecx, 0x81
lea edi, [esp + 0x35a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp edx, esi
mov word [esp + 0x150], si
mov ecx, 0x81
lea edi, [esp + 0x152]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jl 0x40a4c2
cmp edx, dword [ebx + 0x18]
jge 0x40a4c2
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edx*4]
mov esi, dword [esp + 0x14]
lea eax, [eax + edx*4]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x409b3c
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409b2e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409b2e
push eax
call fcn.00401570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409b25
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x409b3c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403be0
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0044a56f
add esp, 8
test eax, eax
jne 0x409b54
or ecx, 0xffffffff
jmp 0x409b5a
sub eax, esi
sar eax, 1
mov ecx, eax
mov eax, dword [esi - 0xc]
sub eax, ecx
dec eax
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00408280
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x574], 7
je 0x409bcd
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409bbf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409bbf
push eax
call fcn.00401570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409bb6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x409bcd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403be0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0x574], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xd0
push 0x48a050
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00405530
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x58c], 8
call fcn.00408390
add esp, 0x18
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x574], 9
je 0x409c88
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409c7a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409c7a
push eax
call fcn.00401570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409c71
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x409c88
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00403be0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
mov byte [esp + 0x574], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
mov byte [esp + 0x574], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x48a050
push 0x48a074
lea ecx, [esp + 0x28]
call fcn.00408010
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x1c]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x20]
mov word [esp + 0x94], ax
mov word [esp + 0x88], 1
mov dword [esp + 0x7c], 2
mov ebx, dword [edx - 4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
jge 0x409d61
push 0x104
lea ecx, [esp + 0x24]
call fcn.00401520
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x154]
push eax
call fcn.0044a5c9
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx - 4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
add esp, 8
or eax, ecx
jge 0x409d9e
push 0x104
lea ecx, [esp + 0x18]
call fcn.00401520
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x35c]
push ecx
call fcn.0044a5c9
add esp, 8
push 0x489aa4
lea edx, [esp + 0x154]
lea eax, [esp + 0x35c]
push 0x48a068
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
call fcn.00408010
push 0x48a068
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.00405530
add esp, 0xc
mov ecx, dword [eax]
mov edi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x574], 0xa
je 0x409e57
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409e45
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409e45
push eax
call fcn.00401570
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409e3c
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x1c], edi
jmp 0x409e57
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00403be0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x574], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi - 4]
mov esi, dword [edi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, esi
or eax, ecx
jge 0x409ea1
push esi
lea ecx, [esp + 0x20]
call fcn.00401520
mov edi, dword [esp + 0x1c]
push edi
call fcn.0044a7c3
add esp, 4
test esi, esi
jl 0x40a4b8
cmp esi, dword [edi - 8]
jg 0x40a4b8
mov dword [edi - 0xc], esi
mov word [edi + esi*2], 0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], esp
mov ebx, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x409f02
cmp eax, dword [esi]
jne 0x409f02
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409f36
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40a4b3
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebx], eax
call fcn.00408760
add esp, 8
test eax, eax
je 0x40a2a2
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40a0ea
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x14b
mov byte [esp + 0x578], 0xb
call fcn.00462133
test eax, eax
je 0x409f8f
push 0x14b
push eax
lea ecx, [esp + 0x18]
call fcn.0042b1e0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push 0x14b
push ecx
call fcn.00408f40
add esp, 0xc
push 0
lea ecx, [esp + 0xb4]
call fcn.00403b40
mov byte [esp + 0x574], 0xc
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
push 0x14f
mov byte [esp + 0x578], 0xd
call fcn.00462133
test eax, eax
je 0x409ff4
push 0x14f
push eax
lea ecx, [esp + 0x48]
call fcn.0042b1e0
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
push eax
push ecx
add esi, 0xfffffff0
mov dword [esp + 0xb4], esp
mov edi, esp
push esi
call fcn.00401570
add eax, 0x10
mov dword [edi], eax
mov ebx, dword [esp + 0x1c]
add ebx, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
push ebx
mov byte [esp + 0x584], 0xe
call fcn.00401570
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea ecx, [esp + 0xbc]
mov byte [esp + 0x580], 0xd
call fcn.00403ed0
lea ecx, [esp + 0xb0]
call fcn.0045d4bd
dec eax
cmp eax, 8
ja case.0x40a05e.3
jmp dword [eax*4 + 0x40a708]
mov dword [esp + 0x30], 1
jmp case.0x40a05e.3
mov dword [esp + 0x30], 0
jmp case.0x40a05e.3
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 1
jmp case.0x40a05e.3
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x574], 0xc
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0b7
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x574], 0xb
call fcn.00403b90
mov byte [esp + 0x574], 6
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a0ea
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40a486
cmp eax, 1
jne 0x40a2a2
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test eax, eax
push 0x48a050
lea eax, [ebx + 0xd0]
mov byte [esp + 0x578], 0xf
push eax
je 0x40a198
lea eax, [esp + 0x70]
push eax
call fcn.00405530
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x58c], 0x10
call fcn.00408390
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x578], 0x11
call fcn.00403cc0
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x574], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x68]
jmp 0x40a1f9
lea eax, [esp + 0x64]
push eax
call fcn.00405530
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x58c], 0x12
call fcn.00408390
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x578], 0x13
call fcn.00403cc0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x574], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a1f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x574], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a21b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x40a25d
mov eax, dword [esp + 0x38]
push eax
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x44], esp
mov edi, esp
push eax
call fcn.00401570
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00407e70
add esp, 8
jmp 0x40a264
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x40], esp
mov edi, esp
push esi
call fcn.00401570
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.0040eee0
mov byte [esp + 0x574], 6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a2a2
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, dword [esp + 0x20]
test esi, esi
mov edi, eax
jne 0x40a2bb
xor eax, eax
jmp 0x40a2cc
push esi
call fcn.00449da9
add esp, 4
test eax, eax
jl 0x40a4b8
cmp eax, dword [esi - 8]
jg 0x40a4b8
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x40a2ea
xor eax, eax
jmp 0x40a2fb
push esi
call fcn.00449da9
add esp, 4
test eax, eax
jl 0x40a4b8
cmp eax, dword [esi - 8]
jg 0x40a4b8
test edi, edi
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
jne 0x40a486
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x578], 0x14
call fcn.00406210
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xd7c]
test eax, eax
mov byte [esp + 0x574], 0x15
jle 0x40a404
jmp 0x40a360
test edi, edi
jl 0x40a4c2
mov edx, dword [esp + 0x24]
cmp edi, dword [edx + 0xd7c]
jge 0x40a4c2
mov eax, edx
mov ecx, dword [eax + 0xd78]
lea eax, [ecx + edi*4]
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x40a3df
mov edx, dword [esi + 0xc]
test edx, edx
lea ebx, [esi + 0xc]
jl 0x40a3cd
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40a3cd
push eax
call fcn.00401570
mov dword [esp + 0x38], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x40a3c0
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ebx, dword [esp + 0x34]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x40a3df
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403be0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
push eax
push ebx
call fcn.0044a53d
add esp, 8
test eax, eax
je 0x40a43e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xd7c]
inc edi
cmp edi, eax
jl 0x40a360
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xd7c]
add ecx, 0xd74
lea edx, [esp + 0x150]
push edx
push eax
call fcn.0045c0c8
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x150]
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.0045c0c8
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x574], 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x574], 6
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a486
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
inc edx
cmp edx, eax
mov dword [esp + 0x4c], edx
jl 0x409a98
xor edi, edi
call fcn.0046249e
cmp eax, edi
je 0x40a4c7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x40a4c9
call fcn.004012f0
push 0x80070057
call fcn.004010a0
call fcn.0045a790
xor eax, eax
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xffffffffffffffff
add ebx, 0x10
push edi
mov ecx, ebx
call fcn.0045bee2
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.0045bee2
cmp dword [esp + 0xa0], edi
jle 0x40a5fc
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x574], 0x16
call fcn.004621d7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
push 0xdd
mov byte [esp + 0x578], 0x17
call fcn.00462133
cmp eax, edi
je 0x40a54a
push 0xdd
push eax
lea ecx, [esp + 0x30]
call fcn.0042b1e0
push 0x102
call fcn.00462133
cmp eax, edi
je 0x40a56b
push 0x102
push eax
lea ecx, [esp + 0x34]
call fcn.0042b1e0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0x1c]
push 0x40
push esi
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x98]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xd0]
sub eax, 0x10
mov dword [esp + 0x44], esp
mov ebx, esp
push eax
call fcn.00401570
mov ecx, dword [esp + 0x54]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00421c20
add esi, 0xfffffff0
mov byte [esp + 0x574], 0x16
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40a5d6
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x574], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a5fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xa0]
call fcn.0045bee2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x574], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x574], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a657
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x574], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a67d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x574], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x574], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a6c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x98]
mov dword [esp + 0x574], 0xffffffff
call fcn.0045bec2
mov ecx, dword [esp + 0x56c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x564]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a318
mov esp, ebp
pop ebp
ret 4