Function at 0x436c10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], 7
xor esi, esi
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
nop dword [eax]
xor eax, eax
mov dword [esp + 0x28], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.0041b960
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [esp + 0x44]
call fcn.00441b60
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.0041c836
mov eax, dword [esp + 0x58]
cmp eax, 8
jb 0x436cec
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x436f13
add eax, eax
cmp eax, 0x1000
jb 0x436ce3
test cl, 0x1f
jne 0x436f13
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x436f13
sub ecx, eax
cmp ecx, 4
jb 0x436f13
cmp ecx, 0x23
ja 0x436f13
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp eax, edx
jne 0x436d37
lea ecx, [eax + 1]
cmp ecx, 0x7ffffffe
ja 0x436f0a
cmp edx, ecx
jae 0x436d18
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041cbba
jmp 0x436d2f
test ecx, ecx
jne 0x436d37
cmp edx, 8
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
mov word [eax], cx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp edx, 8
lea ecx, [esp + 0x14]
mov edx, 0x5f
cmovae ecx, dword [esp + 0x14]
mov word [ecx + eax*2], dx
xor edx, edx
mov eax, dword [esp + 0x24]
inc eax
push edx
mov dword [esp + 0x28], eax
push 0x8000
mov word [ecx + eax*2], dx
call fcn.00458960
add esp, 8
lea ecx, [esp + 0x44]
mov edx, eax
call fcn.00441b60
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.0041c836
mov eax, dword [esp + 0x58]
cmp eax, 8
jb 0x436ddb
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, 0x7fffffff
ja 0x436f13
add eax, eax
cmp eax, 0x1000
jb 0x436dd2
test cl, 0x1f
jne 0x436f13
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x436f13
sub ecx, eax
cmp ecx, 4
jb 0x436f13
cmp ecx, 0x23
ja 0x436f13
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
sub esp, 8
lea eax, [esp + 0x1c]
cmp dword [esp + 0x30], 8
mov ecx, esp
cmovae eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0043fdb0
push eax
lea ecx, [esp + 0x30]
call fcn.0043efe0
lea ecx, [esp + 0x44]
call fcn.0043ef40
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push 0
cmovae eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x436e96
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x436e88
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, 0x7fffffff
ja 0x436f13
add eax, eax
cmp eax, 0x1000
jb 0x436e7f
test cl, 0x1f
jne 0x436f13
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x436f13
sub ecx, eax
cmp ecx, 4
jb 0x436f13
cmp ecx, 0x23
ja 0x436f13
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
inc esi
cmp esi, 0x32
jl 0x436c50
xor bl, bl
jmp 0x436eed
lea eax, [esp + 0x2c]
cmp ebx, eax
je 0x436eaa
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.0041b960
mov eax, dword [esp + 0x28]
cmp eax, 8
jb 0x436eeb
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, 0x7fffffff
ja 0x436f13
add eax, eax
cmp eax, 0x1000
jb 0x436ee2
test cl, 0x1f
jne 0x436f18
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x436f1d
sub ecx, eax
cmp ecx, 4
jb 0x436f22
cmp ecx, 0x23
ja 0x436f27
mov ecx, eax
push ecx
call fcn.004cbd7a
add esp, 4
mov bl, 1
lea ecx, [esp + 0x2c]
call fcn.0043ef40
mov ecx, dword [esp + 0x5c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
call fcn.0041c6e2
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
call fcn.004d1350
int3