Function at 0x42d9e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x17], 0
jne 0x42da00
mov eax, dword [edi + 0xc]
mov dword [ebp + 8], eax
mov edi, eax
xor ecx, ecx
push 0x1fa
push ecx
lea edx, [esp + 0x4a]
push edx
mov word [esp + 0x4c], cx
call fcn.00490ef0
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x24], 0
jmp 0x42da30
cmp dword [esp + 0x24], 0
je 0x42dd8d
mov esi, dword [esp + 0x1c]
mov al, byte [edi + 0x17]
mov ebx, esi
mov dword [esp + 0x18], ebx
test al, al
jne 0x42da5d
mov ecx, dword [edi + 0xc]
push 1
push 0
push esi
push 0
call fcn.00471d60
jmp 0x42dad0
mov byte [esp + 0x17], 1
mov cl, 1
cmp esi, 0xffffffff
jne 0x42da73
xor cl, cl
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x42da78
mov byte [esp + 0x17], 0
lea edi, [ebx + 1]
lea esi, [edi + edi]
cmp al, 2
jne 0x42daa9
cmp byte [esp + 0x17], 0
je 0x42da97
push 0x4a59a4
mov eax, ebx
call fcn.00403bd0
jmp 0x42dacd
mov esi, 0x4c4b00
call fcn.00403c50
neg eax
sbb eax, eax
neg eax
jmp 0x42dacd
mov edx, dword [ebp + 8]
cmp esi, dword [0x4be3cc]
jbe 0x42daeb
cmp esi, dword [edx + 0x10]
jbe 0x42daeb
push 0x4a59a4
push str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
mov ecx, 0x4c4000
call fcn.0042f0c0
mov edi, dword [ebp + 8]
cmp eax, 1
jne 0x42e11d
cmp byte [edi + 0x17], 0
jne 0x42dd45
mov esi, dword [edi + 0xc]
jmp 0x42dd47
cmp edi, 2
jae 0x42db0a
xor eax, eax
test cl, cl
mov ecx, dword [ebp + 8]
setne al
add eax, 3
push eax
xor al, al
call fcn.00472290
mov edi, dword [ebp + 8]
jmp 0x42dad9
mov al, byte [edx + 0x15]
test al, 2
je 0x42db26
mov ecx, dword [ebp + 8]
and al, 0x3d
mov byte [ecx + 0x15], al
mov eax, dword [ecx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
and byte [edx + 0x15], 0x82
cmp esi, ecx
jbe 0x42db5a
mov dl, byte [edx + 0x14]
cmp dl, 1
jbe 0x42db9b
cmp dl, 2
je 0x42dbe6
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
and byte [eax + 0x15], 0x7f
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 8]
mov dword [eax + 8], ecx
cmp byte [esp + 0x17], 0
mov eax, dword [edx + 8]
je 0x42dd32
cmp eax, 0x4a59a4
je 0x42db84
lea ecx, [ebx + ebx]
push ecx
push 0x4a59a4
push eax
call fcn.00488d70
mov edx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [edx + 8]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax + ebx*2], cx
lea eax, [ebx + ebx]
mov dword [edx + 0xc], eax
jmp 0x42dad9
cmp esi, 0x80
ja 0x42dbe6
cmp esi, 8
ja 0x42dbb2
mov dword [esp + 0x10], 8
jmp 0x42dbc5
mov eax, 0x10
cmp eax, esi
sbb eax, eax
and eax, 0x70
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
call fcn.0046c720
mov dword [esp + 0x34], eax
test eax, eax
je 0x42e11d
mov eax, dword [ebp + 8]
mov byte [eax + 0x14], 1
jmp 0x42db45
cmp esi, 0x20
jae 0x42dbf8
mov dword [esp + 0x10], 0x20
jmp 0x42dcb7
cmp esi, 0x208
jae 0x42dc0d
mov dword [esp + 0x10], 0x208
jmp 0x42dcb7
cmp esi, 0x50000
jae 0x42dc55
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
test esi, esi
jns 0x42dc27
fadd qword [0x4b8930]
fmul qword [0x4b8970]
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 eax, dword [esp + 0x28]
fldcw word [esp + 0x10]
mov dword [esp + 0x10], eax
jmp 0x42dcb7
cmp esi, 0x320000
jae 0x42dc65
add esi, 0x8000
jmp 0x42dcb3
cmp esi, 0xc80000
jae 0x42dcad
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
test esi, esi
jns 0x42dc7f
fadd qword [0x4b8930]
fmul qword [0x4b8968]
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 eax, dword [esp + 0x28]
fldcw word [esp + 0x10]
mov dword [esp + 0x10], eax
jmp 0x42dcb7
add esi, 0x20000
mov dword [esp + 0x10], esi
mov eax, dword [0x4be3cc]
cmp dword [esp + 0x10], eax
jbe 0x42dcc6
mov dword [esp + 0x10], eax
cmp dl, 2
jne 0x42dd0b
test ecx, ecx
je 0x42dd0b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov bl, 1
call fcn.0048995f
add esp, 4
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
jl 0x42dd0f
push eax
call fcn.00488394
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, esi
je 0x42dd0f
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
mov byte [eax + 0x14], 2
jmp 0x42db42
xor bl, bl
jmp 0x42dce0
test bl, bl
je 0x42dd23
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 8], 0x4c3fa8
mov dword [eax + 0xc], esi
push 0x4a59a4
push str.Out_of_memory.
jmp 0x42dac3
mov edi, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebx + ebx]
mov dword [edx + 0xc], eax
jmp 0x42dad9
mov esi, edi
test byte [esi + 0x15], 8
je 0x42dd54
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42dd71
test byte [esi + 0x15], 4
je 0x42dd68
mov eax, esi
call fcn.0042f660
mov esi, dword [esi + 8]
mov dword [esp + 0x18], esi
jmp 0x42dd95
cmp al, 2
jne 0x42dd82
call fcn.00401000
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x42dd95
mov esi, 0x4c3fa8
mov dword [esp + 0x18], esi
jmp 0x42dd95
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx]
mov edx, dword [esp + 0x24]
test ax, ax
je 0x42dde5
jmp 0x42ddb0
mov bx, word [0x4be3f0]
cmp ax, word [0x4be3f4]
je 0x42de09
cmp ax, bx
je 0x42de09
test edx, edx
je 0x42ddd5
mov word [esi], ax
add esi, 2
mov dword [esp + 0x18], esi
jmp 0x42ddd9
inc dword [esp + 0x1c]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x42ddb0
inc edx
mov dword [esp + 0x24], edx
cmp edx, 2
jl 0x42da30
xor ecx, ecx
mov word [esi], cx
cmp byte [edi + 0x17], cl
jne 0x42e128
mov esi, dword [edi + 0xc]
jmp 0x42e12a
movzx eax, word [ecx]
test ax, ax
je 0x42dde5
cmp ax, word [0x4be3f4]
jne 0x42df25
test edx, edx
je 0x42df0f
movzx eax, word [ecx + 2]
lea edx, [eax - 0x61]
cmp edx, 0x15
ja case.0x42de3d.99
movzx edx, byte [edx + 0x42e250]
jmp dword [edx*4 + 0x42e230]
mov edi, dword [ebp + 8]
mov eax, 7
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov edi, dword [ebp + 8]
mov edx, 8
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov edi, dword [ebp + 8]
mov eax, 0xc
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov edi, dword [ebp + 8]
mov edx, 0xa
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov edi, dword [ebp + 8]
mov eax, 0xd
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov edi, dword [ebp + 8]
mov edx, 9
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
mov eax, 0xb
mov edi, dword [ebp + 8]
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42dd98
inc dword [esp + 0x1c]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
add ecx, 2
add ecx, 2
jmp 0x42dd98
lea edx, [ecx + 2]
mov edi, edx
movzx eax, word [edi]
test ax, ax
je 0x42e10e
cmp ax, bx
je 0x42df56
movzx eax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42df36
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
add ecx, 2
jmp 0x42dd98
cmp word [edi], 0
je 0x42e10e
mov esi, edi
sub esi, ecx
sar esi, 1
dec esi
je 0x42e10c
cmp esi, 0xfd
ja 0x42e10c
push esi
push edx
lea ecx, [esp + 0x48]
push ecx
call fcn.0048ad94
xor edx, edx
add esp, 0xc
mov word [esp + esi*2 + 0x40], dx
cmp word [esp + 0x40], dx
je 0x42e11d
lea eax, [esp + 0x23]
push eax
push 3
lea ecx, [esp + 0x40]
push ecx
push esi
lea edx, [esp + 0x50]
push edx
mov ecx, 0x4c4000
call fcn.00420320
test eax, eax
jne 0x42dfd8
cmp byte [esp + 0x23], al
mov ecx, dword [esp + 0x38]
setne al
lea edx, [esp + 0x40]
inc eax
push eax
push ecx
push 0x4c4000
mov ecx, esi
call fcn.004205c0
mov esi, eax
test esi, esi
je 0x42e11d
cmp byte [esi + 0x17], 0
jne 0x42dfeb
mov esi, dword [esi + 0xc]
cmp esi, dword [ebp + 8]
je 0x42e10c
cmp dword [esp + 0x24], 0
je 0x42e01d
mov ebx, dword [esp + 0x18]
push ebx
mov ecx, esi
call fcn.004720a0
lea edx, [ebx + eax*2]
mov ecx, edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], edx
add ecx, 2
mov esi, edx
jmp 0x42dd98
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x42e02a
jmp dword [eax*4 + 0x42e268]
mov eax, esi
call fcn.00401160
cmp dword [0x4c200c], 0
jne 0x42e099
cmp dword [esi + 0xc], 0
jne 0x42e099
mov ecx, dword [esi + 0x18]
push 0
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42e07c
mov esi, dword [esp + 0x18]
dec eax
add dword [esp + 0x1c], eax
mov ecx, edi
mov edi, dword [ebp + 8]
mov dword [0x4c56d0], 0
add ecx, 2
jmp 0x42dd98
mov dword [0x4c56d0], esi
mov esi, dword [esp + 0x18]
xor eax, eax
add dword [esp + 0x1c], eax
mov ecx, edi
mov edi, dword [ebp + 8]
add ecx, 2
jmp 0x42dd98
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x18]
shr eax, 1
add dword [esp + 0x1c], eax
mov ecx, edi
mov edi, dword [ebp + 8]
add ecx, 2
jmp 0x42dd98
mov ecx, dword [esi + 0xc]
push 0
call fcn.004720a0
add dword [esp + 0x1c], eax
mov esi, dword [esp + 0x18]
mov ecx, edi
mov edi, dword [ebp + 8]
add ecx, 2
jmp 0x42dd98
xor ecx, ecx
mov ebx, 0x4c4b00
call fcn.00403a40
cmp eax, 0xffffffff
jne 0x42e108
mov esi, dword [esp + 0x18]
xor eax, eax
add dword [esp + 0x1c], eax
mov ecx, edi
mov edi, dword [ebp + 8]
add ecx, 2
jmp 0x42dd98
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push 0
call eax
add esp, 8
add dword [esp + 0x1c], eax
mov ecx, edi
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x18]
add ecx, 2
jmp 0x42dd98
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, edi
test byte [esi + 0x15], 8
je 0x42e137
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42e150
test byte [esi + 0x15], 4
je 0x42e14b
mov eax, esi
call fcn.0042f660
mov eax, dword [esi + 8]
jmp 0x42e1ac
cmp al, 2
jne 0x42e1a7
mov eax, dword [0x4c4b0c]
test eax, eax
jne 0x42e1a2
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x42e187
push 0xf
call esi
test eax, eax
je 0x42e17d
mov edi, dword [ebp + 8]
mov eax, 0x49b804
jmp 0x42e1ac
mov edi, dword [ebp + 8]
mov eax, 0x4a59a4
jmp 0x42e1ac
xor ecx, ecx
mov ebx, 0x4c4b00
call fcn.00403a40
cmp eax, 0xffffffff
mov eax, 0x4a59a4
je 0x42e1a2
mov eax, dword [0x4c4b08]
mov edi, dword [ebp + 8]
jmp 0x42e1ac
mov eax, 0x4c3fa8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e1b0
sub eax, edx
sar eax, 1
mov ebx, eax
cmp byte [edi + 0x17], cl
jne 0x42e1cb
mov esi, dword [edi + 0xc]
jmp 0x42e1cd
mov esi, edi
cmp byte [esi + 0x17], 1
jne 0x42e1e5
test byte [esi + 0x15], 8
je 0x42e1e0
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x42e1ea
mov eax, 0x4c4e80
lea edx, [ebx + ebx]
mov dword [eax], edx
cmp byte [edi + 0x17], 0
jne 0x42e1fa
mov eax, dword [edi + 0xc]
jmp 0x42e1fc
mov eax, edi
cmp byte [eax + 0x17], 2
jne 0x42e21e
cmp dword [0x4c4b0c], 0
je 0x42e21e
mov ecx, 0x4c4b00
call fcn.00403cd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
and byte [eax + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8