Function at 0x403860
Capabilities:
Get file attributes
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x44a8fb
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x45d740]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d740]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x1d4], 0
mov eax, dword [esp + 0x1dc]
mov eax, dword [eax - 0xc]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x403950
mov ecx, dword [esi + 0x86c]
push 0
push 0
push 0x1042
push ecx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x40393e
lea ebx, [esi + 0x84c]
push edi
mov ecx, ebx
call fcn.004107ff
cmp eax, 1
jne 0x403950
push 0
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.00410db0
push eax
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x1d8], 1
call fcn.00402080
mov byte [esp + 0x1d4], 0
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 0x403950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403950
lea ecx, [esi + 0x6b0]
push ecx
lea ecx, [esi + 0x7a4]
call fcn.0041915e
mov ebx, dword [esp + 0x1dc]
push 0x45224c
push ebx
call fcn.00431d0a
add esp, 8
test eax, eax
sete al
test al, al
je 0x4039da
mov eax, dword [esi + 0x6b0]
push ecx
lea edi, [esi + 0x6b0]
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebx, esp
push eax
call fcn.00402220
add esp, 4
lea edx, [esp + 0x18]
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.00404af0
push eax
mov ecx, edi
mov byte [esp + 0x1d8], 2
call fcn.00402080
mov byte [esp + 0x1d4], 0
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 0x403a56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403a56
push 0x452250
push ebx
call fcn.00431d0a
add esp, 8
test eax, eax
setne al
test al, al
je 0x403a56
mov eax, dword [ebx - 0xc]
push eax
lea edi, [esi + 0x6b0]
push ebx
mov ecx, edi
call fcn.0040a7c0
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0040a300
mov eax, dword [eax]
push 0x452254
push eax
call fcn.00431d0a
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x403a56
push 0x452254
mov ecx, edi
call fcn.0040a090
mov eax, dword [esi + 0x6b0]
cmp dword [eax - 0xc], 0
jne 0x403a90
mov ecx, esi
call fcn.004033d0
mov dword [esp + 0x1d4], 0xffffffff
mov eax, dword [esp + 0x1dc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x403f45
mov ecx, dword [esi + 0x7c4]
push eax
push 0
push 0x14a
push ecx
call ebp
mov edx, dword [esi + 0x7c4]
push 0
push 0
push 0x14e
push edx
call ebp
mov eax, dword [esi + 0x86c]
push 0
push 0
push 0x1009
push eax
call ebp
mov ecx, dword [esi + 0x86c]
push 0
push 0
push 0x101c
push ecx
call ebp
test eax, eax
jne 0x403ac5
push 0xffffffffffffffff
push 0xc8
push eax
push 0x452200
lea edi, [esi + 0x84c]
push eax
mov ecx, edi
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push 0
push 0x452258
push 1
mov ecx, edi
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push 0
push 0x452208
push 2
mov ecx, edi
call fcn.00410932
push 0xffffffffffffffff
push 0x73
push 0
push 0x452260
push 3
mov ecx, edi
call fcn.00410932
push 0x10
xor ecx, ecx
call fcn.00402e20
add esp, 4
push 0
push eax
push 0
push 0
push 0x45224c
push 0
push 3
mov ecx, edi
call fcn.00410985
push 1
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, edi
call fcn.004109d1
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], 0
jmp 0x403b80
lea ecx, [esp + 0x28]
call fcn.0041d5c8
mov byte [esp + 0x1d4], 3
mov eax, dword [esi + 0x6b0]
lea ebx, [esi + 0x6b0]
push 0x45226c
push eax
call fcn.00431d0a
add esp, 8
test eax, eax
sete al
test al, al
jne 0x403eea
push 0x452270
lea edx, [esp + 0x5c]
push ebx
push edx
call fcn.0040a540
add esp, 0xc
mov byte [esp + 0x1d4], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0041d654
mov ebx, eax
mov byte [esp + 0x1d4], 3
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x403eea
lea ecx, [esp + 0x28]
call fcn.0041d413
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.0041d58f
test eax, eax
jne 0x403edf
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
neg eax
sbb eax, eax
add eax, 1
cmp eax, dword [esp + 0x18]
sete al
test al, al
je 0x403edf
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041d7f3
mov esi, eax
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d8], 5
call fcn.0041d883
mov ebp, eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1d8], 6
call fcn.0041d883
mov byte [esp + 0x1d4], 7
mov esi, dword [esi]
mov ebp, dword [ebp]
mov ebx, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
mov ecx, ebp
call fcn.00402e20
add esp, 4
xor esi, esi
push esi
push eax
push esi
push esi
push ebx
mov ebx, dword [esp + 0x38]
push ebx
push 3
mov ecx, edi
call fcn.00410985
mov ebp, eax
mov byte [esp + 0x1d4], 6
mov eax, dword [esp + 0x48]
add ebx, 1
add eax, 0xfffffff0
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1d4], 5
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1d4], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
push eax
push esi
push esi
push esi
push esi
push 4
push esi
push ebp
mov ecx, edi
call fcn.004109d1
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041d883
mov eax, dword [eax]
push 0x410
push 0x160
lea edx, [esp + 0x6c]
push edx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403db5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x174]
push ecx
push 2
push ebp
mov ecx, edi
call fcn.004107d4
call fcn.00412fcd
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
je 0x403f7b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d4], 8
call fcn.0041d44d
and eax, 0x3ff
and edx, esi
or eax, edx
je 0x403e0e
mov ebx, 1
jmp 0x403e10
xor ebx, ebx
lea ecx, [esp + 0x28]
call fcn.0041d44d
shrd eax, edx, 0xa
mov ecx, eax
shr edx, 0xa
mov eax, edx
mov dword [esp + 0x60], eax
mov eax, ebx
cdq
add ecx, eax
mov eax, dword [esp + 0x60]
adc eax, edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str._10d_KB
push edx
call fcn.0040b0d0
mov ebx, dword [esp + 0x24]
add esp, 0x10
push ebx
push 1
push ebp
mov ecx, edi
call fcn.004107d4
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.0041d4eb
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x48]
call fcn.0040acd0
mov byte [esp + 0x1d4], 9
mov eax, dword [eax]
push eax
push 3
push ebp
mov ecx, edi
call fcn.004107d4
mov byte [esp + 0x1d4], 8
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403eb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1d4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
jne 0x403c13
lea ecx, [esp + 0x28]
mov byte [esp + 0x1d4], 0
call fcn.0041d5ec
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x403b80
mov ecx, dword [esi + 0x6b0]
push ecx
push 0x452234
call fcn.00405940
mov dword [esp + 0x1dc], 0xffffffff
mov eax, dword [esp + 0x1e4]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403f51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00431676
add esp, 0x1c4
ret 4
push 0x80004005
call fcn.00402350
int3