Function at 0x100346f0
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 0x100ac7ef
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x100c9380]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x20c], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x13c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x208], 0x100b7ecc
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x204]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x20c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x208]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x208], 0x100b7ec8
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x20c], eax
lea ecx, [ebp - 0x204]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x204], 0x100b7df8
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 4
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x238], eax
add esp, 4
mov dword [ebp - 0x234], str._H:_M:_S
mov eax, str._H:_M:_S
mov dword [ebp - 0x230], str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x10034834
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x208]
call fcn.10038720
mov eax, dword [0x1020fe50]
test al, 1
jne 0x100348a6
or eax, 1
mov dword [0x1020fe50], eax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push 3
push 0x100b90c8
mov ecx, 0x1020fe2c
mov dword [0x1020fe3c], 0
movups xmmword [0x1020fe2c], xmm0
mov dword [0x1020fe40], 0
call fcn.100295b0
push 0x100b4960
call fcn.100aa104
add esp, 4
mov byte [ebp - 4], 2
push 0x104
lea eax, [ebp - 0x120]
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100348e4
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.100295b0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0x124]
cmp eax, 0xf
mov ecx, dword [ebp - 0x128]
cmova edx, dword [ebp - 0x138]
cmp ecx, 2
jne 0x10034996
mov edi, ecx
mov esi, 0x100b90cc
sub edi, 4
jb 0x10034942
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10034947
add edx, 4
add esi, 4
sub edi, 4
jae 0x10034931
cmp edi, 0xfffffffc
je 0x1003497b
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10034974
cmp edi, 0xfffffffd
je 0x1003497b
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10034974
cmp edi, 0xfffffffe
je 0x1003497b
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10034974
cmp edi, 0xffffffff
je 0x1003497b
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1003497b
sbb eax, eax
or eax, 1
jmp 0x1003497d
xor eax, eax
test eax, eax
jne 0x10034990
mov eax, str.nerd
mov ecx, 4
jmp 0x10034aa6
mov eax, dword [ebp - 0x124]
cmp eax, 0xf
lea edx, [ebp - 0x138]
cmova edx, dword [ebp - 0x138]
cmp ecx, 5
jne 0x10034a1c
mov edi, ecx
mov esi, str.cedri
sub edi, 4
jb 0x100349c8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x100349cd
add edx, 4
add esi, 4
sub edi, 4
jae 0x100349b7
cmp edi, 0xfffffffc
je 0x10034a01
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100349fa
cmp edi, 0xfffffffd
je 0x10034a01
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100349fa
cmp edi, 0xfffffffe
je 0x10034a01
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x100349fa
cmp edi, 0xffffffff
je 0x10034a01
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10034a01
sbb eax, eax
or eax, 1
jmp 0x10034a03
xor eax, eax
test eax, eax
jne 0x10034a16
mov eax, str.eden
mov ecx, 4
jmp 0x10034aa6
mov eax, dword [ebp - 0x124]
cmp eax, 0xf
lea edx, [ebp - 0x138]
cmova edx, dword [ebp - 0x138]
cmp ecx, 0xc
jne 0x10034a9c
mov esi, str.Master_Chris
sub ecx, 4
jb 0x10034a51
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10034a56
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10034a40
cmp ecx, 0xfffffffc
je 0x10034a8a
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10034a83
cmp ecx, 0xfffffffd
je 0x10034a8a
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10034a83
cmp ecx, 0xfffffffe
je 0x10034a8a
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10034a83
cmp ecx, 0xffffffff
je 0x10034a8a
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x10034a8a
sbb eax, eax
or eax, 1
jmp 0x10034a8c
xor eax, eax
test eax, eax
jne 0x10034a9c
mov eax, str.zeze
mov ecx, 4
jmp 0x10034aa6
mov eax, 0x100b9100
mov ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.10028d80
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x204]
call fcn.1002ec70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
cmp dword [ebp - 0x218], 0xf
push 0x98
cmova eax, dword [ebp - 0x22c]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0xb8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb8], 0x100b7ecc
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x20c], 0x17
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], 0x100b7ec8
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xb4], 0x100b7df8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 4
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 8
mov dword [ebp - 0x268], eax
mov ecx, 3
mov dword [ebp - 0x264], 3
lea eax, [ebp - 0x258]
nop dword [eax + eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10034bb0
push dword [ebp - 0x264]
mov dword [ebp - 0x214], 0x1020fe2c
lea eax, [ebp - 0x138]
push dword [ebp - 0x268]
mov dword [ebp - 0x210], 0x10039760
lea ecx, [ebp - 0xb8]
movq xmm0, qword [ebp - 0x214]
mov edx, str._s____s____s
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x230]
movq qword [ebp - 0x260], xmm0
mov dword [ebp - 0x210], 0x10039760
movq xmm0, qword [ebp - 0x214]
movq qword [ebp - 0x254], xmm0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0x1002f5b0
movq xmm0, qword [ebp - 0x214]
mov dword [ebp - 0x258], fcn.1002f5d0
mov dword [ebp - 0x24c], fcn.1002f5d0
movq qword [ebp - 0x248], xmm0
mov dword [ebp - 0x240], fcn.1002f5d0
call fcn.1002cd60
add esp, 8
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0xb4]
push eax
call fcn.1002ec70
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], 0x100b7ec8
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call fcn.10028880
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x218]
cmp ecx, 0xf
jbe 0x10034d13
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10034d09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10034d09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov esi, dword [0x101f34bc]
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
call fcn.1002ec70
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x254]
cmp dword [ebp - 0x240], 0xf
lea ecx, [ebp - 0x158]
mov edx, str.____s
cmova eax, dword [ebp - 0x254]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x23c]
push eax
call fcn.1002ee20
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x240]
cmp ecx, 0xf
jbe 0x10034dbe
mov edx, dword [ebp - 0x254]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10034db4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10034db4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov eax, dword [0x1020fe50]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0xf
mov byte [ebp - 0x254], 0
test al, 2
jne 0x10034e16
or eax, 2
mov dword [0x1020fe50], eax
push 0x1020fe2c
mov edx, str._s__
mov byte [ebp - 4], 0xe
mov ecx, 0x1020fe54
call fcn.10038980
add esp, 4
push 0x100b4900
call fcn.100aa104
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [0x10205764]
mov edi, dword [0x101debe0]
push esi
add edi, 0xfffffffd
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10205764]
push 0x38
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 4]
push eax
push 0
push edi
call edx
mov ecx, dword [0x10205764]
mov edi, dword [0x101debe0]
add edi, 0xffffff41
push 0
mov eax, dword [ecx]
mov dword [ebp - 0x20c], edi
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10205764]
add edi, 0xbc
push 1
push 0
push 0
mov eax, dword [ecx]
push 0x38
push edi
push 0
push dword [ebp - 0x20c]
mov eax, dword [eax + 0x1ec]
call eax
mov ecx, dword [0x10205764]
push 0xe1000000
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10205764]
push 1
push 0xe1
push 0
mov eax, dword [ecx]
push 0x38
push edi
push 0
push dword [ebp - 0x20c]
mov eax, dword [eax + 0x1ec]
call eax
mov eax, dword [0x101debe0]
lea ecx, [ebp - 0x158]
push 1
push ecx
push 0xffffffffffffffff
add eax, 0xfffffff1
mov ecx, 0x102081e0
push 0x20
push eax
call fcn.100994f0
lea eax, [ebp - 0x158]
mov ecx, 0x102081e0
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10099780
push 1
movd xmm1, dword [eax]
lea eax, [ebp - 0x138]
push eax
mov eax, dword [0x101debe0]
add eax, 0xfffffff1
cvtdq2ps xmm1, xmm1
push esi
push 0x20
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x230], xmm1
subss xmm0, xmm1
cvttss2si eax, xmm0
mov ecx, 0x102081e0
push eax
call fcn.100994f0
lea eax, [ebp - 0x138]
mov ecx, 0x102081e0
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10099780
push 1
push 0x1020fe54
push 0xffffffffffffffff
movd xmm1, dword [eax]
mov ecx, 0x102081e0
mov eax, dword [0x101debe0]
add eax, 0xfffffff1
cvtdq2ps xmm1, xmm1
push 0x20
movd xmm0, eax
addss xmm1, dword [ebp - 0x230]
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
push eax
call fcn.100994f0
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push str.MONARCH
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x22c], xmm0
call fcn.100295b0
push 1
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xf
push eax
mov eax, dword [0x101debe0]
mov ecx, 0x10208200
push esi
push 0
add eax, 0xffffffdc
push eax
call fcn.100994f0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x218]
cmp ecx, 0xf
jbe 0x1003501d
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035013
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035013
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100aa11e
add esp, 8
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push 0x100b912c
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x22c], xmm0
call fcn.100295b0
push 1
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x10
push eax
mov eax, dword [0x101debe0]
mov ecx, 0x102081e0
push 0xffffffffffffffff
push 0xf
add eax, 0xfffffff0
push eax
call fcn.100994f0
mov ecx, dword [ebp - 0x218]
cmp ecx, 0xf
jbe 0x100350ad
mov edx, dword [ebp - 0x22c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100350a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100350a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov ecx, dword [ebp - 0x144]
cmp ecx, 0xf
jbe 0x100350e7
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100350dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003517f
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp ecx, 0xf
jbe 0x10035138
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003512e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003517f
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp ecx, 0xf
jbe 0x1003518f
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10035185
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035185
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100aa11e
add esp, 8
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x208], 0x100b7ec8
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x20c], eax
lea ecx, [ebp - 0x204]
call fcn.10028880
lea ecx, [ebp - 0x200]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
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.100a9bbc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret