Function at 0x428080
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b82e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4e54c0]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
mov eax, dword [0x4e54c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp word [edx], ax
je 0x4280ef
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4280e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00403740
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x10]
push 2
xor eax, eax
mov dword [esp + 0x28], 7
push 0x4d2e58
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00403740
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
cmp edx, esi
jbe 0x428144
xor al, al
jmp 0x42816f
or ecx, 0xffffffff
lea eax, [esp + 0x10]
cmp edx, 0xffffffff
cmovb ecx, edx
cmp dword [esp + 0x24], 8
push ecx
cmovae eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
push edx
sub esi, edx
push esi
call fcn.0040b860
test eax, eax
sete al
test al, al
mov byte [esp + 0x80], 0
sete bl
cmp dword [esp + 0x24], 8
jb 0x42818f
push dword [esp + 0x10]
call fcn.0048fa72
add esp, 4
test bl, bl
je 0x4281a3
push 2
push 0x4d2e58
lea ecx, [esp + 0x30]
call fcn.0040b040
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x4ebbb8]
test ecx, ecx
je 0x42831f
cmp dword [esp + 0x3c], 8
lea eax, [esp + 0x28]
push ecx
cmovae eax, dword [esp + 0x2c]
push eax
call fcn.00498fce
push dword [0x4ebbb8]
call fcn.00492b12
mov eax, dword [0x4ebbb4]
add esp, 0xc
inc eax
mov dword [0x4ebbb4], eax
cmp eax, dword [0x4ebbbc]
jbe 0x42831f
push dword [0x4ebbb8]
mov dword [0x4ebbb4], 0
call fcn.00494e7c
add esp, 4
cmp eax, 0x900000
jge 0x42822e
mov dword [0x4ebbbc], 0x3e8
jmp 0x42831f
cmp eax, 0xa00000
jl 0x428315
mov eax, dword [0x4ebbb8]
test eax, eax
je 0x428255
push eax
call fcn.00494f54
add esp, 4
mov dword [0x4ebbb8], 0
push str..bak
lea ecx, [esp + 0x44]
call fcn.00403840
push 0x4e6b14
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 2
call fcn.00409db0
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 3
push ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0040a640
lea ecx, [esp + 0x58]
call fcn.004032f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 6
call fcn.004032f0
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
call fcn.00430cb0
cmp dword [esp + 0x24], 8
lea edx, [esp + 0x10]
mov esi, 0x4e6b14
cmovae edx, dword [esp + 0x10]
mov ecx, esi
cmp dword [0x4e6b28], 8
cmovae ecx, dword [0x4e6b14]
push ecx
call fcn.00431060
add esp, 4
mov edx, 1
cmp dword [0x4e6b28], 8
cmovae esi, dword [0x4e6b14]
push 1
mov ecx, esi
call fcn.00428410
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004032f0
jmp 0x42831f
mov dword [0x4ebbbc], 0x64
cmp dword [esp + 0x3c], 8
jb 0x428332
push dword [esp + 0x28]
call fcn.0048fa72
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004906bc
mov esp, ebp
pop ebp
ret