Function at 0x43a670
Capabilities:
Create directory
Move file

Disassembly:
sub esp, 0x288
mov eax, dword [0x546560]
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 0x43a925
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x546560]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], eax
call fcn.004332e0
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x2a4]
call fcn.00433140
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 0x43a700
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a727
mov ecx, dword [0x546560]
mov dword [esp + 0x10], ecx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x43a715
xor eax, eax
jmp 0x43a71c
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.0043d860
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.00438740
mov eax, dword [esp + 0x10]
push ecx
mov esi, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x43a7b3
mov dword [esi], eax
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a7d5
mov edx, dword [0x546560]
mov dword [esi], edx
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, eax
je 0x43a7cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00405870
call fcn.004b9470
add esp, 4
cmp eax, 2
je 0x43a8dd
mov eax, dword [0x546560]
mov ecx, 0x5466c0
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x43a832
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43a832
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43a832
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x5466c0
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
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 [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43a8ae
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a8ae
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a8dd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a8dd
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a90c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a90c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x43a6a5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x43a93c
push 0
push 0x553d98
push eax
lea ecx, [ebx + 4]
call fcn.0043ac60
lea ecx, [esp + 0x20]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x288
ret