Function at 0x70054b50
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x70797360
call sub.msvcrt.dll_getenv
test eax, eax
je 0x70054b70
cmp byte [eax], 0
jne 0x700556e0
mov dword [esp], 0x7079736e
mov ebx, 0xffffffff
call sub.msvcrt.dll_getenv
test eax, eax
je 0x70054b8e
cmp byte [eax], 0
jne 0x700556c0
xor eax, eax
mov edi, ebx
cpuid
xchg ebx, edi
test eax, eax
je 0x70055526
mov eax, 1
mov edi, ebx
cpuid
xchg ebx, edi
mov eax, edx
shr eax, 0x17
and eax, 1
mov esi, eax
or esi, 2
test edx, 0x2000000
cmovne eax, esi
mov esi, eax
or esi, 4
and edx, 0x4000000
cmovne eax, esi
mov edx, eax
or edx, 8
test cl, 1
cmovne eax, edx
mov edx, eax
or edx, 0x10
test ch, 2
cmovne eax, edx
mov edx, eax
or edx, 0x20
test ecx, 0x80000
cmovne eax, edx
mov edx, eax
or edx, 0x40
and ecx, 0x10000000
cmovne eax, edx
mov edx, eax
or dl, 0x80
and edi, 0x20
cmovne eax, edx
and eax, ebx
test al, 1
je 0x70055700
mov edx, eax
mov ebx, eax
mov edi, eax
and edx, 4
mov dword [0x70ea6260], 0x70075860
and ebx, 0x10
and edi, 8
mov dword [0x70ea625c], 0x70075870
and eax, 0x20
mov ecx, 1
mov dword [0x70ea6258], 0x70075cbf
mov dword [0x70ea6254], 0x700758a0
test edx, edx
je 0x70054c61
mov dword [0x70ea6254], 0x70075e60
test ecx, ecx
mov esi, 0x70075a70
mov ebp, 0x70076120
cmovne ebp, esi
test edx, edx
mov esi, 0x70075f20
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6250], esi
mov ebp, 0x700789d0
mov esi, 0x700790c0
cmovne ebp, esi
test edx, edx
mov esi, 0x70079520
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea624c], esi
mov ebp, 0x70078ee0
mov esi, 0x70079310
cmovne ebp, esi
test edx, edx
mov esi, 0x700796f0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6248], esi
mov ebp, 0x70078550
mov esi, 0x70079010
cmovne ebp, esi
test edx, edx
mov esi, 0x700794a0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6244], esi
mov ebp, 0x70078da0
mov esi, 0x70079170
cmovne ebp, esi
test edx, edx
mov esi, 0x700795a0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6240], esi
mov ebp, fcn.700783f0
mov esi, fcn.7007a522
cmovne ebp, esi
test edx, edx
mov esi, fcn.7007c575
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea623c], esi
mov ebp, fcn.700782a0
mov esi, fcn.7007a41c
cmovne ebp, esi
test edx, edx
mov esi, fcn.7007c460
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6238], esi
mov ebp, 0x70078fb0
mov esi, 0x70079440
cmovne ebp, esi
test edx, edx
mov esi, 0x700797d0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6234], esi
mov ebp, 0x70078e80
mov esi, 0x700792b0
cmovne ebp, esi
test edx, edx
mov esi, 0x70079690
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6230], esi
mov dword [0x70ea622c], 0x70074570
je 0x70055633
mov dword [0x70ea622c], 0x7007c830
mov dword [0x70ea6228], 0x7007ca30
test edx, edx
je 0x70054dac
mov dword [0x70ea6228], 0x7007cb80
test ecx, ecx
mov dword [0x70ea6224], 0x70074ba0
je 0x700556b0
mov dword [0x70ea6224], fcn.7007c9b3
mov dword [0x70ea6220], 0x7007cd7a
test edx, edx
je 0x70054de0
mov dword [0x70ea6220], 0x7007ced0
test ecx, ecx
mov dword [0x70ea621c], 0x70071ce0
je 0x700556a0
mov dword [0x70ea621c], 0x7007cce0
mov dword [0x70ea6218], 0x7007cd41
test edx, edx
mov esi, 0x7007d970
mov ebp, 0x7007dad0
cmovne ebp, esi
test ebx, ebx
mov esi, 0x7007da20
cmove esi, ebp
test edx, edx
mov dword [0x70ea6214], esi
mov ebp, 0x7007df30
mov esi, 0x7007d770
cmovne ebp, esi
test ebx, ebx
mov esi, 0x7007d870
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6210], esi
mov ebp, 0x7007e340
mov esi, 0x7006e7a0
cmovne esi, ebp
test edx, edx
mov dword [0x70ea620c], esi
je 0x70055680
mov dword [0x70ea620c], 0x7007e7bf
mov dword [0x70ea6208], 0x7007e9a5
mov dword [0x70ea6204], 0x7007e530
test ecx, ecx
mov esi, 0x7006ef40
mov ebp, 0x7007e4d4
cmovne esi, ebp
test edx, edx
mov dword [0x70ea6200], esi
je 0x70055663
mov dword [0x70ea6200], 0x7007eb45
mov dword [0x70ea61fc], 0x7007eba0
mov dword [0x70ea61f8], 0x7007ec39
test ecx, ecx
mov ebp, 0x7007ee50
mov esi, 0x70080ce0
cmovne esi, ebp
test edx, edx
mov ebp, 0x7007f440
cmove ebp, esi
test ebx, ebx
mov esi, 0x7007f840
cmove esi, ebp
test ecx, ecx
mov ebp, 0x7007f0b0
mov dword [0x70ea61f4], esi
mov esi, 0x70080440
cmovne esi, ebp
test edx, edx
mov ebp, 0x7007f580
cmove ebp, esi
test ebx, ebx
mov esi, 0x7007f9a0
cmove esi, ebp
test ecx, ecx
mov ebp, 0x7007f200
mov dword [0x70ea61f0], esi
mov esi, 0x70080890
cmovne esi, ebp
test edx, edx
mov ebp, 0x7007f6e0
cmove ebp, esi
test ebx, ebx
mov esi, 0x7007fb00
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61ec], esi
mov ebp, 0x7007ff60
mov esi, 0x7007ed90
cmovne ebp, esi
test ebx, ebx
mov esi, 0x7007fc60
cmove esi, ebp
test ecx, ecx
mov ebp, 0x7007f350
mov dword [0x70ea61e8], esi
mov esi, 0x70081130
cmovne esi, ebp
test edx, edx
mov ebp, 0x7008183e
cmove ebp, esi
test ebx, ebx
mov esi, 0x700822d1
cmove esi, ebp
test ecx, ecx
mov ebp, fcn.70082a04
mov dword [0x70ea61e4], esi
mov esi, 0x70081090
cmovne esi, ebp
test edx, edx
mov ebp, 0x70081aa9
cmove ebp, esi
test ebx, ebx
mov esi, 0x70082568
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61e0], esi
mov dword [0x70ea61dc], 0x700810e0
je 0x700555f0
mov dword [0x70ea61dc], 0x70082b15
mov dword [0x70ea61d8], 0x70082c26
mov dword [0x70ea61d4], 0x70082ce0
test edx, edx
je 0x70054fe4
mov dword [0x70ea61d4], 0x700836f0
test ecx, ecx
mov esi, 0x70082d40
mov ebp, 0x70084930
cmovne ebp, esi
test edx, edx
mov esi, 0x70083750
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61d0], esi
mov ebp, 0x700845f0
mov esi, 0x70083040
cmovne ebp, esi
test edx, edx
mov esi, 0x700838f0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61cc], esi
mov ebp, 0x70084720
mov esi, 0x70082fb0
cmovne ebp, esi
test edx, edx
mov esi, 0x70083860
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61c8], esi
mov ebp, 0x700843e0
mov esi, 0x70082ea0
cmovne ebp, esi
test edx, edx
mov esi, 0x700837b0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61c4], esi
mov ebp, 0x70084e00
mov esi, 0x700830d0
cmovne ebp, esi
test edx, edx
mov esi, 0x70083980
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61c0], esi
mov ebp, 0x70085290
mov esi, 0x70083150
cmovne ebp, esi
test edx, edx
mov esi, 0x70083a00
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61bc], esi
mov ebp, 0x70086050
mov esi, 0x70083430
cmovne ebp, esi
test edx, edx
mov esi, 0x70084120
cmove esi, ebp
test ecx, ecx
mov ebp, 0x70083360
mov dword [0x70ea61b8], esi
mov esi, 0x70085c00
cmovne esi, ebp
test edx, edx
mov ebp, 0x70083f30
cmove ebp, esi
test ebx, ebx
mov esi, 0x700865a0
cmove esi, ebp
test ecx, ecx
mov ebp, 0x700831d0
mov dword [0x70ea61b4], esi
mov esi, fcn.70085670
cmovne esi, ebp
test edx, edx
mov ebp, 0x70083b70
cmove ebp, esi
test ebx, ebx
mov esi, 0x70086430
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61b0], esi
mov ebp, 0x70085ac0
mov esi, 0x700834b0
cmovne ebp, esi
test edx, edx
mov esi, 0x70084290
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61ac], esi
mov ebp, 0x70085b10
mov esi, 0x70083570
cmovne ebp, esi
test edx, edx
mov esi, 0x700842f0
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61a8], esi
mov ebp, 0x70085b60
mov esi, 0x70083630
cmovne ebp, esi
test edx, edx
mov esi, 0x70084350
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61a4], esi
mov ebp, 0x70086bd0
mov esi, 0x7008cc72
cmovne ebp, esi
test edx, edx
mov esi, 0x7008ce9e
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea61a0], esi
mov ebp, 0x70086890
mov esi, 0x7008cc0f
cmovne ebp, esi
test edx, edx
mov esi, 0x7008ce61
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea619c], esi
mov ebp, 0x70086af0
mov esi, 0x7008cba9
cmovne ebp, esi
test edx, edx
mov esi, 0x7008ce12
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6198], esi
mov ebp, 0x70086970
mov esi, 0x7008cd06
cmovne ebp, esi
test edx, edx
mov esi, 0x7008ceed
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6194], esi
mov ebp, 0x70086710
mov esi, 0x7008cb20
cmovne ebp, esi
test edx, edx
mov esi, 0x7008cd90
cmove esi, ebp
test edi, edi
mov dword [0x70ea6190], esi
je 0x700555c0
mov dword [0x70ea6190], 0x7008d921
mov dword [0x70ea618c], 0x7008d884
mov dword [0x70ea6188], 0x7008d747
mov dword [0x70ea6184], 0x7008d4e2
mov dword [0x70ea6180], 0x7008d32d
test ebx, ebx
je 0x7005524f
mov dword [0x70ea6180], 0x700928fc
test edi, edi
mov esi, 0x7008d000
mov ebp, 0x70086d60
cmovne ebp, esi
test ebx, ebx
mov esi, 0x7008e660
cmove esi, ebp
test eax, eax
mov dword [0x70ea617c], esi
mov dword [0x70ea6178], 0x7008a560
je 0x70055590
mov dword [0x70ea6178], 0x70095704
mov dword [0x70ea6174], 0x70095290
mov dword [0x70ea6170], 0x70095414
mov dword [0x70ea616c], 0x70094fd8
mov dword [0x70ea6168], 0x70094a80
test edi, edi
mov dword [0x70ea6164], 0x7008c4a0
je 0x70055560
mov dword [0x70ea6164], 0x7008e584
mov dword [0x70ea6160], 0x7008e3e2
mov dword [0x70ea615c], 0x7008e0b8
mov dword [0x70ea6158], 0x7008de78
mov dword [0x70ea6154], 0x7008da48
test ecx, ecx
mov esi, 0x700957a0
mov ebp, 0x700843b0
cmovne ebp, esi
test edx, edx
mov esi, 0x70095d80
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6150], esi
mov ebp, 0x70085bb0
mov esi, 0x700832a0
cmovne ebp, esi
test edx, edx
mov esi, 0x70083d60
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea614c], esi
mov ebp, 0x70084c30
mov esi, 0x70082da0
cmovne ebp, esi
test edx, edx
mov esi, 0x70083810
cmove esi, ebp
test ecx, ecx
mov ebp, 0x70095abc
mov dword [0x70ea6148], esi
mov esi, 0x700972d0
cmovne esi, ebp
test edx, edx
mov dword [0x70ea6144], esi
mov ebp, 0x7008cac0
mov esi, 0x7008cf57
cmovne ebp, esi
test edi, edi
mov esi, 0x7008d9a7
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea6140], esi
mov ebp, fcn.700988e0
mov esi, fcn.70099090
cmovne ebp, esi
test edx, edx
mov esi, 0x70099230
cmove esi, ebp
test ecx, ecx
mov dword [0x70ea613c], esi
mov ebp, 0x70099620
mov esi, 0x70098c90
cmovne esi, ebp
test edx, edx
mov dword [0x70ea6138], esi
je 0x70055610
mov dword [0x70ea6138], 0x700993c8
mov dword [0x70ea6134], 0x70099760
mov dword [0x70ea6130], 0x70099920
mov dword [0x70ea612c], 0x70099e60
test ebx, ebx
je 0x700553f9
mov dword [0x70ea612c], 0x70099f50
test ecx, ecx
mov ebx, 0x7009a07a
mov esi, 0x7009ca20
cmovne esi, ebx
test edx, edx
mov ebx, 0x7009a020
cmove ebx, esi
test ecx, ecx
mov dword [0x70ea6128], ebx
mov esi, 0x7009cb20
mov ebx, 0x700996c0
cmovne esi, ebx
test edx, edx
mov ebx, 0x700a0470
cmove ebx, esi
test ecx, ecx
mov dword [0x70ea6124], ebx
mov esi, 0x7009cba0
mov ebx, 0x700996f0
cmovne esi, ebx
test edx, edx
mov ebx, 0x700a04a0
cmove ebx, esi
test ecx, ecx
mov dword [0x70ea6120], ebx
mov esi, 0x700a13b0
mov ebx, 0x70099720
cmovne esi, ebx
test edx, edx
mov ebx, 0x700a04d0
cmove ebx, esi
test ecx, ecx
mov dword [0x70ea611c], ebx
mov esi, 0x700a1610
mov ebx, 0x700a2662
cmovne esi, ebx
test edx, edx
mov ebx, 0x700a27e2
cmove ebx, esi
test ecx, ecx
mov dword [0x70ea6118], ebx
mov ecx, 0x700a26dd
mov ebx, 0x700a14d0
cmovne ebx, ecx
test edx, edx
mov ecx, 0x700a287a
cmove ecx, ebx
test edi, edi
mov dword [0x70ea6114], ecx
mov ebx, 0x700a6d40
mov ecx, 0x700a70c0
cmovne ebx, ecx
test eax, eax
mov ecx, 0x700a7600
cmove ecx, ebx
test edi, edi
mov dword [0x70ea6110], ecx
mov dword [0x70ea610c], 0x700a7bf0
je 0x70055654
mov dword [0x70ea610c], 0x700a7f70
mov dword [0x70ea6108], 0x700a6550
test edx, edx
mov dword [0x70ea6104], 0x700a8fd0
je 0x70055642
mov dword [0x70ea6104], 0x700a9210
mov dword [0x70ea6100], 0x700a93e0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x70ea6260], 0x700708a0
xor eax, eax
xor edi, edi
xor ebx, ebx
xor edx, edx
mov dword [0x70ea625c], 0x700a95c0
xor ecx, ecx
mov dword [0x70ea6258], 0x700a96a0
mov dword [0x70ea6254], 0x70076070
jmp 0x70054c53
mov dword [0x70ea6160], 0x7008bde0
mov dword [0x70ea615c], 0x7008c140
mov dword [0x70ea6158], 0x7008b7e0
mov dword [0x70ea6154], 0x7008b1e0
jmp 0x700552f6
mov dword [0x70ea6174], 0x700890e0
mov dword [0x70ea6170], 0x70089a00
mov dword [0x70ea616c], 0x70088260
mov dword [0x70ea6168], 0x700871e0
jmp 0x700552b2
mov dword [0x70ea618c], 0x7008a0a0
mov dword [0x70ea6188], 0x70088e60
mov dword [0x70ea6184], 0x70089780
mov dword [0x70ea6180], 0x70087de0
jmp 0x70055241
mov dword [0x70ea61d8], 0x70081040
mov dword [0x70ea61d4], 0x70084a60
jmp 0x70054fd6
mov dword [0x70ea6134], 0x70098cd0
mov dword [0x70ea6130], 0x700a98b0
mov dword [0x70ea612c], 0x700a9800
jmp 0x700553eb
mov dword [0x70ea6228], 0x70074e50
jmp 0x70054d9e
mov dword [0x70ea6100], 0x700abdd0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x70ea6108], 0x700a6110
jmp 0x700554f8
mov dword [0x70ea61fc], 0x700ac670
mov dword [0x70ea61f8], 0x700ac6d0
jmp 0x70054eba
mov dword [0x70ea6208], 0x7006e480
mov dword [0x70ea6204], 0x7006e170
jmp 0x70054e7f
mov dword [0x70ea6218], 0x70071d70
jmp 0x70054e06
mov dword [0x70ea6220], 0x70071ca0
jmp 0x70054dd2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov ebx, eax
jmp 0x70054b8e
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_strtol
test al, 1
jne 0x70054c14
mov edx, eax
mov ebx, eax
mov edi, eax
and edx, 4
mov dword [0x70ea6260], 0x700708a0
and ebx, 0x10
and edi, 8
and eax, 0x20
jmp 0x70055538