Function at 0x4230e0
Capabilities:
Access peb ldr_data
Create directory
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45ac77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x438], esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x20]
inc eax
mov byte [esp + 0x438], 1
push eax
push str.Device_d.txt
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
push str.DBG_INFO_
push 0x49770c
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [esp + 0x18]
push esi
push eax
mov byte [esp + 0x440], 2
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.DBG_INFO_
lea ecx, [esp + 0x30]
push 0x49770c
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x20]
mov byte [esp + 0x438], 3
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x43c], 4
call fcn.004581c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x438], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x438], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
push esi
push 0x80
push 2
push esi
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [ebp + 0x469c]
xor edx, edx
mov ecx, 0x100
mov dword [eax], edx
lea edi, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
xor eax, eax
rep stosd dword es:[edi], eax
mov al, byte [ebp + 0x16d]
test al, al
jbe 0x423333
xor eax, eax
mov edi, dword [esp + 0x440]
mov ax, word [ebp + 0x16e]
mov esi, eax
mov ecx, eax
imul esi, dword [esp + 0x14]
mov edx, ecx
add esi, edi
lea edi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
test eax, eax
jle 0x4232e0
mov al, byte [esp + esi + 0x30]
cmp al, 0x80
je 0x4232ce
cmp al, 8
mov byte [esp + 0x24], al
ja 0x42327d
mov ecx, dword [esp + 0x24]
and ecx, 0xff
inc word [ebp + ecx*2 + 0x469c]
lea ecx, [ebp + ecx*2 + 0x469c]
jmp 0x423284
inc word [ebp + 0x46ae]
mov ecx, dword [esp + 0x444]
test ecx, ecx
je 0x4232ce
mov edx, dword [esp + 0x14]
and eax, 0xff
push eax
push esi
push edx
lea eax, [esp + 0x1c]
push str.Test_Zone__2d_Block__4d_ECC__02x__r_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x14
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
push ebx
mov ecx, ebp
call fcn.00423490
xor eax, eax
inc esi
mov ax, word [ebp + 0x16e]
cmp esi, eax
jl 0x423252
mov eax, dword [esp + 0x444]
test eax, eax
je 0x42331a
push str.______________________________r_n
lea ecx, [esp + 0x14]
call fcn.004581ae
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
push ebx
mov ecx, ebp
call fcn.00423490
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [ebp + 0x16d]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42321b
xor esi, esi
lea edi, [ebp + 0x469c]
xor edx, edx
lea eax, [esp + 0x10]
mov dx, word [edi]
push edx
push esi
push str.ECC__d__d_r_n
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0045822c
push ebx
mov ecx, ebp
call fcn.00423490
inc esi
add edi, 2
cmp esi, 9
jl 0x42333b
xor eax, eax
lea ecx, [esp + 0x10]
mov ax, word [ebp + 0x46ae]
push eax
push str.ECC_8__d_r_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx - 8]
push eax
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
push ebx
mov ecx, ebp
call fcn.00423490
xor esi, esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], esi
mov dl, byte [ebp + 0x4699]
mov dword [esp + 0x24], edx
lea edx, [ebp + 0x469c]
mov edi, dword [esp + 0x24]
xor eax, eax
mov ax, word [edx]
add esi, eax
cmp ecx, edi
jle 0x4233e8
add dword [esp + 0x14], eax
inc ecx
add edx, 2
cmp ecx, 0xa
jl 0x4233d5
mov eax, dword [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
push str.Bad_Block__d__d_r_n
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [edx - 8]
push eax
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0045822c
push ebx
mov ecx, ebp
call fcn.00423490
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esp + 0x18]
mov byte [esp + 0x438], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x438], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x438], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x42c
ret 8