Function at 0x30012d0c
Capabilities:
Query environment variable

Disassembly:
call fcn.3000f8a5
jmp 0x30012d47
push 0x28
call fcn.30012f10
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], 2
je 0x300099d8
push esi
mov ecx, eax
call fcn.3001176a
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push eax
call fcn.30009dbf
mov eax, dword [ebp + 8]
call fcn.300130d6
ret 4
xor eax, eax
jmp 0x300099c0
test ebx, ebx
je 0x30016253
lea ecx, [ebp - 0x28]
call fcn.3000b707
push eax
mov ecx, edi
call fcn.300115a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.3000b71c
call fcn.300130d6
ret
call fcn.300130d6
ret 0x10
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
je 0x300098f5
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea esi, [ebx + 1]
push esi
call fcn.30012deb
push ebx
push dword [ebp + 8]
push esi
push dword [edi + 8]
call fcn.30012d4c
test eax, eax
jne 0x30016057
pop esi
pop ebx
pop edi
leave
ret 8
push 0x300200bc
lea eax, [ebp - 0x218]
push 0xa
push eax
call fcn.30022471
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
push 0x300160c0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.300224a5
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
nop
nop
inc esi
popal
imul ebp, dword [ebp + 0x64], 0x206f7420
arpl word [edi + 0x6e], bp
arpl word [ecx + 0x74], sp
and byte [ebx + 0x74], dh
jb 0x3001613e
outsb dx, byte [esi]
add byte [bx + si - 0x34], ch
add byte [edx], al
xor byte [edx + 0x3a], ch
lea eax, [ebp - 0x218]
push eax
call fcn.30022471
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
push 0x3001613c
push 0x3d
jmp 0x300160df
outsb dx, byte [esi]
outsb dx, byte [esi]
outsd dx, dword [esi]
je 0x30016163
je 0x300161b7
imul ebp, dword [ebp + 0x20], 0x69727473
outsb dx, byte [esi]
cmp esp, dword [bx + si]
arpl word [ecx + 0x6e], sp
outsb dx, byte [esi]
outsd dx, dword [esi]
je 0x30016177
imul bp, word [esi + 0x64], 0x6520
outsb dx, byte [esi]
and byte fs:[edi + 0x66], ch
and byte [ebx + 0x74], dh
jae 0x300161d9
jb 0x300161d0
outsb dx, byte [esi]
add byte [bx + si - 0x34], ch
add byte [edx], al
xor byte [edx + 0x3a], ch
lea eax, [ebp - 0x218]
push eax
call fcn.30022471
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
push 0x300161b0
push 0x3d
jmp 0x30016171
je 0x3001622b
imul ebp, dword [ebp + 0x20], 0x69727473
outsb dx, byte [esi]
cmp esp, dword [bx + si]
arpl word [ecx + 0x6e], sp
outsb dx, byte [esi]
outsd dx, dword [esi]
je 0x300161eb
imul bp, word [esi + 0x64], 0x6220
imul ebp, dword gs:[bp + 0x6e], 0x20676e69
bound esp, qword [ebp + 0x67]
imul ebp, dword [esi + 0x6e], 0x20676e69
and byte [edi + 0x66], ch
and byte [ebx + 0x74], dh
outsd dx, dword [esi]
and byte [ebx + 0x74], dh
jb 0x3001624a
outsb dx, byte [esi]
add byte [bp + di], dh
shr byte [edx + 0x43], 0x59
mov dword [ebp - 8], eax
clc
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], al
push 0x30049d54
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x10c]
lea edi, [ebp - 0x218]
mov dword [ebp - 0x10c], 0x3d
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
int3
mov esp, 0x8dffffcb
dec ebp
fsubr st(0)
mov ebx, 0x8bffff54
pop eax
or al, 0x8d
dec ebp
fsubr st(0)
lds edx, [edi + edi*8 - 1]
mov eax, dword [eax + 8]
push ebx
push eax
push dword [edi + 8]
call esi
mov ebx, eax
jmp 0x30009b3e
push 0x3001628c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.30023192
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x30049d54
lea eax, [ebp - 0x134]
lea edi, [ebp - 0x134]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30028332
inc esi
popal
imul ebp, dword [ebp + 0x64], 0x206f7420
js 0x30016309
popal
outsb dx, byte [esi]
and byte fs:[ebp + 0x6e], ah
jbe 0x3001630a
jb 0x30016312
outsb dx, byte [esi]
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x300162c9
jbe 0x3001630c
jb 0x30016316
popal
bound ebp, qword [ebp + 0x73]
add byte [ebx + 0x56], dl
lea ecx, [ebp - 0x30]
call fcn.3000e92d
push dword [ebp - 0x30]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_CharUpperA]
push ebx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
call fcn.30023366
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.300115a9
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.30013250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.3000e9ab
jmp 0x300099a2
enter 0x6ce8, 0xffffffffffffffc9
call fcn.30012c7b
push dword [ebp + 8]
leave
invalid
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
pop ebp
cld
call fcn.30012c7b
push ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.3000e92d
mov esi, eax
push ebx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.3000e92d
mov esi, dword [esi]
mov eax, dword [eax]
push edi
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x10]
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov esi, eax
dec esi
lea ecx, [ebp - 0xa0]
dec esi
call fcn.3000e9ab
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.3000e9ab
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.30013250
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.30013250
mov eax, esi
jmp 0x30011540