Function at 0x473d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3088
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x473dab
xor eax, eax
jmp 0x47415d
push eax
lea ecx, [ebp - 0x40]
call fcn.00412d20
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
cmovae eax, edx
mov dword [ebp - 4], 0
cmp word [eax + ebx*2 - 2], 0x5c
je 0x473de3
push 0x5c
lea ecx, [ebp - 0x40]
call fcn.00426ed0
mov edx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov edi, 7
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x14], edi
mov word [ebp - 0x28], ax
test ebx, ebx
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
je 0x4740bc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp word [eax + esi*2], 0x5c
je 0x473f4b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, edx
movzx edx, word [eax + esi*2]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
cmp esi, edi
jae 0x473e68
lea eax, [esi + 1]
cmp edi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, ebx
mov word [eax + esi*2], dx
xor edx, edx
mov word [eax + esi*2 + 2], dx
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
jmp 0x4740a0
mov eax, 0x7ffffffe
sub eax, esi
cmp eax, 1
jb 0x474179
mov ecx, edi
lea edi, [esi + 1]
or edi, 7
mov dword [ebp - 0x48], ecx
cmp edi, 0x7ffffffe
jbe 0x473e92
mov edi, 0x7ffffffe
jmp 0x473eb0
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x473ea8
mov edi, 0x7ffffffe
jmp 0x473eb0
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c910
lea ecx, [esi + 1]
mov dword [ebp - 0x44], eax
add esi, esi
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x14], edi
push esi
jb 0x473f26
push ebx
push eax
call fcn.004ac550
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
mov eax, dword [ebp - 0x48]
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x473f14
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47417e
push ecx
push ebx
call fcn.00493fa5
mov ebx, dword [ebp - 0x44]
add esp, 8
jmp 0x47409a
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004ac550
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov ebx, eax
mov word [esi + eax], cx
xor ecx, ecx
mov word [esi + eax + 2], cx
jmp 0x47409a
lea eax, [ebp - 0x28]
push eax
cmp dword [ebp - 0x50], ecx
je 0x473f64
call fcn.00412d20
mov ecx, dword [ebp - 0x54]
add ecx, 0x18
mov dword [ebp - 0x54], ecx
jmp 0x473f70
push ecx
lea ecx, [ebp - 0x58]
call fcn.0045db80
mov ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], edx
movzx ebx, word [eax + esi*2]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x68], esi
cmp edx, esi
jae 0x473fb8
lea eax, [edx + 1]
cmp esi, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor esi, esi
mov word [eax + edx*2], bx
mov word [eax + edx*2 + 2], si
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
jmp 0x4740a0
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x474179
lea eax, [edx + 1]
mov edi, eax
mov dword [ebp - 0x64], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x473fe2
mov edi, 0x7ffffffe
jmp 0x474000
mov ecx, esi
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp esi, eax
jbe 0x473ff8
mov edi, 0x7ffffffe
jmp 0x474000
lea eax, [ecx + esi]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c910
mov ebx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x64]
cmp esi, 8
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], eax
jb 0x47407c
add esi, esi
push esi
push dword [ebp - 0x28]
push ebx
call fcn.004ac550
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov word [ebx + esi], ax
xor eax, eax
mov word [ebx + esi + 2], ax
mov eax, dword [ebp - 0x68]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47406a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47417e
push edx
push ecx
call fcn.00493fa5
mov ecx, dword [ebp - 0x54]
add esp, 8
mov dword [ebp - 0x28], ebx
jmp 0x4740a3
add esi, esi
lea eax, [ebp - 0x28]
push esi
push eax
push ebx
call fcn.004ac550
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov word [ebx + esi], ax
xor eax, eax
mov word [ebx + esi + 2], ax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], ebx
mov esi, dword [ebp - 0x5c]
inc esi
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x30]
jae 0x4740b7
mov edx, dword [ebp - 0x40]
jmp 0x473e16
mov esi, dword [ebp - 0x58]
jmp 0x4740bf
mov dword [ebp - 0x44], ebx
cmp esi, ecx
je 0x4740ec
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4740cd
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
neg ebx
sbb ebx, ebx
add esi, 0x18
neg ebx
mov dword [ebp - 0x60], ebx
cmp esi, dword [ebp - 0x54]
jne 0x4740c3
mov ebx, dword [ebp - 0x44]
cmp edi, 8
jb 0x47411c
lea edi, [edi*2 + 2]
mov eax, ebx
cmp edi, 0x1000
jb 0x474112
mov ebx, dword [ebx - 4]
add edi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47417e
push edi
push ebx
call fcn.00493fa5
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00412b00
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x47415a
mov edx, dword [ebp - 0x40]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474150
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474183
push ecx
push edx
call fcn.00493fa5
add esp, 8
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret
call fcn.00446c80
call fcn.004af5bc
call fcn.004af5bc
int3