Function at 0x42ba30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x134
push ebx
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x17], 0
jne 0x42ba53
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x148], ebp
push 0xfd
lea eax, [esp + 0x45]
push edi
push eax
mov byte [esp + 0x4c], 0
call fcn.00488440
mov ebx, dword [esp + 0x48]
add esp, 0xc
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x24], edi
je 0x42bd7a
mov al, byte [ebp + 0x17]
mov dword [esp + 0x20], edx
test al, al
jne 0x42baa0
mov ecx, dword [ebp + 0xc]
push 1
push edi
push edx
push edi
push ecx
call fcn.0046f1f0
jmp 0x42bb0b
mov bl, 1
mov byte [esp + 0x17], bl
mov cl, bl
cmp edx, 0xffffffff
jne 0x42bab5
xor cl, cl
mov dword [esp + 0x20], edi
jmp 0x42babb
xor bl, bl
mov byte [esp + 0x17], bl
mov edi, dword [esp + 0x20]
inc edi
cmp al, 2
jne 0x42baea
test bl, bl
je 0x42bad8
mov eax, dword [esp + 0x20]
push 0x49281e
call fcn.00403e10
jmp 0x42bb0b
mov esi, 0x4a5278
call fcn.00403e90
neg eax
sbb eax, eax
neg eax
jmp 0x42bb0b
cmp edi, dword [0x49f3ac]
jbe 0x42bb26
cmp edi, dword [ebp + 0x10]
jbe 0x42bb26
push 0x49281e
push str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
mov ecx, 0x4a4c40
call fcn.0042cf80
cmp eax, 1
jne 0x42c084
cmp byte [ebp + 0x17], 0
jne 0x42bd3e
mov esi, dword [ebp + 0xc]
jmp 0x42bd40
cmp edi, 2
jae 0x42bb41
xor edx, edx
test cl, cl
setne dl
xor al, al
mov ecx, ebp
add edx, 3
push edx
call fcn.0046f710
jmp 0x42bb14
mov al, byte [ebp + 0x15]
test al, 2
je 0x42bb58
and al, 0x3d
mov byte [ebp + 0x15], al
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [ebp + 0x10]
and byte [ebp + 0x15], 0x82
cmp edi, edx
jbe 0x42bb82
mov cl, byte [ebp + 0x14]
cmp cl, 1
jbe 0x42bbbc
cmp cl, 2
je 0x42bbfb
mov edx, dword [esp + 0x38]
and byte [ebp + 0x15], 0x7f
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], esi
test bl, bl
je 0x42bd2c
mov eax, dword [ebp + 8]
cmp eax, 0x49281e
je 0x42bba7
mov ecx, dword [esp + 0x20]
push ecx
push 0x49281e
push eax
call fcn.0047fcc0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x20]
mov byte [eax + edx], 0
mov edx, eax
mov dword [ebp + 0xc], edx
jmp 0x42bb14
cmp edi, 0x40
ja 0x42bbfb
cmp edi, 4
ja 0x42bbcd
mov esi, 4
jmp 0x42bbdb
mov eax, 8
cmp eax, edi
sbb esi, esi
and esi, 0x38
add esi, eax
mov eax, esi
mov dword [esp + 0x10], esi
call fcn.00469c40
mov dword [esp + 0x38], eax
test eax, eax
je 0x42c084
mov byte [ebp + 0x14], 1
jmp 0x42bb74
cmp edi, 0x10
jae 0x42bc0a
mov esi, 0x10
jmp 0x42bcba
cmp edi, 0x104
jae 0x42bc1c
mov esi, 0x104
jmp 0x42bcba
cmp edi, 0x28000
jae 0x42bc60
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
test edi, edi
jns 0x42bc36
fadd qword [0x49a440]
fmul qword [0x49a450]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov esi, dword [esp + 0x28]
fldcw word [esp + 0x10]
jmp 0x42bcba
cmp edi, 0x190000
jae 0x42bc70
lea esi, [edi + 0x4000]
jmp 0x42bcba
cmp edi, 0x640000
jae 0x42bcb4
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
test edi, edi
jns 0x42bc8a
fadd qword [0x49a440]
fmul qword [0x49a448]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov esi, dword [esp + 0x28]
fldcw word [esp + 0x10]
jmp 0x42bcba
lea esi, [edi + 0x10000]
mov eax, dword [0x49f3ac]
mov dword [esp + 0x10], esi
cmp esi, eax
jbe 0x42bccd
mov esi, eax
mov dword [esp + 0x10], esi
cmp cl, 2
jne 0x42bd08
test edx, edx
je 0x42bd08
mov ecx, dword [ebp + 8]
push ecx
mov bl, 1
call fcn.0047f118
add esp, 4
xor edi, edi
cmp esi, edi
jl 0x42bd0c
push esi
call fcn.0047f2b9
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, edi
je 0x42bd0c
mov bl, byte [esp + 0x17]
mov byte [ebp + 0x14], 2
jmp 0x42bb74
xor bl, bl
jmp 0x42bce4
test bl, bl
je 0x42bd1d
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], 0x4a44fd
mov dword [ebp + 0xc], edi
push 0x49281e
push str.Out_of_memory.
jmp 0x42bb01
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov byte [ecx], 0
mov dword [ebp + 0xc], edx
jmp 0x42bb14
mov esi, ebp
test byte [esi + 0x15], 8
je 0x42bd4d
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42bd66
test byte [esi + 0x15], 4
je 0x42bd61
mov eax, esi
call fcn.0042d4f0
mov ebx, dword [esi + 8]
jmp 0x42bd7e
cmp al, 2
jne 0x42bd73
call fcn.00401000
mov ebx, eax
jmp 0x42bd7e
mov ebx, 0x4a44fd
jmp 0x42bd7e
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x14c]
mov al, byte [ecx]
mov esi, dword [esp + 0x24]
test al, al
je 0x42bdb5
nop
cmp al, byte [0x49f3cd]
je 0x42bdca
cmp al, byte [0x49f3cc]
je 0x42bdca
test esi, esi
je 0x42bda9
mov byte [ebx], al
inc ebx
jmp 0x42bdad
inc dword [esp + 0x18]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x42bd90
inc esi
mov dword [esp + 0x24], esi
cmp esi, 2
jge 0x42c093
xor edi, edi
jmp 0x42ba73
mov al, byte [ecx]
test al, al
je 0x42bdb5
cmp al, byte [0x49f3cd]
jne 0x42bea5
test esi, esi
je 0x42be93
mov al, byte [ecx + 1]
movsx edx, al
add edx, 0xffffff9f
cmp edx, 0x15
ja case.0x42bdfd.99
movzx edx, byte [edx + 0x42c1c4]
jmp dword [edx*4 + 0x42c1a4]
mov ebp, dword [esp + 0x148]
mov byte [ebx], 7
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 8
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 0xc
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 0xa
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 0xd
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 9
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], 0xb
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
mov ebp, dword [esp + 0x148]
mov byte [ebx], al
inc ecx
inc ebx
inc ecx
jmp 0x42bd85
inc dword [esp + 0x18]
mov ebp, dword [esp + 0x148]
inc ecx
inc ecx
jmp 0x42bd85
lea esi, [ecx + 1]
mov ebp, esi
mov al, byte [ebp]
test al, al
je 0x42c077
cmp al, byte [0x49f3cc]
je 0x42bed2
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x42beb5
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
cmp byte [ebp], 0
je 0x42c077
mov edi, ebp
sub edi, ecx
dec edi
je 0x42c075
cmp edi, 0xfd
ja 0x42c075
push edi
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00481f40
add esp, 0xc
mov byte [esp + edi + 0x40], 0
cmp byte [esp + 0x40], 0
je 0x42c084
lea ecx, [esp + 0x1f]
push ecx
push 3
lea edx, [esp + 0x44]
push edx
push edi
lea eax, [esp + 0x50]
push eax
mov ecx, 0x4a4c40
call fcn.0041f920
test eax, eax
jne 0x42bf52
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp byte [esp + 0x1f], cl
setne cl
inc ecx
push ecx
push edx
push 0x4a4c40
mov ecx, edi
lea edx, [esp + 0x4c]
call fcn.0041fbb0
mov esi, eax
test esi, esi
je 0x42c084
cmp byte [esi + 0x17], 0
jne 0x42bf65
mov esi, dword [esi + 0xc]
cmp esi, dword [esp + 0x148]
je 0x42c075
cmp dword [esp + 0x24], 0
je 0x42bf92
push ebx
mov ecx, esi
call fcn.0046f530
mov ecx, ebp
mov ebp, dword [esp + 0x148]
add ebx, eax
inc ecx
jmp 0x42bd85
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x42bf9f
jmp dword [eax*4 + 0x42c1dc]
mov eax, esi
call fcn.00401150
cmp dword [0x4a2d54], 0
jne 0x42c00a
cmp dword [esi + 0xc], 0
jne 0x42c00a
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x3b]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x42bfef
dec eax
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
mov dword [0x4a5ce0], 0
inc ecx
jmp 0x42bd85
mov dword [0x4a5ce0], esi
xor eax, eax
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
mov eax, dword [esi + 0xc]
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
mov ecx, dword [esi + 0xc]
push 0
call fcn.0046f530
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
push 0x4a5278
xor ecx, ecx
call fcn.00403c70
cmp eax, 0xffffffff
jne 0x42c071
xor eax, eax
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push 0
call eax
add esp, 8
add dword [esp + 0x18], eax
mov ecx, ebp
mov ebp, dword [esp + 0x148]
inc ecx
jmp 0x42bd85
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 8
mov byte [ebx], 0
cmp byte [ebp + 0x17], 0
jne 0x42c0a1
mov esi, dword [ebp + 0xc]
jmp 0x42c0a3
mov esi, ebp
test byte [esi + 0x15], 8
je 0x42c0b0
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42c0c9
test byte [esi + 0x15], 4
je 0x42c0c4
mov eax, esi
call fcn.0042d4f0
mov eax, dword [esi + 8]
jmp 0x42c11c
cmp al, 2
jne 0x42c117
mov eax, dword [0x4a5284]
test eax, eax
jne 0x42c11c
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x42c0fa
push 0xf
call esi
test eax, eax
je 0x42c0f3
mov eax, 0x4927ec
jmp 0x42c11c
mov eax, 0x49281e
jmp 0x42c11c
push 0x4a5278
xor ecx, ecx
call fcn.00403c70
cmp eax, 0xffffffff
mov eax, 0x49281e
je 0x42c11c
mov eax, dword [0x4a5280]
jmp 0x42c11c
mov eax, 0x4a44fd
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c120
sub eax, edx
mov edi, eax
cmp byte [ebp + 0x17], cl
jne 0x42c135
mov esi, dword [ebp + 0xc]
jmp 0x42c137
mov esi, ebp
cmp byte [esi + 0x17], 1
jne 0x42c14f
test byte [esi + 0x15], 8
je 0x42c14a
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x42c154
mov eax, 0x4a5490
mov dword [eax], edi
cmp byte [ebp + 0x17], 0
jne 0x42c161
mov eax, dword [ebp + 0xc]
jmp 0x42c163
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x42c18b
cmp dword [0x4a5284], 0
je 0x42c18b
push 1
mov ecx, 0x4a5278
call fcn.00403f00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 8
and byte [eax + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret 8