Function at 0x140007800
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov eax, dword [0x1401b9414]
mov r12, rdx
cmp eax, 1
je 0x1400079c3
cmp dword [0x1401b9418], 0
je 0x1400079c3
cmp eax, 2
jne 0x140007869
lea edx, [rax + 1]
mov word [rbp + 0x7f0], 0x5201
lea rcx, [rbp + 0x7f0]
mov byte [rbp + 0x7f2], 0xa
call fcn.140009800
jmp 0x1400083e2
cmp eax, 3
jne 0x1400079b2
mov rdx, qword [0x1401b9458]
mov rcx, qword [section..data]
call fcn.140026750
mov rdi, rax
test rax, rax
jne 0x140007899
lea rcx, str.Failed_to_load_recipe_file__cannot_setup_worker_n
call fcn.140001320
mov rcx, qword [rdi + 8]
lea rdx, str.serverVersion
xor r8d, r8d
call fcn.1400272a0
cmp dword [0x1401b9938], 0
mov dword [0x1401b9894], eax
jne 0x1400078d1
call fcn.1400100c0
cmp eax, 0xffffffff
jne 0x1400078d1
lea rcx, str.Failed_to_initialize_sockets_n
call fcn.140001320
mov rcx, qword [0x1401b9888]
test rcx, rcx
je 0x140007900
lea rdx, [rbp - 0x70]
sub rdx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400078f0
jmp 0x14000790e
mov edx, 0x400
lea rcx, [rbp - 0x70]
call sub.WS2_32.dll_gethostname
mov eax, dword [0x1401b9894]
dec eax
cmp eax, 0x31e
ja 0x140007926
lea r8, [0x1401b9d74]
jmp 0x140007943
mov ecx, 0x3e8
lea r8, [0x1401772a4]
cmp dword [0x1401b9894], ecx
lea rax, [0x1401772b4]
cmovl r8, rax
mov rax, qword [0x1401b9880]
lea r9, [rbp - 0x70]
lea rdx, str.WORKER_s__s__s
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x390]
call fcn.140002a20
lea rdx, [rbp + 0x390]
mov ebx, eax
lea rcx, str.Registering_as__s_n
call fcn.140002310
mov edx, ebx
lea rcx, [rbp + 0x390]
call fcn.140009800
mov rcx, qword [rdi + 8]
lea rdx, str.exitCommandCount
xor r8d, r8d
call fcn.1400272a0
mov rcx, rdi
mov dword [0x1401b98c8], eax
call fcn.140027120
mov rcx, rdi
jmp 0x1400083dd
lea rcx, str.Incompatible_Mode_and_Comms_n
call fcn.140001320
jmp 0x1400083e2
test ecx, ecx
jne 0x140007a1d
cmp eax, 1
je 0x1400079d8
lea rcx, str.No_input_files_given._nOption__h_gives_further_help_n
call fcn.140001320
mov rdx, qword [0x1401b9458]
lea rcx, [0x1401b92e0]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.14000a620
jmp 0x1400083e2
movsxd r15, ecx
cmp ecx, 1
jle 0x140007e2c
cmp qword [0x1401b9450], 0
je 0x140007e2c
xor edi, edi
cmp byte [0x1401b9873], 1
jne 0x140007a71
lea rdx, str.__attrxml__Option_is_not_supported_while_converting_more_than_one_files
lea ecx, [rdi + 1]
call fcn.140002870
mov rcx, qword [0x1401b98a8]
mov byte [0x1401b9873], dil
test rcx, rcx
je 0x140007a6a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1401b98a8], rdi
cmp byte [0x1401b98a0], 1
jne 0x140007aab
lea rdx, str.__filtercompxml___Option_is_not_supported_while_converting_more_than_one_files
mov ecx, 1
call fcn.140002870
mov rcx, qword [0x1401b98b0]
mov byte [0x1401b98a0], dil
test rcx, rcx
je 0x140007aa4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1401b98b0], rdi
mov rdx, qword [0x1401b9458]
lea rcx, [0x1401b92e0]
mov qword [rsp + 0x50], rdi
xor r9d, r9d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call fcn.14000a620
cmp byte [0x1401b9252], dil
jne 0x140007c52
nop word [rax + rax]
mov rax, qword [0x1401758e0]
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140007c7f
cmp qword [rax], rdi
jne 0x140007c7c
cmp dword [0x1401b9414], 1
je 0x140007c52
cmp dword [0x1401b9418], edi
je 0x140007c52
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x60]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x7f8]
lea rax, [rsp + 0x68]
lea rdx, [rbp + 0x7f0]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140002b50
test eax, eax
je 0x140007c52
cmp eax, 1
jne 0x140007c45
mov rsi, qword [rbp - 0x80]
lea rcx, [0x1401b92e0]
mov r14, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r9, qword [rbp + 0x7f8]
mov rdx, rbx
mov r8, qword [rbp + 0x7f0]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000a620
test rbx, rbx
je 0x140007be5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x140007bf7
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f8]
test rcx, rcx
je 0x140007c09
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140007c19
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007c29
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x140007c37
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x140007c45
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x1401b9252], dil
je 0x140007b00
lea r9, [0x1401796a0]
mov dword [rsp + 0x20], 0x136e
lea r8, str.Internal_error_at_file__s_line__d_n
mov edx, 1
mov ecx, 0x32d0
call fcn.140001480
jmp 0x1400083e4
mov rbx, qword [rax]
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x20]
mov qword [rbp + 0x7f0], rdx
mov r8, qword [rbx + 0x30]
mov qword [rbp + 0x7f8], r8
mov r9, qword [rbx + 0x38]
mov qword [rsp + 0x60], r9
mov r11, qword [rbx + 0x40]
mov qword [rsp + 0x68], r11
mov rax, qword [rbx + 0x50]
mov r10, qword [rbx + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r11
mov qword [0x1401758e0], rbx
call fcn.140018590
mov r14, rax
test rax, rax
je 0x140007e20
test r15, r15
jle 0x140007e08
mov rsi, rdi
nop word [rax + rax]
mov rcx, qword [r12 + rsi*8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x7f8]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp + 0x7f0]
mov qword [rsp + 0x20], rax
call fcn.140014be0
cmp qword [rbp + 0x7f8], rdi
jne 0x140007d5a
mov rdx, qword [rbp + 0x7f0]
xor r8d, r8d
mov rcx, qword [r14]
call fcn.140025340
mov rbx, rax
test rax, rax
je 0x140007d5a
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x140007d53
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp + 0x7f0], rbx
call fcn.140028f40
mov rdx, rax
mov rbx, rax
or dword [rax + 0x168], 0x800
mov rcx, qword [r14 + 0x1c8]
call fcn.140028ed0
mov rcx, qword [rsp + 0x68]
mov r8d, 4
mov r9, qword [rbp + 0x7f0]
mov rdx, rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp + 0x7f8]
mov qword [rsp + 0x20], rcx
mov rcx, r14
call fcn.14002a7c0
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x140007dca
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f8]
test rcx, rcx
je 0x140007ddc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140007dec
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007dfc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc rsi
cmp rsi, r15
jl 0x140007cf0
xor r8d, r8d
mov rdx, r14
lea ecx, [r8 + 1]
call fcn.1400084f0
cmp eax, 0xffffffff
jne 0x1400083e2
mov rax, 0xffffffffffffffff
jmp 0x1400083e4
cmp byte [0x1401b9871], 1
jne 0x14000829a
mov eax, dword [0x1401b9894]
xor edi, edi
test eax, eax
mov qword [rsp + 0x70], rdi
mov ecx, 0x3e8
mov qword [rbp - 0x80], rdi
cmove eax, ecx
mov qword [rbp - 0x78], rdi
mov dword [0x1401b9894], eax
lea ebx, [rdi + 1]
mov dword [0x1401b941c], edi
call fcn.14002b780
test rax, rax
jne 0x140007e7d
lea rcx, [0x14000c280]
call fcn.14002b790
cmp byte [0x1401b9872], bl
jne 0x140007ef7
movsxd rax, dword [0x1401ba7d4]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test byte [rcx + rax + 0x18], bl
je 0x140007ec4
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
mov rdx, qword [r12]
lea rcx, str.Job_File_to_extract__s
call fcn.140001fb0
mov rcx, qword [r12]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x80]
call fcn.14002b300
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x140007efb
mov r9, qword [r12]
lea r8, str.Failed_to_get_job_file_from_zip_job_content___s__n
mov edx, ebx
mov ecx, 0x32f9
call fcn.140001480
jmp 0x140007f02
mov rcx, qword [r12]
call fcn.14002b100
mov ebx, eax
xor ecx, ecx
call fcn.14002b790
cmp ebx, 1
jne 0x140007f21
mov eax, dword [0x1401b941c]
cmp eax, ebx
jne 0x140007f46
cmp qword [0x1401b9428], rdi
jne 0x140007f4e
mov r9d, ebx
lea r8, str.Failed_to_process_job_file___d__n
mov edx, 1
mov ecx, 0x32eb
call fcn.140001480
mov rax, 0xffffffffffffffff
jmp 0x1400083e4
test eax, eax
je 0x1400083e2
mov rcx, qword [0x1401b9430]
call fcn.140002810
mov rcx, qword [0x1401b9438]
mov qword [rbp + 0x7f8], rax
call fcn.140002810
mov rcx, qword [0x1401b9440]
mov qword [rsp + 0x60], rax
call fcn.140002810
mov rcx, qword [r12]
lea rdx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x68], rax
xor r8d, r8d
call fcn.140013a90
mov rcx, qword [rsp + 0x70]
call fcn.140013c10
cmp byte [0x1401b9872], 1
jne 0x140008070
cmp qword [0x1401b9448], rdi
jne 0x140008092
mov rcx, qword [rsp + 0x70]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rcx + rax + 1], dil
lea rax, [rax + 1]
jne 0x140007fd0
lea rcx, [rax + 8]
call fcn.140001bb0
mov rdx, qword [rsp + 0x70]
mov r9, rax
mov qword [0x1401b9448], rax
mov r8, rax
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x140008000
lea rcx, [rax - 1]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140008016
lea r8, [0x1401778d4]
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140008030
xor edx, edx
mov rcx, r9
call fcn.140012520
test eax, eax
jns 0x140008092
mov r9, qword [0x1401b9448]
lea r8, str.Failed_to_create_source_output_path___s_._n
mov edx, 1
mov ecx, 0x32ee
call fcn.140001480
jmp 0x1400083e2
cmp qword [0x1401b9448], rdi
jne 0x140008092
mov rcx, qword [rsp + 0x70]
call fcn.140009ba0
mov rcx, rax
call fcn.140002810
mov qword [0x1401b9448], rax
mov rcx, qword [0x1401b9428]
lea rdx, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x78], rdi
xor r8d, r8d
call fcn.140013a90
cmp qword [0x1401b9430], rdi
je 0x1400080c5
mov rcx, qword [0x1401b9428]
call fcn.140002810
jmp 0x140008138
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140008101
cmp byte [rcx], dil
je 0x140008101
cmp qword [0x1401b9420], rdi
jne 0x1400080f3
call fcn.140013c10
mov rcx, qword [rsp + 0x78]
call fcn.140002810
mov qword [0x1401b9420], rax
mov rcx, qword [0x1401b9428]
call fcn.140002810
jmp 0x140008138
mov rax, qword [0x1401b9420]
test rax, rax
jne 0x140008126
mov rcx, qword [rsp + 0x70]
call fcn.140009ba0
mov rcx, rax
call fcn.140002810
mov qword [0x1401b9420], rax
mov rdx, qword [0x1401b9428]
xor r8d, r8d
mov rcx, rax
call fcn.140012aa0
mov rcx, qword [rsp + 0x78]
mov qword [rbp + 0x7f0], rax
test rcx, rcx
je 0x14000814f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x1401b98a4], dil
jne 0x1400081ed
mov rcx, qword [rbp + 0x7f0]
lea rdx, str..asm
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14000817d
mov byte [0x1401b98a4], 2
jmp 0x1400081ed
mov rcx, qword [rbp + 0x7f0]
lea rdx, str..prt
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x14000819e
mov byte [0x1401b98a4], 3
jmp 0x1400081ed
mov rcx, qword [rbp + 0x7f0]
lea rdx, str..drw
call sub.VCRUNTIME140.dll_strstr
test rax, rax
jne 0x1400081e6
mov rcx, qword [rbp + 0x7f0]
lea rdx, str..lay
call sub.VCRUNTIME140.dll_strstr
test rax, rax
jne 0x1400081e6
mov rcx, qword [rbp + 0x7f0]
lea rdx, str..frm
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x1400081ed
mov byte [0x1401b98a4], 1
mov rax, qword [rsp + 0x68]
lea rcx, [0x1401b92e0]
mov r9, qword [rbp + 0x7f8]
mov r8, qword [rbp + 0x7f0]
mov rdx, qword [0x1401b9458]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000a620
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000824d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x14000825f
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f8]
test rcx, rcx
je 0x140008271
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140008281
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400083e2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400083e2
mov rdx, qword [0x1401b9458]
mov rcx, qword [section..data]
call fcn.140026750
mov r14, rax
test rax, rax
jne 0x1400082c1
lea rcx, str.Failed_to_load_recipe_file._n
call fcn.140001320
test r15, r15
jle 0x1400083da
xor edi, edi
mov ebx, edi
nop
mov rcx, qword [r12 + rbx*8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x7f8]
lea rax, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp + 0x7f0]
mov qword [rsp + 0x20], rax
call fcn.140014be0
cmp qword [rbp + 0x7f8], rdi
jne 0x14000833a
mov rdx, qword [rbp + 0x7f0]
xor r8d, r8d
mov rcx, r14
call fcn.140025340
mov rsi, rax
test rax, rax
je 0x14000833a
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x140008333
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp + 0x7f0], rsi
mov rax, qword [rsp + 0x68]
lea rcx, [0x1401b92e0]
mov r9, qword [rbp + 0x7f8]
mov r8, qword [rbp + 0x7f0]
mov rdx, qword [0x1401b9458]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000a620
mov rcx, qword [rbp + 0x7f0]
test rcx, rcx
je 0x14000839c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x7f8]
test rcx, rcx
je 0x1400083ae
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400083be
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400083ce
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc rbx
cmp rbx, r15
jl 0x1400082d0
mov rcx, r14
call fcn.1400250a0
xor eax, eax
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret