Function at 0x433955
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x43398c
mov eax, dword [ebx]
jmp 0x433991
mov eax, 0
test edi, edi
je 0x43399b
mov edx, dword [edi]
mov dword [esp + 0x1c], edx
test ebp, ebp
je 0x4339a6
mov edx, dword [ebp]
mov dword [esp + 0x18], edx
test esi, esi
je 0x4339b0
mov edx, dword [esi]
mov dword [esp + 0x14], edx
test ebx, ebx
setne byte [esp + 0xf]
test eax, eax
jne 0x4339fb
cmp byte [esp + 0xf], 0
je 0x4339fb
mov dword [esp], 0x4589e5
call sub.msvcrt.dll_getenv
mov dword [ebx], eax
test eax, eax
jne 0x4339fb
mov dword [esp], str._etc_default_cdrecord
call fcn.00433c10
test eax, eax
jne 0x4339fb
mov dword [esp], str.CDR_DEVICE
call fcn.00433f1f
test eax, eax
je 0x4339fb
call fcn.004335e0
mov dword [ebx], eax
cmp byte [esp + 0xf], 0
je 0x433a25
cmp dword [ebx], 0
je 0x433a25
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0x14]
mov dword [esp], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
mov eax, ebx
call fcn.0043361b
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x433a92
mov dword [esp], 0x4589fc
call sub.msvcrt.dll_getenv
mov ebx, eax
test eax, eax
jne 0x433a61
mov dword [esp], str._etc_default_cdrecord
call fcn.00433c10
test eax, eax
jne 0x433a8a
mov dword [esp], str.CDR_SPEED
call fcn.00433f1f
mov ebx, eax
test eax, eax
je 0x433a8a
mov dword [esp], ebx
call sub.msvcrt.dll_atoi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jge 0x433a8a
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Bad_speed_environment___s_._n
mov dword [esp], 0xffffffff
call fcn.0043acd9
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x433a98
test edi, edi
je 0x433a98
mov dword [edi], eax
cmp dword [esp + 0x18], 0
jns 0x433b00
mov dword [esp], 0x458a2e
call sub.msvcrt.dll_getenv
mov ebx, eax
test eax, eax
jne 0x433ad3
mov dword [esp], str._etc_default_cdrecord
call fcn.00433c10
test eax, eax
jne 0x433b00
mov dword [esp], str.CDR_FIFOSIZE
call fcn.00433f1f
mov ebx, eax
test eax, eax
je 0x433b00
lea eax, [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043d068
cmp eax, 1
je 0x433b00
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Bad_fifo_size_environment___s_._n
mov dword [esp], 0xffffffff
call fcn.0043acd9
cmp dword [esp + 0x18], 0
jle 0x433b6f
test ebp, ebp
je 0x433b6f
mov dword [esp], str._etc_default_cdrecord
call fcn.00433c10
test eax, eax
jne 0x433b68
mov dword [esp], str.CDR_MAXFIFOSIZE
call fcn.00433f1f
mov ebx, eax
test eax, eax
je 0x433b68
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043d068
cmp eax, 1
je 0x433b5a
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Bad_max_fifo_size_default___s_._n
mov dword [esp], 0xffffffff
call fcn.0043acd9
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x18], eax
jle 0x433b68
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x433bde
test esi, esi
je 0x433be8
mov dword [esp], 0x458aa1
call sub.msvcrt.dll_getenv
mov ebx, eax
test eax, eax
jne 0x433baf
mov dword [esp], str._etc_default_cdrecord
call fcn.00433c10
test eax, eax
jne 0x433bf2
mov dword [esp], str.CDR_TRANSFERSIZE
call fcn.00433f1f
mov ebx, eax
test eax, eax
je 0x433bf2
lea eax, [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0043d068
cmp eax, 1
je 0x433bf2
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Bad_transfer_size_environment___s_._n
mov dword [esp], 0xffffffff
call fcn.0043acd9
jmp 0x433bf2
test eax, eax
jle 0x433be8
test esi, esi
je 0x433be8
mov dword [esi], eax
call fcn.00433c89
lea esi, [esi]
jmp 0x433bfc
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x433be6
jmp 0x433be8
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret