Function at 0x100082b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ee83
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x1002c0b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], edi
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
sub esp, 0x1c
mov esi, esp
mov byte [ebp - 4], 1
mov dword [esi + 0x14], eax
mov dword [ebp - 0x64], esp
xor edx, edx
mov dword [esi + 0x10], edi
push 0xa
mov eax, str.MacAddress
mov word [esi], dx
call fcn.100029d0
sub esp, 0x1c
mov esi, esp
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov dword [ebp - 0x68], esp
mov word [esi], ax
push 0xff
mov eax, 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_
call fcn.100029d0
mov ecx, dword [ebp - 0x50]
add ecx, 0x3c
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.1000a6d0
mov esi, eax
cmp esi, edi
jge 0x1000848d
mov dword [ebp - 0x114], 0x10028510
mov dword [ebp - 0x104], 0x10028518
mov dword [ebp - 0xb4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x64], 2
call fcn.100038f0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp + edx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.100043d0
mov dword [ebp - 0xfc], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
lea ecx, [ebp - 0x104]
push str.Error_while_getting_adapter_mac_address._Error_Code:_0x
push ecx
mov byte [ebp - 4], 6
call fcn.100055d0
add esp, 8
cmp eax, edi
je 0x1000840b
mov edx, dword [eax]
mov edi, dword [edx + 4]
add edi, eax
mov ecx, dword [edi + 0x14]
and ecx, 0xfffff9ff
push esi
or ecx, 0x800
push eax
mov dword [edi + 0x14], ecx
call fcn.100089c0
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x114]
call fcn.10003180
mov esi, dword [ebp - 0x50]
add esi, 0x20
mov edi, eax
mov byte [ebp - 4], 7
call fcn.10001db0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], 8
jb 0x10008459
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1000ccc0
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
push eax
mov eax, 0x100283b8
mov esi, ebx
call fcn.100029d0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.10002e50
jmp 0x1000863f
mov ecx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10008563
lea edx, [ebp - 0x114]
push edx
call fcn.100030e0
lea eax, [ebp - 0x104]
push str.No_valid_adapter_mac_address_was_found
push eax
mov byte [ebp - 4], 8
call fcn.100055d0
add esp, 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x114]
call fcn.10003180
mov esi, dword [ebp - 0x50]
add esi, 0x20
mov edi, eax
mov byte [ebp - 4], 9
call fcn.10001db0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x38], 8
jb 0x10008507
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1000ccc0
add esp, 4
xor edx, edx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edx
mov eax, 0x100283b8
mov esi, ebx
mov word [ebx], dx
call fcn.100029d0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.10002e50
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x10008550
mov edi, dword [ebp - 0x5c]
mov eax, esi
call fcn.10008dd0
push esi
call fcn.1000ccc0
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x1000866b
mov eax, dword [ebp - 0x30]
push eax
jmp 0x10008663
mov ecx, dword [ebp - 0x5c]
push 0x10008990
push eax
push ecx
push esi
call fcn.10008f30
add esp, 0x10
push edi
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100025f0
cmp dword [ebp - 0x20], edi
jne 0x10008626
lea edx, [ebp - 0x114]
push edx
call fcn.100030e0
lea eax, [ebp - 0x104]
push str.Mac_address_wasnt_found
push eax
mov byte [ebp - 4], 0xa
call fcn.100055d0
add esp, 8
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x114]
call fcn.10003180
mov esi, dword [ebp - 0x50]
add esi, 0x20
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.10001db0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], 8
jb 0x100085e5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.1000ccc0
add esp, 4
mov eax, 0x100283b8
mov ecx, ebx
call fcn.10002ac0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 1
call fcn.10002e50
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x1000861a
mov edi, dword [ebp - 0x5c]
mov eax, esi
call fcn.10008dd0
push esi
call fcn.1000ccc0
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x1000866b
mov edx, dword [ebp - 0x30]
push edx
jmp 0x10008663
mov dword [ebx + 0x10], edi
xor eax, eax
mov dword [ebx + 0x14], 7
lea edi, [ebp - 0x30]
mov esi, ebx
mov word [ebx], ax
call fcn.10001db0
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x10008659
mov edi, dword [ebp - 0x5c]
mov eax, esi
call fcn.10008dd0
push esi
call fcn.1000ccc0
add esp, 4
cmp dword [ebp - 0x1c], 8
jb 0x1000866b
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1000ccc0
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000ccb1
mov esp, ebp
pop ebp
ret 4