Function at 0x1001ba70
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd1ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x1010a080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x398], 0
push 8
movups xmmword [ebp - 0x3a8], xmm0
call fcn.100daa1b
lea ecx, [ebp - 0x3a8]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x3a8], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x394], xmm0
mov dword [ebp - 0x384], 0
call fcn.100daa1b
lea ecx, [ebp - 0x394]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x394], eax
mov dword [eax], ecx
mov eax, ecx
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3a8]
mov ecx, closesocket
push eax
call fcn.1001b540
lea eax, [ebp - 0x394]
mov ecx, reloc.WS2_32.dll_bind
push eax
lea eax, [ebp - 0x3a8]
push eax
call fcn.1001b540
add esp, 0x10
mov ecx, 0x1010b3b0
call fcn.100106c0
mov ecx, 0x1010b370
call fcn.100106c0
xorps xmm0, xmm0
mov dword [ebp - 0x36c], 0x2f
lea edx, [ebp - 0x36c]
movups xmmword [ebp - 0x238], xmm0
call fcn.10004720
movups xmm0, xmmword [str.__Arial_Bold_]
mov ecx, dword [ebp - 0x36c]
mov edx, eax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x228], 0x21
mov dword [ebp - 0x224], ecx
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x10103f58]
movups xmmword [edx + 0x10], xmm0
mov al, byte [0x10103f68]
mov byte [edx + 0x20], al
mov byte [edx + 0x21], 0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x1010b3b0
call fcn.1001d2a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
cmp ecx, 0xf
jbe 0x1001bc12
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bc08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc7c
push ecx
push edx
call fcn.100dad65
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
push eax
mov ecx, 0x1010b370
call fcn.1001d2a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
cmp ecx, 0xf
jbe 0x1001bc8c
mov edx, dword [ebp - 0x238]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bc82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001bc82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dad65
add esp, 8
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x10103f6c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1001c359
mov edx, dword [ebp - 0x39c]
mov eax, dword [ebp - 0x398]
add eax, edx
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x380], eax
cmp edx, eax
je 0x1001c000
nop dword [eax]
mov ecx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x3a4]
dec ecx
and ecx, edx
mov edi, dword [eax + ecx*4]
mov ecx, edi
mov dword [ebp - 0x36c], edi
mov dword [ebp - 0x370], edi
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x1001bd01
mov ecx, dword [edi]
mov dword [ebp - 0x370], ecx
cmp eax, 0xb
jb 0x1001bd9e
add eax, 0xfffffff6
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x37c], edx
nop dword [eax + eax]
sub edx, eax
mov esi, 0
sar edx, 1
je 0x1001bd42
cmp word [eax], 0x20
je 0x1001bd40
cmp edx, 1
je 0x1001bd42
add eax, 2
dec edx
cmp word [eax], 0x20
jne 0x1001bd31
mov esi, eax
mov eax, esi
test eax, eax
je 0x1001bd98
mov esi, str.__TrueType_
mov ecx, eax
sub ecx, esi
mov edi, 0xb
mov dword [ebp - 0x378], ecx
nop dword [eax]
movzx edx, word [ecx + esi]
movzx ecx, word [esi]
cmp dx, cx
jne 0x1001bd7c
add esi, 2
sub edi, 1
je 0x1001bd87
mov ecx, dword [ebp - 0x378]
jmp 0x1001bd60
mov edx, dword [ebp - 0x37c]
add eax, 2
jmp 0x1001bd20
sub eax, dword [ebp - 0x370]
sar eax, 1
cmp eax, 0xffffffff
jne 0x1001be44
mov edi, dword [ebp - 0x36c]
cmp dword [edi + 0x14], 7
mov ecx, edi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x370], edi
jbe 0x1001bdb7
mov ecx, dword [edi]
mov dword [ebp - 0x370], ecx
cmp eax, 0xb
jb 0x1001be41
add eax, 0xfffffff6
lea edx, [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x378], edx
nop
sub edx, eax
mov esi, 0
sar edx, 1
je 0x1001bdf2
cmp word [eax], 0x20
je 0x1001bdf0
cmp edx, 1
je 0x1001bdf2
add eax, 2
dec edx
cmp word [eax], 0x20
jne 0x1001bde1
mov esi, eax
mov eax, esi
test eax, eax
je 0x1001be41
mov esi, str.__OpenType_
mov ecx, eax
sub ecx, esi
mov edi, 0xb
mov dword [ebp - 0x37c], ecx
nop dword [eax]
movzx edx, word [ecx + esi]
movzx ecx, word [esi]
cmp dx, cx
jne 0x1001be2c
add esi, 2
sub edi, 1
je 0x1001be37
mov ecx, dword [ebp - 0x37c]
jmp 0x1001be10
mov edx, dword [ebp - 0x378]
add eax, 2
jmp 0x1001bdd0
sub eax, dword [ebp - 0x370]
sar eax, 1
jmp 0x1001be44
or eax, 0xffffffff
mov edx, dword [ebp - 0x36c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
cmp dword [edx + 0x10], eax
cmovb eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 7
jbe 0x1001be77
mov edx, dword [edx]
push eax
push edx
lea ecx, [ebp - 0x238]
call fcn.10010c60
push 0xfde9
lea edx, [ebp - 0x238]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.1001b350
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov edx, dword [0x1010b3c0]
mov eax, dword [0x1010b3b8]
lea ecx, [edx + 1]
cmp eax, ecx
ja 0x1001becf
push ecx
mov ecx, 0x1010b3b0
call fcn.10011400
mov edx, dword [0x1010b3c0]
mov eax, dword [0x1010b3b8]
lea ecx, [eax - 1]
mov eax, dword [0x1010b3bc]
and eax, ecx
mov dword [0x1010b3bc], eax
add eax, edx
and ecx, eax
mov eax, dword [0x1010b3b4]
lea edi, [ecx*4]
cmp dword [edi + eax], 0
jne 0x1001bf0c
push 0x18
call fcn.100daa1b
mov ecx, dword [0x1010b3b4]
add esp, 4
mov dword [edi + ecx], eax
mov eax, dword [0x1010b3b4]
mov eax, dword [edi + eax]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
inc dword [0x1010b3c0]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x1001bf88
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bf7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc7c
push ecx
push edx
call fcn.100dad65
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0xf
mov byte [ebp - 0x268], 0
cmp ecx, 7
jbe 0x1001bfe7
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001bfdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc7c
push ecx
push edx
call fcn.100dad65
add esp, 8
mov edx, dword [ebp - 0x374]
inc edx
mov dword [ebp - 0x374], edx
cmp edx, dword [ebp - 0x380]
jne 0x1001bcd0
mov edx, dword [ebp - 0x388]
mov eax, dword [ebp - 0x384]
add eax, edx
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x378], eax
cmp edx, eax
je 0x1001c359
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebp - 0x38c]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x390]
dec ecx
and ecx, edx
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 7
mov edi, dword [eax + ecx*4]
xor eax, eax
mov dword [ebp - 0x37c], edi
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 6
mov esi, edi
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x36c], edi
jbe 0x1001c092
mov esi, dword [edi]
mov dword [ebp - 0x36c], esi
test eax, eax
je 0x1001c1a6
push 0x100
lea eax, [ebp - 0x368]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x10103fb8
mov edx, 0x100
nop word [eax + eax]
movzx eax, word [ecx]
cmp ax, dx
jae 0x1001c11d
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x368], 1
cmp ecx, 0x10103fbc
jne 0x1001c0c0
mov eax, dword [edi + 0x10]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x36c]
dec eax
cmp eax, ecx
cmovb ecx, eax
lea esi, [edx + ecx*2]
mov ecx, 0x100
movzx eax, word [esi]
cmp ax, cx
jae 0x1001c10a
cmp byte [ebp + eax - 0x368], 0
jne 0x1001c117
cmp esi, edx
je 0x1001c1a6
sub esi, 2
jmp 0x1001c0f8
sub esi, edx
sar esi, 1
jmp 0x1001c17d
mov eax, dword [ebp - 0x380]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea esi, [esi + ecx*2]
nop
movzx edi, word [esi]
mov eax, 0x5c
mov edx, 2
mov ecx, 0x10103fb8
cmp ax, di
je 0x1001c16f
cmp edx, 1
je 0x1001c15d
movzx eax, word [ecx + 2]
add ecx, 2
dec edx
cmp ax, di
jne 0x1001c147
test ecx, ecx
jne 0x1001c16f
cmp esi, dword [ebp - 0x36c]
je 0x1001c16a
sub esi, 2
jmp 0x1001c130
or esi, 0xffffffff
jmp 0x1001c177
sub esi, dword [ebp - 0x36c]
sar esi, 1
mov edi, dword [ebp - 0x37c]
cmp esi, 0xffffffff
je 0x1001c1a6
lea eax, [ebp - 0x250]
cmp eax, edi
je 0x1001c1fc
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x1001c197
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.1000af50
jmp 0x1001c1fc
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c1b0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.1000b060
push 7
push str.Fonts_
lea ecx, [ebp - 0x250]
call fcn.1000b060
cmp dword [edi + 0x14], 7
mov eax, dword [edi + 0x10]
jbe 0x1001c1ef
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x250]
call fcn.1000b060
push 0xfde9
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x268]
call fcn.1001b350
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
mov edx, dword [0x1010b380]
mov eax, dword [0x1010b378]
lea ecx, [edx + 1]
cmp eax, ecx
ja 0x1001c243
push ecx
mov ecx, 0x1010b370
call fcn.10011400
mov edx, dword [0x1010b380]
mov eax, dword [0x1010b378]
lea ecx, [eax - 1]
mov eax, dword [0x1010b37c]
and eax, ecx
mov dword [0x1010b37c], eax
add eax, edx
and ecx, eax
mov eax, dword [0x1010b374]
lea edi, [ecx*4]
cmp dword [edi + eax], 0
jne 0x1001c280
push 0x18
call fcn.100daa1b
mov ecx, dword [0x1010b374]
add esp, 4
mov dword [edi + ecx], eax
mov eax, dword [0x1010b374]
mov eax, dword [edi + eax]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
inc dword [0x1010b380]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x254]
cmp ecx, 0xf
jbe 0x1001c2fc
mov edx, dword [ebp - 0x268]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c2f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc7c
push ecx
push edx
call fcn.100dad65
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x1001c340
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c336
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc7c
push ecx
push edx
call fcn.100dad65
add esp, 8
mov edx, dword [ebp - 0x374]
inc edx
mov dword [ebp - 0x374], edx
cmp edx, dword [ebp - 0x378]
jne 0x1001c030
lea ecx, [ebp - 0x394]
call fcn.1001d560
mov eax, dword [ebp - 0x394]
push 8
push eax
mov dword [ebp - 0x394], 0
call fcn.100dad65
add esp, 8
lea ecx, [ebp - 0x3a8]
call fcn.1001d560
mov eax, dword [ebp - 0x3a8]
push 8
push eax
mov dword [ebp - 0x3a8], 0
call fcn.100dad65
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100daa0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret