Function at 0x43a7c0
Capabilities:
Create directory
Move file

Disassembly:
sub esp, 0x288
mov eax, dword [0x547570]
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov ecx, dword [ebx + 0x2b0]
mov dword [esp + 0x20], eax
test ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0
jle 0x43aa75
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x547570]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], eax
call fcn.004333f0
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x2a4]
call fcn.00433250
mov esi, dword [eax]
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x43a850
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a877
mov ecx, dword [0x547570]
mov dword [esp + 0x10], ecx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x43a865
xor eax, eax
jmp 0x43a86c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
mov edx, dword [esp + 0x10]
push 0
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [esp + 0x1c]
mov ecx, 0x94
lea esi, [esp + 0x44]
lea edi, [esp + 0x48]
mov dword [esp + 0x44], eax
lea edx, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
push ecx
push edx
lea ecx, [ebx + 0x2c4]
call fcn.0043dae0
mov eax, dword [eax]
sub esp, 0x250
mov ecx, 0x94
mov edi, esp
lea esi, [eax + 0x10]
lea eax, [esp + 0x260]
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, esp
push eax
call fcn.00405440
mov ecx, ebx
call fcn.00438890
mov eax, dword [esp + 0x10]
push ecx
mov esi, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x43a903
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a925
mov edx, dword [0x547570]
mov dword [esi], edx
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, eax
je 0x43a91c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00405870
call fcn.004ba530
add esp, 4
cmp eax, 2
je 0x43aa2d
mov eax, dword [0x547570]
mov ecx, 0x5476d0
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x43a982
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43a982
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43a982
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x5476d0
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x14]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x24]
push edx
call fcn.004059f0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
call fcn.00405440
lea ecx, [esp + 0x18]
call fcn.00405700
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x28]
call fcn.00405a90
mov eax, dword [esp + 0x24]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43a9fe
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a9fe
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43aa2d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43aa2d
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43aa5c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43aa5c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x43a7f5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x43aa8c
push 0
push 0x554e08
push eax
lea ecx, [ebx + 4]
call fcn.0043adb0
lea ecx, [esp + 0x20]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x288
ret