Function at 0x70a5ace0
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [esp + 0x84]
and dword [esp + 0x80], 0x3000
mov ebp, dword [esp + 0x8c]
mov dword [esp], str.PRINTF_EXPONENT_DIGITS
mov edi, dword [esp + 0x90]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xfffffffd
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
mov word [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
call sym._getenv
test eax, eax
je 0x70a5ae61
movsx edx, byte [eax]
mov eax, 2
sub edx, 0x30
cmp edx, 2
ja 0x70a5ae61
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
or dh, 2
mov dword [esp + 0x1c], edx
movsx eax, byte [ebp]
lea ebx, [ebp + 1]
test eax, eax
je 0x70a5ae55
cmp eax, 0x25
jne 0x70a5ae73
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x44]
xor esi, esi
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], ecx
movzx edx, byte [ebp + 1]
mov ecx, ebx
mov dword [esp + 0x14], 0
test dl, dl
je 0x70a5ae44
movsx eax, dl
sub edx, 0x20
cmp dl, 0x5a
lea ebp, [ecx + 1]
jbe 0x70a5ae83
cmp eax, 0x39
jg 0x70a5b506
cmp esi, 3
ja 0x70a5b506
cmp eax, 0x2f
jle 0x70a5b506
test esi, esi
je 0x70a5b3b0
cmp esi, 2
je 0x70a5b418
mov edx, dword [esp + 0x18]
test edx, edx
je 0x70a5ae3a
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
test edx, edx
mov dword [esp + 0x10], edx
js 0x70a5b438
mov edx, dword [esp + 0x10]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2 - 0x30]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
movzx edx, byte [ecx + 1]
mov ecx, ebp
test dl, dl
jne 0x70a5add1
mov ebp, ecx
movsx eax, byte [ebp]
lea ebx, [ebp + 1]
test eax, eax
jne 0x70a5ad91
mov eax, dword [esp + 0x54]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
call sym.__get_output_format
and eax, 1
neg eax
add eax, 3
jmp 0x70a5ad70
lea edx, [esp + 0x3c]
mov ebp, ebx
call sym.___pformat_putc
jmp 0x70a5ad82
movzx edx, dl
jmp dword [edx*4 + 0x70a682a4]
movzx edx, byte [ecx + 1]
mov esi, 4
mov ecx, ebp
mov dword [esp + 0x14], 2
jmp 0x70a5adcd
cmp byte [ecx + 1], 0x6c
mov dword [esp + 0x14], 2
jne case.0x70a5ae86.44
lea ebp, [ecx + 2]
mov dword [esp + 0x14], 3
or dword [esp + 0x40], 4
mov ecx, ebp
movzx edx, byte [ebp]
mov esi, 4
jmp 0x70a5adcd
mov edx, dword [esp + 0x14]
mov eax, edi
sub edx, 2
cmp edx, 1
jbe case.0x70a5ae86.51
mov ebx, dword [eax]
add edi, 4
test ebx, ebx
je 0x70a5b4e2
mov dword [esp], ebx
call sym._strlen
mov edx, eax
lea ecx, [esp + 0x3c]
mov eax, ebx
call sym.___pformat_putchars
jmp 0x70a5ad82
mov edx, dword [esp + 0x14]
mov eax, edi
mov dword [esp + 0x48], 0xffffffff
sub edx, 2
cmp edx, 1
jbe 0x70a5b2ec
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
mov edx, 1
add edi, 4
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
call sym.___pformat_putchars
jmp 0x70a5ad82
mov eax, dword [esp + 0x40]
or eax, 0x20
test al, 4
mov dword [esp + 0x40], eax
je 0x70a5b31c
fld xword [edi]
lea ebx, [edi + 0xc]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_xldouble
jmp 0x70a5ad82
test esi, esi
jne 0x70a5af95
mov ecx, dword [esp + 0x80]
cmp dword [esp + 0x40], ecx
je 0x70a5b4f1
mov edx, dword [edi]
lea ecx, [esp + 0x3c]
mov eax, 0x78
mov dword [esp + 0x34], 0
lea ebx, [edi + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov edi, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x30]
call sym.___pformat_xint
jmp 0x70a5ad82
cmp dword [esp + 0x14], 4
je 0x70a5b4b2
cmp dword [esp + 0x14], 1
mov eax, dword [edi]
mov edx, dword [esp + 0x54]
je 0x70a5b3f6
cmp dword [esp + 0x14], 2
je 0x70a5b51b
cmp dword [esp + 0x14], 3
mov dword [eax], edx
je 0x70a5b58b
add edi, 4
jmp 0x70a5ad82
mov eax, dword [esp + 0x40]
or eax, 0x20
test al, 4
mov dword [esp + 0x40], eax
je 0x70a5b2cc
fld xword [edi]
lea ebx, [edi + 0xc]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_efloat
jmp 0x70a5ad82
or dword [esp + 0x40], 0x80
cmp dword [esp + 0x14], 3
je 0x70a5b44c
cmp dword [esp + 0x14], 2
je 0x70a5b401
mov eax, dword [edi]
lea edx, [edi + 4]
mov edi, eax
sar edi, 0x1f
cmp dword [esp + 0x14], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
je 0x70a5b525
cmp dword [esp + 0x14], 4
mov edi, edx
je 0x70a5b59b
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x34]
call sym.___pformat_int
jmp 0x70a5ad82
movzx edx, byte [ecx + 1]
mov esi, 4
mov ecx, ebp
mov dword [esp + 0x14], 3
jmp 0x70a5adcd
movzx edx, byte [ecx + 1]
cmp dl, 0x68
je 0x70a5b476
mov ecx, ebp
mov esi, 4
mov dword [esp + 0x14], 1
jmp 0x70a5adcd
mov eax, dword [esp + 0x40]
or eax, 0x20
test al, 4
mov dword [esp + 0x40], eax
je 0x70a5b36c
fld xword [edi]
lea ebx, [edi + 0xc]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_gfloat
jmp 0x70a5ad82
mov eax, dword [esp + 0x40]
or eax, 0x20
test al, 4
mov dword [esp + 0x40], eax
je 0x70a5b2a4
fld xword [edi]
lea ebx, [edi + 0xc]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_float
jmp 0x70a5ad82
cmp dword [esp + 0x14], 3
je 0x70a5b461
cmp dword [esp + 0x14], 2
je 0x70a5b422
mov ecx, dword [edi]
lea edx, [edi + 4]
cmp dword [esp + 0x14], 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
je 0x70a5b53e
cmp dword [esp + 0x14], 4
mov edi, edx
je 0x70a5b575
cmp eax, 0x75
je 0x70a5b078
lea edx, [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
call sym.___pformat_xint
jmp 0x70a5ad82
test esi, esi
jne case.0x70a5ae86.1
or dword [esp + 0x40], 0x200
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
cmp esi, 1
jbe 0x70a5b4c2
movzx edx, byte [ecx + 1]
mov esi, 4
mov ecx, ebp
jmp 0x70a5adcd
test esi, esi
jne 0x70a5ae3a
or dword [esp + 0x40], 0x400
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
test esi, esi
jne 0x70a5ae3a
or dword [esp + 0x40], 0x100
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x70a5b1b9
test esi, 5
jne 0x70a5b3c0
mov edx, dword [edi]
lea eax, [edi + 4]
mov edi, dword [esp + 0x18]
test edx, edx
mov dword [edi], edx
js 0x70a5b560
movzx edx, byte [ecx + 1]
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x18], 0
jmp 0x70a5adcd
lea edx, [esp + 0x3c]
call sym.___pformat_putc
jmp 0x70a5ad82
test esi, esi
jne 0x70a5ae3a
or dword [esp + 0x40], 0x800
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
test esi, esi
jne 0x70a5ae3a
or dword [esp + 0x40], 0x40
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
mov eax, dword [esp + 0x40]
test al, 4
jne 0x70a5b113
fld qword [edi]
lea ebx, [edi + 8]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_float
jmp 0x70a5ad82
mov eax, dword [esp + 0x40]
test al, 4
jne 0x70a5b015
fld qword [edi]
lea ebx, [edi + 8]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_efloat
jmp 0x70a5ad82
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [edi]
lea ebx, [edi + 4]
mov edx, 1
lea ecx, [esp + 0x3c]
mov edi, ebx
mov word [esp + 0x2e], ax
lea eax, [esp + 0x2e]
call sym.___pformat_wputchars
jmp 0x70a5ad82
mov eax, dword [esp + 0x40]
test al, 4
jne 0x70a5af63
fld qword [edi]
lea ebx, [edi + 8]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_xldouble
jmp 0x70a5ad82
movzx edx, byte [ecx + 1]
cmp dl, 0x36
je 0x70a5b48f
cmp dl, 0x33
je 0x70a5b3d8
mov ecx, ebp
mov esi, 4
mov dword [esp + 0x14], 2
jmp 0x70a5adcd
mov eax, dword [esp + 0x40]
test al, 4
jne 0x70a5b0e3
fld qword [edi]
lea ebx, [edi + 8]
fstp xword [esp]
mov edi, ebx
lea eax, [esp + 0x3c]
call sym.___pformat_gfloat
jmp 0x70a5ad82
mov ebx, dword [edi]
lea esi, [edi + 4]
test ebx, ebx
je 0x70a5b556
mov dword [esp], ebx
mov edi, esi
call sym._wcslen
lea ecx, [esp + 0x3c]
mov edx, eax
mov eax, ebx
call sym.___pformat_wputchars
jmp 0x70a5ad82
mov esi, 1
jmp 0x70a5ae0f
movzx edx, byte [ecx + 1]
mov esi, 4
mov ecx, ebp
mov dword [esp + 0x18], 0
jmp 0x70a5adcd
cmp byte [ecx + 2], 0x32
je 0x70a5b5b2
mov ecx, ebp
mov esi, 4
mov dword [esp + 0x14], 2
jmp 0x70a5add1
mov word [eax], dx
add edi, 4
jmp 0x70a5ad82
mov eax, dword [edi]
add edi, 4
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jmp 0x70a5b078
mov esi, 3
jmp 0x70a5ae0f
mov edx, dword [edi]
add edi, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], edx
jmp 0x70a5b16f
mov edx, dword [esp + 0x18]
sub eax, 0x30
mov dword [edx], eax
movzx edx, byte [ecx + 1]
mov ecx, ebp
jmp 0x70a5adcd
mov eax, dword [edi]
mov edx, dword [edi + 4]
add edi, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x70a5b078
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
add edi, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x70a5b16f
movzx edx, byte [ecx + 2]
mov esi, 4
add ecx, 2
mov dword [esp + 0x14], 4
jmp 0x70a5adcd
cmp byte [ecx + 2], 0x34
jne 0x70a5b3e2
movzx edx, byte [ecx + 3]
mov esi, 4
add ecx, 3
mov dword [esp + 0x14], 3
jmp 0x70a5adcd
mov edx, dword [edi]
add edi, 4
mov eax, dword [esp + 0x54]
mov byte [edx], al
jmp 0x70a5ad82
lea eax, [esp + 0x48]
mov esi, 2
mov dword [esp + 0x48], 0
movzx edx, byte [ecx + 1]
mov ecx, ebp
mov dword [esp + 0x18], eax
jmp 0x70a5adcd
mov edx, 6
mov ebx, str._null_
jmp 0x70a5aeff
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 8
mov dword [esp + 0x40], eax
jmp 0x70a5af95
lea edx, [esp + 0x3c]
mov eax, 0x25
call sym.___pformat_putc
mov ebp, ebx
jmp 0x70a5ad82
mov dword [eax], edx
add edi, 4
jmp 0x70a5ad82
movsx eax, word [esp + 0x30]
mov edi, edx
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jmp 0x70a5b078
movzx ecx, word [esp + 0x30]
mov edi, edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], ecx
jmp 0x70a5b16f
mov ebx, 0x70a68278
jmp 0x70a5b391
test esi, esi
jne 0x70a5b5cb
or dword [esp + 0x40], 0x400
neg dword [esp + 0x44]
jmp 0x70a5b237
movzx edx, byte [esp + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], edx
jmp 0x70a5b16f
mov ecx, edx
add edi, 4
sar ecx, 0x1f
mov dword [eax + 4], ecx
jmp 0x70a5ad82
movsx eax, byte [esp + 0x30]
mov edx, eax
sar edx, 0x1f
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x70a5b078
movzx edx, byte [ecx + 3]
mov esi, 4
add ecx, 3
mov dword [esp + 0x14], 2
jmp 0x70a5adcd
mov dword [esp + 0x48], 0xffffffff
mov edi, eax
movzx edx, byte [ecx + 1]
mov dword [esp + 0x18], 0
mov ecx, ebp
jmp 0x70a5adcd