Function at 0x4396a0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4887ea
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4b3014]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x43a0a6
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4396f1
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, edi
push str.message
mov dword [ebp - 0x28], 0
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43a05d
cmp byte [edi + 8], 0
jne 0x43972e
mov esi, 0x4b75d0
jmp 0x4397a5
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], str.message
mov dword [ebp - 0x1c], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439780
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x439779
cmp dword [ebp - 0x1c], 1
jne 0x439779
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x4397a1
lea esi, [eax + 0x18]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4397a1
cmp dword [ebp - 0x1c], 1
jne 0x4397a1
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
cmp byte [esi + 8], 4
jne 0x43a05d
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4397c4
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
cmp byte [edi + 8], 0
jne 0x4397e0
mov esi, 0x4b75d0
jmp 0x439857
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], str.message
mov dword [ebp - 0x1c], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439832
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x43982b
cmp dword [ebp - 0x1c], 1
jne 0x43982b
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x439853
lea esi, [eax + 0x18]
mov byte [ebp - 4], 5
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x439853
cmp dword [ebp - 0x1c], 1
jne 0x439853
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
mov edx, dword [esi]
test edx, edx
jne 0x439861
xor ecx, ecx
jmp 0x43986f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439866
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042fb50
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.0045b7a0
push str.title
mov ecx, edi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43a026
cmp byte [edi + 8], 0
jne 0x4398a8
mov esi, 0x4b75d0
jmp 0x43991f
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], str.title
mov dword [ebp - 0x1c], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4398fa
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4398f3
cmp dword [ebp - 0x1c], 1
jne 0x4398f3
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43991b
lea esi, [eax + 0x18]
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x43991b
cmp dword [ebp - 0x1c], 1
jne 0x43991b
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
cmp byte [esi + 8], 4
jne 0x43a026
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43993e
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
cmp byte [edi + 8], 0
jne 0x43995a
mov esi, 0x4b75d0
jmp 0x4399d1
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], str.title
mov dword [ebp - 0x1c], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4399ac
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4399a5
cmp dword [ebp - 0x1c], 1
jne 0x4399a5
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x4399cd
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4399cd
cmp dword [ebp - 0x1c], 1
jne 0x4399cd
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 8
mov edx, dword [esi]
test edx, edx
jne 0x4399db
xor ecx, ecx
jmp 0x4399e9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4399e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042fb50
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.0045b7a0
push str.flags
mov ecx, edi
mov dword [ebp - 0x1c], 0
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x439abc
cmp byte [edi + 8], 0
jne 0x439a29
mov esi, 0x4b75d0
jmp 0x439aa0
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.flags
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439a7b
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x439a74
cmp dword [ebp - 0x14], 1
jne 0x439a74
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x439a9c
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439a9c
cmp dword [ebp - 0x14], 1
jne 0x439a9c
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 8
cmp byte [esi + 8], 1
jne 0x439abc
push str.flags
mov ecx, edi
call fcn.0044f3e0
mov ecx, eax
call fcn.0044eb80
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0042fa70
mov dword [ebp - 0x30], eax
push 0x49d26c
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x439c45
cmp byte [edi + 8], 0
jne 0x439b02
mov esi, 0x4b75d0
jmp 0x439b79
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x49d26c
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439b54
mov byte [ebp - 4], 0xe
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x439b4d
cmp dword [ebp - 0x14], 1
jne 0x439b4d
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x439b75
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xf
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439b75
cmp dword [ebp - 0x14], 1
jne 0x439b75
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xd
cmp byte [esi + 8], 4
jne 0x439c45
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x439b98
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x49d26c
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0044f3e0
mov edx, dword [eax]
test edx, edx
jne 0x439bbd
xor ecx, ecx
jmp 0x439bcb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439bc2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042fb50
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0045b7a0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 1
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00443930
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x40]
cmp word [esi], 0
jne 0x439c07
xor ecx, ecx
jmp 0x439c1f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439c10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebx + 0x14]
call fcn.00431330
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439c45
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x49d270
mov ecx, edi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x439db5
cmp byte [edi + 8], 0
jne 0x439c69
mov esi, 0x4b75d0
jmp 0x439ce0
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x49d270
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439cbb
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x439cb4
cmp dword [ebp - 0x14], 1
jne 0x439cb4
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x439cdc
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x12
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439cdc
cmp dword [ebp - 0x14], 1
jne 0x439cdc
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xd
cmp byte [esi + 8], 4
jne 0x439db5
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x439cff
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x49d270
mov ecx, edi
mov byte [ebp - 4], 0x13
call fcn.0044f3e0
mov edx, dword [eax]
test edx, edx
jne 0x439d24
xor ecx, ecx
jmp 0x439d39
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439d30
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042fb50
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0045b7a0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 6
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00443930
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x40]
cmp word [esi], 0
jne 0x439d75
xor ecx, ecx
jmp 0x439d8f
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439d80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebx + 0x14]
call fcn.00431330
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439db5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x49d274
mov ecx, edi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x439f25
cmp byte [edi + 8], 0
jne 0x439dd9
mov esi, 0x4b75d0
jmp 0x439e50
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], 0x49d274
mov dword [ebp - 0x14], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x439e2b
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x439e24
cmp dword [ebp - 0x14], 1
jne 0x439e24
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x439e4c
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x15
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439e4c
cmp dword [ebp - 0x14], 1
jne 0x439e4c
call fcn.0044e5b0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xd
cmp byte [esi + 8], 4
jne 0x439f25
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x439e6f
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x49d274
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.0044f3e0
mov edx, dword [eax]
test edx, edx
jne 0x439e94
xor ecx, ecx
jmp 0x439ea9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439ea0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.0042fb50
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0045b7a0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 7
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00443930
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x40]
cmp word [esi], 0
jne 0x439ee5
xor ecx, ecx
jmp 0x439eff
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439ef0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x14]
call fcn.00431330
mov byte [ebp - 4], 0xd
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439f25
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.004438a0
mov byte [ebp - 4], 0x17
mov eax, dword [0x4b745c]
test eax, eax
jne 0x439f6e
push 0x230
call fcn.0045f195
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x18
call fcn.00463a40
add esp, 0x10
mov ecx, esi
call fcn.004288d0
mov dword [0x4b745c], eax
mov ebx, dword [eax + 0x224]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x19
push eax
call fcn.0042dc70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x428780
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
push esi
push edi
push ebx
mov dword [0x4b7488], eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x18]
push ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push dword [ecx]
lea ecx, [ebp - 0x18]
push eax
call fcn.0042e900
push dword [ebp - 0x18]
call fcn.0045f1f4
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.0042e900
push dword [ebp - 0x30]
call fcn.0045f1f4
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esp, 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43a009
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43a073
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43a073
push str.CDispatcherHandler::ShowMessageBox
push str._s_title_error
push 3
push 5
call fcn.00458450
mov byte [ebp - 4], 0
add esp, 0x10
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a073
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43a073
push str.CDispatcherHandler::ShowMessageBox
push str._s_message_error
push 3
push 5
call fcn.00458450
add esp, 0x10
mov ecx, dword [ebp - 0x44]
mov eax, 0x16
mov word [ecx], ax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a0a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0045f17f
mov esp, ebp
pop ebp
ret 8