Function at 0x42983d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
mov dword [ebp - 0xa0], ecx
push 0x51d5d0
push 0x51d5dc
push 0x51d5e8
push 0x53cdbc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov dword [ebp - 4], eax
call fcn.0040883f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x429899
push 0x51d608
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x429b02
mov edx, dword [ebp - 4]
push edx
push 0x53cdbc
call fcn.004089d2
cmp eax, dword [ebp - 4]
jae 0x4298ca
push 0x51d618
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1c]
push ecx
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x429b00
push 0x1000
push 0
push 0x53bdbc
call fcn.004cf390
add esp, 0xc
push 0x1000
push 0x53bdbc
call fcn.00408a86
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push 0x51d628
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 4], 2
jl 0x429925
cmp dword [ebp - 4], 0x1000
jle 0x429943
push 0x51d648
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x429afe
call fcn.00408962
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42996f
push 0x51d658
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x429afc
xor eax, eax
mov al, byte [0x53bdbc]
shl eax, 8
xor ecx, ecx
mov cl, byte [0x53bdbd]
add eax, ecx
mov word [0x53a028], ax
xor edx, edx
mov dl, byte [0x53bdbe]
shl edx, 8
xor eax, eax
mov al, byte [0x53bdbf]
add edx, eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x10], 0
jle 0x4299f7
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0xe8], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x53bdb0], eax
cmp dword [0x53bdb0], 0
jne 0x4299f7
push 0x51d668
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, 0x53e080
call fcn.004880ab
jmp 0x429afa
mov ecx, dword [ebp - 0xa0]
add ecx, 0x23f4
call fcn.00429e50
mov dword [ebp - 0xc], 0
jmp 0x429a1a
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jge 0x429ae3
mov dword [ebp - 0x94], 0x53bdc0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov dl, byte [ecx + eax*2]
shl edx, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x94]
xor ebx, ebx
mov bl, byte [ecx + eax*2 + 1]
add edx, ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x53bdb0]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
push 0x51d678
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x23f4
call fcn.00429e20
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x53bdb0]
xor eax, eax
mov ax, word [edx + ecx*2]
push eax
push 0x51d67c
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x9c]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x23f4
call fcn.004e2cb6
jmp 0x429a11
call fcn.00408962
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x429af5
xor eax, eax
jmp 0x429b04
mov eax, dword [ebp - 8]
jmp 0x429b04
jmp 0x429ae3
jmp 0x429ae3
jmp 0x429ae3
jmp 0x429ae3
jmp 0x429ae3
pop ebx
mov esp, ebp
pop ebp
ret