Function at 0x466d6c
Capabilities:
Get hostname
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x466d74
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x467126
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 1], 1
xor edx, edx
push ebp
push 0x4670be
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
lea eax, [ebp - 8]
call fcn.004659b0
call fcn.00420e2c
call fcn.004209d0
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x466dd7
mov byte [ebp - 1], 0
mov eax, 0x467140
call fcn.00466bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670e0
or ebx, 0xffffffff
cmp dword [ebp - 8], 0
je 0x466e27
call fcn.00420e2c
call fcn.004209d0
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x466e27
mov eax, dword [0x46d448]
cmp dword [eax], 2
jne 0x466e0d
call fcn.00420e2c
mov dword [eax + 0x14], ebx
jmp 0x466e27
call fcn.00420e2c
call fcn.00420920
cmp ebx, eax
je 0x466e27
call fcn.00420e2c
mov edx, ebx
call fcn.00420938
mov eax, dword [0x46d448]
cmp dword [eax], 2
jne 0x466ed1
cmp ebx, 0xffffffff
jne 0x466ed1
xor esi, esi
jmp 0x466ea0
call fcn.00420e2c
call fcn.004209d0
lea ecx, [ebp - 0x130]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00408030
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x134]
mov eax, 0x46718c
call fcn.00408030
mov eax, dword [ebp - 0x134]
pop edx
call fcn.00404184
test eax, eax
jle 0x466e94
inc esi
jmp 0x466ea0
mov ebx, esi
call fcn.00420e2c
mov dword [eax + 0x14], esi
jmp 0x466eb3
call fcn.00420e2c
call fcn.004209d0
mov edx, dword [eax]
call dword [edx + 0x14]
cmp esi, eax
jl 0x466e42
inc ebx
jne 0x466ed1
mov byte [ebp - 1], 0
mov eax, 0x4671a4
call fcn.00466bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670e0
cmp dword [0x46cdf8], 0
jne 0x466ef1
mov eax, 0x4671fc
call fcn.00466bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670e0
mov eax, dword [0x46cdcc]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0x46cde0
mov ecx, dword [0x46cdf8]
mov edx, 0x14
call fcn.004624d4
test al, al
je 0x4670ac
xor eax, eax
push ebp
push 0x4670a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x467234
mov edx, 0x467250
mov eax, dword [0x46cde0]
call fcn.0046241c
mov eax, dword [ebp - 0x10]
mov edx, 0x467280
call fcn.00403fa8
je 0x466f95
mov byte [ebp - 1], 0
push 0x467290
push dword [ebp - 0x10]
push 0x4672c0
push 0x467280
push 0x4672ec
lea eax, [ebp - 0x138]
mov edx, 5
call fcn.00403f58
mov eax, dword [ebp - 0x138]
call fcn.00466bb4
call fcn.004036cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670e0
lea eax, [ebp - 0x18]
call fcn.00403c18
mov dword [ebp - 0x20], 0x105
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x125]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x466fd7
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x125]
call fcn.00408964
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x18]
call fcn.00408030
lea eax, [ebp - 0x14]
mov edx, 0x467310
call fcn.00465db0
mov eax, dword [ebp - 0x14]
call fcn.00404d8c
mov esi, eax
test esi, esi
jl 0x46708d
inc esi
xor ebx, ebx
lea eax, [ebp - 0x1c]
call fcn.00403c18
mov eax, ebx
shl eax, 2
mov edx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 0x10], 0
je 0x467060
lea eax, [ebp - 0x140]
push eax
push 0x46732c
mov eax, ebx
shl eax, 2
mov edx, dword [ebp - 0x14]
push dword [edx + eax*8 + 0x10]
push 0x467368
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00403f58
mov edx, dword [ebp - 0x144]
mov ecx, 0x467374
mov eax, dword [0x46cde0]
call fcn.0046241c
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x1c]
call fcn.00408030
cmp dword [ebp - 0x1c], 0
je 0x467073
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.00403fa8
jne 0x467085
mov eax, ebx
shl eax, 2
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*8]
mov dl, 1
call fcn.004660b0
inc ebx
dec esi
jne 0x466ff9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4670b4
mov eax, 0x46cde0
call fcn.0046264c
ret
mov eax, dword [ebp - 0xc]
call fcn.00466bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4670e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46712d
lea eax, [ebp - 0x144]
mov edx, 7
call fcn.00403c3c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403c3c
lea eax, [ebp - 0x14]
mov edx, dword [0x4658d8]
call fcn.00404f4c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403c3c
ret