Function at 0x404700
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00424210
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x7f6
xor ebx, ebx
lea eax, [ebp - 0x7fa]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x1008], esi
call fcn.00407d30
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404740
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x404a6e
push edi
push 2
push 0x43a24c
push esi
call fcn.00412f6f
add esp, 0xc
test eax, eax
jne 0x404808
movups xmm0, xmmword [0x43a204]
mov ax, word [0x43a214]
lea edx, [esi + 4]
mov word [ebp - 0x7f4], ax
mov esi, edx
movups xmmword [ebp - 0x804], xmm0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404791
lea edi, [ebp - 0x804]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4047b0
mov ecx, edx
lea eax, [ebp - 0x7f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x5c
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004077f2
add esp, 8
test eax, eax
je 0x404a80
add eax, 2
push 0x5c
push eax
call fcn.004077f2
mov esi, eax
add esp, 8
test esi, esi
je 0x404a80
lea eax, [ebp - 0x804]
sub esi, eax
sar esi, 1
inc esi
jmp 0x40485f
movq xmm0, qword [0x43a218]
mov edx, esi
mov ax, word [0x43a220]
movq qword [ebp - 0x804], xmm0
mov word [ebp - 0x7fc], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404827
lea edi, [ebp - 0x804]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404840
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 7
lea edi, [esi + esi]
movzx eax, word [ebp + edi - 0x804]
mov ecx, eax
test ax, ax
je 0x404911
cmp cx, 0x5c
jne 0x4048f2
push esi
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0040bfa6
add esp, 0xc
cmp edi, 0x800
jae 0x404a93
xor eax, eax
mov word [ebp + edi - 0x1004], ax
lea eax, [ebp - 0x1004]
push eax
call fcn.00413164
add esp, 4
cmp eax, 0xffffffff
jne 0x4048e1
call fcn.0041322b
cmp dword [eax], 0x11
jne 0x4049c1
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x404a52
jmp 0x4048f2
cmp word [ebp + edi - 0x802], 0
mov eax, 1
cmove ebx, eax
inc esi
lea edi, [esi + esi]
movzx eax, word [ebp + edi - 0x804]
mov ecx, eax
test ax, ax
jne 0x404875
test ebx, ebx
jne 0x404a80
lea eax, [ebp - 0x804]
push eax
call fcn.00413164
add esp, 4
cmp eax, 0xffffffff
jne 0x404a80
call fcn.0041322b
cmp dword [eax], 0x11
je 0x404a41
push 0x40
push str.mkdir
push 0x43fe18
mov dword [0x43fc0c], 0xca
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x43fe96], ax
call fcn.0041322b
mov eax, dword [eax]
mov dword [0x43fc08], eax
mov eax, dword [ebp - 0x1008]
test eax, eax
je 0x404986
push 0x104
push eax
push 0x43fc10
call fcn.0040bfa6
add esp, 0xc
push 0x104
xor eax, eax
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sftlcmn_sftl_filesys.c
push 0x43fe98
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0xc
xor eax, eax
mov word [0x44009e], ax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
push 0x40
push str.mkdir
push 0x43fe18
mov dword [0x43fc0c], 0xca
call fcn.0040bfa6
xor eax, eax
mov word [0x43fe96], ax
call fcn.0041322b
push 0x104
mov eax, dword [eax]
mov dword [0x43fc08], eax
lea eax, [ebp - 0x1004]
push eax
push 0x43fc10
call fcn.0040bfa6
push 0x104
xor eax, eax
push str.C:JenkinsAE_build_workHibun_AE_Current_src_sftlcmn_sftl_filesys.c
push 0x43fe98
mov word [0x43fe16], ax
call fcn.0040bfa6
add esp, 0x24
xor eax, eax
mov word [0x44009e], ax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x404a80
xor eax, eax
mov dword [0x43fc0c], 0xc
mov word [0x43fe96], ax
mov dword [0x43fc08], eax
jmp 0x404986
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret
call fcn.00406ce3
int3