Function at 0x100b91f0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
xor ebx, ebx
sub esp, 0x8c
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
call sub.msvcrt.dll__errno
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xfffffffd
mov word [esp + 0x68], cx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], bx
mov dword [esp + 0x74], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
and eax, 0x6000
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x78], eax
call sub.msvcrt.dll_getenv
test eax, eax
je 0x100b928e
movsx eax, byte [eax]
sub eax, 0x30
cmp eax, 2
jbe 0x100b929c
call fcn.100bd6d0
test al, 1
mov edx, 3
je 0x100b92a1
mov edx, 2
mov dword [esp + 0x7c], edx
movzx edx, byte [ebp]
lea esi, [esi]
movsx eax, dl
lea esi, [ebp + 1]
test eax, eax
je 0x100b9347
cmp eax, 0x25
jne 0x100b9360
mov eax, dword [esp + 0x20]
movzx edx, byte [ebp + 1]
xor ebx, ebx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov ecx, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x5c]
test dl, dl
mov dword [esp + 0x1c], eax
je 0x100b9337
lea eax, [edx - 0x20]
lea ebp, [ecx + 1]
movsx esi, dl
cmp al, 0x5a
ja case.0x100b9313.1
movzx eax, al
jmp dword [eax*4 + 0x100eff80]
movzx edx, byte [ecx + 1]
mov dword [esp + 0x18], 0
mov ebx, 4
mov ecx, ebp
test dl, dl
jne 0x100b92ff
movsx eax, dl
mov ebp, ecx
test eax, eax
lea esi, [ebp + 1]
jne 0x100b92be
mov eax, dword [esp + 0x74]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [esp + 0x54]
call fcn.100b7b20
movzx edx, byte [ebp + 1]
mov ebp, esi
jmp 0x100b92b0
mov eax, dword [esp + 0x18]
sub eax, 2
cmp eax, 1
jbe case.0x100b9313.51
mov ebx, dword [edi]
lea esi, [edi + 4]
test ebx, ebx
je 0x100b9a89
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [esp + 0x54]
mov eax, ebx
mov edi, esi
call fcn.100b7ca0
nop
lea esi, [esi]
movzx edx, byte [ebp]
jmp 0x100b92b0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
sub eax, 2
cmp eax, 1
jbe 0x100b975c
mov eax, dword [edi]
lea ebx, [edi + 4]
lea ecx, [esp + 0x54]
mov edx, 1
mov edi, ebx
mov byte [esp + 0x40], al
lea eax, [esp + 0x40]
call fcn.100b7ca0
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
or eax, 0x20
test al, 4
mov dword [esp + 0x58], eax
je 0x100b978c
fld xword [edi]
lea ebx, [edi + 0xc]
lea eax, [esp + 0x54]
mov edi, ebx
fstp xword [esp]
call fcn.100b8c90
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
or eax, 0x20
test al, 4
mov dword [esp + 0x58], eax
je 0x100b973c
fld xword [edi]
lea ebx, [edi + 0xc]
lea eax, [esp + 0x54]
mov edi, ebx
fstp xword [esp]
call fcn.100b86f0
jmp 0x100b93b0
or dword [esp + 0x58], 0x80
cmp dword [esp + 0x18], 3
je 0x100b9a40
cmp dword [esp + 0x18], 2
je 0x100b9ad1
mov eax, dword [edi]
lea ecx, [edi + 4]
cdq
cmp dword [esp + 0x18], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
je 0x100b9b21
cmp dword [esp + 0x18], 5
mov edi, ecx
je 0x100b9b61
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x48], ecx
sar ecx, 0x1f
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x54]
call fcn.100b8320
jmp 0x100b93b0
cmp dword [esp + 0x18], 3
je 0x100b9a10
cmp dword [esp + 0x18], 2
je 0x100b9ae4
xor edx, edx
cmp dword [esp + 0x18], 1
mov eax, dword [edi]
lea ecx, [edi + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
je 0x100b9b36
cmp dword [esp + 0x18], 5
mov edi, ecx
je 0x100b9b84
cmp esi, 0x75
je 0x100b94b4
lea ebx, [esp + 0x54]
mov ecx, edx
mov edx, eax
mov eax, esi
mov dword [esp], ebx
call fcn.100b8920
jmp 0x100b93b0
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 4
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
movzx edx, byte [ecx + 1]
cmp dl, 0x36
je 0x100b99ed
cmp dl, 0x33
je 0x100b9a98
mov dword [esp + 0x18], 0
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
jne 0x100b9572
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x58]
je 0x100b9b03
mov edx, dword [edi]
lea eax, [esp + 0x54]
lea ebx, [edi + 4]
xor ecx, ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp], eax
mov eax, 0x78
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], edx
mov edi, ebx
call fcn.100b8920
jmp 0x100b93b0
cmp dword [esp + 0x18], 5
mov eax, dword [edi]
mov edx, dword [esp + 0x74]
je 0x100b99e3
cmp dword [esp + 0x18], 1
je 0x100b9af8
cmp dword [esp + 0x18], 2
je 0x100b9b17
cmp dword [esp + 0x18], 3
mov dword [eax], edx
je 0x100b9b74
add edi, 4
jmp 0x100b93b0
movzx edx, byte [ecx + 1]
mov dword [esp + 0x18], 3
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
movzx edx, byte [ecx + 1]
cmp dl, 0x68
je 0x100b9a25
mov dword [esp + 0x18], 1
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov eax, dword [esp + 0x58]
or eax, 0x20
test al, 4
mov dword [esp + 0x58], eax
je 0x100b96ed
fld xword [edi]
lea ebx, [edi + 0xc]
lea eax, [esp + 0x54]
mov edi, ebx
fstp xword [esp]
call fcn.100b87a0
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
or eax, 0x20
test al, 4
mov dword [esp + 0x58], eax
je 0x100b9711
fld xword [edi]
lea ebx, [edi + 0xc]
lea eax, [esp + 0x54]
mov edi, ebx
fstp xword [esp]
call fcn.100b8250
jmp 0x100b93b0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
test eax, eax
mov ebx, eax
je 0x100b9ac2
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
lea ecx, [esp + 0x54]
mov eax, ebx
call fcn.100b7ca0
jmp 0x100b93b0
movzx edx, byte [ecx + 1]
cmp dl, 0x6c
je 0x100b99c8
mov dword [esp + 0x18], 2
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov eax, dword [esp + 0x58]
test al, 4
jne 0x100b9644
fld qword [edi]
lea ebx, [edi + 8]
lea eax, [esp + 0x54]
fstp xword [esp]
mov edi, ebx
call fcn.100b87a0
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
test al, 4
jne 0x100b9673
fld qword [edi]
lea ebx, [edi + 8]
lea eax, [esp + 0x54]
fstp xword [esp]
mov edi, ebx
call fcn.100b8250
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
test al, 4
jne 0x100b9443
fld qword [edi]
lea ebx, [edi + 8]
lea eax, [esp + 0x54]
fstp xword [esp]
mov edi, ebx
call fcn.100b86f0
jmp 0x100b93b0
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [edi]
lea ebx, [edi + 4]
lea ecx, [esp + 0x54]
mov edx, 1
mov edi, ebx
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
call fcn.100b7b80
jmp 0x100b93b0
mov eax, dword [esp + 0x58]
test al, 4
jne 0x100b9413
fld qword [edi]
lea ebx, [edi + 8]
lea eax, [esp + 0x54]
fstp xword [esp]
mov edi, ebx
call fcn.100b8c90
jmp 0x100b93b0
test ebx, ebx
je 0x100b9940
cmp ebx, 3
ja 0x100b9bd0
cmp ebx, 2
mov eax, 3
cmove ebx, eax
jmp 0x100b98e2
cmp ebx, 1
jbe 0x100b9a55
movzx edx, byte [ecx + 1]
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
jne 0x100b985c
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 0x400
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
jne 0x100b985c
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 0x100
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
jne 0x100b985c
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 0x800
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
jne 0x100b985c
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 0x40
mov ecx, ebp
jmp 0x100b9333
test ebx, ebx
je 0x100b996b
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x100b9333
lea edx, [esp + 0x54]
mov eax, esi
call fcn.100b7b20
jmp 0x100b93b0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x100b97ce
test ebx, 0xfffffffd
jne 0x100b9953
mov edx, dword [edi]
lea eax, [edi + 4]
mov edi, dword [esp + 0x1c]
test edx, edx
mov dword [edi], edx
js 0x100b9b4c
movzx edx, byte [ecx + 1]
mov edi, eax
mov dword [esp + 0x1c], 0
mov ecx, ebp
jmp 0x100b9333
sub edx, 0x30
cmp dl, 9
ja 0x100b9bd0
cmp ebx, 3
ja 0x100b9bd0
test ebx, ebx
jne 0x100b97b5
mov ebx, 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100b985c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
js 0x100b9a75
lea eax, [eax + eax*4]
movzx edx, byte [ecx + 1]
lea eax, [esi + eax*2 - 0x30]
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
jmp 0x100b9860
mov ebx, dword [edi]
mov eax, 0x100eff54
lea esi, [edi + 4]
mov edi, esi
test ebx, ebx
cmove ebx, eax
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea ecx, [esp + 0x54]
mov edx, eax
mov eax, ebx
call fcn.100b7b80
jmp 0x100b93b0
movzx edx, byte [ecx + 1]
or dword [esp + 0x58], 0x200
mov ecx, ebp
jmp 0x100b9333
movzx edx, byte [ecx + 1]
mov dword [esp + 0x1c], 0
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
lea esi, [esp + 0x40]
mov dword [esp + 0x2c], ecx
or dword [esp + 0x58], 0x1000
mov dword [esp + 0x40], 0
call sub.msvcrt.dll_localeconv
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
lea eax, [esp + 0x3e]
mov dword [esp], eax
call fcn.100b6a30
test eax, eax
mov ecx, dword [esp + 0x2c]
jle 0x100b99b9
movzx edx, word [esp + 0x3e]
mov word [esp + 0x70], dx
movzx edx, byte [ecx + 1]
mov dword [esp + 0x6c], eax
mov ecx, ebp
jmp 0x100b9333
lea ebp, [ecx + 2]
movzx edx, byte [ecx + 2]
mov dword [esp + 0x18], 3
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov byte [eax], dl
add edi, 4
jmp 0x100b93b0
cmp byte [ecx + 2], 0x34
je 0x100b9b98
mov edx, 0x36
mov dword [esp + 0x18], 0
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x100b94ff
lea ebp, [ecx + 2]
movzx edx, byte [ecx + 2]
mov dword [esp + 0x18], 5
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x100b94a4
lea eax, [esp + 0x60]
movzx edx, byte [ecx + 1]
mov dword [esp + 0x60], 0
mov ebx, 2
mov ecx, ebp
mov dword [esp + 0x1c], eax
jmp 0x100b9333
mov eax, dword [esp + 0x1c]
sub esi, 0x30
movzx edx, byte [ecx + 1]
mov ecx, ebp
mov dword [eax], esi
jmp 0x100b9333
mov edx, 6
mov ebx, str._null_
jmp 0x100b939b
cmp byte [ecx + 2], 0x32
mov edx, 0x33
jne 0x100b954b
lea ebp, [ecx + 3]
movzx edx, byte [ecx + 3]
mov dword [esp + 0x18], 2
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
mov edx, 6
mov ebx, str._null_
jmp 0x100b96b0
mov eax, dword [edi]
add edi, 4
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x100b94a4
mov eax, dword [edi]
xor edx, edx
add edi, 4
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x100b94ff
mov word [eax], dx
add edi, 4
jmp 0x100b93b0
or ah, 2
mov dword [esp + 0x60], 8
mov dword [esp + 0x58], eax
jmp 0x100b9572
mov dword [eax], edx
add edi, 4
jmp 0x100b93b0
movsx eax, word [esp + 0x40]
mov edi, ecx
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x100b94a4
movzx eax, word [esp + 0x40]
xor edx, edx
mov edi, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x100b94ff
test ebx, ebx
jne 0x100b9bb3
or dword [esp + 0x58], 0x400
neg dword [esp + 0x5c]
jmp 0x100b98ab
movsx eax, byte [esp + 0x40]
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x100b94a4
mov ebx, edx
add edi, 4
sar ebx, 0x1f
mov dword [eax + 4], ebx
jmp 0x100b93b0
movzx eax, byte [esp + 0x40]
xor edx, edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x100b94ff
lea ebp, [ecx + 3]
movzx edx, byte [ecx + 3]
mov dword [esp + 0x18], 3
mov ebx, 4
mov ecx, ebp
jmp 0x100b9333
movzx edx, byte [ecx + 1]
mov dword [esp + 0x60], 0xffffffff
mov edi, eax
mov dword [esp + 0x1c], 0
mov ecx, ebp
jmp 0x100b9333
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x54]
mov eax, 0x25
call fcn.100b7b20
mov ebp, esi
jmp 0x100b93b0