Function at 0x412290
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x180
lea rbp, [rsp + 0x80]
mov rax, qword [rbp + 0x130]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0xa8], rcx
mov qword [rbp + 0xa0], rdx
mov qword [rbp + 0x98], r8
mov dword [rbp + 0x94], r9d
mov rax, qword [rbp + 0xa8]
cmp qword [rax + 0x28], 0
je 0x4122f9
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x28]
call fcn.0040c650
mov rax, qword [rbp + 0xa8]
cmp qword [rax + 0x20], 0
je 0x41231b
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x20]
call fcn.0040c650
mov rax, qword [rbp + 0xa8]
cmp qword [rax + 0x1860], 0
jbe 0x41234e
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x1860]
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x18], rcx
jmp 0x412378
mov rax, qword [rbp + 0xa8]
cmp qword [rax + 0x18], 0
jne 0x412373
call fcn.0040e760
mov rcx, rax
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x18], rcx
jmp 0x412378
mov ecx, 0x20
call fcn.0040afc0
mov rcx, rax
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x20], rcx
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x10], rax
mov ecx, 0x20
call fcn.0040b100
mov rcx, qword [rbp + 0x10]
mov rdx, rax
mov rax, qword [rbp + 0xa8]
mov r9, qword [rax + 0x18]
lea r8, str.http:__localhost:_zu
call fcn.0043fd80
mov qword [rbp + 0x88], 0
cmp dword [rbp + 0x94], 1
jne 0x412488
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax + 0x1859], 1
cmp qword [rbp + 0x80], 0
jne 0x412419
lea rax, [0x00442537]
mov qword [rbp + 8], rax
jmp 0x412424
mov rax, qword [rbp + 0x80]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x28], rcx
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x20]
call fcn.00409f20
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x78]
call fcn.0040afc0
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp], rax
mov rcx, qword [rbp + 0x78]
call fcn.0040b100
mov rcx, qword [rbp]
mov rdx, rax
mov rax, qword [rbp + 0xa8]
mov r8, qword [rax + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x412613
cmp dword [rbp + 0x94], 3
jne 0x412513
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax + 0x1859], 1
mov rcx, qword [rbp + 0x70]
call fcn.00409f20
add rax, 0x40
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.0040afc0
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov qword [rbp - 8], rax
mov rcx, qword [rbp + 0x68]
call fcn.0040b100
mov rcx, qword [rbp - 8]
mov rdx, rax
mov r9, qword [rbp + 0x70]
lea r8, str._meta_http_equiv_refresh__content_0_url_s__
call fcn.0043fd80
mov rcx, qword [rbp + 0x60]
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x28], rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x88], rax
jmp 0x41260e
cmp dword [rbp + 0x94], 4
jne 0x41255f
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax + 0x1859], 0
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x28], 0
mov rax, qword [rbp + 0xa8]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x88], rax
jmp 0x412609
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0xa8]
mov byte [rax + 0x1859], 0
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x28], 0
mov rcx, qword [rbp + 0x50]
call fcn.00412ac0
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
call fcn.00409f20
add rax, 0x40
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
call fcn.0040afc0
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x10], rax
mov rcx, qword [rbp + 0x40]
call fcn.0040b100
mov rcx, qword [rbp - 0x10]
mov rdx, rax
mov rax, qword [rbp + 0xa8]
mov r9, qword [rax + 0x18]
mov r8, qword [rbp + 0x48]
mov rax, rsp
mov qword [rax + 0x20], r8
lea r8, str.http:__localhost:_zu__s
call fcn.0043fd80
mov rcx, qword [rbp + 0x48]
call fcn.0040c650
mov rcx, qword [rbp + 0x50]
call fcn.0040c650
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x88], rax
jmp 0x41260e
jmp 0x412613
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call fcn.0040a040
test al, 1
jne 0x41286a
test byte [0x0045ab30], 1
je 0x412691
mov r9, qword [rbp + 0xa8]
xor eax, eax
mov edx, eax
lea r8, [0x00412c10]
xor eax, eax
mov rcx, rdx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x30]
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x38], rcx
cmp qword [rbp + 0x30], 0
je 0x41268c
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412691
mov byte [rbp + 0x2f], 0
mov rax, qword [rbp + 0xa8]
test byte [rax + 0x20f0], 1
je 0x4126ee
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
call fcn.00413410
test al, 1
jne 0x4126c9
jmp 0x4126e4
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x1878], 0xd
mov byte [rbp + 0x2f], 1
jmp 0x4126e9
jmp 0x4126e9
jmp 0x4126ee
mov byte [rbp + 0x2e], 0
test byte [rbp + 0x2f], 1
jne 0x412778
cmp qword [rbp + 0x130], 0
je 0x41276f
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x130]
call fcn.00413690
test al, 1
jne 0x412766
cmp qword [rbp + 0x130], 1
jne 0x41275c
mov rcx, qword [rbp + 0x88]
call fcn.0040f440
test al, 1
jne 0x412753
jmp 0x41275c
mov byte [rbp + 0x2e], 1
jmp 0x412761
jmp 0x412761
jmp 0x41276a
mov byte [rbp + 0x2e], 1
jmp 0x412773
mov byte [rbp + 0x2e], 1
jmp 0x412778
mov rcx, qword [rbp + 0x88]
call fcn.0040c650
cmp qword [rbp + 0x130], 0
je 0x4127f6
test byte [rbp + 0x2f], 1
jne 0x4127f1
test byte [rbp + 0x2e], 1
jne 0x4127f1
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x28]
call fcn.0040c650
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x20]
call fcn.0040c650
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x18]
call fcn.00413bb0
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x18], 0
mov byte [rbp + 0xb7], 0
jmp 0x412a7a
jmp 0x4127f6
test byte [0x0045ab30], 1
jne 0x412865
mov byte [0x0045ab30], 1
mov r9, qword [rbp + 0xa8]
xor eax, eax
mov edx, eax
lea r8, [0x00412c10]
xor eax, eax
mov rcx, rdx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0xa8]
mov qword [rax + 0x38], rcx
cmp qword [rbp + 0x20], 0
je 0x412860
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x412865
jmp 0x41291e
cmp qword [rbp + 0xa0], 0
je 0x4128d6
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp + 0x88]
call fcn.00409f20
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov r10, qword [rbp - 0x18]
xor r8d, r8d
mov r9d, 0xfb
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
call fcn.0040a0e0
jmp 0x412912
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp + 0x88]
call fcn.00409f20
mov rcx, qword [rbp - 0x38]
mov r9, qword [rbp - 0x30]
xor edx, edx
mov r8d, 0xfb
mov qword [rsp + 0x20], rax
call fcn.0040a380
mov rcx, qword [rbp + 0x88]
call fcn.0040c650
cmp qword [rbp + 0x130], 0
je 0x412a73
test byte [0x00454c20], 1
je 0x412a73
cmp qword [0x00456e30], 0
jbe 0x412957
mov rax, qword [0x00456e30]
mov qword [rbp - 0x40], rax
jmp 0x412965
mov eax, 0xf
mov qword [rbp - 0x40], rax
jmp 0x412965
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x18], rax
test byte [0x0045ab32], 1
je 0x4129f2
lea rcx, [rbp + 0xd8]
call fcn.0040a930
mov ecx, 0xa
call fcn.0040a910
test byte [0x0045ab32], 1
je 0x4129a2
jmp 0x4129a2
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call fcn.0040a040
test al, 1
jne 0x4129bd
jmp 0x4129c2
jmp 0x4129ed
imul rdx, qword [rbp + 0x18], 0x3e8
lea rcx, [rbp + 0xd8]
call fcn.0040a950
test al, 1
jne 0x4129e3
jmp 0x4129e8
jmp 0x4129ed
jmp 0x412986
jmp 0x412a58
lea rcx, [rbp + 0xb8]
call fcn.0040a930
mov ecx, 0xa
call fcn.0040a910
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call fcn.0040a040
test al, 1
jne 0x412a23
jmp 0x412a28
jmp 0x412a53
imul rdx, qword [rbp + 0x18], 0x3e8
lea rcx, [rbp + 0xb8]
call fcn.0040a950
test al, 1
jne 0x412a49
jmp 0x412a4e
jmp 0x412a53
jmp 0x4129fe
jmp 0x412a58
mov rcx, qword [rbp + 0xa8]
xor edx, edx
call fcn.0040a040
and al, 1
mov byte [rbp + 0xb7], al
jmp 0x412a7a
mov byte [rbp + 0xb7], 1
mov al, byte [rbp + 0xb7]
and al, 1
movzx eax, al
mov dword [rbp - 0x44], eax
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x412aaa
jmp 0x412aaf
call fcn.0041bf30
mov eax, dword [rbp - 0x44]
add rsp, 0x180
pop rbp
ret