Function at 0x4829cf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 8], 1
push 0x52d8fc
push 0x52d908
push str._s_PJL_r_n_PJL_FSPSFORMINFO_r_n_s
push 0x53cdbc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 0xc], eax
call fcn.0040883f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x482a14
xor eax, eax
jmp 0x482cb7
mov eax, dword [ebp - 0xc]
push eax
push 0x53cdbc
call fcn.004089d2
cmp eax, dword [ebp - 0xc]
jae 0x482a4b
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x482a3f
push str._RCP__Write_error___FSPSFORMINFO
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], 0
jmp 0x482cb5
push 0x1000
push 0x53bdbc
call fcn.00408a86
mov dword [ebp - 0xc], eax
xor edx, edx
mov dx, word [0x539af6]
test edx, edx
je 0x482a90
mov eax, dword [ebp - 0xc]
push eax
push str._RCP__FSPSFORMINFO_read_bytes___d
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0xc], 4
jl 0x482a9f
cmp dword [ebp - 0xc], 0x1000
jle 0x482aab
mov dword [ebp - 8], 0
jmp 0x482cb3
xor eax, eax
mov al, byte [0x53bdbc]
shl eax, 0x18
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov cl, byte [0x53bdbd]
shl ecx, 0x10
mov edx, dword [ebp - 0x18]
or edx, ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov al, byte [0x53bdbe]
shl eax, 8
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dl, byte [0x53bdbf]
mov eax, dword [ebp - 0x18]
or eax, edx
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x482b20
mov edx, dword [ebp - 0x18]
push edx
push str._RCP__FSPSFORMINFO_Count___d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x18]
mov dword [0x53df0c], edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x44
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x53df18], eax
cmp dword [0x53df18], 0
jne 0x482b52
mov dword [ebp - 8], 0
jmp 0x482cb1
mov dword [ebp - 4], 0x53bdc0
mov dword [ebp - 0x14], 0
jmp 0x482b6b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jge 0x482c9a
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 0x18
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 1]
shl eax, 0x10
mov ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 2]
shl eax, 8
mov ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 3]
mov ecx, dword [ebp - 0xc]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 0x18
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x44
mov eax, dword [0x53df18]
mov dword [eax + edx + 0x40], ecx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x44
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 1]
shl eax, 0x10
mov edx, dword [0x53df18]
mov ecx, dword [edx + ecx + 0x40]
or ecx, eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x44
mov eax, dword [0x53df18]
mov dword [eax + edx + 0x40], ecx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x44
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 2]
shl eax, 8
mov edx, dword [0x53df18]
mov ecx, dword [edx + ecx + 0x40]
or ecx, eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x44
mov eax, dword [0x53df18]
mov dword [eax + edx + 0x40], ecx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x44
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 3]
mov edx, dword [0x53df18]
mov ecx, dword [edx + ecx + 0x40]
or ecx, eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x44
mov eax, dword [0x53df18]
mov dword [eax + edx + 0x40], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
sub edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x44
mov edx, dword [0x53df18]
add edx, ecx
push edx
call fcn.004cfe40
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax - 4]
mov dword [ebp - 4], edx
jmp 0x482b62
call fcn.00408962
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x482cac
xor eax, eax
jmp 0x482cb7
mov eax, dword [ebp - 8]
jmp 0x482cb7
jmp 0x482c9a
jmp 0x482c9a
jmp 0x482c9a
mov esp, ebp
pop ebp
ret