Function at 0x405660
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427c9f
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4344c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xb0], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0xb4], eax
mov eax, esi
jb 0x4056b0
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x28]
push str.Trouble__s
push eax
call fcn.004012f0
push 0
push eax
push 0xc80
mov dword [ebp - 4], 0
call fcn.00404fd0
mov ecx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x405711
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405707
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cbc
push ecx
push edx
call fcn.0040fb83
add esp, 8
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x4292d0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401250
push 1
xorps xmm0, xmm0
mov dword [ebp - 4], 1
push 0x4298a8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00401250
push 1
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0x4298ac
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00401250
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.004041d0
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x4057db
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4057d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x405813
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405809
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x40584b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push 0x42996c
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00401250
push 1
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], 0xf
movups xmmword [ebp - 0x40], xmm0
push eax
mov ecx, esi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0xb0], 1
call fcn.0040c670
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.type
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401250
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040bf50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp ecx, 0x10
jb 0x40591c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405912
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cc1
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp ecx, 0x10
jb 0x405954
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40594a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cc1
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x40599e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405994
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cc1
push ecx
push edx
call fcn.0040fb83
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.flags
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401250
push 0xff
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405ed0
add esp, 0x18
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xac]
push eax
call fcn.0040e7b0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x405a27
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cc6
push ecx
push edx
call fcn.0040fb83
add esp, 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push 0x4298bc
push eax
call fcn.004012f0
add esp, 0xc
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0xac]
call fcn.00408b20
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x405a87
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405ccb
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x405abf
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405ab5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.message
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401250
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xac]
call fcn.0040bf50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x405b2f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.ecode
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00401250
push dword [ebp - 0xb4]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0xac]
call fcn.0040bf50
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x405ba4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd0
push ecx
push edx
call fcn.0040fb83
add esp, 8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040cf40
mov esi, eax
push 0x1a
xorps xmm0, xmm0
mov byte [ebp - 4], 0xf
push str.pending_browse_to_solution
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00401250
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push esi
push eax
call fcn.0040c110
mov ecx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0xf
cmp ecx, 0x10
jb 0x405c26
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd5
push ecx
push edx
call fcn.0040fb83
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 7
cmp ecx, 0x10
jb 0x405c5e
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405c54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405cd5
push ecx
push edx
call fcn.0040fb83
add esp, 8
test byte [ebp + 0xc], 1
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
je 0x405c77
push 1
call edi
push eax
call esi
call fcn.0040a9d0
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx*4 + 4]
test dword [ebp + 0xc], ecx
je 0x405c96
push 1
call edi
push eax
call esi
lea ecx, [ebp - 0xac]
call fcn.004047f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fd76
mov esp, ebp
pop ebp
ret
call fcn.004130bf
call fcn.004130bf
call fcn.004130bf
call fcn.004130bf
call fcn.004130bf
call fcn.004130bf
int3