Function at 0x482930
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfc0f
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x513008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2bc], 0
lea eax, [ebp - 0x25d]
push eax
movzx ecx, byte [ebp - 0x25e]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00413690
mov dword [ebp - 4], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x230]
call fcn.00412fc0
mov dword [ebp - 4], 2
mov edx, str.__r_t_n
lea ecx, [ebp - 0x230]
call fcn.00486390
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
jne 0x4829da
mov dword [ebp - 0x264], 1
jmp 0x4829e4
mov dword [ebp - 0x264], 0
movzx ecx, byte [ebp - 0x264]
test ecx, ecx
je 0x482a42
mov byte [ebp - 0x251], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x230]
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 4], 5
mov dword [ebp - 4], 6
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x251]
jmp 0x482ffc
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0041c9c0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x482ae3
lea edx, [ebp - 0x218]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
add eax, 2
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x258]
mov dx, word [ecx]
mov word [ebp - 0x260], dx
add dword [ebp - 0x258], 2
cmp word [ebp - 0x260], 0
jne 0x482a95
mov eax, dword [ebp - 0x258]
sub eax, dword [ebp - 0x284]
sar eax, 1
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
push ecx
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.00412f10
lea ecx, [ebp - 0x230]
call fcn.00487b80
movzx eax, al
test eax, eax
je 0x482b57
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041ca60
mov byte [ebp - 0x24d], 1
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 8
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x230]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 4], 9
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x24d]
jmp 0x482ffc
push 0
push 0x22
lea ecx, [ebp - 0x230]
call fcn.00444b90
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x482c85
mov eax, dword [ebp - 0x24c]
add eax, 1
push eax
push 0x22
lea ecx, [ebp - 0x230]
call fcn.00444b90
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x482c85
mov ecx, dword [ebp - 0x268]
sub ecx, dword [ebp - 0x24c]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x24c]
add edx, 1
push edx
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x230]
call fcn.00430450
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x270]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00418a50
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2dc]
call fcn.00412df0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
call fcn.00487b80
movzx ecx, al
test ecx, ecx
je 0x482c85
mov byte [ebp - 0x24e], 1
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x230]
mov dword [ebp - 0x294], edx
mov dword [ebp - 4], 0x12
mov dword [ebp - 4], 0x13
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x24e]
jmp 0x482ffc
mov dword [ebp - 0x24c], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
call fcn.00413580
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x248]
call fcn.00412eb0
mov byte [ebp - 4], 0x17
mov ecx, 1
test ecx, ecx
je 0x482f7f
mov edx, dword [ebp - 0x24c]
add edx, 1
push edx
push 0x20
lea ecx, [ebp - 0x230]
call fcn.00444b90
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x482d7c
mov byte [ebp - 0x24f], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x248]
call fcn.00412df0
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 0x1d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 4], 0x1e
mov dword [ebp - 4], 0x1f
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x24f]
jmp 0x482ffc
mov edx, dword [ebp - 0x24c]
add edx, 1
cmp dword [ebp - 0x25c], edx
jne 0x482d9e
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x24c], eax
jmp 0x482cc1
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x25c]
push edx
push 0
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x230]
call fcn.00430450
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x248]
call fcn.00418a50
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2f4]
call fcn.00412df0
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x248]
call fcn.00487410
movzx ecx, al
test ecx, ecx
je 0x482ec3
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0041ca60
mov byte [ebp - 0x250], 1
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x248]
call fcn.00412df0
mov byte [ebp - 4], 0x26
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 0x27
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 0x2a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 4], 0x2b
mov dword [ebp - 4], 0x2c
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x250]
jmp 0x482ffc
push 0x4ecdfc
lea ecx, [ebp - 0x248]
call fcn.0041ca00
lea ecx, [ebp - 0x248]
call fcn.00487410
movzx edx, al
test edx, edx
je 0x482f7a
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0041ca60
mov byte [ebp - 0x253], 1
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x248]
call fcn.00412df0
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0x2f
mov byte [ebp - 4], 0x30
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x31
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 0x32
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x230]
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], 0x33
mov dword [ebp - 4], 0x34
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x253]
jmp 0x482ffc
jmp 0x482cc1
mov byte [ebp - 0x252], 0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x248]
call fcn.00412df0
mov byte [ebp - 4], 0x36
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 2
mov dword [ebp - 4], 0x39
lea ecx, [ebp - 0x230]
call fcn.00412df0
mov dword [ebp - 4], 0x3a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0x3b
mov dword [ebp - 4], 0x3c
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x252]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret 8