Function at 0x100249e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x1a0
push ebp
push esi
push edi
mov edi, dword [esp + 0x1b0]
test edi, edi
jne 0x10024a04
pop edi
pop esi
mov ax, 0x10
pop ebp
add esp, 0x1a0
ret 4
mov eax, dword [edi + 0x54]
test eax, eax
jbe 0x10024a3a
mov ecx, dword [0x100728c8]
push ecx
push eax
call fcn.10026590
add esp, 8
test eax, eax
je 0x10024a2f
pop edi
pop esi
mov ax, 0x4b
pop ebp
add esp, 0x1a0
ret 4
push 0x404
push edi
call fcn.100249b0
call fcn.100255b0
mov esi, eax
push 0x1b8
mov edx, esi
mov dword [esp + 0x10], esi
and edx, 0xffff
mov dword [edi + 0x54], edx
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x10024a74
pop edi
pop esi
mov ax, 0x40
pop ebp
add esp, 0x1a0
ret 4
mov ecx, 0x6e
xor eax, eax
mov edi, ebp
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
mov word [ebp + 0x5a], 0xffff
mov word [ebp], si
call sub.MSVCR80.dll__getpid
mov edi, 1
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x60], 0x78
mov word [ebp + 0x74], di
call fcn.10028c90
push str.NSP_HOST
mov word [ebp + 0x1a4], 0x40
mov word [ebp + 0x76], di
mov word [ebp + 0x1ac], di
mov word [ebp + 0x1ae], 0
call dword [sym.imp.MSVCR80.dll_getenv]
mov ebx, dword [sym.imp.MSVCR80.dll__stricmp]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10024b10
mov cl, byte [0x100707b0]
mov byte [ebp + 2], cl
jmp 0x10024bd6
push str.RNBO_STANDALONE
push edi
call ebx
add esp, 8
test eax, eax
jne 0x10024b2d
mov dl, byte [0x100707b0]
mov byte [ebp + 2], dl
jmp 0x10024bd6
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x6c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.MSVCR80.dll__mbsupr]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 2]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x11
ja 0x10024bd2
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x14]
push ecx
push str.SFNT__s
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x18d]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [0x10070804]
test eax, eax
jne 0x10024bfb
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x10024bfb
call fcn.10026230
mov dword [ebp + 0x1a8], eax
jmp 0x10024c07
mov ecx, dword [0x10070804]
mov dword [ebp + 0x1a8], ecx
cmp si, 1
jne 0x10024c1a
push 0x100728c8
call fcn.100281c0
add esp, 4
push ebp
push 0x100728c8
call fcn.100281d0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xf4]
lea edx, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x1b8], eax
call fcn.1002d460
add esp, 0xc
cmp eax, 1
jne 0x10024eb9
lea edi, [esp + 0xec]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Discard
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call ebx
add esp, 8
test eax, eax
je 0x10024eb9
lea edx, [esp + 0x12c]
push 0x3f
lea eax, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], 0
call dword [sym.imp.MSVCR80.dll_strncpy]
lea ecx, [esp + 0x38]
push ecx
call fcn.1002d1d0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xbc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0xbc], 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x40
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.1002ce40
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.MSVCR80.dll__mbsupr]
lea ecx, [esp + 0x8c]
push str.RNBO_STANDALONE
push ecx
call ebx
add esp, 0x28
test eax, eax
je 0x10024d58
lea edx, [esp + 0x6c]
push edx
push ebp
call fcn.100254d0
add esp, 8
mov eax, dword [esp + 0x1ac]
lea edi, [esp + 0x16c]
mov dword [ebp + 0x60], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x2c], 0
mov eax, ecx
mov esi, edi
mov edi, edx
push str.NSPRO_TCP_PROTOCOL
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
call ebx
add esp, 8
test eax, eax
je 0x10024eaa
lea edx, [esp + 0x2c]
push str.SP_TCP_PROTOCOL
push edx
call ebx
add esp, 8
test eax, eax
je 0x10024eaa
lea eax, [esp + 0x2c]
push 0x1005d5d8
push eax
call ebx
add esp, 8
test eax, eax
je 0x10024eaa
lea ecx, [esp + 0x2c]
push str.NSPRO_NETBEUI_PROTOCOL
push ecx
call ebx
add esp, 8
test eax, eax
je 0x10024e9e
lea edx, [esp + 0x2c]
push str.SP_NETBEUI_PROTOCOL
push edx
call ebx
add esp, 8
test eax, eax
je 0x10024e9e
lea eax, [esp + 0x2c]
push str.NetBEUI
push eax
call ebx
add esp, 8
test eax, eax
je 0x10024e9e
lea ecx, [esp + 0x2c]
push str.NSPRO_IPX_PROTOCOL
push ecx
call ebx
add esp, 8
test eax, eax
je 0x10024e92
lea edx, [esp + 0x2c]
push str.SP_IPX_PROTOCOL
push edx
call ebx
add esp, 8
test eax, eax
je 0x10024e92
lea eax, [esp + 0x2c]
push 0x1005d57c
push eax
call ebx
add esp, 8
test eax, eax
je 0x10024e92
lea ecx, [esp + 0x2c]
push str.NSPRO_SAP_PROTOCOL
push ecx
call ebx
add esp, 8
test eax, eax
je 0x10024e8e
lea edx, [esp + 0x2c]
push str.SP_SAP_PROTOCOL
push edx
call ebx
add esp, 8
test eax, eax
je 0x10024e8e
lea eax, [esp + 0x2c]
push 0x1005d554
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10024eb9
push 8
jmp 0x10024eac
mov edx, dword [esp + 0x1b4]
push 2
push edx
jmp 0x10024eb4
mov eax, dword [esp + 0x1b4]
push 4
push eax
jmp 0x10024eb4
push 1
mov ecx, dword [esp + 0x1b8]
push ecx
call fcn.10027680
push ebp
push 0
call fcn.10025690
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1a0
ret 4