Function at 0x4088e0
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467178
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044d260
add esp, 8
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x84], 0
call fcn.0040dd40
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
lea ebx, [esp + 0x44]
call fcn.0040df80
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x4089b6
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.0040ae70
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x54]
mov dword [eax + 0x120], 0x20001003
mov byte [esp + 0x80], bl
call fcn.0040de80
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40900a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40900a
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push edx
lea ebx, [esp + 0x5c]
call fcn.0040eb90
lea edi, [esp + 0x34]
mov esi, ebx
call fcn.0040df10
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x408a57
test al, 0x10
je 0x408a57
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push esi
call fcn.004092e0
test al, al
je 0x408a57
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.0040de80
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x408a40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [0x486430], 0
je 0x408a98
lea ecx, [esp + 0x54]
mov dword [esi + 0x120], 0x70
mov byte [esp + 0x80], 0
call fcn.0040de80
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x4089a1
lea ecx, [esp + 0x1c]
push ecx
call fcn.00409030
mov byte [esp + 0x80], 2
mov edi, dword [esp + 0x1c]
mov ecx, 0x4740fc
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408adb
test dx, dx
je 0x408ad7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408adb
add eax, 4
add ecx, 4
test dx, dx
jne 0x408ab5
xor eax, eax
jmp 0x408adf
sbb eax, eax
sbb eax, ebx
test eax, eax
jne 0x408b3e
lea eax, [edi - 0x10]
mov dword [esi + 0x120], 0x70
mov byte [esp + 0x80], 1
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408b10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.0040de80
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x4089a1
lea edi, [esp + 0x44]
call fcn.0040ba90
lea ecx, [esp + 0x20]
push 0x85
push ecx
mov byte [esp + 0x88], 3
call fcn.00406770
add esp, 8
mov edi, eax
mov byte [esp + 0x80], 4
mov esi, dword [esp + 0x48]
test esi, esi
mov ebx, dword [esp + 0x4c]
je 0x408b80
mov edx, ebx
sub edx, esi
sar edx, 2
jne 0x408b85
call fcn.004335f3
push edi
mov ecx, esi
call fcn.00405aa0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408bb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push 0x88
push ecx
call fcn.00406770
add esp, 8
mov edi, eax
test esi, esi
mov byte [esp + 0x80], 5
je 0x408be1
mov eax, ebx
sub eax, esi
sar eax, 2
cmp eax, 1
ja 0x408be6
call fcn.004335f3
lea ecx, [esi + 4]
push edi
call fcn.00405aa0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408c17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push 0x8a
push ecx
call fcn.00406770
add esp, 8
mov edi, eax
test esi, esi
mov byte [esp + 0x80], 6
je 0x408c43
mov eax, ebx
sub eax, esi
sar eax, 2
cmp eax, 2
ja 0x408c48
call fcn.004335f3
lea ecx, [esi + 8]
push edi
call fcn.00405aa0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push 0x8b
push ecx
call fcn.00406770
add esp, 8
mov edi, eax
test esi, esi
mov byte [esp + 0x80], 7
je 0x408ca3
sub ebx, esi
sar ebx, 2
cmp ebx, 3
ja 0x408ca8
call fcn.004335f3
lea ecx, [esi + 0xc]
push edi
call fcn.00405aa0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408cd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push 0x86
push ecx
call fcn.00406770
sub esp, 8
mov byte [esp + 0x90], 8
mov edx, esp
mov dword [esp + 0x44], esp
push edx
lea ecx, [esp + 0x58]
call fcn.0040bb30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0044d9c0
add esp, 0x1c
mov byte [esp + 0x80], 9
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004079a0
add esp, 0xc
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 1
push 0
push ecx
call fcn.00420cb6
cmp eax, 1
jne 0x408f4c
lea edx, [esp + 0x2c]
push 0x84
push edx
call fcn.00406770
mov esi, eax
lea eax, [esp + 0x30]
push 0x84
push eax
mov byte [esp + 0x90], 0xc
call fcn.00406770
add esp, 0x10
mov edi, dword [ebp + 8]
push esi
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov byte [esp + 0x8c], 0xd
call fcn.0040d8a0
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00452020
add esp, 0x14
mov byte [esp + 0x80], 0xf
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408df0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 0x10
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x20]
mov ecx, 0x4740fc
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408e49
test dx, dx
je 0x408e45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408e49
add eax, 4
add ecx, 4
test dx, dx
jne 0x408e23
xor eax, eax
jmp 0x408e4e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x408fb9
mov eax, dword [edi + 0xcc]
push eax
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00402d30
lea ecx, [esp + 0x3c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00407ce0
add esp, 0xc
push eax
lea ecx, [edi + 0xc8]
mov byte [esp + 0x84], 0x11
call fcn.00405aa0
mov byte [esp + 0x80], 0x10
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ec3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push edi
call fcn.004092e0
test al, al
jne 0x408f5b
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408f2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x408ccd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x120], 0x642
jmp 0x408fcc
lea ecx, [esp + 0x20]
call fcn.004011e0
lea ecx, [esp + 0x14]
call fcn.004011e0
lea ecx, [esp + 0x18]
call fcn.004011e0
lea ecx, [esp + 0x44]
call fcn.0040d8b0
lea ecx, [esp + 0x1c]
call fcn.004011e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.0040de80
lea ecx, [esp + 0x10]
call fcn.004011e0
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
mov dword [edi + 0x120], 0x642
call fcn.004011e0
lea ecx, [esp + 0x14]
call fcn.004011e0
lea ecx, [esp + 0x18]
call fcn.004011e0
lea ecx, [esp + 0x44]
call fcn.0040d8b0
lea ecx, [esp + 0x1c]
call fcn.004011e0
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 0
call fcn.0040de80
lea ecx, [esp + 0x10]
call fcn.004011e0
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4