Function at 0x12ddbc90
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x13059e61
push eax
mov eax, 0x11b0
mov dword fs:[0], esp
call fcn.12f5d840
xor eax, eax
push ebx
push ebp
mov dword [esp + 0x18], eax
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x24], eax
mov ecx, 0x1ff
lea edi, [esp + 0x9c1]
mov dword [esp + 0x28], eax
mov byte [esp + 0x9c0], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esp + 0x11d0]
mov dword [esp + 0x18], ebx
stosb byte es:[edi], al
mov eax, dword [0x131a832c]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], ebx
je 0x12ddbd12
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x9c0]
push ecx
push 0x800
push edx
push 5
push esi
call eax
push 0x131a82f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push 0x12ddc640
mov ecx, 0x1319a670
call fcn.12e51610
mov ebp, dword [esp + 0x11d8]
mov ecx, 0x24a
xor eax, eax
lea edi, [esp + 0x98]
mov dword [esp + 0x94], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x9c0]
lea eax, [esp + 0x94]
push eax
push ebp
push ecx
mov ecx, 0x1319a670
call fcn.12e51510
mov edi, dword [esp + 0x11dc]
mov esi, eax
mov dword [esp + 0x38], esi
cmp dword [edi], ebx
jne 0x12ddbd88
mov edx, dword [esp + 0x9c0]
push edx
push edi
call fcn.12ddcbd0
add esp, 8
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12ddbdb2
mov eax, dword [edi]
mov ecx, dword [esp + 0x9c0]
push eax
push ebp
push ecx
push esi
push str.InitJobMap_1__lu__s__lu__08x
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
cmp esi, ebx
jne 0x12ddbdfe
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x94]
push edx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, 0x1319a670
mov dword [eax + 0xc], edx
call fcn.12e51460
test eax, eax
jne 0x12ddbdfe
push 0x131a82f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebp
jmp 0x12ddc61f
push 0x131a82f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x13198f68], ebx
je 0x12ddbe46
mov eax, dword [0x131a8338]
mov ecx, dword [0x131a8334]
mov edx, dword [0x131a8330]
push eax
mov eax, dword [0x131a832c]
push ecx
mov ecx, dword [0x131a8328]
push edx
push eax
push ecx
push str.InitJobMap_2_0x_lx_0x_lx_0x_lx_0x_lx_0x_lx
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x20
cmp dword [0x131a8328], ebx
je 0x12ddc412
mov eax, dword [0x131a832c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x12ddbfd0
mov ecx, dword [esp + 0x11d0]
lea edx, [esp + 0x10]
push edx
push ebx
push ebx
push 2
push ecx
call eax
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12ddbe9d
mov edx, dword [esp + 0x10]
push edx
push edi
push str.InitJobMap_3__d__d
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov ebp, dword [esp + 0x10]
cmp ebp, ebx
je 0x12ddbf23
cmp dword [0x13198f68], ebx
je 0x12ddbec5
push str.InitJobMap_32
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.12f5bf8b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x12ddbf23
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x11d0]
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push 2
push ecx
mov dword [esp + 0x24], ebx
call dword [0x131a832c]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12ddbf23
push edi
push str.InitJobMap_33__lu
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp edi, ebx
je 0x12ddbfc3
cmp dword [0x13198f68], ebx
je 0x12ddbf47
push str.InitJobMap_4
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x12ddbf64
push 0x103
lea edx, [esp + 0x160]
push eax
push edx
call fcn.12f5c4ab
add esp, 0xc
mov eax, dword [esi]
cmp eax, ebx
je 0x12ddbf72
push 0x103
push eax
jmp 0x12ddbf98
lea ecx, [esp + 0x10]
lea edx, [esp + 0x364]
push ecx
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x12ddbfa8
push 0x14
push str.Local_Machine
lea eax, [esp + 0x36c]
push eax
call fcn.12f5c4ab
add esp, 0xc
mov ecx, dword [esp + 0x11d8]
mov edx, dword [0x13196cc4]
mov dword [esp + 0x998], ecx
mov dword [esp + 0x158], edx
cmp esi, ebx
je 0x12ddbfd0
push esi
call fcn.12f5bf80
add esp, 4
mov eax, dword [esp + 0x11d4]
cmp eax, ebx
je 0x12ddbff1
push 0x103
push eax
lea eax, [esp + 0x780]
push eax
call fcn.12f5c4ab
add esp, 0xc
mov eax, dword [0x131a8330]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x12ddc181
mov edx, dword [esp + 0x11d8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x11d4]
push ebx
push ebx
push 2
push edx
push ecx
call eax
mov ebp, dword [esp + 0x10]
mov edi, eax
cmp ebp, ebx
je 0x12ddc0b3
cmp dword [0x13198f68], ebx
je 0x12ddc04d
push str.InitJobMap_5
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
mov ebp, dword [esp + 0x1c]
add esp, 0xc
push ebp
call fcn.12f5bf8b
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x12ddc0b3
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x11d0]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x11d8]
lea eax, [esp + 0x10]
push eax
push ebp
push esi
push 2
push ecx
push edx
mov dword [esp + 0x28], ebx
call dword [0x131a8330]
mov edi, eax
mov eax, dword [0x13198f68]
cmp eax, ebx
je 0x12ddc0b3
push edi
push str.InitJobMap_51__lu
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
cmp edi, ebx
je 0x12ddc174
cmp dword [0x13198f68], ebx
je 0x12ddc0d7
push str.InitJobMap_6
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x12ddc0f4
push 0x103
push eax
lea eax, [esp + 0x578]
push eax
call fcn.12f5c4ab
add esp, 0xc
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x12ddc174
test byte [eax + 0x48], 1
je 0x12ddc10c
movsx ecx, word [eax + 0x4c]
mov dword [esp + 0x98c], ecx
mov eax, dword [esi + 0x28]
test byte [eax + 0x48], 2
je 0x12ddc120
movsx edx, word [eax + 0x4e]
mov dword [esp + 0x980], edx
mov eax, dword [esi + 0x28]
test byte [eax + 0x48], 4
je 0x12ddc134
movsx eax, word [eax + 0x50]
mov dword [esp + 0x994], eax
mov eax, dword [esi + 0x28]
test byte [eax + 0x48], 8
je 0x12ddc148
movsx ecx, word [eax + 0x52]
mov dword [esp + 0x990], ecx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x48]
test ch, 1
je 0x12ddc15e
movsx edx, word [eax + 0x56]
mov dword [esp + 0x988], edx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0x48]
test ch, 8
je 0x12ddc174
movsx eax, word [eax + 0x5c]
mov dword [esp + 0x984], eax
cmp esi, ebx
je 0x12ddc181
push esi
call fcn.12f5bf80
add esp, 4
cmp dword [0x13198f68], ebx
je 0x12ddc19d
push str.InitJobMap_7
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x94]
push ecx
call fcn.12ddbbf0
add esp, 4
test eax, eax
je 0x12ddc1c0
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x12ddc61f
lea edx, [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.12ddad20
mov eax, dword [esp + 0xb8]
add esp, 0xc
cmp eax, ebx
jne 0x12ddc215
mov edx, dword [esp + 0x11d4]
push edx
call fcn.12ddbad0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x12ddc206
push eax
call fcn.12f5bf80
add esp, 4
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x12ddc61f
lea eax, [esp + 0x778]
lea ecx, [esp + 0x15c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, 0x131c3108
mov dword [esp + 0x20], ebx
call fcn.12ee3f20
test eax, eax
je 0x12ddc321
mov ebp, dword [esp + 0xac]
lea eax, [esp + 0x9ac]
or ebp, 0x20
mov esi, 1
push eax
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x9a8], esi
call fcn.12e34260
add esp, 4
test eax, eax
je 0x12ddc281
lea ecx, [esp + 0x9ac]
push ecx
call fcn.12e31de0
add esp, 4
cmp dword [esp + 0x14], ebx
jne 0x12ddc2e3
push ebx
push 0x20
push ebx
push ebx
lea edx, [esp + 0x24]
push ebx
lea eax, [esp + 0x78c]
push edx
lea ecx, [esp + 0xac]
push eax
push ecx
mov ecx, 0x131c3108
call fcn.12ee4410
cmp dword [0x13198f68], ebx
je 0x12ddc2dd
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x778]
lea eax, [esp + 0x15c]
push edx
push eax
push ecx
push str.InitJobMap__bBackup_:__d____s____s_
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
cmp dword [esp + 0x14], ebx
je 0x12ddc326
mov ebp, dword [esp + 0xac]
lea edx, [esp + 0x11c]
or ebp, 2
push edx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x130], esi
call fcn.12e34260
add esp, 4
test eax, eax
je 0x12ddc326
lea eax, [esp + 0x11c]
push eax
call fcn.12e31de0
add esp, 4
jmp 0x12ddc326
mov esi, 1
test byte [esp + 0xac], 2
jne 0x12ddc336
cmp dword [esp + 0x18], ebx
je 0x12ddc396
cmp dword [0x1319a65c], ebx
jne 0x12ddc396
call fcn.12d92cc0
test eax, eax
je 0x12ddc396
push 0xffdf
lea ecx, [esp + 0x34]
call fcn.12f29880
mov ecx, 0x1319a640
mov dword [esp + 0x11c8], ebx
call fcn.12dc87b0
cmp dword [0x13198f68], ebx
je 0x12ddc382
push str.InitJobMap_INSTALLHOOK
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x11c8], 0xffffffff
call fcn.12f298b0
test byte [esp + 0xac], 0x30
je 0x12ddc412
cmp dword [0x1319a660], ebx
jne 0x12ddc412
call fcn.12f9c450
test eax, eax
je 0x12ddc3ba
call fcn.12d91de0
test eax, eax
jne 0x12ddc412
call fcn.12d92010
test eax, eax
jne 0x12ddc412
push 0xffdf
lea ecx, [esp + 0x34]
call fcn.12f29880
mov ecx, 0x1319a640
mov dword [esp + 0x11c8], esi
call fcn.12dc8990
cmp dword [0x13198f68], ebx
je 0x12ddc3fe
push str.InitJobMap_InstallPrintTextHook
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x11c8], 0xffffffff
call fcn.12f298b0
lea ecx, [esp + 0x1c]
push ecx
call fcn.12e31de0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x11d4]
mov esi, dword [esp + 0x11dc]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c4]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], esi
je 0x12ddc485
push 0x27
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.12f5c4ab
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x131a82f8
call edi
cmp dword [esp + 0x38], ebx
je 0x12ddc4b5
mov edx, dword [esp + 0x9c0]
lea ecx, [esp + 0x94]
push ecx
push esi
push edx
mov ecx, 0x1319a670
call fcn.12e513f0
jmp 0x12ddc4c7
lea eax, [esp + 0x94]
mov ecx, 0x1319a670
push eax
call fcn.12e51580
push 0x131a82f8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x131a8310
call edi
push ebp
push 0x12ddc640
mov ecx, 0x1319a680
call fcn.12e51b60
mov edx, dword [esp + 0x20]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x11dc]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [edx]
push ecx
mov ecx, 0x1319a680
mov dword [esp + 0x84], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
call fcn.12e51ab0
push 0x131a8310
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, ebx
jbe 0x12ddc593
lea edx, [esp + 0x15c]
push 0xff
push edx
push 0x131a8954
call fcn.12f5c4ab
mov eax, dword [0x13198f68]
add esp, 0xc
cmp eax, ebx
je 0x12ddc593
push 0x131a8954
push str.InitJobMap_8___s_
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x11d4]
push eax
push ecx
push esi
push edx
push ebp
mov ecx, 0x131c3a80
call fcn.12efcdb0
cmp dword [0x1319a668], ebx
jne 0x12ddc61d
cmp dword [0x131c4c04], ebx
je 0x12ddc61d
call fcn.12d92cc0
test eax, eax
je 0x12ddc61d
push 0xffdf
lea ecx, [esp + 0x34]
call fcn.12f29880
mov ecx, 0x1319a640
mov dword [esp + 0x11c8], 2
call fcn.12dc8d20
cmp dword [0x13198f68], ebx
je 0x12ddc609
push str.InitJobMap_INSTALLHOOK
push str.PrintRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esp + 0x11c8], 0xffffffff
call fcn.12f298b0
mov eax, esi
mov ecx, dword [esp + 0x11c0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11bc
ret