Function at 0x43d1e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [0x54c03c]
lea ecx, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0040fd00
xor ebx, ebx
nop dword [eax]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
cmp eax, dword [ebp + 0xc]
je 0x43d26b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], 7
jbe 0x43d22d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp esi, 7
jbe 0x43d250
sub esp, 0xc
movzx ecx, byte [ebp - 0x58]
mov byte [esp + 4], cl
lea ecx, [ebp - 0x40]
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040184a
jmp 0x43d26b
lea ecx, [esi + esi]
mov dword [ebp - 0x30], esi
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004da510
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
lea eax, [ebp - 0x58]
mov esi, eax
push eax
call fcn.0041c0f0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 7
mov ecx, esi
jbe 0x43d28d
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, edi
sub esi, edx
cmp esi, eax
jae 0x43d2c0
sub esp, 0x10
movzx edx, byte [ebp - 0x5c]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x40]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.004030d8
jmp 0x43d2e7
lea esi, [edx + eax]
cmp edi, 7
lea edi, [ebp - 0x40]
mov dword [ebp - 0x30], esi
jbe 0x43d2d1
mov edi, dword [ebp - 0x40]
add eax, eax
lea edx, [edi + edx*2]
push eax
push ecx
push edx
call fcn.004da510
add esp, 0xc
mov word [edi + esi*2], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x43d322
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d318
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d4f9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jae 0x43d350
lea edx, [eax + 1]
cmp ecx, 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], edx
jbe 0x43d33d
mov ecx, dword [ebp - 0x40]
mov word [ecx + eax*2], 0x5f
mov word [ecx + eax*2 + 2], 0
jmp 0x43d372
sub esp, 0xc
movzx eax, byte [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], 0x5f
mov dword [esp], 1
call fcn.0040e450
push 0x7fff
push 0
call fcn.0043c3e0
add esp, 8
push eax
lea eax, [ebp - 0x58]
mov esi, eax
push eax
call fcn.0041c0f0
add esp, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 7
mov ecx, esi
jbe 0x43d39e
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, edi
sub esi, edx
cmp esi, eax
jae 0x43d3d0
sub esp, 0x10
movzx edx, byte [ebp - 0x5c]
mov byte [esp + 4], dl
mov dword [esp + 8], ecx
lea ecx, [ebp - 0x40]
mov dword [esp + 0xc], eax
mov dword [esp], eax
call fcn.004030d8
jmp 0x43d3f7
lea esi, [edx + eax]
cmp edi, 7
lea edi, [ebp - 0x40]
mov dword [ebp - 0x30], esi
jbe 0x43d3e1
mov edi, dword [ebp - 0x40]
add eax, eax
lea edx, [edi + edx*2]
push eax
push ecx
push edx
call fcn.004da510
add esp, 0xc
mov word [edi + esi*2], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x43d432
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d428
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d4f9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
jbe 0x43d441
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
push eax
push edx
lea edi, [ebp - 0x58]
push edi
call fcn.004113e0
lea esi, [ebp - 0x28]
mov ecx, esi
push edi
call fcn.0040ffd0
mov ecx, edi
call fcn.0040fef0
cmp dword [ebp - 0x14], 7
jbe 0x43d46a
mov esi, dword [ebp - 0x28]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43d490
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.0040ff50
mov esi, 1
jmp 0x43d492
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x43d4c9
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d4bf
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d4f9
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
test esi, esi
jne 0x43d4db
inc ebx
cmp ebx, 0x31
jbe 0x43d200
xor ebx, ebx
jmp 0x43d4dd
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040fef0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e40e0
int3