Function at 0x460390
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5accf7
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5bd344]
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, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x120], esi
call fcn.00548cab
mov dword [ebp - 4], 0
lea edx, [ebp - 0x94]
cmp dword [ebx + 0x970], 0
mov ecx, dword [esi + 0x108]
push edx
mov eax, dword [ecx]
je 0x460409
call dword [eax + 4]
sub esp, 0x84
mov byte [ebp - 4], 1
mov edi, esp
push 0x41d570
jmp 0x46041d
call dword [eax + 4]
sub esp, 0x84
mov byte [ebp - 4], 2
mov edi, esp
push 0x41d5d0
mov esi, eax
mov ecx, 0x21
lea eax, [ebp - 0x118]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0054916b
add esp, 0x8c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00537eb5
lea ecx, [ebp - 0x118]
call fcn.0048f4c0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebx + 0x970], 0
je 0x46063c
mov ecx, dword [ebp - 0x120]
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0048f4c0
push eax
lea ecx, [ebp - 0x11c]
call fcn.00462a00
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00537eb5
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x460620
mov edx, 0x41d4e4
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4604e6
test si, si
je 0x4604e2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4604e6
add ecx, 4
add edx, 4
test si, si
jne 0x4604c0
xor ecx, ecx
jmp 0x4604eb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x460501
push 1
mov ecx, ebx
call fcn.004609b0
push 0
push 1
jmp 0x46060c
mov edx, 0x41d4f4
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x46052e
test si, si
je 0x46052a
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x46052e
add ecx, 4
add edx, 4
test si, si
jne 0x460508
xor ecx, ecx
jmp 0x460533
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x460549
push 2
mov ecx, ebx
call fcn.004609b0
push 0
push 2
jmp 0x46060c
mov edx, 0x41d504
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x460576
test si, si
je 0x460572
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x460576
add ecx, 4
add edx, 4
test si, si
jne 0x460550
xor ecx, ecx
jmp 0x46057b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x46058e
push 3
mov ecx, ebx
call fcn.004609b0
push 0
push 3
jmp 0x46060c
mov edx, 0x41d514
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4605bb
test si, si
je 0x4605b7
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4605bb
add ecx, 4
add edx, 4
test si, si
jne 0x460595
xor ecx, ecx
jmp 0x4605c0
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x460620
mov edx, 0x41d524
mov ecx, eax
nop dword [eax + eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x4605f6
test si, si
je 0x4605f2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4605f6
add ecx, 4
add edx, 4
test si, si
jne 0x4605d0
xor ecx, ecx
jmp 0x4605fb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x460620
push 4
mov ecx, ebx
call fcn.004609b0
push 0
push 4
push 0x1510
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x11c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46063c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x118]
call fcn.00537eb5
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.0057e93d
mov esp, ebp
pop ebp
ret 4