Function at 0x423cb2
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov edi, 0x200
mov esi, 0x57dd18
cmovne edi, dword [ebp + 0xc]
cmovne esi, eax
test edi, edi
mov eax, closesocket
cmovs edi, eax
mov eax, dword [ebp + 0x20]
sub eax, 1
je 0x423e96
sub eax, 1
je 0x423de9
sub eax, 1
jne 0x423e96
push 3
call fcn.00423f90
push eax
push str.DRIVER_s_
push edi
push esi
call fcn.0042eb84
push dword [ebp + 0x10]
push str.HOST_s_
push edi
push esi
call fcn.0042eb39
push dword [ebp + 0x10]
push str.SERVERtms_server_
push edi
push esi
call fcn.0042eb39
push str.SERVICE1525_
push edi
push esi
call fcn.0042eb39
add esp, 0x40
push str.PROTOCOLontlitcp_
push edi
push esi
call fcn.0042eb39
push dword [ebp + 0x14]
call fcn.0042da83
add esp, 0x10
test eax, eax
jne 0x423d63
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push dword [ebp + 0x18]
call fcn.0042da83
pop ecx
test eax, eax
jne 0x423d82
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x423da4
push dword [ebp + 0x1c]
push 0
push str.zt_1BX0
call fcn.0042e95f
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push str.informix_
push 0
call fcn.00425158
push eax
push str.TDLL_sbinigo4n304.dll_
push edi
push esi
call fcn.0042eb39
push str.TRANSLATIONOPTION0_
push edi
push esi
call fcn.0042eb39
push str.informix_
push 0
call fcn.00425158
add esp, 0x2c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x423f17
push 2
call fcn.00423f90
push eax
push str.Driver_s_
push edi
push esi
call fcn.0042eb84
push dword [ebp + 0x18]
call fcn.0042da83
add esp, 0x18
test eax, eax
jne 0x423e1e
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x423e54
push dword [ebp + 0x1c]
mov dword [0x57df18], 0x3121747a
push 0
push 0x57df18
mov dword [0x57df1c], 0x305842
call fcn.0042e95f
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push dword [ebp + 0x14]
call fcn.0042da83
pop ecx
test eax, eax
jne 0x423e73
push dword [ebp + 0x14]
push str.DBN_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push str.ENGdefault_
push edi
push esi
call fcn.0042eb39
push dword [ebp + 0x10]
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
push edi
push esi
call fcn.0042eb39
add esp, 0x1c
jmp 0x423f17
push dword [ebp + 0x10]
push dword [ebp + 0x20]
call fcn.00423f90
pop ecx
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
push edi
push esi
call fcn.0042eb84
push dword [ebp + 0x14]
call fcn.0042da83
add esp, 0x18
test eax, eax
jne 0x423ed0
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push dword [ebp + 0x18]
call fcn.0042da83
pop ecx
test eax, eax
jne 0x423eef
push dword [ebp + 0x18]
push str.USER_s_
push edi
push esi
call fcn.0042eb39
add esp, 0x10
push dword [ebp + 0x1c]
call fcn.0042da83
pop ecx
test eax, eax
jne 0x423f17
push dword [ebp + 0x1c]
push eax
push str.t0uzu_r__RS
call fcn.0042e95f
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042eb39
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
ret