Function at 0x425ea8
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, 0x582000
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 0x42608c
sub eax, 1
je 0x425fdf
sub eax, 1
jne 0x42608c
push 3
call fcn.00426186
push eax
push str.DRIVER_s_
push edi
push esi
call fcn.0042ef5e
push dword [ebp + 0x10]
push str.HOST_s_
push edi
push esi
call fcn.0042ef13
push dword [ebp + 0x10]
push str.SERVERtms_server_
push edi
push esi
call fcn.0042ef13
push str.SERVICE1525_
push edi
push esi
call fcn.0042ef13
add esp, 0x40
push str.PROTOCOLontlitcp_
push edi
push esi
call fcn.0042ef13
push dword [ebp + 0x14]
call fcn.0042dd5b
add esp, 0x10
test eax, eax
jne 0x425f59
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push dword [ebp + 0x18]
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x425f78
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x425f9a
push dword [ebp + 0x1c]
push 0
push str.zt_1BX0
call fcn.0042ed39
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push str.informix_
push 0
call fcn.0042734e
push eax
push str.TDLL_sbinigo4n304.dll_
push edi
push esi
call fcn.0042ef13
push str.TRANSLATIONOPTION0_
push edi
push esi
call fcn.0042ef13
push str.informix_
push 0
call fcn.0042734e
add esp, 0x2c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x42610d
push 2
call fcn.00426186
push eax
push str.Driver_s_
push edi
push esi
call fcn.0042ef5e
push dword [ebp + 0x18]
call fcn.0042dd5b
add esp, 0x18
test eax, eax
jne 0x426014
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x42604a
push dword [ebp + 0x1c]
mov dword [0x582200], 0x3121747a
push 0
push 0x582200
mov dword [0x582204], 0x305842
call fcn.0042ed39
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push dword [ebp + 0x14]
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x426069
push dword [ebp + 0x14]
push str.DBN_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push str.ENGdefault_
push edi
push esi
call fcn.0042ef13
push dword [ebp + 0x10]
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
push edi
push esi
call fcn.0042ef13
add esp, 0x1c
jmp 0x42610d
push dword [ebp + 0x10]
push dword [ebp + 0x20]
call fcn.00426186
pop ecx
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
push edi
push esi
call fcn.0042ef5e
push dword [ebp + 0x14]
call fcn.0042dd5b
add esp, 0x18
test eax, eax
jne 0x4260c6
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push dword [ebp + 0x18]
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x4260e5
push dword [ebp + 0x18]
push str.USER_s_
push edi
push esi
call fcn.0042ef13
add esp, 0x10
push dword [ebp + 0x1c]
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x42610d
push dword [ebp + 0x1c]
push eax
push str.t0uzu_r__RS
call fcn.0042ed39
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.0042ef13
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
ret