Function at 0x412230
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [eax + 0x119]
mov dword [ebp - 0x360], eax
push ecx
lea ebx, [eax + 0x14]
mov dword [ebp - 0x358], edi
push ebx
push str._s_s
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x35c], ecx
push 0x105
push eax
call fcn.004038d0
add esp, 0x14
lea eax, [ebp - 0x354]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4124d2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
push str._sBloc
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x10c]
add esp, 0x10
push 0
push eax
call esi
push edi
push str._sBlocCode
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x10c]
push 0
push eax
call esi
push edi
push str._sBlocDll
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x10c]
push 0
push eax
call esi
push edi
push str._sWork
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x10c]
push 0
push eax
call esi
push edi
push str._sBusDetect
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x10c]
push 0
push eax
call esi
mov esi, dword [ebp - 0x35c]
lea eax, [ebp - 0x10c]
push esi
push ebx
push str._s_s
push 0x105
push eax
call fcn.004038d0
push esi
push edi
push str._s_s
lea eax, [ebp - 0x214]
push 0x105
push eax
call fcn.004038d0
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x214]
add esp, 0x28
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
push str._sMnemoniques.h
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
push edi
push str._sMnemoniques.h
lea eax, [ebp - 0x214]
push 0x105
push eax
call fcn.004038d0
add esp, 0x20
lea eax, [ebp - 0x214]
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
mov edi, dword [ebp - 0x360]
xor esi, esi
add edi, 0x7cf1
cmp byte [edi], 0
je 0x4124ac
push esi
push ebx
push str._sBlocDllBLOC_04u.DLL
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
push esi
push dword [ebp - 0x358]
lea eax, [ebp - 0x214]
push str._sBlocDllBLOC_04u.DLL
push 0x105
push eax
call fcn.004038d0
add esp, 0x28
lea eax, [ebp - 0x214]
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
push ebx
push str._sBlocCodeBLOC_04u.TXT
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
push esi
push dword [ebp - 0x358]
lea eax, [ebp - 0x214]
push str._sBlocCodeBLOC_04u.TXT
push 0x105
push eax
call fcn.004038d0
add esp, 0x28
lea eax, [ebp - 0x214]
push 0
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
inc esi
add edi, 0x8c
cmp esi, 0xdc
jl 0x412407
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.0043b572
mov esp, ebp
pop ebp
ret