Function at 0x402b50
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1010
call fcn.00415280
mov eax, dword [0x42d278]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
push esi
xor ebx, ebx
push 0x800
lea eax, [esp + 0x18]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00414e60
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402b92
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x402f09
push edi
push 2
push 0x429cc0
push esi
call fcn.0040f9dd
add esp, 0xc
test eax, eax
jne 0x402c5b
jmp 0x402bd0
movzx ecx, word [eax + str._UNC_]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x402bd0
lea eax, [esi + 4]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402bf0
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x402c04
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push 0x5c
push ecx
call fcn.0040f9bb
add esp, 8
cmp eax, ebx
je 0x402c45
add eax, 2
push 0x5c
push eax
call fcn.0040f9bb
add esp, 8
cmp eax, ebx
jne 0x402c4e
mov dword [esp + 0xc], ebx
jmp 0x402f08
lea edx, [esp + 0x18]
sub eax, edx
sar eax, 1
add eax, 1
jmp 0x402cb3
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x429cdc]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x402c60
mov eax, esi
mov edx, esi
jmp 0x402c80
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402c80
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x402c94
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 7
lea esi, [eax + eax]
cmp word [esp + esi + 0x18], bx
mov edi, eax
lea eax, [esp + esi + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x402d9d
mov edi, edi
cmp word [eax], 0x5c
jne 0x402d7e
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x824]
push ecx
call fcn.0040ead2
lea edx, [esp + 0x828]
push edx
mov word [esp + esi + 0x82c], bx
call fcn.004107d6
add esp, 0x10
cmp eax, 0xffffffff
jne 0x402d6f
call fcn.0041083d
cmp dword [eax], 0x11
jne 0x402e3a
lea eax, [esp + 0x81c]
push eax
call ebp
test al, 0x10
jne 0x402d7e
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x435578
mov dword [0x4352e8], 0xc
mov word [0x435370], bx
mov dword [0x4352ec], ebx
mov word [0x435576], bx
call fcn.0040ead2
mov dword [0x435780], 0x62
mov dword [esp + 0x1c], 0xffffffff
jmp 0x402efd
cmp word [esp + esi + 0x1e], bx
jne 0x402d7e
mov dword [esp + 0x14], 1
add edi, 1
lea esi, [edi + edi]
cmp word [esp + esi + 0x1c], bx
lea eax, [esp + esi + 0x1c]
jne 0x402cd0
cmp dword [esp + 0x14], ebx
jne 0x402f07
lea eax, [esp + 0x1c]
push eax
call fcn.004107d6
or esi, 0xffffffff
add esp, 4
cmp eax, esi
jne 0x402f07
call fcn.0041083d
cmp dword [eax], 0x11
je 0x402eb2
push 0x40
push str.mkdir
push 0x4352f0
mov dword [0x4352e8], 0xca
call fcn.0040ead2
add esp, 0xc
mov word [0x435370], bx
call fcn.0041083d
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [0x4352ec], ecx
je 0x402e10
push 0x104
push eax
push 0x435370
call fcn.0040ead2
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x435578
mov word [0x435576], bx
call fcn.0040ead2
mov dword [0x435780], 0x87
jmp 0x402ef9
push 0x40
push str.mkdir
push 0x4352f0
mov dword [0x4352e8], 0xca
call fcn.0040ead2
mov word [0x435370], bx
call fcn.0041083d
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x82c]
push edx
push 0x435370
mov dword [0x4352ec], ecx
call fcn.0040ead2
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x435578
mov word [0x435576], bx
call fcn.0040ead2
add esp, 0x24
mov dword [0x435780], 0x6a
mov dword [esp + 0x10], 0xffffffff
jmp 0x402f00
lea edx, [esp + 0x1c]
push edx
call ebp
test al, 0x10
jne 0x402f07
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x435578
mov dword [0x4352e8], 0xc
mov word [0x435370], bx
mov dword [0x4352ec], ebx
mov word [0x435576], bx
call fcn.0040ead2
mov dword [0x435780], 0x7f
mov dword [esp + 0x1c], esi
add esp, 0xc
mov word [0x43577e], bx
pop ebp
pop edi
mov ecx, dword [esp + 0x1014]
mov eax, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.0040eac3
add esp, 0x1010
ret