Function at 0x100775b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
xor ecx, ecx
je 0x100775fa
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 2
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x18], 0x3b9aca00
cmp dword [ebp - 0x18], 0x3b9aca00
jne 0x1007760e
xor edx, edx
je 0x10077633
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 3
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov eax, dword [ebp + 8]
push eax
call fcn.10079a30
add esp, 4
mov dword [ebp - 0xc], eax
push 0x54
mov ecx, dword [ebp + 8]
push ecx
call fcn.100799f0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007769f
mov edx, dword [ebp + 8]
push edx
call fcn.10079a40
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x37
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, 4
imul edx, ecx, 0
mov dword [eax + edx + 0x18], 0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
add esp, 4
cmp esi, esp
call fcn.101b9ab0
mov ecx, dword [ebp - 4]
mov dword [ecx], fcn.10076e80
mov edx, dword [ebp - 4]
mov dword [edx + 4], fcn.10076c10
mov eax, dword [ebp - 4]
mov dword [eax + 8], fcn.10076d40
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], fcn.10076ac0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x10077c50
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x10077b80
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0x10077890
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0x10076880
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0x10076640
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], fcn.100773a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0x10077d20
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0x3b9aca00
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], edx
mov dword [ebp - 0x14], 1
jmp 0x10077731
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10077755
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x34], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax*4 + 0x3c], 0
jmp 0x10077728
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], 0x54
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
push str.JPEGMEM
call sub.MSVCR120D.dll_getenv
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100777e6
mov byte [ebp - 0x21], 0x78
mov esi, esp
lea ecx, [ebp - 0x21]
push ecx
lea edx, [ebp - 0xc]
push edx
push str._ld_c
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCR120D.dll_sscanf]
add esp, 0x10
cmp esi, esp
call fcn.101b9ab0
test eax, eax
jle 0x100777e6
movsx ecx, byte [ebp - 0x21]
cmp ecx, 0x6d
je 0x100777cf
movsx edx, byte [ebp - 0x21]
cmp edx, 0x4d
jne 0x100777d9
imul eax, dword [ebp - 0xc], 0x3e8
mov dword [ebp - 0xc], eax
imul ecx, dword [ebp - 0xc], 0x3e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], ecx
push edx
mov ecx, ebp
push eax
lea edx, [0x10077808]
call fcn.101b9a50
pop eax
pop edx
pop edi
pop esi
add esp, 0x28
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret