Function at 0x4331f0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x487938
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x433234
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0
push eax
call fcn.0046b81d
or ebx, 0xffffffff
add esp, 8
cmp eax, ebx
je 0x43321f
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x433260
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebx
je 0x4332bf
test al, 0x10
je 0x4332bf
mov edi, 1
mov edi, edi
mov ecx, dword [esi]
push edi
push ecx
lea edx, [esp + 0x18]
push str._s__d_
push edx
call fcn.004067e0
mov ebp, dword [esp + 0x20]
push 0
push ebp
call fcn.0046b81d
add esp, 0x18
cmp eax, ebx
je 0x43349c
add edi, 1
jmp 0x433290
mov eax, dword [esi]
push 0x2e
push eax
call fcn.00469a14
add esp, 8
test eax, eax
je 0x43346c
sub eax, dword [esi]
mov edi, eax
cmp edi, ebx
je 0x43346c
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4332fa
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x433329
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov bl, 2
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.0040a080
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.00406820
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43337f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 1
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00405f00
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 4
call fcn.00406820
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4333c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, 1
nop
push ebp
push edi
push ebx
lea ecx, [esp + 0x1c]
push str._s__d_._s
push ecx
call fcn.004067e0
mov edx, dword [esp + 0x24]
push 0
push edx
call fcn.0046b81d
add esp, 0x1c
cmp eax, 0xffffffff
je 0x4333fb
add edi, 1
jmp 0x4333d0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00406820
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433449
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0x28], 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 0x4334c6
mov ecx, dword [eax]
push eax
jmp 0x4334bf
mov edi, 1
mov ecx, dword [esi]
push edi
push ecx
lea edx, [esp + 0x18]
push str._s__d_
push edx
call fcn.004067e0
mov ebp, dword [esp + 0x20]
push 0
push ebp
call fcn.0046b81d
add esp, 0x18
cmp eax, ebx
je 0x43349c
add edi, 1
jmp 0x433471
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00406820
add ebp, 0xfffffff0
lea ecx, [ebp + 0xc]
mov dword [esp + 0x28], ebx
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4334c6
mov ecx, dword [ebp]
push ebp
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1c
ret