Function at 0x1003e7f0
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10098748
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
mov ebp, dword [esp + 0x58]
test ebp, ebp
je 0x1003eb32
push ebx
push esi
push edi
push str.BGN_F_M_C
push 2
call fcn.1006ac00
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [ebp], ecx
mov dword [ebp + 4], 0xf
mov edx, dword [eax + 0x6c]
mov dword [ebp + 0x474], edx
lea esi, [eax + 8]
lea ebx, [ebp + 0x410]
mov ecx, 0x19
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x70]
lea edi, [ebp + 0x478]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0xd8]
lea edi, [ebp + 0x4dc]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [eax + 0x11e]
mov esi, dword [edx]
lea ecx, [ebp + 0x1722]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0xc]
mov dword [ecx + 0xc], esi
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x10], edx
lea esi, [eax + 0x132]
lea edi, [ebp + 0x1736]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x15a]
lea edx, [eax + 0x182]
lea edi, [ebp + 0x175e]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx]
lea ecx, [ebp + 0x1786]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0xc]
mov dword [ecx + 0xc], esi
mov dx, word [edx + 0x10]
mov word [ecx + 0x10], dx
mov ecx, dword [eax + 0x194]
mov dword [ebp + 0x1798], ecx
lea esi, [eax + 0x198]
lea edi, [ebp + 0x179c]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [eax + 0x1ca]
lea edi, [ebp + 0x17ce]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 8
mov byte [esp + 0x14], 0
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x10]
stosb byte es:[edi], al
mov dword [esp + 0x10], 0x40
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call fcn.1008cdb1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], 0
call fcn.100352c0
mov ecx, dword [ebp]
test ecx, ecx
push eax
lea eax, [ebp + 0x17ce]
push eax
lea eax, [ebp + 0x179c]
push eax
je 0x1003ea29
mov eax, dword [ebp + 0x2480]
push eax
lea edx, [ebp + 0x2340]
push edx
lea eax, [ebp + 0x2240]
push eax
lea edx, [ebp + 0x1c40]
push edx
lea eax, [ebp + 0x1840]
push eax
lea edx, [ebp + 0x1800]
push edx
lea eax, [ebp + 0x2040]
push eax
mov eax, dword [ebp + 0x1798]
lea edx, [esp + 0x3c]
push edx
push eax
lea eax, [ebp + 0x1786]
push eax
lea eax, [ebp + 0x175e]
push eax
lea eax, [ebp + 0x1736]
push eax
lea eax, [ebp + 0x1722]
push eax
lea edx, [ebp + 0x170e]
push edx
lea eax, [ebp + 0x4dc]
push eax
lea eax, [ebp + 0x478]
push eax
mov eax, dword [ebp + 0x474]
push eax
push ebx
lea edx, [ebp + 0x50e]
push edx
mov edx, dword [ebp + 0x40c]
lea eax, [ebp + 0x70e]
push eax
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
push ecx
jmp 0x1003eac9
mov edx, dword [ebp + 0x2480]
push edx
lea eax, [ebp + 0x2340]
push eax
lea ecx, [ebp + 0x2240]
push ecx
lea edx, [ebp + 0x1c40]
push edx
lea eax, [ebp + 0x1840]
push eax
lea ecx, [ebp + 0x1800]
push ecx
mov ecx, dword [ebp + 0x1798]
lea edx, [ebp + 0x2040]
push edx
lea eax, [esp + 0x3c]
push eax
push ecx
lea eax, [ebp + 0x1786]
push eax
lea eax, [ebp + 0x175e]
push eax
lea eax, [ebp + 0x1736]
push eax
lea eax, [ebp + 0x1722]
push eax
lea edx, [ebp + 0x170e]
push edx
lea eax, [ebp + 0x4dc]
push eax
lea eax, [ebp + 0x478]
push eax
mov eax, dword [ebp + 0x474]
push eax
mov eax, dword [ebp + 0x40c]
push ebx
lea ecx, [ebp + 0x50e]
push ecx
lea edx, [ebp + 0x70e]
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 4]
lea ecx, [ebp + 0xc]
push ecx
push edx
push eax
mov dword [ebp], 9
push 9
lea ecx, [esp + 0xd4]
push 0x100a0e10
push ecx
call fcn.10002d50
mov esi, dword [esp + 0xdc]
add esp, 0x78
push esi
push str._F_M_C____s
push 2
call fcn.1006ac00
push 0
push 1
push esi
push 1
call fcn.1003d3a0
push str.END__F_M_C
push 2
call fcn.1006ac00
lea eax, [esi - 0x10]
add esp, 0x24
mov dword [esp + 0x5c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebx
jg 0x1003eb32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret