Function at 0x438520
Capabilities:
Move file

Disassembly:
sub esp, 0x330
mov al, byte [0x4caba3]
push ebx
push ebp
push esi
test al, al
push edi
mov dword [esp + 0x14], ecx
jne 0x4387af
mov eax, dword [ecx + 0x70]
mov edx, dword [ecx + 0x4c]
cmp eax, edx
jge 0x438557
xor esi, esi
cmp eax, esi
jl 0x438559
mov ecx, dword [ecx + 0x48]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x10], eax
jmp 0x43855f
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, esi
cmp eax, esi
je 0x4387af
mov ecx, eax
call fcn.00445190
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x34]
push eax
push edx
call ebx
lea eax, [esp + 0x34]
push eax
call fcn.0043d350
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x4387af
lea ecx, [esp + 0x138]
push ebp
push ecx
call ebx
push str.descript.ion
push ebp
call ebx
push 0x4e20
mov dword [esp + 0x1c], 0x4aa744
mov dword [esp + 0x24], 0x1388
call fcn.004985f0
mov ecx, dword [esp + 0x24]
mov edi, eax
xor eax, eax
mov dword [esp + 0x20], edi
add esp, 4
rep stosd dword es:[edi], eax
mov edx, dword [0x4caa58]
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], 0x4aa740
mov dword [esp + 0x30], 1
call fcn.0041cb40
push 0x14
call fcn.004985f0
add esp, 4
cmp eax, esi
je 0x438628
lea ecx, [esp + 0x138]
push 0x4caf4c
push ecx
mov ecx, eax
call fcn.0041c6a0
mov edi, eax
jmp 0x43862a
xor edi, edi
cmp edi, esi
je 0x438658
mov edx, dword [esp + 0x20]
mov ecx, edi
push edx
call fcn.0041c950
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + eax*4]
test esi, esi
je 0x438668
push edi
mov ecx, esi
call fcn.0041c780
test eax, eax
jne 0x438658
mov esi, dword [esi + 4]
test esi, esi
jne 0x438645
test esi, esi
je 0x438668
test edi, edi
je 0x438668
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea eax, [esp + 0x138]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.00403a90
mov edi, eax
add esp, 0xc
test edi, edi
je 0x438761
mov ecx, dword [esp + 0x10]
call fcn.00444ee0
test eax, eax
je 0x4386a6
mov ecx, dword [esp + 0x10]
push 1
call fcn.004448d0
lea eax, [esp + 0x23c]
push ebp
push eax
call ebx
push edi
push ebp
call ebx
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.00445190
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x438732
mov ebx, dword [esp + 0x14]
mov ecx, ebp
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
call fcn.00445190
mov edx, dword [esp + 0x14]
push eax
mov ecx, ebx
call dword [edx + 4]
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.004451a0
test esi, esi
je 0x438722
push edi
mov ecx, esi
call fcn.0041c920
mov ecx, dword [0x4caa58]
mov edx, dword [0x4caa54]
push ecx
lea eax, [esp + 0x240]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.0041cca0
mov ecx, ebx
call fcn.00436520
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x43874f
mov eax, dword [esp + 0x14]
push 0x224
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.0043cfa0
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov ecx, ebp
call fcn.004450c0
test eax, eax
jne 0x438761
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4aa744
test eax, eax
je 0x4387a2
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jle 0x4387a2
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x438799
mov esi, dword [ecx + 4]
test ecx, ecx
je 0x438793
mov edx, dword [ecx]
push 1
call dword [edx]
test esi, esi
mov ecx, esi
jne 0x438786
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x43877b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00498600
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x330
ret