Function at 0x45a540
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4b4886
mov eax, dword fs:[0]
push eax
sub esp, 0xea4
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0xea0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0xeb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xecc]
mov ebp, dword [esp + 0xec8]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
call fcn.0041ead0
lea ecx, [esp + 0x170]
call fcn.0041ead0
lea edi, [esp + 0x4c]
call fcn.00414bf0
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x6ae]
mov dword [esp + 0xec8], 0
push eax
mov word [esp + 0x6b0], dx
call fcn.00476c30
mov ecx, dword [ebp + 0xaf4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
add esp, 0xc
push 0x200
lea eax, [esp + 0x6a8]
push eax
call edx
push 0x4dd984
lea esi, [esp + 0x6a8]
call fcn.0045fa40
push 0x400
mov eax, esi
push 0
push eax
call fcn.00476c30
mov ecx, dword [ebp + 0xaf4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
add esp, 0xc
push 0x200
mov eax, esi
push eax
call edx
push 0x4dd988
call fcn.0045fa40
push 0x400
mov eax, esi
push 0
push eax
call fcn.00476c30
mov ecx, dword [ebp + 0xaf4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
add esp, 0xc
push 0x200
mov eax, esi
push eax
call edx
push 0x4dd98c
call fcn.0045fa40
mov ebx, 0x4cc134
mov edx, 0x4dd990
mov ecx, edi
call fcn.00414d60
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x29a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2a0], ax
call fcn.00476c30
add esp, 0xc
push 0x206
lea eax, [esp + 0xaaa]
xor edx, edx
push ebx
push eax
mov word [esp + 0xab0], dx
call fcn.00476c30
mov ecx, dword [ebp + 0xaf4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
add esp, 0xc
push 0x104
lea eax, [esp + 0xaa8]
push eax
call edx
push 0x4d64e0
lea eax, [esp + 0xaa8]
push eax
push 0x4d5b8c
lea ecx, [esp + 0x2a0]
push 0x104
push ecx
call fcn.0046fdbd
add esp, 0x14
push ebx
lea edx, [esp + 0x298]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4cb7d0
lea eax, [esp + 0x298]
push 0x104
push eax
call fcn.00471f8e
add esp, 0xc
push 0x4dd998
lea ecx, [esp + 0x298]
push 0x104
push ecx
call fcn.00471f8e
add esp, 0xc
mov dword [esp + 0x28], fcn.00470104
mov dword [esp + 0x2c], fcn.00470421
mov dword [esp + 0x30], fcn.00470027
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x8000
mov dword [esp + 0x24], 0x4c36dc
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x294]
push edx
mov edx, esi
lea ecx, [esp + 0x28]
mov byte [esp + 0xec4], 1
call fcn.00421cf0
mov ecx, esi
call fcn.0041a4d0
mov ecx, ebp
call fcn.0045e000
xor eax, eax
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x1c], eax
jle 0x45a927
mov ecx, dword [ebp + 0xc]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x45a90b
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x4a6]
push eax
mov word [esp + 0x4a8], dx
call fcn.00476c30
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xcb6]
push edx
mov word [esp + 0xcb8], cx
call fcn.00476c30
add esp, 0xc
push ebx
push 0x4dd9c0
lea eax, [esp + 0x4a4]
push 0x104
push eax
call fcn.0046fdbd
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x3c]
push ecx
push edx
push str._04d__s
lea eax, [esp + 0xcc8]
push 0x104
inc ebx
push eax
mov dword [esp + 0x68], ebx
call fcn.0046fdbd
add esp, 0x24
lea ecx, [esp + 0x49c]
push ecx
lea esi, [esp + 0xcb0]
lea edi, [esp + 0x50]
call fcn.0045fa40
xor edi, edi
cmp dword [ebp + 0x54], edi
jle 0x45a90b
mov edx, dword [ebp + 0x50]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x45a8fd
mov bl, byte [esi + 0x14]
test bl, bl
jne 0x45a8a1
mov eax, dword [esi]
push eax
mov ecx, str.Active
lea eax, [esp + 0x28]
call fcn.00421ad0
test eax, eax
je 0x45a8a1
cmp word [eax], 0
je 0x45a8a1
push eax
call fcn.00471773
add esp, 4
cmp eax, 1
sete bl
mov ecx, dword [esi + 0x1c]
mov edx, dword [ebp + 0x3c]
push ecx
push edx
push str.c_04d__d
lea eax, [esp + 0x4a8]
push 0x104
push eax
call fcn.0046fdbd
add esp, 0x14
test bl, bl
lea edx, [esp + 0x49c]
lea ecx, [esp + 0x4c]
mov ebx, 0x4cc134
jne 0x45a8dc
mov ebx, 0x4cc954
call fcn.00414d60
cmp byte [esi + 0x14], 0
jne 0x45a8fd
mov ecx, dword [esi]
push 0x4cc954
push ecx
mov eax, str.Active
lea ecx, [esp + 0x2c]
call fcn.00421c20
inc edi
cmp edi, dword [ebp + 0x54]
jl 0x45a862
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
cmp eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov ebp, edx
jl 0x45a7b2
mov esi, dword [esp + 0x20]
add ebp, 0x137c
push ebp
call fcn.004239c0
push esi
lea edx, [esp + 0x298]
lea ecx, [esp + 0x28]
call fcn.00422390
cmp byte [esp + 0x168], 0
lea eax, [esp + 0x58]
jne 0x45a956
mov eax, dword [esp + 0x54]
lea ebp, [eax + 4]
test ebp, ebp
jne 0x45a962
mov ebp, 0x4cb7d4
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a967
mov ebx, dword [esp + 0x48]
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
lea esi, [ebx + 8]
mov ecx, edi
mov dword [ebx + 4], eax
call fcn.0041f470
cmp byte [esi + 0x114], 0
je 0x45a998
add esi, 4
jmp 0x45a99a
mov esi, dword [esi]
lea ecx, [edi + edi]
push ecx
lea eax, [esi + 4]
push ebp
push eax
call fcn.00476cb0
add esp, 0xc
cmp dword [esp + 0x174], 0
je 0x45a9f1
cmp byte [esp + 0x28c], 0
lea esi, [esp + 0x17c]
jne 0x45a9cd
mov esi, dword [esp + 0x178]
push 0x4d39b0
push 0x4d4204
mov edx, ebx
call fcn.0041f080
add esi, 4
push esi
push 0x4d4204
mov edx, ebx
call fcn.0041f080
add esp, 0x10
mov byte [esp + 0xec0], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], 0x4c345c
test eax, eax
je 0x45aa27
lea esp, [esp]
mov edx, dword [eax + 4]
push eax
mov dword [esp + 0x38], edx
call dword [esp + 0x34]
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
jne 0x45aa10
cmp byte [esp + 0x28c], 0
mov esi, 0x4d4d70
mov dword [esp + 0x34], 0
mov dword [esp + 0x170], esi
jne 0x45aa60
mov eax, dword [esp + 0x178]
lea ecx, [esp + 0x17c]
cmp eax, ecx
je 0x45aa60
push eax
call fcn.00470027
add esp, 4
cmp byte [esp + 0x168], 0
mov dword [esp + 0x4c], esi
jne 0x45aa83
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x45aa83
push eax
call fcn.00470027
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xeb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xea0]
xor ecx, esp
call fcn.0046fdae
add esp, 0xeb0
ret 8