Function at 0x43b4a0
Capabilities:
Get hostname

Disassembly:
mov eax, dword [0x56e470]
sub esp, 0x834
cmp eax, 1
push ebx
push ebp
push esi
push edi
je 0x43b634
cmp dword [0x56e474], 0
je 0x43b634
cmp eax, 2
jne 0x43b4f5
lea eax, [esp + 0x14]
push 3
push eax
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], 0x52
mov byte [esp + 0x1e], 0xa
call fcn.004368a0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret
cmp eax, 3
jne 0x43b61a
mov ecx, dword [0x56e480]
mov edx, dword [str._unknown_program_]
push ecx
push edx
call fcn.00470b60
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b527
push str.Failed_to_load_recipe_file__cannot_setup_worker_n
call fcn.00443520
add esp, 4
mov eax, dword [esi + 4]
push 0
push str.serverVersion
push eax
call fcn.0046fb00
add esp, 0xc
cmp dword [0x56e4c4], 0
mov dword [0x56e494], eax
jne 0x43b55f
call fcn.00436530
cmp eax, 0xffffffff
jne 0x43b55f
push str.Failed_to_initialize_sockets_n
call fcn.00443520
add esp, 4
mov eax, dword [0x56e48c]
test eax, eax
je 0x43b57e
lea edx, [esp + 0x2c]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x43b570
jmp 0x43b58d
push 0x400
lea ecx, [esp + 0x30]
push ecx
call sub.WSOCK32.dll_gethostname
mov edx, dword [0x56e494]
add edx, 0xffffffff
cmp edx, 0x31e
mov eax, 0x56e4e5
jbe 0x43b5a8
mov eax, 0x53d804
mov ecx, dword [0x56e488]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x438]
push str.WORKER_s__s__s
push eax
call fcn.00500a32
lea ecx, [esp + 0x440]
push ecx
push str.Registering_as__s_n
mov edi, eax
call fcn.00442db0
lea edx, [esp + 0x448]
push edi
push edx
call fcn.004368a0
mov eax, dword [esi + 4]
push 0
push str.exitCommandCount
push eax
call fcn.0046fb00
push esi
mov dword [0x56e49c], eax
call fcn.004709f0
push esi
call fcn.0046fa70
add esp, 0x38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret
push str.Incompatible_Mode_and_Comms_n
call fcn.00443520
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret
mov ebx, dword [esp + 0x848]
test ebx, ebx
jne 0x43b684
cmp eax, 1
je 0x43b651
push str.No_input_files_given._nOption__h_gives_further_help_n
call fcn.00443520
add esp, 4
mov ecx, dword [0x56e480]
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0x56e024
call fcn.00437d90
add esp, 0x2c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret
cmp ebx, 1
jle 0x43b971
cmp dword [0x56e47c], 0
je 0x43b971
mov edx, dword [0x56e480]
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0x56e024
call fcn.00437d90
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.0043a600
add esp, 0x48
cmp eax, 1
je 0x43b716
push 0xa72
push str.P:_builds_oa_X12_oa_X12_M020_phase_13_build_ccsrc_viz_viz_adapters_src_dapi_libdvcon_dvcon.c
push str.Internal_error_at_file__s_line__d_n
push 1
push 0x32d0
call fcn.00442f20
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x834
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.00441490
mov ebp, eax
add esp, 0x1c
test ebp, ebp
jne 0x43b755
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x834
ret
xor edi, edi
test ebx, ebx
jle 0x43b852
mov ebx, 0x800
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x854]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + edi*4]
push 0
lea edx, [esp + 0x20]
push edx
push ecx
call fcn.00473190
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x43b7c2
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push 0
push edx
push eax
call fcn.004704b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43b7c2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43b7be
push eax
call fcn.00418550
add esp, 4
mov dword [esp + 0x10], esi
call fcn.00445110
mov esi, eax
or dword [esi + 0xe8], ebx
mov ecx, dword [ebp + 0x118]
push esi
push ecx
call fcn.004452d0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 4
push esi
push ebp
call fcn.00445450
mov eax, dword [esp + 0x38]
add esp, 0x28
test eax, eax
je 0x43b80f
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43b820
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43b831
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43b842
push eax
call fcn.00418550
add esp, 4
add edi, 1
cmp edi, dword [esp + 0x848]
jl 0x43b764
cmp byte [0x56e590], 0
je 0x43b8ae
push 0
push 0
push ebp
push 1
call fcn.0043aa80
add esp, 0x10
test eax, eax
jne 0x43b747
mov eax, dword [0x53bb80]
cmp dword [eax], 0
jne 0x43ba93
mov eax, dword [eax + 8]
mov dword [0x53bb80], eax
mov eax, dword [eax + 4]
push eax
call fcn.00438310
mov ecx, dword [0x53bb80]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [ecx + 4], 0
xor eax, eax
pop ebx
add esp, 0x834
ret
mov edi, dword [0x53bb80]
mov dword [edi + 0xc], ebp
call fcn.004383c0
mov eax, dword [0x53bb80]
test byte [eax + 0x30], 1
je 0x43b8f4
mov esi, dword [eax + 8]
test byte [esi + 0x30], 1
je 0x43b8d9
mov esi, dword [esi + 8]
test byte [esi + 0x30], 1
jne 0x43b8d0
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xc]
push edx
push eax
call fcn.004407d0
mov ecx, dword [esi + 0xc]
mov eax, dword [0x53bb80]
add esp, 8
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0xc]
test byte [ecx + 0x30], 0x10
jne 0x43b90b
push ecx
call fcn.004747f0
mov eax, dword [0x53bb80]
add esp, 4
xor esi, esi
cmp dword [eax + 4], esi
jne 0x43ba93
test byte [eax + 0x30], 1
jne 0x43b939
mov edx, dword [eax + 0xc]
push esi
push esi
push edx
push 1
call fcn.0043aa80
add esp, 0x10
test eax, eax
jne 0x43b747
mov eax, dword [0x53bb80]
cmp dword [eax], esi
jne 0x43ba93
mov eax, dword [eax + 8]
mov dword [0x53bb80], eax
mov eax, dword [eax + 4]
push eax
call fcn.00438310
mov eax, dword [0x53bb80]
add esp, 4
cmp eax, 0x56e024
mov dword [eax + 4], esi
jne 0x43b916
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret
mov ecx, dword [0x56e480]
mov edx, dword [str._unknown_program_]
push ecx
push edx
call fcn.00470b60
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
jne 0x43b99e
push str.Failed_to_load_recipe_file._n
call fcn.00443520
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x43ba8a
mov ebp, dword [esp + 0x84c]
nop
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + edi*4]
lea edx, [esp + 0x20]
push edx
push 0
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00473190
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x43ba05
mov edx, dword [esp + 0x10]
push 0
push edx
push esi
call fcn.004704b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43ba05
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ba01
push eax
call fcn.00418550
add esp, 4
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push 0
push 1
push 0
push 0
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [0x56e480]
push edx
push eax
push ecx
push 0x56e024
call fcn.00437d90
mov eax, dword [esp + 0x3c]
add esp, 0x2c
test eax, eax
je 0x43ba48
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43ba59
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ba6a
push eax
call fcn.00418550
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43ba7b
push eax
call fcn.00418550
add esp, 4
mov esi, dword [esp + 0x20]
add edi, 1
cmp edi, ebx
jl 0x43b9b0
push esi
call fcn.0046fa70
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x834
ret