Function at 0x41ee40
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp + 4], 0x4ba8b8
mov dword [esp], str.BFD_header_file_version__s_n
call sub.msvcrt.dll_printf
mov dword [esp], 0
call fcn.004a8650
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp], 0x41e980
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 4], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.0042ca80
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll__unlink
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004abfa8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x41eec7
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
mov ebx, 2
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.00423cd0
mov dword [esp], eax
call sub.msvcrt.dll_strlen
cmp esi, eax
cmovl esi, eax
add ebx, 1
cmp ebx, 0x5f
jne 0x41eece
mov dword [esp], str.COLUMNS
mov dword [esp + 0x1c], esi
call sub.msvcrt.dll_getenv
test eax, eax
je 0x41f135
mov dword [esp], eax
call sub.msvcrt.dll_atoi
test eax, eax
je 0x41f135
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x44]
sub eax, ecx
cmp dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
jge 0x41f100
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea ebx, [eax - 1]
mov ebp, ecx
imul eax, ecx, 0x64
mov dword [esp + 0x20], eax
add eax, dword [esp + 0x4c]
mov edi, eax
jmp 0x41ef6c
add ebp, 1
add edi, 0x64
cmp esi, ebp
je 0x41f110
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
lea edx, [ebx - 1]
sub edx, eax
mov ebx, edx
jns 0x41ef5e
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x4ba925
mov dword [esp], str._n_s
mov dword [esp + 0x14], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
cmp dword [esp + 0x18], ebp
je 0x41efd2
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add ebx, 1
mov eax, dword [eax + esi]
mov dword [esp], 0x4ba92c
add esi, 0x64
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
cmp ebx, edi
jne 0x41efb1
mov dword [esp], 0xa
mov ebp, 2
call sub.msvcrt.dll_putchar
jmp 0x41eff1
add ebp, 1
cmp ebp, 0x5f
je 0x41f0ea
mov dword [esp + 4], 0
mov dword [esp], ebp
mov edi, 0x4ba930
call fcn.00423cd0
mov ecx, 9
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41efe5
mov dword [esp + 4], 0
mov dword [esp], ebp
call fcn.00423cd0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], str._s
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x41f0d2
mov edi, dword [esp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x4c]
lea edx, [ebp - 2]
mov dword [esp + 0x24], ebp
add eax, edi
mov ebp, edx
cmp byte [eax + ebp + 4], 0
jne 0x41f0ab
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
test eax, eax
mov ebx, eax
je 0x41f086
mov dword [esp], 0x2d
call sub.msvcrt.dll_putchar
sub ebx, 1
jne 0x41f075
add esi, 1
add edi, 0x64
cmp esi, dword [esp + 0x14]
je 0x41f0ce
mov dword [esp], 0x20
call sub.msvcrt.dll_putchar
mov eax, dword [esp + 0x4c]
add eax, edi
cmp byte [eax + ebp + 4], 0
je 0x41f065
mov ecx, dword [sym.imp.msvcrt.dll__iob]
add esi, 1
add edi, 0x64
lea edx, [ecx + 0x20]
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
cmp esi, dword [esp + 0x14]
jne 0x41f092
mov ebp, dword [esp + 0x24]
mov dword [esp], 0xa
add ebp, 1
call sub.msvcrt.dll_putchar
cmp ebp, 0x5f
jne 0x41eff1
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], esi
jl 0x41ef42
mov eax, dword [esp + 0x40]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0x4ba925
mov dword [esp], str._n_s
mov dword [esp + 0x14], ebp
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
jmp 0x41efa5
mov eax, 0x50
jmp 0x41ef1b