Function at 0x42a540
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fec9f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6a3000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 0xd8]
mov esi, dword [edi + 0xd4]
sub eax, esi
sar eax, 2
cmp ebx, eax
jae 0x42a93b
mov esi, dword [esi + ebx*4]
mov ecx, esi
push 5
call fcn.0048dfce
mov ecx, esi
call fcn.0048dea4
mov eax, dword [edi + 0xd8]
mov edx, dword [edi + 0xd4]
sub eax, edx
mov ecx, dword [edi + 0xe0]
sar eax, 2
cmp ecx, eax
jae 0x42a5c5
mov ecx, dword [edx + ecx*4]
push 0
call fcn.0048dfce
mov dword [edi + 0xe0], ebx
mov eax, dword [edi + 0xd4]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x18c]
mov eax, dword [edi + 0xd4]
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0xe0]
push edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov dword [ebp - 4], 0
mov ebx, 1
mov edx, 0x66df28
mov dword [ebp - 0x14], ebx
mov ecx, eax
call fcn.0042ccc0
test al, al
jne 0x42a650
mov eax, dword [edi + 0xd4]
lea edx, [ebp - 0x1c]
mov ecx, dword [edi + 0xe0]
push edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov dword [ebp - 4], ebx
mov edx, 0x66df38
mov ebx, 3
mov ecx, eax
mov dword [ebp - 0x14], ebx
call fcn.0042ccc0
mov byte [ebp - 0xd], 0
test al, al
je 0x42a654
mov byte [ebp - 0xd], 1
or esi, 0xffffffff
test bl, 2
je 0x42a67c
mov edx, dword [ebp - 0x1c]
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a67c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42a6a8
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffffe
mov dword [ebp - 0x14], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a6a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x42a6dc
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004a40c5
test eax, eax
je 0x42a7d5
push 0
push 0xf060
push dword [eax + 4]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x42a7d5
mov eax, dword [edi + 0xd4]
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0xe0]
push edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov dword [ebp - 4], 2
or ebx, 4
mov edx, 0x66df48
mov dword [ebp - 0x14], ebx
mov ecx, eax
call fcn.0042ccc0
test al, al
jne 0x42a750
mov eax, dword [edi + 0xd4]
lea edx, [ebp - 0x1c]
mov ecx, dword [edi + 0xe0]
push edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov dword [ebp - 4], 3
or ebx, 8
mov edx, 0x66df58
mov dword [ebp - 0x14], ebx
mov ecx, eax
call fcn.0042ccc0
mov byte [ebp - 0xd], 0
test al, al
je 0x42a754
mov byte [ebp - 0xd], 1
test bl, 8
je 0x42a779
mov edx, dword [ebp - 0x1c]
and ebx, 0xfffffff7
mov dword [ebp - 0x14], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a779
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x42a7a5
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffffb
mov dword [ebp - 0x14], ebx
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a7a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x42a7d5
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004a40c5
test eax, eax
je 0x42a7d5
push 0x66df68
push 0xf060
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0xc
call fcn.00482e20
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x42a819
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x66df74
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.005cbdf0
mov dword [esi], eax
jmp 0x42a81b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x42a94f
mov dword [ebp - 4], 5
lea edx, [ebp - 0x20]
mov eax, dword [edi + 0xd4]
mov ecx, dword [edi + 0xe0]
push edx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x19c]
mov edi, dword [eax]
mov byte [ebp - 4], 7
push 0xc
mov dword [ebp - 0x18], 0
call fcn.00482e20
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 8
test esi, esi
je 0x42a8a6
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x42a8a8
test edi, edi
jne 0x42a959
jmp 0x42a8a8
xor esi, esi
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], esi
test esi, esi
je 0x42a94f
or ebx, 0x10
push 0xc
mov dword [ebp - 0x14], ebx
call fcn.00482e20
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42a8f3
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x18]
movq qword [eax], xmm0
push ecx
mov ecx, eax
mov dword [eax + 8], 0
call fcn.00428250
mov esi, eax
jmp 0x42a8f5
xor esi, esi
mov byte [ebp - 4], 7
test esi, esi
je 0x42a94f
lea ecx, [ebp - 0x18]
call fcn.004281f0
push dword [esi]
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x18]
call fcn.004281f0
mov edx, dword [ebp - 0x20]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a933
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.004281f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.005cbdd0
push 0x8007000e
call fcn.005cbdd0
int3