Function at 0x434e06
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, 0x5b7948
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 0x434fea
sub eax, 1
je 0x434f3d
sub eax, 1
jne 0x434fea
push 3
call fcn.004350e4
push eax
push str.DRIVER_s_
push edi
push esi
call fcn.0045285b
push dword [ebp + 0x10]
push str.HOST_s_
push edi
push esi
call fcn.00452810
push dword [ebp + 0x10]
push str.SERVERtms_server_
push edi
push esi
call fcn.00452810
push str.SERVICE1525_
push edi
push esi
call fcn.00452810
add esp, 0x40
push str.PROTOCOLontlitcp_
push edi
push esi
call fcn.00452810
push dword [ebp + 0x14]
call fcn.00451684
add esp, 0x10
test eax, eax
jne 0x434eb7
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
push dword [ebp + 0x18]
call fcn.00451684
pop ecx
test eax, eax
jne 0x434ed6
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x434ef8
push dword [ebp + 0x1c]
push 0
push str.zt_1BX0
call fcn.00452636
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.00452810
add esp, 0x10
push str.informix_
push 0
call fcn.0043e0cb
push eax
push str.TDLL_sbinigo4n304.dll_
push edi
push esi
call fcn.00452810
push str.TRANSLATIONOPTION0_
push edi
push esi
call fcn.00452810
push str.informix_
push 0
call fcn.0043e0cb
add esp, 0x2c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x43506b
push 2
call fcn.004350e4
push eax
push str.Driver_s_
push edi
push esi
call fcn.0045285b
push dword [ebp + 0x18]
call fcn.00451684
add esp, 0x18
test eax, eax
jne 0x434f72
push dword [ebp + 0x18]
push str.UID_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x434fa8
push dword [ebp + 0x1c]
mov dword [0x5b7b48], 0x3121747a
push 0
push 0x5b7b48
mov dword [0x5b7b4c], 0x305842
call fcn.00452636
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.00452810
add esp, 0x10
push dword [ebp + 0x14]
call fcn.00451684
pop ecx
test eax, eax
jne 0x434fc7
push dword [ebp + 0x14]
push str.DBN_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
push str.ENGdefault_
push edi
push esi
call fcn.00452810
push dword [ebp + 0x10]
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
push edi
push esi
call fcn.00452810
add esp, 0x1c
jmp 0x43506b
push dword [ebp + 0x10]
push dword [ebp + 0x20]
call fcn.004350e4
pop ecx
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
push edi
push esi
call fcn.0045285b
push dword [ebp + 0x14]
call fcn.00451684
add esp, 0x18
test eax, eax
jne 0x435024
push dword [ebp + 0x14]
push str.DATABASE_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
push dword [ebp + 0x18]
call fcn.00451684
pop ecx
test eax, eax
jne 0x435043
push dword [ebp + 0x18]
push str.USER_s_
push edi
push esi
call fcn.00452810
add esp, 0x10
push dword [ebp + 0x1c]
call fcn.00451684
pop ecx
test eax, eax
jne 0x43506b
push dword [ebp + 0x1c]
push eax
push str.t0uzu_r__RS
call fcn.00452636
pop ecx
pop ecx
push eax
push edi
push esi
call fcn.00452810
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
ret