Function at 0x40ad10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov ebx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
jne 0x40bbdb
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp ecx, 0x18
jne 0x40ad6d
push eax
mov edi, 1
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.004456c0
cmp dword [esp + 0xc], 0
mov dword [esi], eax
je 0x40af28
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x47
jne 0x40adff
mov eax, dword [ebx + 0x28]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ad8f
mov eax, dword [ebx + 4]
lea edi, [ebx + 0x24]
call fcn.004c2510
mov dword [esi], 0
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xc]
push edx
push edi
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.0041afd0
cmp dword [esp + 0xc], 0
mov esi, dword [esp + 0x10]
mov dword [esi], eax
jne 0x40ae0f
cmp dword [ebp + 0xc], 0x111
jne 0x40bbdb
lea eax, [edi - 0x2300]
cmp ax, 0xd
ja 0x40bbdb
movzx ecx, di
cmp dword [ebx + 0x53b4], ecx
jne 0x40bbc2
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x110
jne 0x40ae1d
push ebx
call fcn.0045ba10
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 2
jne 0x40ae38
push ebx
call fcn.0045cdf0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x10
jne 0x40ae77
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40ae63
call fcn.0046f270
test eax, eax
jne 0x40ae63
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 2
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x24
jne 0x40ae97
test edi, edi
je 0x40ad8f
mov dword [edi + 0x18], 0x32a
mov dword [edi + 0x1c], 0x216
jmp 0x40ad8f
cmp ecx, 5
jne 0x40aecd
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov eax, ebx
mov dword [esp + 0x18], 1
call fcn.0045d260
cmp dword [esp + 0xc], 0
mov dword [esi], eax
je 0x40ad95
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x113
jne 0x40aef0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.0045d480
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 3
jne 0x40af4f
lea ecx, [esp + 0xc]
push ecx
mov esi, ebx
mov dword [esp + 0x10], 1
call fcn.0045d400
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
mov dword [edx], eax
je 0x40ad95
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [0x566394], 0
jne 0x40ad8f
mov eax, dword [ebx + 4]
push 0
push edi
push 4
push eax
mov dword [0x566394], edi
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x40ad8f
cmp ecx, 0x8002
jne 0x40af6f
push edi
mov edi, ebx
call fcn.00460230
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x8009
jne 0x40afa5
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x40af8e
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push eax
push ebx
call fcn.0045e120
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x800a
jne 0x40afc7
mov ecx, dword [ebp + 0x10]
push ecx
push ebx
call fcn.0045fd90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x4a
jne 0x40b000
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x530c], edx
test edi, edi
jne 0x40afe9
xor eax, eax
mov dword [esi], eax
lea eax, [ecx - 0x49]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push edi
push ebx
call fcn.004600d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x111
jne 0x40b0b2
lea ecx, [eax + 0x1ef0]
cmp cx, 0xf
ja 0x40b02f
push eax
push ebx
call fcn.00460e80
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x4aa
cmp dx, ax
jne 0x40b050
mov eax, ebx
call fcn.00460fa0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x40b10f
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x40ae63
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
je 0x40ae63
mov edx, dword [ebx + 0x98]
mov eax, dword [edx + 0x14]
lea ecx, [ebx + 0x98]
call eax
mov ecx, dword [ebx + 0x4c94]
cmp dword [ecx - 0xc], 0
je 0x40ae63
cmp dword [ebx + 0x4414], 0
jne 0x40ae63
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp ecx, 0x428
jne 0x40b0d1
mov eax, ebx
call fcn.00460ff0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x429
jne 0x40b57c
mov edx, dword [ebx + 0x53d8]
cmp dword [edx - 0xc], 0
je 0x40b0fb
add ebx, 0x535c
push 0
push 1
push ebx
xor ecx, ecx
call fcn.00480d50
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x3ed
cmp dx, ax
jne 0x40b13f
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40b12b
mov ecx, ebx
call fcn.0046d8b0
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3ee
cmp cx, ax
jne 0x40b177
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40b0fb
mov edx, dword [ebx + 0x53dc]
mov dword [ebx + 0x53e4], edx
mov dword [ebx + 0x53dc], 0xffffffff
add ebx, 0x535c
xor edx, edx
jmp 0x40b0ef
mov ecx, 0x3f1
cmp cx, ax
jne 0x40b197
push ebx
call fcn.00461020
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x3f2
cmp dx, ax
jne 0x40b1d4
mov edi, ebx
call fcn.0046f170
test eax, eax
je 0x40b1be
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.00461940
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x8d3
cmp cx, ax
jne 0x40b211
mov edi, ebx
call fcn.0046f170
test eax, eax
je 0x40b1fb
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.00461080
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x3f3
cmp dx, ax
jne 0x40b231
push ebx
call fcn.00462060
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3f4
cmp cx, ax
jne 0x40b26f
mov edi, ebx
call fcn.0046f270
test eax, eax
je 0x40b258
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00462d30
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x3f5
cmp dx, ax
jne 0x40b2a2
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40b0fb
push ebx
call fcn.0046a420
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3f6
cmp cx, ax
jne 0x40b2e0
mov edi, ebx
call fcn.0046f170
test eax, eax
je 0x40b2c9
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.00463080
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x3f7
cmp dx, ax
jne 0x40b31d
mov edi, ebx
call fcn.0046f170
test eax, eax
je 0x40b307
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.004633b0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3f8
cmp cx, ax
jne 0x40b35b
mov edi, ebx
call fcn.0046f270
test eax, eax
je 0x40b344
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, ebx
call fcn.004641d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x928
cmp dx, ax
jne 0x40b37b
push ebx
call fcn.004647d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3f9
cmp cx, ax
jne 0x40b3b8
mov edi, ebx
call fcn.0046f170
test eax, eax
je 0x40b3a2
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.00464c60
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x47b
cmp dx, ax
jne 0x40b3f5
mov edi, ebx
call fcn.0046f270
test eax, eax
je 0x40b3df
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.00465350
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x47c
cmp cx, ax
jne 0x40b432
mov edi, ebx
call fcn.0046f270
test eax, eax
je 0x40b41c
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.004655f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x481
cmp dx, ax
jne 0x40b46f
mov edi, ebx
call fcn.0046f270
test eax, eax
je 0x40b459
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
call fcn.00465bd0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x8014
cmp cx, ax
jne 0x40b490
mov ecx, ebx
call fcn.00466080
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x482
cmp dx, ax
jne 0x40b4b0
push edx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x483
cmp cx, ax
jne 0x40b4d0
push ecx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x484
cmp dx, ax
jne 0x40b4f0
push edx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x485
cmp cx, ax
jne 0x40b510
push ecx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x486
cmp dx, ax
jne 0x40b538
push 1
call fcn.0048ab00
add esp, 4
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x800d
cmp cx, ax
jne 0x40b558
push ecx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x487
cmp dx, ax
jne 0x40b7d7
push edx
call fcn.004661f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x4e
jne 0x40b9dc
mov eax, dword [edi + 4]
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xfffffffb
jne 0x40b5b0
mov ecx, ebx
call fcn.00466f90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xfffffffd
jne 0x40b602
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x40b5e9
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push eax
call edx
test eax, eax
je 0x40b5e9
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, edi
mov edi, ebx
call fcn.00468700
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xfffffff3
jne 0x40b627
mov dword [esi], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff87
je 0x40b613
cmp eax, eax
jne 0x40b79d
cmp dword [edi + 8], 0xffffff94
jne 0x40b68c
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x40b66e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push eax
call edx
test eax, eax
je 0x40b66e
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, edi
push eax
mov esi, ebx
call fcn.00468790
mov esi, dword [esp + 0x10]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff99
jne 0x40b6dc
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x40b6c5
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push eax
call edx
test eax, eax
je 0x40b6c5
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push edi
push ebx
call fcn.00468a80
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff93
jne 0x40b72c
mov eax, dword [ebx + 0x51e4]
test eax, eax
je 0x40b715
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push eax
call edx
test eax, eax
je 0x40b715
xor eax, eax
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push edi
push ebx
call fcn.00468e50
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff9b
jne 0x40b74f
push ebx
call fcn.004692f0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff51
jne 0x40b776
push edi
push ebx
call fcn.00469600
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3e9
jne 0x40b79d
cmp dword [edi + 8], 0xffffff50
jne 0x40b79d
push edi
push ebx
call fcn.004697b0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x3eb
jne 0x40ad95
mov eax, edi
cmp dword [eax + 8], 0xfffffcde
jne 0x40ad95
mov ecx, eax
push ecx
lea ecx, [ebx + 0x4480]
call fcn.004b8d80
mov edx, esi
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3eb
cmp cx, ax
jne 0x40b80b
shr eax, 0x10
mov edx, 1
cmp dx, ax
jne 0x40ad95
mov ecx, ebx
call fcn.0046a370
mov ecx, esi
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0xe141
cmp dx, ax
jne 0x40b846
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40b0fb
push eax
push eax
mov eax, dword [ebx + 4]
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x472
cmp cx, ax
jne 0x40b867
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x473
cmp dx, ax
jne 0x40b888
push edx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x474
cmp cx, ax
jne 0x40b8a9
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x475
cmp dx, ax
jne 0x40b8ca
push edx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x476
cmp cx, ax
jne 0x40b8eb
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x477
cmp dx, ax
jne 0x40b90c
push edx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x496
cmp cx, ax
jne 0x40b92d
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x497
cmp dx, ax
jne 0x40b94e
push edx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x514
cmp cx, ax
jne 0x40b96f
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 0x515
cmp dx, ax
jne 0x40b990
push edx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x8010
cmp cx, ax
jne 0x40b9b1
push ecx
push ebx
call fcn.00466550
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
add eax, 0xfffffa88
cmp ax, 0x63
ja 0x40ad95
mov edx, dword [ebp + 0x10]
push edx
push ebx
call fcn.00466550
mov ecx, esi
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x233
jne 0x40b9fe
mov edx, dword [ebp + 0x10]
push edx
push ebx
call fcn.00460450
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x8006
jne 0x40ba25
lea eax, [ebx + 0xa8]
call fcn.00474290
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x8004
jne 0x40ba4e
mov eax, dword [ebp + 0x10]
add ebx, 0xa8
push ebx
mov edx, edi
call fcn.00411410
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x800b
jne 0x40ba90
mov ebx, dword [ebx + 0x51e4]
test ebx, ebx
je 0x40ba7b
mov eax, dword [ebx]
mov ecx, dword [eax + 0x8c]
push ebx
call ecx
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, 0x80004005
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x504
jne 0x40babf
push 1
mov eax, ebx
mov dword [ebx + 0x53b0], 0
call fcn.00470f70
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x640e
jne 0x40bafe
cmp dword [ebx + 0x4a7c], 1
jne 0x40b0fb
mov edi, ebx
call fcn.0046f270
test eax, eax
jne 0x40b0fb
mov ecx, ebx
call fcn.00462d30
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x112
jne 0x40bb20
lea edx, [esp + 0xc]
push edx
push eax
mov eax, ebx
mov dword [esp + 0x14], 1
call fcn.004713b0
jmp 0x40aeb2
cmp ecx, 0x509
jne 0x40bb43
mov edi, ebx
call fcn.0046f170
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x121
jne 0x40bb83
mov eax, dword [0x56517c]
test eax, eax
je 0x40bb6f
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40bb6f
mov ecx, dword [0x56517c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x510
jne 0x40ad95
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40bbae
push ebx
call fcn.00468bb0
mov ecx, esi
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
mov ecx, esi
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, edi
mov edx, ebx
call fcn.00464b40
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18