Function at 0x42b9c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x17], 0
push esi
push edi
jne 0x42b9de
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
push 0xfd
lea eax, [esp + 0x45]
push 0
push eax
mov byte [esp + 0x4c], 0
call fcn.00487c20
mov esi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x1c]
xor edx, edx
cmp dword [esp + 0x24], edx
je 0x42bd37
mov al, byte [ebx + 0x17]
mov esi, edi
mov dword [esp + 0x18], esi
test al, al
jne 0x42ba48
mov ecx, dword [ebx + 0xc]
push 1
push edx
push edi
push edx
call fcn.0046ede0
cmp eax, 1
jne 0x42c064
cmp byte [ebx + 0x17], 0
jne 0x42bcef
mov esi, dword [ebx + 0xc]
jmp 0x42bcf1
mov byte [esp + 0x17], 1
mov cl, 1
cmp edi, 0xffffffff
jne 0x42ba5e
xor cl, cl
mov dword [esp + 0x18], edx
mov esi, edx
jmp 0x42ba62
mov byte [esp + 0x17], dl
lea edi, [esi + 1]
cmp al, 2
jne 0x42ba8f
cmp byte [esp + 0x17], dl
je 0x42ba7d
push 0x4927e9
mov eax, esi
call fcn.00403da0
jmp 0x42ba2d
mov esi, 0x4a4c84
call fcn.00403e20
neg eax
sbb eax, eax
neg eax
jmp 0x42ba2d
mov esi, dword [0x49f39c]
cmp edi, esi
jbe 0x42bab7
cmp edi, dword [ebx + 0x10]
jbe 0x42bab7
push 0x4927e9
push str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
jmp 0x42ba2d
cmp edi, 2
jae 0x42bad5
xor edx, edx
test cl, cl
setne dl
xor al, al
mov ecx, ebx
add edx, 3
push edx
call fcn.0046f2f0
jmp 0x42ba36
mov al, byte [ebx + 0x15]
test al, 2
je 0x42baf1
and al, 0x3d
mov byte [ebx + 0x15], al
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [0x49f39c]
mov edx, dword [ebx + 0x10]
and byte [ebx + 0x15], 0x82
cmp edi, edx
jbe 0x42bb1f
mov cl, byte [ebx + 0x14]
cmp cl, 1
jbe 0x42bb5c
cmp cl, 2
je 0x42bb9b
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
and byte [ebx + 0x15], 0x7f
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], edi
cmp byte [esp + 0x17], 0
je 0x42bcdd
mov eax, dword [ebx + 8]
cmp eax, 0x4927e9
je 0x42bb47
mov edx, dword [esp + 0x18]
push edx
push 0x4927e9
push eax
call fcn.0047f5f0
add esp, 0xc
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
mov byte [ecx + eax], 0
mov eax, ecx
mov dword [ebx + 0xc], eax
jmp 0x42ba36
cmp edi, 0x40
ja 0x42bb9b
cmp edi, 4
ja 0x42bb6d
mov edi, 4
jmp 0x42bb7b
mov eax, 8
cmp eax, edi
sbb edi, edi
and edi, 0x38
add edi, eax
mov eax, edi
mov dword [esp + 0x10], edi
call fcn.004698a0
mov dword [esp + 0x38], eax
test eax, eax
je 0x42c064
mov byte [ebx + 0x14], 1
jmp 0x42bb11
cmp edi, 0x10
jae 0x42bbaa
mov edi, 0x10
jmp 0x42bc5a
cmp edi, 0x104
jae 0x42bbbc
mov edi, 0x104
jmp 0x42bc5a
cmp edi, 0x28000
jae 0x42bc00
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
test edi, edi
jns 0x42bbd6
fadd qword [0x49a278]
fmul qword [0x49a288]
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 edi, dword [esp + 0x28]
fldcw word [esp + 0x10]
jmp 0x42bc5a
cmp edi, 0x190000
jae 0x42bc10
add edi, 0x4000
jmp 0x42bc5a
cmp edi, 0x640000
jae 0x42bc54
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
test edi, edi
jns 0x42bc2a
fadd qword [0x49a278]
fmul qword [0x49a280]
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 edi, dword [esp + 0x28]
fldcw word [esp + 0x10]
jmp 0x42bc5a
add edi, 0x10000
mov dword [esp + 0x10], edi
cmp edi, esi
jbe 0x42bc66
mov dword [esp + 0x10], esi
cmp cl, 2
jne 0x42bca9
test edx, edx
je 0x42bca9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov bl, 1
call fcn.0047ea48
add esp, 4
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
jl 0x42bcad
push eax
call fcn.0047ebe9
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, edi
je 0x42bcad
mov eax, dword [ebp + 8]
mov byte [eax + 0x14], 2
mov ebx, eax
jmp 0x42bb0d
xor bl, bl
jmp 0x42bc80
test bl, bl
je 0x42bcc1
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edi
mov dword [eax + 8], 0x4a453d
mov dword [eax + 0xc], edi
push 0x4927e9
push str.Out_of_memory.
mov ecx, 0x4a4ca0
call fcn.0042cfa0
mov ebx, dword [ebp + 8]
jmp 0x42ba2d
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x18]
mov byte [edx], 0
mov dword [ebx + 0xc], eax
jmp 0x42ba36
mov esi, ebx
test byte [esi + 0x15], 8
je 0x42bcfe
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42bd1b
test byte [esi + 0x15], 4
je 0x42bd12
mov eax, esi
call fcn.0042d510
mov esi, dword [esi + 8]
mov dword [esp + 0x18], esi
jmp 0x42bd3b
cmp al, 2
jne 0x42bd2c
call fcn.00401000
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x42bd3b
mov esi, 0x4a453d
mov dword [esp + 0x18], esi
jmp 0x42bd3b
mov dword [esp + 0x1c], edx
mov ecx, dword [ebp + 0xc]
mov edi, edi
mov al, byte [ecx]
test al, al
je 0x42c044
mov dl, byte [0x49f3be]
cmp al, dl
je 0x42bd7d
cmp al, byte [0x49f3bd]
je 0x42bd7a
cmp dword [esp + 0x24], 0
je 0x42bd70
mov ebx, dword [ebp + 8]
mov byte [esi], al
inc esi
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
inc dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov al, byte [ecx]
test al, al
je 0x42c044
cmp al, dl
jne 0x42be5b
cmp dword [esp + 0x24], 0
je 0x42be49
mov al, byte [ecx + 1]
movsx edx, al
add edx, 0xffffff9f
cmp edx, 0x15
ja case.0x42bdb3.99
movzx edx, byte [edx + 0x42c18c]
jmp dword [edx*4 + 0x42c16c]
mov ebx, dword [ebp + 8]
mov byte [esi], 7
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 8
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 0xc
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 0xa
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 0xd
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 9
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], 0xb
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
mov ebx, dword [ebp + 8]
mov byte [esi], al
inc esi
inc ecx
mov dword [esp + 0x18], esi
inc ecx
jmp 0x42bd40
inc dword [esp + 0x1c]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x18]
inc ecx
inc ecx
jmp 0x42bd40
lea esi, [ecx + 1]
mov ebx, esi
mov al, byte [ebx]
test al, al
je 0x42c037
lea ebx, [ebx]
cmp al, byte [0x49f3bd]
je 0x42be8d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x42be70
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x18]
inc ecx
jmp 0x42bd40
cmp byte [ebx], 0
je 0x42c037
mov edi, ebx
sub edi, ecx
dec edi
je 0x42c035
cmp edi, 0xfd
ja 0x42c035
push edi
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00481870
add esp, 0xc
mov byte [esp + edi + 0x40], 0
cmp byte [esp + 0x40], 0
je 0x42c064
lea ecx, [esp + 0x23]
push ecx
push 3
lea edx, [esp + 0x44]
push edx
push edi
lea eax, [esp + 0x50]
push eax
mov ecx, 0x4a4ca0
call fcn.0041f8c0
test eax, eax
jne 0x42bf0c
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp byte [esp + 0x23], cl
setne cl
inc ecx
push ecx
push edx
push 0x4a4ca0
mov ecx, edi
lea edx, [esp + 0x4c]
call fcn.0041fb50
mov esi, eax
test esi, esi
je 0x42c064
cmp byte [esi + 0x17], 0
jne 0x42bf1f
mov esi, dword [esi + 0xc]
cmp esi, dword [ebp + 8]
je 0x42c035
cmp dword [esp + 0x24], 0
je 0x42bf4e
mov edi, dword [esp + 0x18]
push edi
mov ecx, esi
call fcn.0046f110
add edi, eax
mov ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], edi
inc ecx
mov esi, edi
jmp 0x42bd40
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x42bf5b
jmp dword [eax*4 + 0x42c1a4]
mov eax, esi
call fcn.00401150
cmp dword [0x4a2d94], 0
jne 0x42bfc6
cmp dword [esi + 0xc], 0
jne 0x42bfc6
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 0x42bfab
mov esi, dword [esp + 0x18]
dec eax
add dword [esp + 0x1c], eax
mov ecx, ebx
mov ebx, dword [ebp + 8]
mov dword [0x4a5d20], 0
inc ecx
jmp 0x42bd40
mov dword [0x4a5d20], esi
mov esi, dword [esp + 0x18]
xor eax, eax
add dword [esp + 0x1c], eax
mov ecx, ebx
mov ebx, dword [ebp + 8]
inc ecx
jmp 0x42bd40
mov eax, dword [esi + 0xc]
add dword [esp + 0x1c], eax
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov ebx, dword [ebp + 8]
inc ecx
jmp 0x42bd40
mov ecx, dword [esi + 0xc]
push 0
call fcn.0046f110
add dword [esp + 0x1c], eax
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov ebx, dword [ebp + 8]
inc ecx
jmp 0x42bd40
push 0x4a4c84
xor ecx, ecx
call fcn.00403c10
cmp eax, 0xffffffff
jne 0x42c031
mov esi, dword [esp + 0x18]
xor eax, eax
add dword [esp + 0x1c], eax
mov ecx, ebx
mov ebx, dword [ebp + 8]
inc ecx
jmp 0x42bd40
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, ebx
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x18]
inc ecx
jmp 0x42bd40
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 2
jl 0x42ba03
mov byte [esi], 0
cmp byte [ebx + 0x17], 0
jne 0x42c06f
mov esi, dword [ebx + 0xc]
jmp 0x42c071
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, ebx
test byte [esi + 0x15], 8
je 0x42c07e
mov eax, esi
call fcn.00401150
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x42c097
test byte [esi + 0x15], 4
je 0x42c092
mov eax, esi
call fcn.0042d510
mov eax, dword [esi + 8]
jmp 0x42c0ea
cmp al, 2
jne 0x42c0e5
mov eax, dword [0x4a4c90]
test eax, eax
jne 0x42c0ea
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x42c0c8
push 0xf
call esi
test eax, eax
je 0x42c0c1
mov eax, str.____
jmp 0x42c0ea
mov eax, 0x4927e9
jmp 0x42c0ea
push 0x4a4c84
xor ecx, ecx
call fcn.00403c10
cmp eax, 0xffffffff
mov eax, 0x4927e9
je 0x42c0ea
mov eax, dword [0x4a4c8c]
jmp 0x42c0ea
mov eax, 0x4a453d
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c0f0
sub eax, edx
mov edi, eax
cmp byte [ebx + 0x17], cl
jne 0x42c105
mov esi, dword [ebx + 0xc]
jmp 0x42c107
mov esi, ebx
cmp byte [esi + 0x17], 1
jne 0x42c11f
test byte [esi + 0x15], 8
je 0x42c11a
mov eax, esi
call fcn.00401150
lea eax, [esi + 0xc]
jmp 0x42c124
mov eax, 0x4a54d0
mov dword [eax], edi
cmp byte [ebx + 0x17], 0
jne 0x42c131
mov eax, dword [ebx + 0xc]
jmp 0x42c133
mov eax, ebx
cmp byte [eax + 0x17], 2
jne 0x42c157
cmp dword [0x4a4c90], 0
je 0x42c157
push 1
mov ecx, 0x4a4c84
call fcn.00403e90
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