Function at 0x40a470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4278d3
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x43700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
push 0x43812c
call fcn.00414df0
lea ecx, [ebp - 0x184]
call fcn.004035b0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push eax
push 0x104
call dword [0x42d074]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x164], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a500
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00415150
push esi
lea edx, [ebp - 0x164]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.004152a0
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x40a573
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a83b
push edx
push ecx
call fcn.004169a4
add esp, 8
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x170]
cmp edx, 0x10
jb 0x40a5cc
mov ecx, dword [ebp - 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a5c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a83b
push edx
push ecx
call fcn.004169a4
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x174], 0
mov ecx, esp
mov dword [ebp - 0x170], 0xf
mov byte [ebp - 0x184], 0
push 0x437d24
call fcn.00414df0
lea ecx, [ebp - 0x1b4]
call fcn.004035b0
mov esi, eax
push 0x432f04
lea edx, [ebp - 0x148]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00415620
add esp, 0x1c
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x130]
call fcn.004152a0
add esp, 4
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x188]
cmp edx, 0x10
jb 0x40a673
mov ecx, dword [ebp - 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a840
push edx
push ecx
call fcn.004169a4
add esp, 8
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x40a6cc
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a840
push edx
push ecx
call fcn.004169a4
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 0x1a4], 0
push eax
push 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call dword [0x42d0a8]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x164], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a720
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x164]
call fcn.00415150
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x130]
call fcn.00415770
mov edx, dword [ebp - 0x150]
mov bl, al
cmp edx, 0x10
jb 0x40a789
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a77f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a941
push edx
push ecx
call fcn.004169a4
add esp, 8
test bl, bl
je 0x40a845
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40a7cb
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a7c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a941
push edx
push ecx
call fcn.004169a4
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x40a820
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a816
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a941
push edx
push ecx
call fcn.004169a4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416332
mov esp, ebp
pop ebp
ret
call fcn.0041b00c
call fcn.0041b00c
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0x432ef8
cmovae eax, dword [ebp - 0x130]
push eax
call fcn.00419e9c
add esp, 8
test eax, eax
je 0x40a879
push eax
call fcn.00419f2a
add esp, 4
jmp 0x40a93a
lea ecx, [ebp - 0x148]
call fcn.00405a30
test al, al
jne 0x40a89c
push 0
lea ecx, [ebp - 0x148]
call fcn.00414cd0
push eax
call dword [0x42d05c]
lea ecx, [ebp - 0x148]
call fcn.00405a30
test al, al
je 0x40a8dc
sub esp, 0x18
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x14c], esp
push eax
call fcn.00414df0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
call fcn.004066c0
mov byte [ebp - 4], 9
call fcn.004097c0
add esp, 0x30
lea ecx, [ebp - 0x130]
call fcn.00405a00
test al, al
je 0x40a93a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x168], esp
push 0x43236b
call fcn.00414db0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x130]
mov dword [ebp - 0x14c], esp
mov ecx, esp
push eax
call fcn.00414df0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
push 0x432e98
call fcn.00414db0
mov byte [ebp - 4], 9
call fcn.00404380
add esp, 0x48
push 0
call fcn.00419dcf
call fcn.0041b00c
int3