Function at 0x10004850
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x560
mov eax, dword [0x100281f0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x357]
mov byte [ebp - 0x358], 0
push 0
push eax
call fcn.10008830
add esp, 0xc
call fcn.10004b00
test eax, eax
je 0x100048a2
call fcn.10004c90
test eax, eax
je 0x100048a2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007d7d
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x100048b0
mov cl, byte [eax + 0x10029b10]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x359], cl
test cl, cl
jne 0x100048b0
push esi
push edi
push 0x103
lea eax, [ebp - 0x253]
mov byte [ebp - 0x254], cl
push 0
push eax
call fcn.10008830
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x358]
add esp, 0xc
push eax
lea eax, [ebp - 0x254]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x254]
push 0x1001e52c
push eax
call esi
push 0x103
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x150], 0
push 0
push eax
call fcn.10008830
add esp, 0xc
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x150]
push eax
call edi
push str.Airlibexternal_swc_flex3_framework.dat
lea eax, [ebp - 0x150]
push eax
call esi
push 0x103
lea eax, [ebp - 0x45b]
mov byte [ebp - 0x45c], 0
push 0
push eax
call fcn.10008830
push 0x103
lea eax, [ebp - 0x55f]
mov byte [ebp - 0x560], 0
push 0
push eax
call fcn.10008830
add esp, 0x18
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x45c]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x45c]
push str..BAK
push eax
call esi
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x560]
push eax
call edi
push str..BAK
lea eax, [ebp - 0x560]
push eax
call esi
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x254]
push eax
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.100045e0
add esp, 8
test eax, eax
je 0x10004a52
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x4c], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x150]
push eax
movdqu xmmword [ebp - 0x4b], xmm0
movdqu xmmword [ebp - 0x3b], xmm0
call fcn.100045e0
add esp, 8
test eax, eax
je 0x10004a52
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x28]
push str.04D281E7E115E7A50083CACF140CCA2A
push eax
call esi
test eax, eax
je 0x10004a34
push str.E683DE5F0B3BDCB9375B88D5650D13F7
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x10004a52
push str.EE3234E44F3EDEB8355C848A0A628F77
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
je 0x10004a64
push str.58448CE15FD122BFAB32653ACBA648B1
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
je 0x10004a64
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007d7d
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x150]
push eax
call esi
lea eax, [ebp - 0x254]
push eax
push 0x3e8
push 0x67
push dword [0x10029b08]
call fcn.10004550
lea eax, [ebp - 0x150]
push eax
push 0x3e8
push 0x66
push dword [0x10029b08]
call fcn.10004550
add esp, 0x20
push 0
push str.c:_stntsLOL
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.c:_stntsLOLdispatcher.exe
push 0x3e8
push 0x68
push dword [0x10029b08]
call fcn.10004550
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
call fcn.10007d7d
mov esp, ebp
pop ebp
ret