Function at 0x4215af
Capabilities:
Shutdown system

Disassembly:
mov eax, 0x45dce5
call fcn.00451758
sub esp, 0x344
push ebx
push esi
push edi
mov eax, ecx
push 6
mov esi, str.CIndDevicePage::TurnModeOn
pop ecx
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xa0]
xor ebx, ebx
movsw word es:[edi], word [esi]
cmp ecx, ebx
mov dword [ebp - 0x30], eax
movsb byte es:[edi], byte [esi]
je 0x4215ff
mov eax, dword [eax + 0xa8]
cmp eax, ebx
je 0x421606
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x40], ebx
jne 0x421606
xor eax, eax
jmp 0x421fa5
mov edi, dword [ebp - 0x30]
push ebx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x58], ebx
mov al, byte [edi + 0x10]
lea esi, [edi + 0x10]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x50], esi
mov byte [ebp - 0xbc], al
call fcn.004014dc
push dword [0x4614ac]
lea ecx, [ebp - 0xbc]
push ebx
push esi
call fcn.0040d4cc
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], ebx
call fcn.0040c2e4
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0040cfea
mov eax, dword [edi + 0xa8]
push 6
pop ecx
mov esi, str.CIndDevicePage::GetDevices
lea edi, [ebp - 0xec]
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ebx
movsb byte es:[edi], byte [esi]
je 0x421880
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x1c]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x464978
mov eax, dword [edi]
push edi
mov dword [ebp - 0x10], ebx
call dword [eax]
cmp eax, ebx
jl 0x4218b9
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x58]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
cmp dword [ebp - 0x58], ebx
je 0x4216ee
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x84]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
cmp dword [ebp - 0x74], ebx
je 0x421710
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x98]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp dword [ebp - 0x60], ebx
je 0x421732
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x88]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x7c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
cmp dword [ebp - 0x7c], ebx
je 0x42175a
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x90]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
call fcn.0044b8f5
mov esi, eax
cmp esi, ebx
je 0x4217bf
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push esi
call dword [eax + 0xc]
cmp dword [ebp - 0x4c], ebx
je 0x4217b9
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
push esi
call dword [eax + 0x1c]
cmp dword [ebp - 0x4c], ebx
je 0x4217b9
cmp dword [ebp - 0x54], ebx
je 0x4217b9
mov eax, dword [esi]
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xac]
push ecx
push esi
call dword [eax + 0x5c]
lea ecx, [ebp - 0xcc]
call fcn.0040c318
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0040c393
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 0x58], ebx
jne 0x4217d6
cmp dword [ebp - 0x4c], ebx
je 0x4218b9
cmp dword [ebp - 0x54], ebx
je 0x4218b9
mov eax, dword [ebp - 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0xe4]
mov byte [ebp - 0xe4], al
call fcn.004014dc
cmp edi, ebx
mov byte [ebp - 4], 3
je 0x4218a8
lea eax, [ebp - 0xe4]
push eax
push dword [ebp - 0x18]
call fcn.0044b95d
pop ecx
test eax, eax
pop ecx
jl 0x4218a8
push dword [0x4614ac]
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0xbc]
push ebx
push esi
call fcn.0040d4cc
push dword [0x4614ac]
lea eax, [ebp - 0xe4]
mov ecx, esi
push ebx
push eax
call fcn.0040d4cc
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push 0x464948
push edi
mov dword [ebp - 0x28], ebx
call dword [eax]
cmp dword [ebp - 0x28], ebx
je 0x4218a8
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x421868
mov eax, 0x4614a8
push eax
lea ecx, [ebp - 0x40]
call fcn.00408a15
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x421887
mov ecx, dword [eax]
jmp 0x421889
xor esi, esi
jmp 0x421f79
xor ecx, ecx
mov eax, dword [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x40]
cmp ecx, ebx
je 0x4218a8
call fcn.00408a9c
push 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.004014dc
cmp edi, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
je 0x421880
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x78], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x464968
push edi
mov byte [ebp - 4], 9
call dword [eax]
test eax, eax
jl 0x421944
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x421944
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x3c], ebx
jne 0x421937
test byte [ebp - 0x18], 2
je 0x421944
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
push 0x4649a8
push edi
call dword [eax]
test eax, eax
jl 0x42198f
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x42198f
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x38], ebx
jne 0x421972
test byte [ebp - 0x18], 4
je 0x42198f
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x8c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push 0x464998
push edi
call dword [eax]
test eax, eax
jl 0x4219da
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4219da
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x48], ebx
jne 0x4219bd
test byte [ebp - 0x18], 8
je 0x4219da
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0x464a28
push edi
call dword [eax]
test eax, eax
jl 0x421a38
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421a38
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x44], ebx
jne 0x421a08
test byte [ebp - 0x18], 0x30
je 0x421a38
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x78]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0xa4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb0]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x464978
push edi
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x1c], ebx
call dword [eax]
cmp eax, ebx
jl 0x421aa9
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x421aa9
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x70], ebx
je 0x421a86
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x421a86
mov ecx, dword [eax]
lea edx, [ebp - 0xa0]
push edx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x68]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp dword [ebp - 0x68], ebx
je 0x421aa9
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x421aa9
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push eax
call dword [ecx + 0x40]
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x30]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xa
lea eax, [edi + 0xf8]
push eax
call fcn.0040e475
mov eax, dword [ebp - 0x18]
xor esi, esi
dec eax
dec eax
je 0x421b09
dec eax
dec eax
je 0x421afd
sub eax, 4
je 0x421af1
sub eax, 8
je 0x421ae5
sub eax, 0x10
je 0x421ae5
mov esi, 0x80004005
jmp 0x421b3d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421b23
cmp dword [ebp - 0x44], ebx
jmp 0x421b13
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x421b23
cmp dword [ebp - 0x48], ebx
jmp 0x421b13
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x421b23
cmp dword [ebp - 0x38], ebx
jmp 0x421b13
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x421b23
cmp dword [ebp - 0x3c], ebx
jne 0x421b23
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
mov esi, eax
cmp esi, ebx
jl 0x421b3d
cmp dword [edi + 0x11c], ebx
je 0x421b3d
cmp dword [edi + 0x8c], ebx
je 0x421b3d
push dword [ebp + 8]
mov ecx, edi
call fcn.0041120b
cmp esi, ebx
mov dword [ebp - 0x28], ebx
jne 0x422050
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], 1
cmp eax, ebx
je 0x421b68
cmp dword [ebp - 0x3c], ebx
je 0x421b68
cmp dword [ebp - 0x18], 2
je 0x421b68
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x421b81
cmp dword [ebp - 0x38], ebx
je 0x421b81
cmp dword [ebp - 0x18], 4
je 0x421b81
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x421b9a
cmp dword [ebp - 0x48], ebx
je 0x421b9a
cmp dword [ebp - 0x18], 8
je 0x421b9a
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421bb9
cmp dword [ebp - 0x44], ebx
je 0x421bb9
cmp dword [ebp - 0x18], 0x20
je 0x421bb9
cmp dword [ebp - 0x18], 0x10
je 0x421bb9
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov esi, eax
cmp esi, ebx
jl 0x422040
mov eax, dword [ebp - 0x18]
dec eax
dec eax
je 0x421df5
dec eax
dec eax
je 0x421d5d
sub eax, 4
je 0x421cbe
sub eax, 8
je 0x421bf9
sub eax, 0x10
jne 0x422040
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421e5e
cmp dword [edi + 0x118], ebx
je 0x421c48
cmp dword [edi + 0x90], ebx
je 0x421c48
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb0]
mov eax, dword [edi + 0x9c]
cmp eax, dword [ebp - 0x30]
je 0x421c3e
mov ecx, dword [ebp - 0x14]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xb4]
mov esi, eax
cmp esi, 0x800400c9
jne 0x421c48
xor esi, esi
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x144]
cmp eax, ebx
jle 0x421c63
mov ecx, dword [ebp - 0x14]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x48]
mov esi, eax
cmp dword [edi + 0x10c], ebx
jne 0x421c77
cmp dword [edi + 0x110], ebx
je 0x421e5e
cmp dword [edi + 0x84], ebx
jne 0x421c8b
cmp dword [edi + 0x80], ebx
je 0x421e5e
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x421cad
mov dword [ebp - 0x10], 1
xor esi, esi
cmp dword [ebp - 0x10], ebx
je 0x421e5e
mov eax, dword [ebp - 0x14]
jmp 0x421e53
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x421e5e
cmp dword [edi + 0x118], ebx
je 0x421cf2
cmp dword [edi + 0x90], ebx
je 0x421cf2
mov eax, dword [edi + 0x9c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x48]
mov esi, eax
cmp esi, 0x800400c9
jne 0x421cf2
xor esi, esi
cmp dword [edi + 0x10c], ebx
jne 0x421d0e
cmp dword [edi + 0x110], ebx
jne 0x421d0e
cmp dword [edi + 0x114], ebx
je 0x421e5e
cmp dword [edi + 0x84], ebx
jne 0x421d2a
cmp dword [edi + 0x80], ebx
jne 0x421d2a
cmp dword [edi + 0x88], ebx
je 0x421e5e
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x421d4c
mov dword [ebp - 0x10], 1
xor esi, esi
cmp dword [ebp - 0x10], ebx
je 0x421e5e
mov eax, dword [ebp - 0x20]
jmp 0x421e53
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x421e5e
cmp dword [edi + 0x118], ebx
je 0x421d91
cmp dword [edi + 0x90], ebx
je 0x421d91
mov eax, dword [edi + 0x9c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x48]
mov esi, eax
cmp esi, 0x800400c9
jne 0x421d91
xor esi, esi
cmp dword [edi + 0x10c], ebx
jne 0x421dad
cmp dword [edi + 0x110], ebx
jne 0x421dad
cmp dword [edi + 0x114], ebx
je 0x421e5e
cmp dword [edi + 0x84], ebx
jne 0x421dc9
cmp dword [edi + 0x80], ebx
jne 0x421dc9
cmp dword [edi + 0x88], ebx
je 0x421e5e
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x421deb
mov dword [ebp - 0x10], 1
xor esi, esi
cmp dword [ebp - 0x10], ebx
je 0x421e5e
mov eax, dword [ebp - 0x24]
jmp 0x421e53
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x421e5e
cmp dword [edi + 0x10c], ebx
jne 0x421e14
cmp dword [edi + 0x110], ebx
jne 0x421e14
cmp dword [edi + 0x114], ebx
je 0x421e5e
cmp dword [edi + 0x84], ebx
jne 0x421e2c
cmp dword [edi + 0x80], ebx
jne 0x421e2c
cmp dword [edi + 0x88], ebx
je 0x421e5e
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push edx
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x421e4b
mov dword [ebp - 0x10], 1
xor esi, esi
cmp dword [ebp - 0x10], ebx
je 0x421e5e
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x422040
cmp esi, 0xb
jne 0x421fbc
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x479a9c]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x421e84
mov eax, 0x4614a8
push ecx
mov esi, 0x104
lea ecx, [ebp - 0x350]
push esi
push ecx
push 0x1e4
push eax
call sub.hccutils.DLL_LoadSTRING
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x479a9c]
add esp, 0x14
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x421eb5
mov eax, 0x4614a8
push ecx
lea ecx, [ebp - 0x24c]
push esi
push ecx
push 0x212
push eax
call sub.hccutils.DLL_LoadSTRING
add esp, 0x14
lea eax, [ebp - 0x24c]
push 1
push eax
lea eax, [ebp - 0x350]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x30], eax
je 0x422050
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea eax, [ebp - 0x34]
lea ecx, [edi + 0x94]
push eax
call fcn.0040e475
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x421f17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x421f24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x421f31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421f3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x421f4b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x5c]
call esi
push dword [ebp - 0x64]
call esi
push dword [ebp - 0x6c]
call esi
push ebx
call esi
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0040bc2d
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], bl
call fcn.0040c311
push 1
lea ecx, [ebp - 0xbc]
call fcn.004014dc
mov eax, esi
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x35c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
push 0x68
call fcn.00451777
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov byte [ebp - 4], 0xb
je 0x421fda
mov ecx, eax
call fcn.0044075e
mov esi, eax
jmp 0x421fdc
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 0xa
je 0x422040
mov edx, dword [esi]
mov dword [esi + 0x5c], 0x3a98
mov eax, dword [edi + 0x30]
mov ecx, esi
push eax
call dword [edx + 0x60]
cmp byte [esi + 0x64], bl
je 0x422036
cmp dword [edi + 0x60], ebx
mov dword [ebp - 0x28], 1
je 0x422036
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp eax, 1
jne 0x422036
mov eax, dword [ebp + 8]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
cmp eax, 1
jne 0x422036
mov eax, dword [edi + 0x60]
push ebx
push ebx
push 0x7e
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
jmp 0x422047
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], ebx
je 0x421efb
push dword [0x4614ac]
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0xbc]
mov ecx, esi
push ebx
push eax
mov dword [ebp - 0x40], ebx
call fcn.0040d4cc
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x28]
push edx
push 0x464948
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x28], ebx
call dword [ecx]
cmp dword [ebp - 0x28], ebx
je 0x4220cd
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x422090
mov eax, 0x4614a8
push eax
lea ecx, [ebp - 0x30]
call fcn.00408a15
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x4220a8
mov ecx, dword [eax]
jmp 0x4220aa
xor ecx, ecx
mov eax, dword [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
cmp ecx, ebx
je 0x4220cd
call fcn.00408a9c
cmp dword [ebp - 0x4c], ebx
je 0x422138
cmp dword [ebp - 0x54], ebx
je 0x422138
call fcn.0044b8f5
mov esi, eax
cmp esi, ebx
je 0x421f0a
push dword [ebp - 0xa8]
mov eax, dword [esi]
push dword [ebp - 0xac]
push esi
call dword [eax + 0x60]
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp edi, ebx
jl 0x421f0a
push ebx
lea eax, [ebp - 0x12c]
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.0040d045
lea ecx, [ebp - 0xcc]
call fcn.0040cb9a
lea ecx, [ebp - 0xcc]
call fcn.0040c352
jmp 0x421f0a
cmp dword [ebp - 0x58], ebx
je 0x42214c
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
cmp dword [ebp - 0x60], ebx
je 0x422160
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x74], ebx
je 0x422174
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x98]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
cmp dword [ebp - 0x7c], ebx
je 0x42218b
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x90]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x42219f
cmp dword [ebp - 0x3c], ebx
je 0x42219f
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4221b3
cmp dword [ebp - 0x38], ebx
je 0x4221b3
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4221c7
cmp dword [ebp - 0x48], ebx
je 0x4221c7
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4221db
cmp dword [ebp - 0x44], ebx
je 0x4221db
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x4221f4
cmp dword [ebp - 0x3c], ebx
jne 0x4221f4
test byte [ebp - 0x18], 2
je 0x4221f4
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x42220d
cmp dword [ebp - 0x38], ebx
jne 0x42220d
test byte [ebp - 0x18], 4
je 0x42220d
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x422226
cmp dword [ebp - 0x48], ebx
jne 0x422226
test byte [ebp - 0x18], 8
je 0x422226
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42223f
cmp dword [ebp - 0x44], ebx
jne 0x42223f
test byte [ebp - 0x18], 0x30
je 0x42223f
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 0x70], ebx
mov eax, dword [ebp - 0x1c]
je 0x42225a
cmp eax, ebx
je 0x42225a
push dword [ebp - 0xa0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x68], ebx
je 0x42226f
cmp eax, ebx
je 0x42226f
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
cmp eax, ebx
jl 0x421f0a
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x422295
cmp dword [ebp - 0x3c], ebx
je 0x422295
push dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4222b9
cmp dword [ebp - 0x38], ebx
je 0x4222b9
push dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4222dd
cmp dword [ebp - 0x48], ebx
je 0x4222dd
push dword [ebp - 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x421f0a
cmp dword [ebp - 0x44], ebx
je 0x421f0a
push dword [ebp - 0x9c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0xa4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
jmp 0x421f0a