Function at 0x4265c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [esp + 0x54]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov dword [eax], 0
mov dword [esp + 0x1c], ebx
mov dword [ecx], 0
call ebp
mov edx, dword [esp + 0x54]
push 0x4d49a4
push edx
mov dword [esp + 0x28], eax
call fcn.00432bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x426615
mov dword [ebx], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
lea eax, [esp + 0x14]
push eax
push 0x100
push esi
call fcn.00431260
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x101
push esi
call fcn.00431260
add esp, 0xc
lea edx, [esp + 0x12]
push edx
push 0x128
push esi
call fcn.00431260
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x11a
push esi
call fcn.00431260
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x11b
push esi
call fcn.00431260
add esp, 0xc
mov ecx, 0x4eb358
call fcn.00418750
fld dword [esp + 0x28]
mov edi, eax
call fcn.00471aac
mov ecx, 0x4eb358
mov dword [edi + 0x58], eax
call fcn.00418750
fld dword [esp + 0x2c]
mov edi, eax
call fcn.00471aac
mov ecx, 0x4eb358
mov dword [edi + 0x5c], eax
call fcn.00418750
movsx edx, word [esp + 0x12]
mov dword [eax + 0x54], edx
mov eax, dword [esp + 0x18]
imul eax, dword [esp + 0x14]
shl eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
jne 0x4266f0
push esi
call fcn.00431000
add esp, 4
mov dword [ebx], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
jne 0x42671a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
call ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x38], 0
sub eax, ebp
sub esp, 8
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x44]
fild qword [esp + 0x3c]
fmul qword [0x4b0978]
fstp qword [esp]
push str.alloc__4.2f_n
push edx
call fcn.00471de3
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ebx
push ecx
push edx
push esi
call fcn.00433490
add esp, 0x14
test eax, eax
jne 0x4267a4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call fcn.00431000
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax], 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
push esi
call fcn.00431000
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], 0
sub eax, ecx
sub esp, 8
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x44]
fild qword [esp + 0x3c]
fmul qword [0x4b0978]
fstp qword [esp]
push str.read__4.2f_n
push ecx
call fcn.00471de3
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
call ebp
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*2]
push eax
call fcn.0048b346
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x54], 0
test eax, eax
jbe 0x4268c5
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
imul eax, edx
xor esi, esi
lea edi, [eax + eax*2]
shl eax, 2
test edx, edx
jbe 0x426851
lea ecx, [ebp + 2]
lea eax, [eax + ebx + 2]
mov dl, byte [eax - 2]
inc esi
mov byte [ecx - 2], dl
mov dl, byte [eax - 1]
mov byte [ecx - 1], dl
mov dl, byte [eax]
mov byte [ecx], dl
mov edx, dword [esp + 0x14]
add eax, 4
add ecx, 3
cmp esi, edx
jb 0x426832
lea ecx, [edx + edx*2]
mov esi, ebp
mov eax, ecx
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x4eb358
call fcn.00418750
cmp dword [eax + 4], 1
jne 0x4268a2
mov ecx, 0x4eb358
call fcn.00418750
cmp dword [eax], 0
je 0x4268a2
mov ecx, 0x4eb358
call fcn.00418750
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
push ecx
push edx
call dword [eax]
neg eax
sbb eax, eax
inc eax
jmp 0x4268a4
xor eax, eax
test eax, eax
jne 0x426964
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], eax
jb 0x426814
mov edi, dword [esp + 0x24]
push ebp
call fcn.0048b36f
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0041d6b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
lea edx, [eax + eax*2]
push edx
push ebx
call fcn.0041d6c0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], 0
sub eax, ecx
sub esp, 8
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x44]
fild qword [esp + 0x3c]
fmul qword [0x4b0978]
fstp qword [esp]
push str.post__4.2f_n
push edx
call fcn.00471de3
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
push ebp
call fcn.0048b36f
mov esi, dword [esp + 0x28]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [eax], 0xe
xor eax, eax
pop ebx
add esp, 0x40
ret 0xc