Function at 0x42dba0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x234
push ebx
push ebp
mov ebp, dword [esp + 0x240]
cmp byte [ebp + 0x17], 0
push esi
push edi
jne 0x42dbc1
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x248], ebp
xor eax, eax
push 0x1fa
push eax
lea ecx, [esp + 0x4a]
push ecx
mov word [esp + 0x4c], ax
call fcn.00493490
mov esi, dword [esp + 0x24]
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x42df1c
mov al, byte [ebp + 0x17]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
test al, al
jne 0x42dc0e
push 1
push 0
push edx
mov edx, dword [ebp + 0xc]
push 0
push edx
call fcn.004742b0
jmp 0x42dc83
cmp dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x13], 1
mov cl, 1
jne 0x42dc26
xor cl, cl
xor edx, edx
mov dword [esp + 0x18], edx
jmp 0x42dc2b
mov byte [esp + 0x13], 0
lea edi, [edx + 1]
lea esi, [edi + edi]
cmp al, 2
jne 0x42dc5c
cmp byte [esp + 0x13], 0
je 0x42dc4a
push 0x49e828
mov eax, edx
call fcn.00403c90
jmp 0x42dc83
mov esi, 0x4c6b48
call fcn.00403d10
neg eax
sbb eax, eax
neg eax
jmp 0x42dc83
mov ebx, dword [0x4c03dc]
cmp esi, ebx
jbe 0x42dc9e
cmp esi, dword [ebp + 0x10]
jbe 0x42dc9e
push 0x49e828
push str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
mov ecx, 0x4c6048
call fcn.0042f1f0
mov ebx, dword [esp + 0x20]
cmp eax, 1
jne 0x42e2ac
cmp byte [ebp + 0x17], 0
jne 0x42ded4
mov esi, dword [ebp + 0xc]
jmp 0x42ded6
cmp edi, 2
jae 0x42dcbd
xor eax, eax
test cl, cl
setne al
mov ecx, ebp
add eax, 3
push eax
xor al, al
call fcn.004747f0
mov ebx, dword [esp + 0x20]
jmp 0x42dc8c
mov al, byte [ebp + 0x15]
test al, 2
je 0x42dcda
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 ebx, dword [0x4c03dc]
mov edx, dword [ebp + 0x10]
and byte [ebp + 0x15], 0x82
cmp esi, edx
jbe 0x42dd08
mov cl, byte [ebp + 0x14]
cmp cl, 1
jbe 0x42dd4f
cmp cl, 2
je 0x42dd91
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
and byte [ebp + 0x15], 0x7f
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], esi
cmp byte [esp + 0x13], 0
je 0x42deb9
mov eax, dword [ebp + 8]
cmp eax, 0x49e828
je 0x42dd33
mov edx, dword [esp + 0x18]
lea ecx, [edx + edx]
push ecx
push 0x49e828
push eax
call fcn.0048b1f0
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
xor eax, eax
mov word [edx + ecx*2], ax
lea edx, [ecx + ecx]
mov dword [ebp + 0xc], edx
jmp 0x42dc8c
cmp esi, 0x80
ja 0x42dd91
cmp esi, 8
ja 0x42dd63
mov esi, 8
jmp 0x42dd71
mov eax, 0x10
cmp eax, esi
sbb esi, esi
and esi, 0x70
add esi, eax
mov eax, esi
mov dword [esp + 0x14], esi
call fcn.0046eba0
mov dword [esp + 0x34], eax
test eax, eax
je 0x42e2ac
mov byte [ebp + 0x14], 1
jmp 0x42dcfe
cmp esi, 0x20
jae 0x42dda0
mov esi, 0x20
jmp 0x42de50
cmp esi, 0x208
jae 0x42ddb2
mov esi, 0x208
jmp 0x42de50
cmp esi, 0x50000
jae 0x42ddf6
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
test esi, esi
jns 0x42ddcc
fadd qword [0x4bae40]
fmul qword [0x4bae80]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov esi, dword [esp + 0x28]
fldcw word [esp + 0x14]
jmp 0x42de50
cmp esi, 0x320000
jae 0x42de06
add esi, 0x8000
jmp 0x42de50
cmp esi, 0xc80000
jae 0x42de4a
mov dword [esp + 0x28], esi
fild dword [esp + 0x28]
test esi, esi
jns 0x42de20
fadd qword [0x4bae40]
fmul qword [0x4bae78]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp qword [esp + 0x28]
mov esi, dword [esp + 0x28]
fldcw word [esp + 0x14]
jmp 0x42de50
add esi, 0x20000
mov dword [esp + 0x14], esi
cmp esi, ebx
jbe 0x42de5e
mov esi, ebx
mov dword [esp + 0x14], esi
cmp cl, 2
jne 0x42de95
test edx, edx
je 0x42de95
mov ecx, dword [ebp + 8]
push ecx
mov bl, 1
call fcn.0048bddf
add esp, 4
xor edi, edi
cmp esi, edi
jl 0x42de99
push esi
call fcn.0048a814
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
je 0x42de99
mov byte [ebp + 0x14], 2
jmp 0x42dcfe
xor bl, bl
jmp 0x42de75
test bl, bl
je 0x42deaa
mov dword [ebp + 0x10], edi
mov dword [ebp + 8], 0x4c5ff0
mov dword [ebp + 0xc], edi
push 0x49e828
push str.Out_of_memory.
jmp 0x42dc75
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
xor eax, eax
mov word [edx], ax
lea edx, [ecx + ecx]
mov dword [ebp + 0xc], edx
jmp 0x42dc8c
mov esi, ebp
test byte [esi + 0x15], 8
je 0x42dee3
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42df00
test byte [esi + 0x15], 4
je 0x42def7
mov eax, esi
call fcn.0042f790
mov esi, dword [esi + 8]
mov dword [esp + 0x18], esi
jmp 0x42df24
cmp al, 2
jne 0x42df11
call fcn.00401000
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x42df24
mov esi, 0x4c5ff0
mov dword [esp + 0x18], esi
jmp 0x42df24
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x24c]
jmp 0x42df30
movzx eax, word [ecx]
mov edi, 1
test ax, ax
je 0x42df72
mov dx, word [0x4c0404]
cmp ax, dx
je 0x42df97
cmp ax, word [0x4c0400]
je 0x42df97
test ebx, ebx
je 0x42df62
mov word [esi], ax
add esi, 2
mov dword [esp + 0x18], esi
jmp 0x42df66
add dword [esp + 0x1c], edi
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x42df44
add ebx, edi
mov dword [esp + 0x20], ebx
cmp ebx, 2
jl 0x42dbe5
xor ecx, ecx
mov word [esi], cx
cmp byte [ebp + 0x17], cl
jne 0x42e2bb
mov esi, dword [ebp + 0xc]
jmp 0x42e2bd
movzx eax, word [ecx]
test ax, ax
je 0x42df72
cmp ax, dx
jne 0x42e0ef
test ebx, ebx
je 0x42e0d1
movzx eax, word [ecx + 2]
lea edx, [eax - 0x61]
cmp edx, 0x15
ja case.0x42dfc7.99
movzx edx, byte [edx + 0x42e3e8]
jmp dword [edx*4 + 0x42e3c8]
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov eax, 7
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov edx, 8
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov eax, 0xc
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov edx, 0xa
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov eax, 0xd
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov edx, 9
mov word [esi], dx
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
mov eax, 0xb
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
mov word [esi], ax
add esi, 2
add ecx, 2
mov dword [esp + 0x18], esi
add ecx, 2
jmp 0x42df30
add dword [esp + 0x1c], edi
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
add ecx, 2
add ecx, 2
jmp 0x42df30
lea edx, [ecx + 2]
mov ebp, edx
movzx eax, word [ebp]
test ax, ax
je 0x42e295
mov si, word [0x4c0400]
cmp ax, si
je 0x42e130
movzx eax, word [ebp + 2]
add ebp, 2
test ax, ax
jne 0x42e108
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
add ecx, 2
jmp 0x42df30
cmp word [ebp], 0
je 0x42e295
mov edi, ebp
sub edi, ecx
sar edi, 1
dec edi
je 0x42e293
cmp edi, 0xfd
ja 0x42e293
push edi
push edx
lea ecx, [esp + 0x48]
push ecx
call fcn.0048d334
xor edx, edx
add esp, 0xc
mov word [esp + edi*2 + 0x40], dx
cmp word [esp + 0x40], dx
je 0x42e2ac
lea eax, [esp + 0x27]
push eax
push 3
lea ecx, [esp + 0x40]
push ecx
push edi
lea edx, [esp + 0x50]
push edx
mov ecx, 0x4c6048
call fcn.004204f0
test eax, eax
jne 0x42e1b3
cmp byte [esp + 0x27], al
mov ecx, dword [esp + 0x38]
setne al
lea edx, [esp + 0x40]
inc eax
push eax
push ecx
push 0x4c6048
mov ecx, edi
call fcn.00420790
mov esi, eax
test esi, esi
je 0x42e2ac
cmp byte [esi + 0x17], 0
jne 0x42e1c6
mov esi, dword [esi + 0xc]
cmp esi, dword [esp + 0x248]
je 0x42e293
cmp dword [esp + 0x20], 0
je 0x42e204
mov edi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.00474600
mov ebx, dword [esp + 0x20]
lea edx, [edi + eax*2]
mov ecx, ebp
mov ebp, dword [esp + 0x248]
mov dword [esp + 0x18], edx
add ecx, 2
mov esi, edx
jmp 0x42df30
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x42e20d
jmp dword [eax*4 + 0x42e400]
mov eax, esi
call fcn.00401160
cmp dword [0x4c404c], 0
jne 0x42e256
cmp dword [esi + 0xc], 0
jne 0x42e256
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 0x42e24c
mov dword [0x4c7718], 0
dec eax
jmp 0x42e28f
mov dword [0x4c7718], esi
xor eax, eax
jmp 0x42e28f
mov eax, dword [esi + 0xc]
shr eax, 1
jmp 0x42e28f
mov ecx, dword [esi + 0xc]
push 0
call fcn.00474600
jmp 0x42e28f
xor ecx, ecx
mov ebx, 0x4c6b48
call fcn.00403b00
cmp eax, 0xffffffff
jne 0x42e28f
xor eax, eax
jmp 0x42e28f
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, ebp
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x248]
mov ebx, dword [esp + 0x20]
add ecx, 2
jmp 0x42df30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 8
mov esi, ebp
test byte [esi + 0x15], 8
je 0x42e2ca
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42e2e3
test byte [esi + 0x15], 4
je 0x42e2de
mov eax, esi
call fcn.0042f790
mov eax, dword [esi + 8]
jmp 0x42e336
cmp al, 2
jne 0x42e331
mov eax, dword [0x4c6b54]
test eax, eax
jne 0x42e336
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call esi
test eax, eax
jne 0x42e314
push 0xf
call esi
test eax, eax
je 0x42e30d
mov eax, 0x49e81c
jmp 0x42e336
mov eax, 0x49e828
jmp 0x42e336
xor ecx, ecx
mov ebx, 0x4c6b48
call fcn.00403b00
cmp eax, 0xffffffff
mov eax, 0x49e828
je 0x42e336
mov eax, dword [0x4c6b50]
jmp 0x42e336
mov eax, 0x4c5ff0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e340
sub eax, edx
sar eax, 1
mov edi, eax
cmp byte [ebp + 0x17], cl
jne 0x42e35b
mov esi, dword [ebp + 0xc]
jmp 0x42e35d
mov esi, ebp
cmp byte [esi + 0x17], 1
jne 0x42e375
test byte [esi + 0x15], 8
je 0x42e370
mov eax, esi
call fcn.00401160
lea eax, [esi + 0xc]
jmp 0x42e37a
mov eax, 0x4c6ecc
lea edx, [edi + edi]
mov dword [eax], edx
cmp byte [ebp + 0x17], 0
jne 0x42e38a
mov eax, dword [ebp + 0xc]
jmp 0x42e38c
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x42e3b2
cmp dword [0x4c6b54], 0
je 0x42e3b2
mov ecx, 0x4c6b48
call fcn.00403d90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x234
ret 8
and byte [eax + 0x15], 0x86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x234
ret 8