Function at 0x4038d0
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1010
call fcn.00416c80
mov eax, dword [0x42f278]
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.00416890
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403912
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x403c89
push edi
push 2
push 0x42bcc8
push esi
call fcn.00411372
add esp, 0xc
test eax, eax
jne 0x4039db
jmp 0x403950
movzx ecx, word [eax + str._UNC_]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x403950
lea eax, [esi + 4]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403970
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x403984
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.00411350
add esp, 8
cmp eax, ebx
je 0x4039c5
add eax, 2
push 0x5c
push eax
call fcn.00411350
add esp, 8
cmp eax, ebx
jne 0x4039ce
mov dword [esp + 0xc], ebx
jmp 0x403c88
lea edx, [esp + 0x18]
sub eax, edx
sar eax, 1
add eax, 1
jmp 0x403a33
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + 0x42bce4]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x4039e0
mov eax, esi
mov edx, esi
jmp 0x403a00
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403a00
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x403a14
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 0x403b1d
mov edi, edi
cmp word [eax], 0x5c
jne 0x403afe
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x824]
push ecx
call fcn.00410502
lea edx, [esp + 0x828]
push edx
mov word [esp + esi + 0x82c], bx
call fcn.0041216b
add esp, 0x10
cmp eax, 0xffffffff
jne 0x403aef
call fcn.004121d2
cmp dword [eax], 0x11
jne 0x403bba
lea eax, [esp + 0x81c]
push eax
call ebp
test al, 0x10
jne 0x403afe
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x437580
mov dword [0x4372ec], 0xc
mov word [0x437370], bx
mov dword [0x437370], ebx
mov word [0x43757e], bx
call fcn.00410502
mov dword [0x437374], 0x62
mov dword [esp + 0x1c], 0xffffffff
jmp 0x403c7d
cmp word [esp + esi + 0x1e], bx
jne 0x403afe
mov dword [esp + 0x14], 1
add edi, 1
lea esi, [edi + edi]
cmp word [esp + esi + 0x1c], bx
lea eax, [esp + esi + 0x1c]
jne 0x403a50
cmp dword [esp + 0x14], ebx
jne 0x403c87
lea eax, [esp + 0x1c]
push eax
call fcn.0041216b
or esi, 0xffffffff
add esp, 4
cmp eax, esi
jne 0x403c87
call fcn.004121d2
cmp dword [eax], 0x11
je 0x403c32
push 0x40
push str.mkdir
push 0x4372f0
mov dword [0x4372ec], 0xca
call fcn.00410502
add esp, 0xc
mov word [0x437370], bx
call fcn.004121d2
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [0x437370], ecx
je 0x403b90
push 0x104
push eax
push 0x437378
call fcn.00410502
add esp, 0xc
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x437580
mov word [0x43757e], bx
call fcn.00410502
mov dword [0x437374], 0x87
jmp 0x403c79
push 0x40
push str.mkdir
push 0x4372f0
mov dword [0x4372ec], 0xca
call fcn.00410502
mov word [0x437370], bx
call fcn.004121d2
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x82c]
push edx
push 0x437378
mov dword [0x437370], ecx
call fcn.00410502
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x437580
mov word [0x43757e], bx
call fcn.00410502
add esp, 0x24
mov dword [0x437374], 0x6a
mov dword [esp + 0x10], 0xffffffff
jmp 0x403c80
lea edx, [esp + 0x1c]
push edx
call ebp
test al, 0x10
jne 0x403c87
push 0x104
push str....._src_sftlcmn_sftl_filesys.c
push 0x437580
mov dword [0x4372ec], 0xc
mov word [0x437370], bx
mov dword [0x437370], ebx
mov word [0x43757e], bx
call fcn.00410502
mov dword [0x437374], 0x7f
mov dword [esp + 0x1c], esi
add esp, 0xc
mov word [0x437786], bx
pop ebp
pop edi
mov ecx, dword [esp + 0x1014]
mov eax, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0x1010
ret