Function at 0x488640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6459a6
mov eax, dword fs:[0]
push eax
mov eax, 0x501c
call fcn.0055d6e0
mov eax, dword [0x6f36d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [0x6f3070]
mov esi, dword [ebp + 0xc]
and eax, ebx
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x5028], ebx
cmp eax, ebx
jne 0x488909
push 0x2800
lea eax, [ebp - 0x2810]
push 0
push eax
call fcn.005d9d70
push 0x2814
lea eax, [ebp - 0x5024]
push 0
push eax
call fcn.005d9d70
add esp, 0x18
lea eax, [ebp - 0x2810]
push edi
push 0
push esi
push 0x27fe
push eax
call fcn.0040fe80
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00600d5a
mov ecx, eax
or edi, 0xffffffff
add esp, 0x1c
test ecx, ecx
cmovs ecx, edi
test ecx, ecx
js 0x488909
cmp ecx, 0x27fe
ja 0x488909
movzx eax, byte [ebp - 0x12]
xor edx, edx
cmp ecx, 0x27fe
mov esi, 0x673a7a
lea ecx, [ebp - 0x5024]
cmove eax, edx
mov edx, 0x2814
mov byte [ebp - 0x12], al
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7fffd7ea]
test eax, eax
je 0x48873c
mov al, byte [esi + ecx]
test al, al
je 0x48873c
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x488723
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x2814
mov byte [eax], 0
lea eax, [ebp - 0x5024]
cmp byte [eax], 0
je 0x48875d
inc eax
sub ecx, 1
jne 0x488752
mov edx, 0x2814
mov esi, ecx
mov eax, edx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4887b5
lea ecx, [ebp - 0x5024]
lea ecx, [ecx + esi]
sub edx, esi
je 0x4887aa
lea esi, [ebp - 0x2810]
mov eax, SysReAllocString
sub esi, ecx
nop dword [eax]
test eax, eax
je 0x4887a4
mov bl, byte [esi + ecx]
test bl, bl
je 0x4887a4
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x488790
mov ebx, dword [ebp - 0x5028]
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
mov eax, dword [0x6f3068]
test al, 1
je 0x4888db
call fcn.00480300
mov ecx, eax
test ecx, ecx
je 0x488925
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5028], eax
lea eax, [ebp - 0x5024]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x5028]
call fcn.0047dcb0
test al, al
jne 0x488888
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x5024]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call edi
lea esi, [eax - 1]
test esi, esi
jle 0x48887a
mov ecx, dword [ebp - 0x5028]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x488849
push esi
lea ecx, [ebp - 0x5028]
call fcn.00482080
mov ecx, dword [ebp - 0x5028]
push esi
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x5024]
push eax
push 0
push 3
call edi
mov eax, dword [ebp - 0x5028]
cmp esi, dword [eax - 8]
jg 0x48892f
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x5028]
mov word [eax + esi*2], cx
jmp 0x488885
lea ecx, [ebp - 0x5028]
call fcn.0047ef90
or edi, 0xffffffff
lea eax, [ebp - 0x5028]
mov dword [ebp - 4], 1
push eax
push ebx
call fcn.00488140
add esp, 4
mov ecx, 0x6fa690
push eax
call fcn.0048cb10
mov edx, dword [ebp - 0x5028]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4888cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x6fa690
call fcn.0048d000
mov eax, dword [0x6f3068]
test al, 2
je 0x4888f1
lea eax, [ebp - 0x2810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x6f3068]
test al, 4
je 0x488909
lea eax, [ebp - 0x2810]
push eax
push str._s_r_n
call fcn.00488d50
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047dc90
push 0x80070057
call fcn.0047dc90
int3