Function at 0x450030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9420
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], 0
mov eax, dword [ecx]
mov dword [ebp - 0x6c], ebx
call dword [eax + 4]
test eax, eax
je 0x45051c
xor eax, eax
mov dword [ebp - 0x30], 7
push eax
push 0x5026d8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00403dd0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44]
mov ecx, dword [ebx + 0x60]
call fcn.00428fb0
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.0041fa30
add esp, 4
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00429b00
mov edi, eax
lea esi, [ebx + 0x64]
cmp esi, edi
je 0x45010d
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x4500e8
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00409950
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x450100
mov eax, dword [esi]
jmp 0x450102
mov eax, esi
push edi
mov ecx, esi
mov byte [eax], 0
call fcn.00407610
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x450122
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00409950
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x450149
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
mov dword [ebp - 0x11c], 0x5071b4
mov dword [ebp - 0x10c], 0x5071a4
mov dword [ebp - 0xb4], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x60], 1
call fcn.00405b50
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x120], eax
lea eax, [ebp - 0x104]
mov ecx, eax
mov dword [ebp - 0x68], eax
call fcn.00405e00
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
push ecx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.0041fa30
add esp, 4
mov esi, eax
mov edx, str.GetGameProcess:
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10c]
call fcn.00406090
mov edx, esi
mov ecx, eax
call fcn.00406340
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x45022c
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], 0x10
jb 0x450249
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x45027a
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00404220
mov edi, eax
mov byte [ebp - 4], 8
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 2
jg 0x4502d1
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4502a0
mov eax, dword [edx]
jmp 0x4502a2
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4502ae
xor ecx, ecx
jmp 0x4502c0
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4502b6
sub ecx, dword [ebp - 0x60]
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, edi
call fcn.004048d0
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4502e6
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00409950
lea ecx, [ebp - 0xb4]
call fcn.00404bf0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0xb4], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 0
jne 0x45032b
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x45051c
inc ecx
push ecx
jmp 0x450511
mov ecx, dword [ebp - 0x64]
add ecx, 4
call fcn.004534e0
push dword [ebx + 0x60]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x450350
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00429da0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x450367
mov eax, dword [eax]
xor dl, dl
mov ecx, eax
call fcn.00418be0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x450389
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00403f40
mov dh, 0x66
mov dword [ebp - 0x24], 0x3121566
mov ch, 0x15
mov dword [ebp - 0x20], 0x5c0b07
mov al, 0x12
mov byte [ebp - 0x16], 0
mov cl, 3
mov dl, 7
mov bl, 0xb
mov ah, 0x5c
xor ch, dh
xor al, dh
xor cl, dh
mov byte [ebp - 0x1c], ch
xor dl, dh
mov byte [ebp - 0x1b], al
xor bl, dh
mov byte [ebp - 0x1a], cl
xor ah, dh
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], ah
test ch, ch
jne 0x4503cf
xor ecx, ecx
jmp 0x4503de
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4503d5
sub ecx, edx
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x1c]
push ecx
push 0
push eax
lea ecx, [edi + 0x48]
call fcn.00413e60
cmp eax, 0xffffffff
je 0x450400
lea edx, [edi + 0x48]
lea ecx, [ebp - 0x44]
call fcn.004531e0
mov dh, 0x66
mov dword [ebp - 0x24], 0xa161366
mov ch, 0x13
mov dword [ebp - 0x20], 0x5c1f07
mov al, 0x16
mov byte [ebp - 0x16], 0
mov cl, 0xa
mov dl, 7
mov bl, 0x1f
mov ah, 0x5c
xor ch, dh
xor al, dh
xor cl, dh
mov byte [ebp - 0x1c], ch
xor dl, dh
mov byte [ebp - 0x1b], al
xor bl, dh
mov byte [ebp - 0x1a], cl
xor ah, dh
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], ah
test ch, ch
jne 0x450446
xor ecx, ecx
jmp 0x450459
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450450
sub ecx, edx
push ecx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x48]
call fcn.00413e60
cmp eax, 0xffffffff
je 0x450478
mov ecx, dword [ebp - 0x64]
add ecx, 0x10
call fcn.004534e0
push ecx
mov edx, edi
lea ecx, [ebp - 0x5c]
call fcn.0041fb90
add esp, 4
push eax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00453940
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00453610
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, 8
jb 0x4504bb
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00403f40
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x4504e4
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00403f40
test esi, esi
jne 0x450504
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x4504fd
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00403f40
mov eax, 0x3f3
jmp 0x450521
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x60], esi
cmp eax, 8
jb 0x45051c
inc eax
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.00403f40
mov eax, 0x3e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4