Function at 0x1102e0d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111800ff
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x111ee0f0]
push 8
mov dword [ebp - 0x3b0], eax
call fcn.111101b0
add esp, 4
mov dword [ebp - 0x38c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1102e138
mov ecx, dword [0x111ee0dc]
push ecx
mov ecx, eax
call fcn.11143630
mov dword [ebp - 0x38c], eax
jmp 0x1102e13e
mov dword [ebp - 0x38c], ebx
push ebx
push 0x11195264
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov dword [ebp - 0x384], ebx
call fcn.11142e60
mov ecx, dword [ebp - 0x38c]
add esp, 8
push 0x100
lea edx, [ebp - 0x140]
push edx
mov dword [ebp - 0x388], eax
mov byte [ebp - 0x240], bl
lea edi, [esi + 0xb]
call fcn.11143690
cmp eax, ebx
je 0x1102e323
lea esp, [esp]
cmp eax, 0xffffffff
jne 0x1102e1b8
xor eax, eax
jmp 0x1102e1a0
mov cl, byte [ebp + eax - 0x140]
mov byte [ebp + eax - 0x240], cl
inc eax
cmp cl, bl
jne 0x1102e1a0
jmp case.0x1102e1ce.69
and eax, 0xffffffdf
add eax, 0xffffffbd
cmp eax, 0x12
ja case.0x1102e1ce.69
movzx eax, byte [eax + 0x1102ea34]
jmp dword [eax*4 + 0x1102ea0c]
cmp esi, ebx
jne case.0x1102e1ce.69
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.11162777
lea edx, [ebp - 0x140]
push ebx
push edx
call fcn.11142e60
mov edx, dword [ebp - 0x388]
mov dword [ebp - 0x384], eax
lea eax, [ebp - 0x140]
push 0xb
push eax
xor ecx, ecx
call fcn.1102d360
add esp, 0x14
mov esi, eax
jmp case.0x1102e1ce.69
cmp byte [ebp - 0x140], bl
je 0x1102e23d
lea ecx, [ebp - 0x140]
push ecx
call fcn.11163ca7
add esp, 4
mov dword [0x111ee2fc], eax
jmp case.0x1102e1ce.69
mov dword [0x111ee2fc], 1
jmp case.0x1102e1ce.69
mov dword [0x111ee460], 1
jmp case.0x1102e1ce.69
mov dword [0x111ee0e4], 1
jmp case.0x1102e1ce.69
mov edx, dword [ebp - 0x388]
push edx
call fcn.11162777
lea eax, [ebp - 0x140]
push ebx
push eax
call fcn.11142e60
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
add esp, 0xc
mov dword [ebp - 0x388], eax
push eax
mov eax, dword [edx + 0xac]
call eax
jmp case.0x1102e1ce.69
mov dword [0x111ee1e0], 1
jmp case.0x1102e1ce.69
push 0x1f
lea ecx, [ebp - 0x140]
push ecx
push 0x111ee21c
call fcn.11164ed0
add esp, 0xc
jmp case.0x1102e1ce.69
lea edx, [ebp - 0x13f]
push edx
call fcn.11163ca7
add esp, 4
inc eax
mov dword [0x111ee268], eax
jmp case.0x1102e1ce.69
lea eax, [ebp - 0x140]
push eax
call fcn.11163ca7
dec eax
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [0x111ea464], eax
push 0x100
lea ecx, [ebp - 0x140]
push ecx
mov ecx, dword [ebp - 0x38c]
call fcn.11143690
cmp eax, ebx
jne 0x1102e190
cmp esi, ebx
jne 0x1102e413
cmp dword [ebp - 0x384], ebx
jne 0x1102e338
push 1
push 0x1119b698
call fcn.11145990
add esp, 8
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x390], 0xffffffff
cmp dword [0x111ee23c], ebx
je 0x1102e34f
mov edi, 0xf
mov edx, dword [ebp - 0x388]
push edi
mov edi, dword [ebp - 0x384]
push edi
lea ecx, [ebp - 0x390]
call fcn.1102d360
add esp, 8
test eax, eax
jne 0x1102e413
call fcn.110b7df0
mov edx, dword [ebp - 0x390]
push eax
push edi
push edx
push 0x1119b678
call fcn.11147060
add esp, 0x10
cmp dword [ebp - 0x390], 0x91
jne 0x1102e3a3
mov byte [0x111ee280], 1
jmp 0x1102e413
cmp dword [0x111ee258], ebx
jne 0x1102e409
call fcn.11028360
test al, al
jne 0x1102e409
mov eax, dword [ebp - 0x390]
mov esi, dword [ebp - 0x3b0]
mov ecx, dword [esi]
xor edx, edx
cmp eax, 0x82
push eax
mov eax, dword [ecx + 4]
sete dl
push edi
push ebx
lea edx, [edx*8 + 0x1f41]
push edx
push esi
call eax
add esp, 0x14
cmp dword [0x111ee254], ebx
jne 0x1102e3f0
cmp dword [0x111ee268], ebx
je 0x1102e402
push 0x7d0
push 0x1119b66c
call fcn.110f64d0
add esp, 8
push 1
call fcn.1102d900
mov dword [0x111ee25c], 1
mov ecx, dword [0x111ee100]
push ecx
push 0x11026be0
call fcn.11146fe0
add esp, 8
cmp dword [0x111ee0e4], ebx
jne 0x1102e483
mov ecx, dword [0x111ee100]
push ebx
push ebx
push 0x1119ab98
push 0x111a1084
call fcn.1105e820
test eax, eax
je 0x1102e483
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0x154]
call eax
test al, al
je 0x1102e483
mov dword [0x111ee0e4], 3
mov eax, dword [0x111ee268]
cmp eax, ebx
je 0x1102e67a
cmp eax, 1
jne 0x1102e4a9
call fcn.110b7df0
mov esi, eax
jmp 0x1102e4ac
push 1
call fcn.1102bc40
add esp, 4
test al, al
je 0x1102e468
mov eax, dword [0x111ee268]
cmp eax, ebx
jne 0x1102e475
mov dword [0x111ee0e4], 3
jmp 0x1102e67a
lea esi, [eax - 1]
push 3
push 1
push 0x1119b664
push 0x111a0f40
mov ecx, 0x111ee0d0
call fcn.11027f40
push esi
call fcn.110281e0
add esp, 4
push 3
push eax
push 0x1119b658
push 0x111a0fb8
mov ecx, 0x111ee0d0
call fcn.11027f40
push 3
push 1
push 0x1119a310
push 0x111a0f40
mov ecx, 0x111ee0d0
call fcn.11027f40
push 0x11199de8
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], ebx
mov dword [ebp - 0x3dc], ebx
mov dword [ebp - 0x3d8], ebx
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d0], ebx
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3c4], ebx
mov dword [ebp - 0x3c8], ebx
mov dword [ebp - 0x3c0], ebx
mov dword [ebp - 0x3bc], ebx
mov dword [ebp - 0x3b8], ebx
lea ecx, [ebp - 0x3e4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x39c], ebx
mov dword [ebp - 0x398], ebx
push 0x11199e08
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [ebp - 0x3c4], eax
cmp eax, ebx
je 0x1102e64a
lea edx, [ebp - 0x398]
push edx
lea ecx, [ebp - 0x39c]
push ecx
push 0xe
push 0xffffffffffffffff
push ebx
call eax
cmp eax, ebx
je 0x1102e613
mov esi, dword [ebp - 0x39c]
cmp dword [esi], 2
jne 0x1102e613
movzx edx, byte [esi + 9]
movzx eax, byte [esi + 8]
movzx ecx, byte [esi + 7]
push edx
movzx edx, byte [esi + 6]
push eax
push ecx
push edx
push 0x1119b630
call fcn.11147060
movzx ecx, byte [esi + 6]
push 0x11195264
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.1112c1b0
add esp, 0x20
test eax, eax
je 0x1102e613
lea edx, [ebp - 0x20]
push edx
push 0x1119b620
call fcn.11147060
add esp, 8
push 3
lea eax, [ebp - 0x20]
push eax
push 0x1119b614
push 0x111a0f40
mov ecx, 0x111ee0d0
call fcn.11027f80
mov edi, dword [ebp - 0x39c]
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x1102e662
mov eax, dword [ebp - 0x394]
cmp dword [eax + 0x14], ebx
lea esi, [eax + 0x14]
jne 0x1102e63f
mov ecx, dword [eax]
push 0x11199df8
push ecx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
mov dword [esi], eax
mov esi, dword [esi]
cmp esi, ebx
je 0x1102e654
push edi
call esi
jmp 0x1102e65c
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
jmp 0x1102e613
push 0x78
call dword [sym.imp.KeRneL32.DLl_SetLastError]
mov dword [ebp - 0x39c], ebx
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1102e67a
push eax
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
lea edx, [ebp - 0x3b4]
push edx
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x3b4], 0x20
call dword [sym.imp.KeRneL32.DLl_GetComputerNameA]
cmp dword [0x111ee268], ebx
je 0x1102e6d3
mov ecx, dword [0x111ee100]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
push 0x100
lea eax, [ebp - 0x240]
push eax
push 0x1119b608
push 0x111a1084
call edx
mov eax, 0xf
call fcn.11028230
cmp dword [0x111ee268], ebx
jne 0x1102e727
cmp byte [ebp - 0x240], bl
je 0x1102e70f
mov esi, 0x1119b2e8
lea eax, [ebp - 0x240]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1102e706
cmp cl, bl
je 0x1102e702
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1102e706
add eax, 2
add esi, 2
cmp cl, bl
jne 0x1102e6e6
xor eax, eax
jmp 0x1102e70b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x1102e727
push 0xf
lea eax, [ebp - 0x40]
push eax
push 0x111ee124
call fcn.11164ed0
add esp, 0xc
jmp 0x1102e917
mov byte [ebp - 0x380], bl
cmp byte [ebp - 0x240], bl
jne 0x1102e74c
call fcn.110b7df0
push eax
lea ecx, [ebp - 0x380]
push ecx
call fcn.1102a1f0
add esp, 8
jmp 0x1102e7a3
lea edx, [ebp - 0x240]
push 0x25
push edx
call fcn.11081d30
add esp, 8
test eax, eax
je 0x1102e786
mov ecx, dword [0x111ee308]
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
push 0x100
lea edx, [ebp - 0x380]
push edx
lea edx, [ebp - 0x240]
push edx
call eax
jmp 0x1102e7a3
xor eax, eax
jmp 0x1102e790
mov cl, byte [ebp + eax - 0x240]
mov byte [ebp + eax - 0x380], cl
inc eax
cmp cl, bl
jne 0x1102e790
lea ecx, [ebp - 0x380]
push 0x25
push ecx
call fcn.11081d30
add esp, 8
lea edx, [ebp - 0x380]
test eax, eax
je 0x1102e8fc
push edx
push 0x1119b5e0
call fcn.11147060
add esp, 8
push 0x100
lea ecx, [ebp - 0x3ac]
call fcn.110cfe80
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 4], 3
call fcn.110d16d0
call fcn.110b7df0
mov esi, dword [sym.imp.uSEr32.dll_wsprintfA]
push eax
lea ecx, [ebp - 0x20]
push 0x1119b5d8
push ecx
call esi
call fcn.110b7df0
push eax
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x280]
push 0x1119b5d0
push eax
call esi
mov edx, dword [ebp - 0x3ac]
mov eax, dword [edx]
add esp, 0x1c
lea ecx, [ebp - 0x3ac]
call eax
test al, al
jne 0x1102e853
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov ecx, dword [ebp - 0x3a0]
push 0x1119b5c0
push ecx
call fcn.11129e00
add esp, 8
test eax, eax
je 0x1102e882
lea edx, [ebp - 0x280]
push edx
push 0x1119b5c0
lea ecx, [ebp - 0x3ac]
call fcn.110d0e20
lea eax, [ebp - 0x20]
push eax
push 0x1119b5b4
lea ecx, [ebp - 0x3ac]
call fcn.110d0e20
lea ecx, [ebp - 0x20]
push ecx
push 0x1119b5a8
lea ecx, [ebp - 0x3ac]
call fcn.110d0e20
mov edx, dword [ebp - 0x3ac]
mov eax, dword [edx]
lea ecx, [ebp - 0x3ac]
call eax
test al, al
jne 0x1102e8d2
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov ecx, dword [ebp - 0x3a0]
push 0xf
push ecx
push 0x111ee124
call fcn.11164ed0
add esp, 0xc
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
jmp 0x1102e90c
push 0xf
push edx
push 0x111ee124
call fcn.11164ed0
add esp, 0xc
push 0x111ee124
call dword [sym.imp.uSEr32.dll_CharUpperA]
mov edi, dword [ebp - 0x384]
mov eax, dword [0x111ee0f0]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
push ebx
push 0x416
push eax
call edx
add esp, 0x10
cmp dword [0x111ee0e4], ebx
jne 0x1102e962
cmp byte [0x111ee124], bl
jne 0x1102e962
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push ebx
push 0x415
push eax
call edx
add esp, 0xc
push 1
call fcn.1102d900
mov esi, dword [ebp - 0x38c]
cmp esi, ebx
je 0x1102e97c
mov ecx, esi
call fcn.11036710
push esi
call fcn.11162777
add esp, 4
push edi
call fcn.11162777
mov eax, dword [ebp - 0x388]
push eax
call fcn.11162777
push 0x11196aa1
push 0x1119b594
call fcn.11147060
mov ecx, dword [0x111ee258]
mov edx, dword [0x111ee254]
mov eax, dword [0x111ee268]
push ecx
push edx
push eax
push 0x111ee124
lea ecx, [ebp - 0x40]
push ecx
push 0x1119b558
call fcn.11147060
add esp, 0x28
call dword [sym.imp.KeRneL32.DLl_GetCurrentProcessId]
push eax
call fcn.110ee150
movzx edx, al
push edx
call fcn.11028290
movzx eax, al
push eax
push 0x1119b530
call fcn.11147060
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret