Function at 0x49dd00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d6b2
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x694240]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0xa
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
push str.MacAddress
mov word [ecx], ax
call fcn.0047989e
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x54], esp
xor eax, eax
push 0xff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.SELECT_MacAddress_FROM_Win32_NetworkAdapter_WHERE__Manufacturer___Microsoft_AND_MacAddress_IS_NOT_NULL_AND_MacAddress____AND__ConfigManagerErrorCode__0_OR__ConfigManagerErrorCode__22_AND_NetConnectionStatus__0___AND_NOT_PNPDeviceID_LIKE_ROOT_
mov word [ecx], ax
call fcn.0047989e
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.004a0610
mov ebx, eax
test ebx, ebx
jns 0x49df24
sub esp, 8
lea ecx, [ebp - 0x1cc]
call fcn.0049e760
mov edx, str.Error_while_getting_adapter_mac_address._Error_Code:_0x
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1bc]
call fcn.00488be0
mov edx, eax
test edx, edx
jne 0x49de0f
xor ecx, ecx
jmp 0x49de16
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
mov ecx, edx
push ebx
call fcn.0049e940
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.0049e8c0
mov ebx, eax
add esi, 0x1c
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x49de75
cmp dword [esi + 0x14], 8
jb 0x49de5a
push dword [esi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.004797a6
mov byte [ebp - 4], 5
cmp dword [ebp - 0x30], 8
jb 0x49de8a
push dword [ebp - 0x44]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
push 0x6646b4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov word [edi], ax
call fcn.0047989e
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 2
call fcn.0049e840
lea ecx, [ebp - 0x164]
call fcn.004809c7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x49e28b
mov ebx, dword [ebp - 0x4c]
mov esi, eax
cmp eax, ebx
je 0x49e26d
cmp dword [esi + 0x14], 8
jb 0x49df05
push dword [esi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x49def5
jmp 0x49e26a
mov ebx, dword [ebp - 0x4c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x50]
mov ecx, ebx
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x49e067
sub esp, 8
lea ecx, [ebp - 0x11c]
call fcn.0049e760
mov edx, str.No_valid_adapter_mac_address_was_found
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10c]
call fcn.00488be0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0049e8c0
mov ecx, eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x5c]
add eax, 0x1c
mov byte [ebp - 4], 8
mov dword [ebp - 0x5c], eax
cmp eax, ecx
je 0x49dfbd
cmp dword [eax + 0x14], 8
jb 0x49dfa2
push dword [eax]
call fcn.004e54ee
mov eax, dword [ebp - 0x5c]
add esp, 4
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov dword [eax + 0x14], 7
push ecx
mov dword [eax + 0x10], 0
mov ecx, eax
mov word [eax], dx
call fcn.004797a6
mov byte [ebp - 4], 7
cmp dword [ebp - 0x30], 8
jb 0x49dfd2
push dword [ebp - 0x44]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
push 0x6646b4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov word [edi], ax
call fcn.0047989e
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 2
call fcn.0049e840
lea ecx, [ebp - 0xb4]
call fcn.004809c7
mov byte [ebp - 4], 1
test esi, esi
je 0x49e28b
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x49e26d
cmp dword [esi + 0x14], 8
jb 0x49e048
push dword [esi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x49e038
jmp 0x49e26a
push fcn.0049e710
push eax
mov edx, ebx
mov ecx, esi
call fcn.0049f050
lea eax, [ebp - 0x2c]
add esp, 8
cmp eax, esi
je 0x49e08c
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.0047980b
cmp dword [ebp - 0x1c], 0
jne 0x49e1bf
sub esp, 8
lea ecx, [ebp - 0x27c]
call fcn.0049e760
mov edx, str.Mac_address_wasnt_found
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x26c]
call fcn.00488be0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0049e8c0
mov ecx, eax
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x5c]
add eax, 0x1c
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x54], eax
cmp eax, ecx
je 0x49e10e
cmp dword [eax + 0x14], 8
jb 0x49e0f3
push dword [eax]
call fcn.004e54ee
mov eax, dword [ebp - 0x54]
add esp, 4
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov dword [eax + 0x14], 7
push ecx
mov dword [eax + 0x10], 0
mov ecx, eax
mov word [eax], dx
call fcn.004797a6
mov byte [ebp - 4], 9
cmp dword [ebp - 0x30], 8
jb 0x49e123
push dword [ebp - 0x44]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
push 0x6646b4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov word [edi], ax
call fcn.0047989e
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 2
call fcn.0049e840
lea ecx, [ebp - 0x214]
call fcn.004809c7
mov byte [ebp - 4], 1
test esi, esi
je 0x49e28b
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x49e26d
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x49e1a0
push dword [esi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x49e190
jmp 0x49e26a
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x18], 8
jae 0x49e1f0
mov eax, dword [ebp - 0x1c]
inc eax
je 0x49e204
add eax, eax
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.005714f0
add esp, 0xc
jmp 0x49e204
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x5d]
call fcn.0047de42
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x49e28b
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x49e26d
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x49e250
push dword [esi]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x49e240
mov eax, dword [ebp - 0x50]
push eax
call fcn.004e54ee
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x49e2a0
push dword [ebp - 0x2c]
call fcn.004e54ee
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005712ac
mov esp, ebp
pop ebp
ret 4