Function at 0x53d9c0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6204
mov eax, dword fs:[0]
push eax
mov eax, 0x1260
call fcn.0055af50
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x10]
push esi
call fcn.00566851
mov edi, eax
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x10e]
push ecx
mov word [ebp - 0x110], ax
call fcn.0055aed0
push edi
push str._b__d__Y__H:_M:_S
lea edx, [ebp - 0x110]
push 0x7f
push edx
call fcn.00564156
xor edi, edi
push edi
call fcn.0055ae71
mov ecx, dword [esi]
mov esi, dword [esi + 4]
push esi
push ecx
push edx
push eax
call fcn.0055bc94
fstp qword [ebp - 0x125c]
mov eax, 7
xor ecx, ecx
add esp, 0x34
mov dword [ebp - 0x1154], eax
mov dword [ebp - 0x1158], edi
mov word [ebp - 0x1168], cx
mov dword [ebp - 4], edi
xor edx, edx
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x113c], edi
mov word [ebp - 0x114c], dx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x114c]
push eax
lea ecx, [ebp - 0x1168]
push ecx
mov ecx, ebx
call fcn.0053c5f0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53db25
push 0x3fe
lea ecx, [ebp - 0x616]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x618], ax
call fcn.0055aed0
mov eax, dword [ebp - 0x1168]
add esp, 0xc
cmp dword [ebp - 0x1154], 8
jae 0x53dadb
lea eax, [ebp - 0x1168]
push eax
push str._ENV__Current_Process:__s
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x14
test al, al
je 0x53db25
mov edx, dword [ebx + 8]
push 0x62b628
push 0xb5
push str.ReportEnvironment::ReportEnvironmentVersions
lea ecx, [ebp - 0x618]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53dbc9
push 0x3fe
lea edx, [ebp - 0x616]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x618], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x114c]
add esp, 0xc
cmp dword [ebp - 0x1138], 8
jae 0x53db6c
lea eax, [ebp - 0x114c]
fld qword [ebp - 0x125c]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x110]
push ecx
push eax
push str._ENV__Current_Process_logged_on_as:__s__Start_Time:__s__Uptime__seconds_:__.f
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53dbc9
mov edx, dword [ebx + 8]
push 0x62b628
push 0xb7
push str.ReportEnvironment::ReportEnvironmentVersions
lea ecx, [ebp - 0x618]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53dc47
push 0x3fe
lea edx, [ebp - 0x616]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x618], cx
call fcn.0055aed0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._ENV__Current_Process_id:__d
lea eax, [ebp - 0x618]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x14
test al, al
je 0x53dc47
mov eax, dword [ebx + 8]
push 0x62b628
push 0xb8
push str.ReportEnvironment::ReportEnvironmentVersions
lea edx, [ebp - 0x618]
push edx
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1138], 8
jb 0x53dc63
mov ecx, dword [ebp - 0x114c]
push ecx
call fcn.00558723
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x113c], edi
mov word [ebp - 0x114c], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1154], 8
jb 0x53dc9c
mov eax, dword [ebp - 0x1168]
push eax
call fcn.00558723
add esp, 4
push 0x1fe
lea eax, [ebp - 0xa1e]
xor ecx, ecx
xor edx, edx
push edi
push eax
mov dword [ebp - 0x1154], esi
mov dword [ebp - 0x1158], edi
mov word [ebp - 0x1168], cx
mov word [ebp - 0xa20], dx
call fcn.0055aed0
add esp, 0xc
lea ecx, [ebp - 0x1258]
push ecx
lea edx, [ebp - 0xa20]
push edx
push 1
mov dword [ebp - 0x1258], 0xff
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x53dd17
jmp 0x53dd00
movzx ecx, word [eax + str.Unknown]
mov word [ebp + eax - 0xa20], cx
add eax, 2
cmp cx, di
jne 0x53dd00
push 0x11c
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.0055aed0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - 0x12c], 0x11c
call esi
test eax, eax
je 0x53dddb
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53de8a
push 0x3fe
lea ecx, [ebp - 0x616]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x618], ax
call fcn.0055aed0
movzx edx, word [ebp - 0x16]
movzx eax, word [ebp - 0x18]
mov ecx, dword [ebp - 0x120]
push edx
mov edx, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x128]
push ecx
push edx
push eax
lea ecx, [ebp - 0xa20]
push ecx
push str._ENV__Computer_Host_Name:__s__OS_Version:__d._d__Build_number__d__ServicePack_Major__d__ServicePack_Minor__d
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x34
test al, al
je 0x53de8a
push 0x62b628
push 0xd3
jmp 0x53de71
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0x114
call esi
test eax, eax
je 0x53de8a
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53de8a
push 0x3fe
lea eax, [ebp - 0x616]
xor edx, edx
push edi
push eax
mov word [ebp - 0x618], dx
call fcn.0055aed0
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
push ecx
push edx
push eax
lea ecx, [ebp - 0xa20]
push ecx
push str._ENV__Computer_Host_Name:__s__OS_Version:__d._d__Build_number__d
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x2c
test al, al
je 0x53de8a
push 0x62b628
push 0xdc
mov edx, dword [ebx + 8]
push str.ReportEnvironment::ReportEnvironmentVersions
lea ecx, [ebp - 0x618]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
mov ecx, ebx
call fcn.0053d070
push edi
lea ecx, [ebp - 0x11f8]
mov byte [ebp - 0x124d], 0
call fcn.0050ed90
mov dword [ebp - 4], 2
push 0x206
lea ecx, [ebp - 0xa26]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x1248], edi
mov dword [ebp - 0x124c], edi
mov dword [ebp - 0x1254], edi
mov dword [ebp - 0x1244], edi
mov word [ebp - 0xa28], ax
call fcn.0055aed0
add esp, 0xc
push edi
push str.SYSTEMCurrentControlSetServicesTcpipServiceProvider
lea ecx, [ebp - 0x11f8]
call fcn.0050f130
test al, al
je 0x53e001
push 0x104
lea edx, [ebp - 0xa28]
push edx
push str.ProviderPath
lea ecx, [ebp - 0x11f8]
call fcn.0050d810
test al, al
je 0x53df4f
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x1244]
push ecx
lea edx, [ebp - 0x1254]
push edx
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x1248]
push ecx
lea edx, [ebp - 0xa28]
push edx
call fcn.00512b90
add esp, 0x18
mov byte [ebp - 0x124d], al
lea ecx, [ebp - 0x11f8]
call fcn.0050b020
cmp byte [ebp - 0x124d], 0
je 0x53e001
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e032
push 0x3fe
lea edx, [ebp - 0x616]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x618], cx
call fcn.0055aed0
mov ecx, dword [ebp - 0x1244]
mov edx, dword [ebp - 0x1254]
lea eax, [ebp - 0xa28]
push eax
mov eax, dword [ebp - 0x124c]
push ecx
mov ecx, dword [ebp - 0x1248]
push edx
push eax
push ecx
push str._ENV__TCP_IP_provider__Winsock__File_Version:__d._d._d._d___s_
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x30
test al, al
je 0x53e032
mov edx, dword [ebx + 8]
push 0x62b628
push 0xf5
push str.ReportEnvironment::ReportEnvironmentVersions
lea ecx, [ebp - 0x618]
push ecx
push edi
push edi
push edi
push 3
call edx
jmp 0x53e02f
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e032
mov ecx, dword [ebx + 8]
push 0x62b628
push 0xf9
push str.ReportEnvironment::ReportEnvironmentVersions
push str._ENV__Unable_to_find_TCP_IP_provider__Winsock__file_or_read_its_version_information
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
push 0xfe
lea edx, [ebp - 0xf27]
push edi
push edx
mov byte [ebp - 0xf28], 0
call fcn.0055aed0
add esp, 0xc
push 0xff
lea eax, [ebp - 0xf28]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x53e247
lea ecx, [ebp - 0xf28]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1258], eax
cmp eax, edi
je 0x53e187
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1248], edi
cmp dword [eax], edi
je 0x53e278
xor ecx, ecx
jmp 0x53e0a0
mov esi, dword [eax + ecx]
push 0x206
lea eax, [ebp - 0x81e]
xor edx, edx
push edi
push eax
mov word [ebp - 0x820], dx
call fcn.0055aed0
mov edx, dword [esi]
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x820]
push ecx
push 0xffffffffffffffff
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e15c
push 0x3fe
lea edx, [ebp - 0x616]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x618], cx
call fcn.0055aed0
lea eax, [ebp - 0x820]
push eax
push str._ENV__Local_machine_IP_Address___s
lea ecx, [ebp - 0x618]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53e15c
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x10f
push str.ReportEnvironment::ReportEnvironmentVersions
lea eax, [ebp - 0x618]
push eax
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
mov eax, dword [ebp - 0x1248]
mov edx, dword [ebp - 0x1258]
inc eax
lea ecx, [eax*4]
mov dword [ebp - 0x1248], eax
mov eax, dword [edx + 0xc]
cmp dword [eax + ecx], edi
jne 0x53e0a0
jmp 0x53e278
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x400
push eax
lea ecx, [ebp - 0x125c]
call fcn.00512fe0
mov byte [ebp - 4], 4
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e230
push 0x3fe
lea edx, [ebp - 0x616]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x618], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x1258]
add esp, 0xc
cmp eax, edi
jne 0x53e1df
mov eax, dword [0x625690]
mov ecx, dword [ebp - 0x125c]
push ecx
push eax
push str._ENV__HOSTINFO_ERROR_:__s___d_
lea edx, [ebp - 0x618]
push 0x1ff
push edx
call fcn.005301b0
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 0x18
test al, al
je 0x53e230
mov edx, dword [ebx + 8]
push 0x62b628
push 0x115
push str.ReportEnvironment::ReportEnvironmentVersions
lea ecx, [ebp - 0x618]
push ecx
push edi
push edi
push edi
push 3
call edx
add esp, 0x20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1258]
cmp eax, edi
je 0x53e278
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x53e278
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e278
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x11a
push str.ReportEnvironment::ReportEnvironmentVersions
push str._ENV__Unable_to_provide_HostName
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
push 0x1fe
lea eax, [ebp - 0xa1e]
xor edx, edx
push edi
push eax
mov word [ebp - 0xa20], dx
call fcn.0055aed0
push 0x206
lea edx, [ebp - 0x112e]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x1130], cx
call fcn.0055aed0
push 0x206
lea ecx, [ebp - 0x81e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x820], ax
call fcn.0055aed0
add esp, 0x24
push edi
push str.SYSTEMCurrentControlSetServicesWinsock2Parameters
lea ecx, [ebp - 0x11f8]
mov dword [ebp - 0x1258], edi
mov dword [ebp - 0x1244], edi
mov dword [ebp - 0x124c], edi
mov dword [ebp - 0x1248], edi
call fcn.0050f130
test al, al
je 0x53e6ab
push 0x100
lea edx, [ebp - 0xa20]
push edx
push str.Current_NameSpace_Catalog
lea ecx, [ebp - 0x11f8]
call fcn.0050d810
test al, al
je 0x53e6a0
push 0x3fe
lea ecx, [ebp - 0x616]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x618], ax
call fcn.0055aed0
add esp, 0xc
push edi
lea ecx, [ebp - 0x11b0]
call fcn.0050ed90
mov byte [ebp - 4], 6
xor eax, eax
movzx ecx, word [eax + str.SYSTEMCurrentControlSetServicesWinsock2Parameters_]
mov word [ebp + eax - 0x618], cx
add eax, 2
cmp cx, di
jne 0x53e351
lea eax, [ebp - 0xa20]
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x53e370
sub eax, edx
mov esi, edx
mov edx, eax
lea eax, [ebp - 0x618]
add eax, 0xfffffffe
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x53e390
mov ecx, edx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x618]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x53e3b5
mov ecx, 8
mov esi, str.Catalog_Entries
rep movsd dword es:[edi], dword [esi]
push 0
lea edx, [ebp - 0x618]
push edx
lea ecx, [ebp - 0x11b0]
movsw word es:[edi], word [esi]
call fcn.0050f130
test al, al
je 0x53e68f
lea eax, [ebp - 0x1254]
push eax
lea ecx, [ebp - 0x11b0]
mov dword [ebp - 0x1254], 0
call fcn.0050a8c0
mov eax, dword [ebp - 0x1254]
cmp eax, 0x32
jbe 0x53e41d
mov eax, 0x32
mov dword [ebp - 0x1254], eax
xor esi, esi
test eax, eax
je 0x53e684
jmp 0x53e430
push 0x400
lea ecx, [ebp - 0x618]
push 0
push ecx
call fcn.0055aed0
add esp, 0xc
push 0
push 0
push 0x200
lea edx, [ebp - 0x618]
push edx
push esi
lea ecx, [ebp - 0x11b0]
call fcn.0050c790
test al, al
je 0x53e677
push 0
lea ecx, [ebp - 0x1240]
call fcn.0050ed90
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x1240]
call fcn.0050f130
test al, al
je 0x53e668
push 0x104
lea ecx, [ebp - 0x820]
push ecx
push str.DisplayString
lea ecx, [ebp - 0x1240]
call fcn.0050d810
test al, al
je 0x53e65d
push 0x104
lea edx, [ebp - 0x1130]
push edx
push str.LibraryPath
lea ecx, [ebp - 0x1240]
call fcn.0050d810
test al, al
je 0x53e65d
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0055aed0
push 0x104
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x1130]
push eax
call fcn.00512880
mov ecx, dword [ebx + 8]
push ecx
lea edx, [ebp - 0x1248]
push edx
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x1244]
push ecx
lea edx, [ebp - 0x1258]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00512b90
add esp, 0x30
test al, al
je 0x53e5d8
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e65d
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0xe26]
push eax
mov word [ebp - 0xe28], dx
call fcn.0055aed0
mov edx, dword [ebp - 0x1248]
mov eax, dword [ebp - 0x124c]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x1244]
push edx
mov edx, dword [ebp - 0x1258]
push eax
push ecx
push edx
lea eax, [ebp - 0x820]
push eax
push str._ENV__Winsock2_file:__s__Version:__d._d._d._d___s_
lea ecx, [ebp - 0xe28]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x34
test al, al
je 0x53e65d
push 0x62b628
push 0x149
jmp 0x53e641
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e65d
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0xe26]
push ecx
mov word [ebp - 0xe28], ax
call fcn.0055aed0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x820]
push eax
push 0x5dd550
lea ecx, [ebp - 0xe28]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53e65d
push 0x62b628
push 0x14d
mov ecx, dword [ebx + 8]
push str.ReportEnvironment::ReportEnvironmentVersions
lea eax, [ebp - 0xe28]
push eax
push 0
push 0
push 0
push 3
call ecx
add esp, 0x20
lea ecx, [ebp - 0x1240]
call fcn.0050b020
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1240]
call fcn.0050e450
inc esi
cmp esi, dword [ebp - 0x1254]
jb 0x53e430
lea ecx, [ebp - 0x11b0]
call fcn.0050b020
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11b0]
call fcn.0050e450
xor edi, edi
lea ecx, [ebp - 0x11f8]
call fcn.0050b020
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esi*8 + 0x5dd538]
push edi
push edi
push edx
lea ecx, [ebp - 0x11b0]
call fcn.0050e880
mov byte [ebp - 4], 8
push edi
lea ecx, [ebp - 0x11b0]
call fcn.0050ef60
test al, al
je 0x53e76d
push 0x206
lea ecx, [ebp - 0x81e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x820], ax
call fcn.0055aed0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x820]
push edx
push 0x5e3368
lea ecx, [ebp - 0x11b0]
mov dword [ebp - 0x1244], edi
mov dword [ebp - 0x124c], edi
mov dword [ebp - 0x1248], edi
mov dword [ebp - 0x1258], edi
call fcn.0050d810
lea ecx, [ebp - 0x11b0]
call fcn.0050b020
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x1258]
push ecx
lea edx, [ebp - 0x1248]
push edx
lea eax, [ebp - 0x124c]
push eax
lea ecx, [ebp - 0x1244]
push ecx
lea edx, [ebp - 0x820]
push edx
call fcn.00512b90
add esp, 0x18
test al, al
jne 0x53e78b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11b0]
call fcn.0050e450
inc esi
cmp esi, 3
jb 0x53e6b0
jmp 0x53e83d
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e82e
push 0x3fe
lea edx, [ebp - 0xe26]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xe28], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x1258]
mov ecx, dword [ebp - 0x1248]
mov edx, dword [ebp - 0x124c]
push eax
mov eax, dword [ebp - 0x1244]
push ecx
push edx
mov edx, dword [esi*8 + 0x5dd53c]
push eax
lea ecx, [ebp - 0x820]
push ecx
push edx
push str._ENV___s:__s__Version:__d._d._d._d
lea eax, [ebp - 0xe28]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x34
test al, al
je 0x53e82e
mov eax, dword [ebx + 8]
push 0x62b628
push 0x17e
push str.ReportEnvironment::ReportEnvironmentVersions
lea edx, [ebp - 0xe28]
push edx
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11b0]
call fcn.0050e450
cmp esi, 3
jne 0x53e872
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53e872
mov edx, dword [ebx + 8]
push 0x62b628
push 0x185
push str.ReportEnvironment::ReportEnvironmentVersions
push str._ENV__Unable_to_find_Microsoft_XML_Parser_Version_information
push edi
push edi
push edi
push esi
call edx
add esp, 0x20
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebp - 0x126c]
push ecx
call fcn.005343d0
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1268]
mov esi, dword [ebp - 0x126c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1244], edi
je 0x53eaf1
mov dword [ebp - 0x1254], edi
lea esp, [esp]
add esi, dword [ebp - 0x1254]
push 0xffffffffffffffff
lea edx, [ebp - 0x114c]
push esi
push edx
call fcn.0053d010
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1138], 8
mov eax, dword [ebp - 0x114c]
jae 0x53e8f1
lea eax, [ebp - 0x114c]
push str.SQLNCLI
push eax
call fcn.0055c6dc
add esp, 8
mov esi, 8
test eax, eax
je 0x53e9c9
mov eax, dword [ebp - 0x114c]
cmp dword [ebp - 0x1138], esi
jae 0x53e920
lea eax, [ebp - 0x114c]
push 0x20
push eax
call fcn.0056165f
add esp, 8
test eax, eax
jne 0x53e9c9
mov eax, dword [ebx + 8]
push eax
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ea83
push 0x3fe
lea edx, [ebp - 0xe26]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xe28], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x114c]
add esp, 0xc
cmp dword [ebp - 0x1138], esi
jae 0x53e979
lea eax, [ebp - 0x114c]
push eax
push str._ENV__SQLCLI_provider_is_available:___s_
lea eax, [ebp - 0xe28]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x14
test al, al
je 0x53ea83
mov eax, dword [ebx + 8]
push 0x62b628
push 0x191
push str.ReportEnvironment::ReportEnvironmentVersions
lea edx, [ebp - 0xe28]
push edx
push edi
push edi
push edi
push 3
call eax
jmp 0x53ea80
mov eax, dword [ebp - 0x114c]
cmp dword [ebp - 0x1138], esi
jae 0x53e9dd
lea eax, [ebp - 0x114c]
push str.SQLOLEDB
push eax
call fcn.0055ade6
add esp, 8
test eax, eax
jne 0x53ea83
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ea83
push 0x3fe
lea eax, [ebp - 0xe26]
xor edx, edx
push edi
push eax
mov word [ebp - 0xe28], dx
call fcn.0055aed0
mov eax, dword [ebp - 0x114c]
add esp, 0xc
cmp dword [ebp - 0x1138], esi
jae 0x53ea39
lea eax, [ebp - 0x114c]
push eax
push str._ENV__MSSQL_OLEDB_provider_is_available:___s_
lea ecx, [ebp - 0xe28]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x14
test al, al
je 0x53ea83
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x195
push str.ReportEnvironment::ReportEnvironmentVersions
lea eax, [ebp - 0xe28]
push eax
push edi
push edi
push edi
push 3
call ecx
add esp, 0x20
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1138], esi
jb 0x53ea9e
mov edx, dword [ebp - 0x114c]
push edx
call fcn.00558723
add esp, 4
mov ecx, dword [ebp - 0x1268]
mov esi, dword [ebp - 0x126c]
inc dword [ebp - 0x1244]
add dword [ebp - 0x1254], 0x1c
xor eax, eax
sub ecx, esi
mov word [ebp - 0x114c], ax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x1138], 7
mov dword [ebp - 0x113c], edi
cmp dword [ebp - 0x1244], ecx
jb 0x53e8c0
push edi
push str.SOFTWAREMicrosoftDataAccess
lea ecx, [ebp - 0x11f8]
call fcn.0050f130
test al, al
je 0x53ebd2
push 0x1fe
lea eax, [ebp - 0xa1e]
xor edx, edx
push edi
push eax
mov word [ebp - 0xa20], dx
call fcn.0055aed0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0xa20]
push ecx
push str.FullInstallVer
lea ecx, [ebp - 0x11f8]
call fcn.0050d810
test al, al
je 0x53ebc7
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ebc7
push 0x3fe
lea ecx, [ebp - 0xe26]
xor eax, eax
push edi
push ecx
mov word [ebp - 0xe28], ax
call fcn.0055aed0
lea edx, [ebp - 0xa20]
push edx
push str._ENV__MDAC_version:__s
lea eax, [ebp - 0xe28]
push 0x1ff
push eax
call fcn.005301b0
mov ecx, dword [ebx + 8]
push ecx
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53ebc7
mov eax, dword [ebx + 8]
push 0x62b628
push 0x19f
push str.ReportEnvironment::ReportEnvironmentVersions
lea edx, [ebp - 0xe28]
push edx
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
lea ecx, [ebp - 0x11f8]
call fcn.0050b020
mov ecx, 0x26
mov esi, str.SOFTWAREClassesCLSID00000507_0000_0010_8000_00AA006D2EA4InprocServer32
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
push 0
push 0
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x11b0]
movsw word es:[edi], word [esi]
call fcn.0050e880
mov byte [ebp - 4], 0xb
push 0
lea ecx, [ebp - 0x11b0]
call fcn.0050ef60
xor edi, edi
test al, al
je 0x53ed72
push 0x206
lea eax, [ebp - 0x81e]
xor edx, edx
push edi
push eax
mov word [ebp - 0x820], dx
call fcn.0055aed0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x820]
push ecx
push 0x5e3368
lea ecx, [ebp - 0x11b0]
mov dword [ebp - 0x1244], edi
mov dword [ebp - 0x124c], edi
mov dword [ebp - 0x1248], edi
mov dword [ebp - 0x1258], edi
call fcn.0050d810
lea ecx, [ebp - 0x11b0]
call fcn.0050b020
mov edx, dword [ebx + 8]
push edx
lea eax, [ebp - 0x1258]
push eax
lea ecx, [ebp - 0x1248]
push ecx
lea edx, [ebp - 0x124c]
push edx
lea eax, [ebp - 0x1244]
push eax
lea ecx, [ebp - 0x820]
push ecx
call fcn.00512b90
mov edx, dword [ebx + 8]
add esp, 0x18
push edx
test al, al
je 0x53ed45
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ed72
push 0x3fe
lea ecx, [ebp - 0xe26]
xor eax, eax
push edi
push ecx
mov word [ebp - 0xe28], ax
call fcn.0055aed0
mov edx, dword [ebp - 0x1258]
mov eax, dword [ebp - 0x1248]
mov ecx, dword [ebp - 0x124c]
push edx
mov edx, dword [ebp - 0x1244]
push eax
push ecx
push edx
lea eax, [ebp - 0x820]
push eax
push str._ENV__MSADO15.DLL:__s__Version:__d._d._d._d
lea ecx, [ebp - 0xe28]
push 0x1ff
push ecx
call fcn.005301b0
mov edx, dword [ebx + 8]
push edx
call fcn.0053a1b0
add esp, 0x30
test al, al
je 0x53ed72
mov ecx, dword [ebx + 8]
push 0x62b628
push 0x1b5
push str.ReportEnvironment::ReportEnvironmentVersions
lea eax, [ebp - 0xe28]
push eax
push edi
push edi
push edi
push 3
call ecx
jmp 0x53ed6f
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53ed72
mov eax, dword [ebx + 8]
push 0x62b628
push 0x1b9
push str.ReportEnvironment::ReportEnvironmentVersions
push str._ENV__Unable_to_find_MSADO15.DLL_Version_information
push edi
push edi
push edi
push 3
call eax
add esp, 0x20
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11b0]
call fcn.0050e450
mov ecx, ebx
call fcn.0053c0e0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x126c]
cmp esi, edi
je 0x53edc6
mov ebx, dword [ebp - 0x1268]
cmp esi, ebx
je 0x53edbd
lea ecx, [ebp - 0x1260]
push esi
push ecx
call fcn.0041e7c0
add esi, 0x1c
add esp, 8
cmp esi, ebx
jne 0x53eda0
mov esi, dword [ebp - 0x126c]
push esi
call fcn.00558723
add esp, 4
mov dword [ebp - 0x126c], edi
mov dword [ebp - 0x1268], edi
mov dword [ebp - 0x1264], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11f8]
call fcn.0050e450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00558b78
mov esp, ebp
pop ebp
ret