Function at 0x624f70
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 0xc4]
mov ecx, 0x31
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 0
jne 0x624fa2
mov dword [ebp + 8], 0x938cd8
mov dword [ebp + 0xc], 0x200
cmp dword [ebp + 0xc], 0
jge 0x624faf
mov dword [ebp + 0xc], closesocket
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 2
je 0x625125
cmp dword [ebp - 0xc4], 3
je 0x624fd3
jmp 0x6251eb
mov eax, dword [ebp + 0x20]
push eax
call fcn.00625800
add esp, 4
push eax
push str.DRIVER_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00535be2
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
push str.HOST_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
push str.SERVERtms_server_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
push str.SERVICE1525_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053481e
add esp, 0xc
push str.PROTOCOLontlitcp_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053481e
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x62507a
mov eax, dword [ebp + 0x14]
push eax
push str.DATABASE_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x6250a3
mov eax, dword [ebp + 0x18]
push eax
push str.UID_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x6250c2
mov eax, dword [ebp + 0x1c]
push eax
push str.PWD_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
push str.informix_
push 0
call fcn.005341e3
add esp, 8
push eax
push str.TDLL_sbinigo4n304.dll_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053481e
add esp, 0x10
push str.TRANSLATIONOPTION0_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053481e
add esp, 0xc
push str.informix_
push 0
call fcn.005341e3
add esp, 8
mov esi, esp
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp esi, esp
call fcn.00535fca
jmp 0x62528c
mov eax, dword [ebp + 0x20]
push eax
call fcn.00625800
add esp, 4
push eax
push str.Driver_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00535be2
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x625170
mov eax, dword [ebp + 0x18]
push eax
push str.UID_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
cmp dword [ebp + 0x1c], 0
je 0x62518f
mov eax, dword [ebp + 0x1c]
push eax
push str.PWD_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 0x14]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x6251b8
mov eax, dword [ebp + 0x14]
push eax
push str.DBN_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
push str.ENGdefault_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053481e
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
jmp 0x62528c
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.00625800
add esp, 4
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00535be2
add esp, 0x14
mov eax, dword [ebp + 0x14]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x62523a
mov eax, dword [ebp + 0x14]
push eax
push str.DATABASE_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 0x18]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x625263
mov eax, dword [ebp + 0x18]
push eax
push str.USER_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00532325
add esp, 4
test eax, eax
jne 0x62528c
mov eax, dword [ebp + 0x1c]
push eax
push str.PASSWORD_s_
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053481e
add esp, 0x10
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.00535fca
mov esp, ebp
pop ebp
ret