Function at 0x408962
Capabilities:
Get file attributes
Terminate process

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [0x724318], eax
mov eax, 0x3244
mov dword [esp + 4], edx
mov dword [esp], edx
mov dword [esp + 0xc], 0x2c76
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 0x2a9c
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x3365
mov eax, dword [esp + 0x24]
xor eax, 0x6fd
cmp dword [esp + 8], eax
jl 0x408ab0
mov eax, dword [0x6abc5c]
xor ecx, ecx
mov dword [0x72424c], edx
inc ecx
mov dword [0x724238], ecx
mov dword [0x724260], ecx
mov dword [eax + 0x44], 8
mov eax, dword [0x6abc5c]
push 0x12
mov dword [eax + 0x48], edx
mov eax, dword [0x6abc5c]
mov dword [0x72427c], edx
mov dword [0x724280], edx
mov dword [0x724284], edx
mov dword [eax + 0x60], ecx
mov eax, dword [0x6abc5c]
mov dword [0x72429c], 0x14
mov dword [0x7242a0], ecx
mov dword [eax + 0x80], ecx
mov eax, dword [0x6abc5c]
mov dword [0x7242bc], ecx
mov dword [0x7242d0], ecx
mov dword [eax + 0xa4], edx
mov ecx, dword [0x6abc5c]
pop eax
mov dword [0x72430c], eax
mov dword [0x7242d8], eax
mov eax, 0xfffffd6f
mov dword [0x7242e0], 0xa
mov dword [0x7242f8], 0x64
mov dword [0x7242cc], 0x22225
sub eax, dword [ecx + 0x80]
sub eax, dword [0x7242bc]
add dword [ecx + 0x9c], eax
mov eax, dword [0x6abc5c]
add dword [eax + 0x60], 0x6a830
mov edx, dword [0x6abc5c]
mov eax, dword [0x72424c]
add eax, 0x8e569
add eax, dword [edx + 0x60]
xor dword [0x72430c], eax
mov eax, dword [0x72429c]
cmp dword [edx + 0xdc], eax
jb 0x408aa8
xor eax, 0x8db85
mov dword [0x72429c], eax
xor dword [esp + 0x24], 0xd63
mov ecx, dword [0x6abc5c]
mov eax, dword [0x72427c]
sub eax, dword [ecx + 0x54]
add eax, 0x1ab8c4
imul eax, dword [0x724290]
mov dword [0x724290], eax
or dword [ecx + 0x60], 0x1083ec
mov ecx, dword [0x6abc5c]
mov eax, dword [0x72427c]
add eax, 0x63daa
imul eax, dword [ecx + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x24]
add eax, 0x4a
cmp dword [esp + 0xc], eax
je 0x408c9d
mov eax, dword [esp + 0x14]
add eax, 0xfffffaab
push esi
cmp dword [esp + 0x10], eax
jg 0x408c54
mov eax, dword [esp + 0x28]
add eax, 0x8a
cmp dword [esp + 8], eax
jg 0x408ca9
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
mov ebp, 0x724230
mov esi, dword [esp + 0x24]
sub edi, 0x9fb
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, 0xc64
mov eax, dword [esp + 0x34]
add ecx, 0x270a
sub eax, 0x13
push eax
push ecx
push ebp
push edx
push esi
push edi
call fcn.004094f0
mov dword [esp + 0x28], eax
mov eax, 0x2ede
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
xor ebx, 0x15a8
mov esi, dword [esp + 0x2c]
sub edi, 0x7b0
mov edx, dword [esp + 0x2c]
xor esi, eax
mov ecx, dword [esp + 0x4c]
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, 0x8a
sub eax, 0xb66
push eax
push ecx
push edx
push esi
push ebp
push edi
push ebx
call fcn.004085c4
mov ecx, dword [0x6abc5c]
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
sub ebx, 0x7a8
mov eax, dword [0x7242b0]
xor edi, 0x1dbb
mov esi, dword [esp + 0x44]
add eax, 0xffee3396
xor dword [ecx + 0x2c], eax
xor esi, 0x345
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
xor edx, 0xfe
mov eax, dword [esp + 0x4c]
sub ecx, 0x13
sub eax, 0x645
push eax
push ecx
push edx
push esi
push ebp
push edi
push ebx
call fcn.00408d97
mov dword [esp + 0x84], eax
add esp, 0x50
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
xor edi, 0x521
mov edx, dword [esp + 0x10]
sub esi, 0x745
mov ecx, dword [esp + 0x10]
add edx, 0x7a7
mov eax, dword [esp + 0x10]
add ecx, 0x247
add eax, 0x3cf
push eax
push ecx
push edx
push esi
push ebp
push edi
call fcn.0040b9fb
add esp, 0x18
mov dword [esp + 0x1c], eax
pop edi
pop ebp
pop ebx
mov edx, dword [0x6abc5c]
mov eax, dword [edx + 0x60]
pop esi
cmp eax, dword [0x7242a0]
jbe 0x408c8d
push dword [0x724318]
mov eax, dword [0x7242ac]
add eax, dword [0x724304]
push eax
push dword [edx + 0xc0]
call dword [edx + 0x3c]
mov ecx, dword [0x6abc5c]
mov dword [ecx + 0x9c], eax
add dword [esp + 8], 0xfffff645
add dword [esp + 0xc], 0xfffff299
push dword [0x7242cc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x72424c]
sub ecx, eax
xor ecx, 0x2a94
cmp dword [esp + 8], ecx
je 0x408d46
mov eax, dword [esp + 4]
add eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 0x2889
push eax
call esi
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 4]
or eax, dword [0x724288]
xor dword [esp + 4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [0x6abc5c]
or ecx, dword [eax + 0x50]
mov eax, dword [0x6abc5c]
or ecx, 0x2ede
xor dword [0x724278], ecx
mov eax, dword [eax + 0xa4]
add eax, 0x270a
xor eax, dword [0x72427c]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 4]
mov ecx, dword [0x7242b0]
add ecx, dword [0x7242a4]
imul eax, ecx
sub dword [0x7242d4], eax
mov eax, dword [0x7242c0]
add eax, dword [0x72424c]
push eax
call esi
mov esi, dword [0x72428c]
jmp 0x408d78
mov eax, dword [esp + 0xc]
and eax, dword [0x724238]
and eax, 0x2c61
add dword [0x7242e0], eax
mov eax, dword [0x6abc5c]
mov ecx, dword [eax + 0x84]
add ecx, dword [eax + 0x44]
or dword [esp + 0x10], ecx
add esi, 3
mov ecx, dword [esp + 0x28]
mov edx, dword [0x6abc5c]
imul ecx, dword [0x724284]
mov eax, dword [edx + 0x50]
or eax, ecx
cmp esi, eax
ja 0x408d4e
jmp 0x408c5a