Function at 0x4204a0
Capabilities:
Check if file exists
Get memory capacity
Reference sql statements

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2640
call fcn.00434e00
mov eax, dword [0x44d558]
mov dword [ebp - 0x24], eax
push esi
push edi
mov ecx, 0xd
mov esi, str.DumpAndCheckServerVersion
lea edi, [ebp - 0x185c]
rep movsd dword es:[edi], dword [esi]
mov ax, word [0x44e8a8]
mov word [ebp - 0xf60], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xf5e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e8b0]
mov word [ebp - 0x1828], cx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x1826]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e8b8]
mov word [ebp - 0x9b8], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x9b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44e8c0]
mov word [ebp - 0x7b8], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x7b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e8c8]
mov word [ebp - 0x1a8], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x1a6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e8d0]
mov word [ebp - 0x1170], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x116e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44e8d8]
mov word [ebp - 0x6b8], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x6b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e8e0]
mov word [ebp - 0x1718], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1716]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e8e8]
mov word [ebp - 0x5b0], dx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x5ae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44e8f0]
mov word [ebp - 0xa8], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xa6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e8f8]
mov word [ebp - 0x638], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x636]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e900]
mov word [ebp - 0x1070], dx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x106e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44e908]
mov word [ebp - 0x11f8], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x11f6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44e910]
mov word [ebp - 0xee0], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xede]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44e918]
mov word [ebp - 0x1308], dx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x1306]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44e920]
mov word [ebp - 0x2628], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x2626]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1314], 0
mov dword [ebp - 0x11fc], 0
mov dword [ebp - 0x9bc], 0
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1310], 0
mov dword [ebp - 0x2424], 0
mov dword [ebp - 0xadc], 0
mov dword [ebp - 0x1720], 0
mov dword [ebp - 0x5b4], 0
mov dword [ebp - 0x171c], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x130c], 0
mov dword [ebp - 0xf64], 0
mov dword [ebp - 0x1860], 0
push 0x40
lea ecx, [ebp - 0xf60]
push ecx
push 0x17
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x18], 0
jne 0x420777
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0x18]
shr ecx, 0x14
mov eax, dword [ebp - 0x18]
xor edx, edx
mov esi, 0x100000
div esi
neg edx
sbb edx, edx
neg edx
add ecx, edx
mov dword [ebp - 0xadc], ecx
mov dword [ebp - 0xad8], 0x114
lea edx, [ebp - 0xad8]
push edx
call dword [sym.imp.SQLUNIRL.dll__GetVersionEx_4]
test eax, eax
je 0x42083f
lea eax, [ebp - 0xac4]
push eax
call fcn.004327c0
add esp, 4
cmp dword [0x44de90], 0
je 0x4207e3
mov ecx, dword [ebp - 0xacc]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0xacc], edx
cmp dword [ebp - 0xac8], 2
jne 0x4207f8
mov dword [ebp - 0x262c], 0x44489c
jmp 0x420802
mov dword [ebp - 0x262c], 0x4448a4
lea eax, [ebp - 0xac4]
push eax
mov ecx, dword [ebp - 0xacc]
push ecx
mov edx, dword [ebp - 0xad0]
push edx
mov eax, dword [ebp - 0xad4]
push eax
mov ecx, dword [ebp - 0x262c]
push ecx
push str.Windows__s__ld._ld___ld___s
lea edx, [ebp - 0x9b8]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4cc]
add esp, 0x1c
lea ecx, [ebp - 0xf60]
push ecx
lea edx, [ebp - 0x6b8]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 0x4448e4
lea eax, [ebp - 0x6b8]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push str.unicode
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
cmp dword [0x44de94], 0
je 0x4208a5
push 0x40
lea edx, [ebp - 0x638]
push edx
push 0x16e
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x4208c0
push 0x40
lea ecx, [ebp - 0x638]
push ecx
push 0x16f
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov eax, dword [0x44dec0]
and eax, 1
jne 0x420ada
push pe_nt_image_headers32
lea ecx, [ebp - 0x2628]
push ecx
call fcn.00424640
add esp, 8
lea edx, [ebp - 0x2628]
push edx
push 0
push 0x100000
mov eax, dword [0x450d4c]
call dword [eax + 0x350]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0x420a1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x171c], eax
cmp dword [ebp - 0x171c], 2
jne 0x4209bd
cmp dword [0x44de90], 0
jne 0x42094d
push 0
push 0
push 0
push 4
call fcn.00431dd0
add esp, 0x10
mov ecx, dword [0x44e618]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x15e
push 0
push 4
call fcn.0041d760
add esp, 0xc
push pe_nt_image_headers32
lea edx, [ebp - 0x2628]
push edx
call fcn.00424640
add esp, 8
lea eax, [ebp - 0x2628]
push eax
push 0
push 0x100000
mov ecx, dword [0x450d4c]
call dword [ecx + 0x350]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0x4209bb
push 0x1f4
mov edx, dword [0x450d00]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4209b9
jmp 0x4212f4
jmp 0x420972
jmp 0x420a1e
push 0x400
lea eax, [ebp - 0xee0]
push eax
mov ecx, dword [ebp - 0x171c]
push ecx
call fcn.00432600
add esp, 0xc
push 0x200
lea edx, [ebp - 0x5b0]
push edx
push 0x17d
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea ecx, [ebp - 0xee0]
push ecx
lea edx, [ebp - 0x5b0]
push edx
lea eax, [ebp - 0x1718]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0xc
jmp 0x4212f4
cmp dword [ebp - 0x1ac], 0
je 0x420a70
push 0
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420a70
push 0x189
push 0
push 4
call fcn.0041d760
add esp, 0xc
cmp dword [0x44de90], 0
jne 0x420a70
push 0
push 0
push 0
push 4
call fcn.00431dd0
add esp, 0x10
mov eax, dword [0x44e618]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x1ac], 0
je 0x420aa9
push 0
mov ecx, dword [ebp - 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x420aa9
push 0x1f4
mov edx, dword [0x450d00]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x420aa7
jmp 0x420aa9
jmp 0x420a70
cmp dword [ebp - 0x1ac], 0
je 0x420abf
mov eax, dword [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, dword [0x450d00]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x420ada
jmp 0x4212f4
push str.SQLAgent___Initial_Boot_Probe
lea edx, [ebp - 0x2420]
push edx
call fcn.004080a0
add esp, 8
push 0
push 1
lea eax, [ebp - 0x2420]
push eax
call fcn.00408190
add esp, 0xc
test eax, eax
je 0x420e78
push 0x444938
lea ecx, [ebp - 0x2420]
push ecx
call fcn.00408a50
add esp, 8
test eax, eax
jne 0x420b76
lea edx, [ebp - 0x2420]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
push 0x200
lea eax, [ebp - 0x5b0]
push eax
push 0x15f
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444944
lea edx, [ebp - 0x5b0]
push edx
lea eax, [ebp - 0x1718]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0xc
jmp 0x4212f4
lea edx, [ebp - 0x1314]
push edx
push 0x80
push 0x44e738
push 0x12
push 2
push 1
lea eax, [ebp - 0x2420]
push eax
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
test eax, eax
jne 0x420c41
push 0x44e738
lea ecx, [ebp - 0x7b8]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push pe_nt_image_headers32
lea edx, [ebp - 0x1a8]
push edx
push 0x44e924
push 0x444950
lea eax, [ebp - 0x7b8]
push eax
call fcn.004321e0
add esp, 0x14
lea ecx, [ebp - 0x1a8]
push ecx
call dword [sym.imp.MSVCR71.dll__wtol]
add esp, 4
mov dword [0x44e838], eax
mov eax, dword [0x44e838]
cdq
mov ecx, 0x2710
idiv ecx
push edx
mov eax, dword [0x44e838]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, edx
cdq
mov ecx, 0x2710
idiv ecx
push eax
mov eax, dword [0x44e838]
cdq
mov ecx, 0xf4240
idiv ecx
push eax
push 0x444954
push 0x44e738
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x14
lea eax, [ebp - 0x1314]
push eax
push 0x80
push 0x44e638
push 7
push 2
push 1
lea ecx, [ebp - 0x2420]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
test eax, eax
jne 0x420d10
push 0x44e638
lea edx, [ebp - 0x7b8]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push pe_nt_image_headers32
lea eax, [ebp - 0x1a8]
push eax
push 0x44e928
push 0x444974
lea ecx, [ebp - 0x7b8]
push ecx
call fcn.004321e0
add esp, 0x14
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.MSVCR71.dll__wtol]
add esp, 4
mov dword [ebp - 0xf64], eax
mov eax, dword [ebp - 0xf64]
cdq
mov ecx, 0x2710
idiv ecx
push edx
mov eax, dword [ebp - 0xf64]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, edx
cdq
mov ecx, 0x2710
idiv ecx
push eax
mov eax, dword [ebp - 0xf64]
cdq
mov ecx, 0xf4240
idiv ecx
push eax
push 0x444978
push 0x44e638
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x14
lea eax, [ebp - 0x1314]
push eax
push 0x80
lea ecx, [ebp - 0x1170]
push ecx
push 0x4af
push 2
push 1
lea edx, [ebp - 0x2420]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
push 0
push 0
lea eax, [ebp - 0x1828]
push eax
lea ecx, [ebp - 0x9bc]
push ecx
push 0
push 0
lea edx, [ebp - 0x2420]
push edx
call fcn.004087b0
add esp, 0x1c
push 0x44debc
lea eax, [ebp - 0x1308]
push eax
push 0x44e634
push 0x44e630
lea ecx, [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x1860]
push edx
push 0x44dea4
lea eax, [ebp - 0x2424]
push eax
lea ecx, [ebp - 0x1174]
push ecx
lea edx, [ebp - 0x1310]
push edx
lea eax, [ebp - 0x2420]
push eax
call fcn.00408b90
add esp, 0x2c
cmp dword [0x44de90], 0
jne 0x420dcc
cmp dword [0x44e630], 8
jl 0x420dcc
mov ecx, dword [0x44e630]
mov dword [0x450ccc], ecx
lea edx, [ebp - 0x185c]
push edx
push 0
push 0
push 1
push 1
push str.IF__NOT_EXISTS__SELECT__FROM_master.dbo.sysdatabases_WHERE__name__Nmsdb__AND__status__8__8____EXECUTE_master.dbo.sp_dboption_Nmsdb__Ntrunc._log_on_chkpt.__true
lea eax, [ebp - 0x2420]
push eax
call fcn.004084e0
add esp, 0x1c
cmp dword [0x444204], 0
jne 0x420e1b
lea ecx, [ebp - 0x185c]
push ecx
push 0
push 0
push 1
push 1
push str.update_msdb.dbo.sysalerts_set_event_source__case_when__serverproperty_instancename__is_null__then_NMSSQLSERVER_else_NMSSQL___convert_nvarchar_64___serverproperty_instancename___end
lea edx, [ebp - 0x2420]
push edx
call fcn.004084e0
add esp, 0x1c
push 0x450cdc
push 0x44e0d0
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
je 0x420e66
lea eax, [ebp - 0x11f8]
push eax
lea ecx, [ebp - 0x638]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x6b8]
push eax
push 0x444c70
push 0x444c88
push 0x64
push 0
push 4
call fcn.0041d760
add esp, 0x24
lea ecx, [ebp - 0x2420]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
jmp 0x420ec0
push 0x200
lea edx, [ebp - 0x5b0]
push edx
push 0x63
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444ca8
lea ecx, [ebp - 0x240c]
push ecx
lea edx, [ebp - 0x5b0]
push edx
lea eax, [ebp - 0x1718]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0x10
jmp 0x4212f4
cmp dword [0x44de90], 0
je 0x420ed5
mov dword [ebp - 0x2630], 0x444cc8
jmp 0x420edf
mov dword [ebp - 0x2630], 0x444cd0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov edx, dword [ebp - 0x2630]
push edx
lea eax, [ebp - 0x11f8]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0xc
lea edx, [ebp - 0x11f8]
push edx
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x6b8]
push edx
push str.8.00.2039
push 0x444cf0
push 0x64
push 0
push 4
call fcn.0041d760
add esp, 0x24
movzx eax, word [0x44e738]
test eax, eax
je 0x420f4e
mov dword [ebp - 0x2634], 0x44e738
jmp 0x420f5a
lea ecx, [ebp - 0xf60]
mov dword [ebp - 0x2634], ecx
mov edx, dword [ebp - 0x1860]
push edx
mov eax, dword [ebp - 0x2634]
push eax
lea ecx, [ebp - 0x1070]
push ecx
push 0x65
push 0
push 4
call fcn.0041d760
add esp, 0x18
movzx edx, word [0x44e638]
test edx, edx
je 0x420f94
mov dword [ebp - 0x2638], 0x44e638
jmp 0x420fa0
lea eax, [ebp - 0xf60]
mov dword [ebp - 0x2638], eax
mov ecx, dword [ebp - 0x2638]
push ecx
push 0x66
push 0
push 4
call fcn.0041d760
add esp, 0x10
movzx edx, word [ebp - 0x1170]
test edx, edx
je 0x420fd8
lea eax, [ebp - 0x1170]
push eax
call dword [sym.imp.MSVCR71.dll__wcsupr]
add esp, 4
mov dword [ebp - 0x263c], eax
jmp 0x420fe4
lea ecx, [ebp - 0xf60]
mov dword [ebp - 0x263c], ecx
push 0x44f208
mov edx, dword [ebp - 0x263c]
push edx
push 0x67
push 0
push 4
call fcn.0041d760
add esp, 0x14
mov eax, dword [ebp - 0xadc]
push eax
mov ecx, dword [0x44dec4]
push ecx
push 0x136
push 0
push 4
call fcn.0041d760
add esp, 0x14
lea edx, [ebp - 0x9b8]
push edx
push 0x44e0d0
push 0x153
push 0
push 4
call fcn.0041d760
add esp, 0x14
cmp dword [ebp - 0x9bc], 0
jne 0x4210b1
push 0x200
lea eax, [ebp - 0x5b0]
push eax
push 0x69
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
movzx edx, word [ebp - 0x1828]
test edx, edx
je 0x421077
lea eax, [ebp - 0x1828]
mov dword [ebp - 0x2640], eax
jmp 0x421083
lea ecx, [ebp - 0xf60]
mov dword [ebp - 0x2640], ecx
mov edx, dword [ebp - 0x2640]
push edx
push 0x444d10
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x1718]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x4212f4
cmp dword [ebp - 0x1174], 0
je 0x421104
push 0x200
lea eax, [ebp - 0x5b0]
push eax
push 0xff
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444d30
push 0x444d3c
lea edx, [ebp - 0x5b0]
push edx
lea eax, [ebp - 0x1718]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0x10
jmp 0x4212f4
cmp dword [ebp - 0x1310], 0
jne 0x421155
push 0x200
lea edx, [ebp - 0x5b0]
push edx
push 0x183
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444d5c
push 0x444d68
lea ecx, [ebp - 0x5b0]
push ecx
lea edx, [ebp - 0x1718]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4cc]
add esp, 0x10
jmp 0x4212f4
cmp dword [ebp - 0x2424], 0
jne 0x4211a8
push 0x200
lea ecx, [ebp - 0x5b0]
push ecx
push 0x184
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444d88
push 0x444d94
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x1718]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x4212f4
push 0x444208
lea eax, [ebp - 0x1308]
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
je 0x421211
push 0x200
lea ecx, [ebp - 0x5b0]
push ecx
push 0x197
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444208
lea eax, [ebp - 0x1308]
push eax
push 0x444db4
lea ecx, [ebp - 0x5b0]
push ecx
lea edx, [ebp - 0x1718]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4cc]
add esp, 0x14
jmp 0x4212f4
cmp dword [0x450754], 0
jne 0x4212a4
cmp dword [0x44e838], 0
jne 0x421269
push 0x200
lea ecx, [ebp - 0x5b0]
push ecx
push 0x6b
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x444dd4
lea eax, [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x1718]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0xc
jmp 0x4212f4
cmp dword [0x44e838], 0x6c5660
jge 0x421298
push 0x444df4
push 2
push 0x444dfc
push 2
push 4
push 0xc000006b
push 1
push 3
call fcn.0041cf30
add esp, 0x20
jmp 0x4212f4
mov dword [ebp - 0x11fc], 1
jmp 0x4212ae
mov dword [ebp - 0x11fc], 1
cmp dword [ebp - 0x11fc], 0
je 0x4212c4
push 0x44f1a0
call fcn.00433ed0
add esp, 4
cmp dword [0x44de90], 0
jne 0x4212f4
push 0x444e1c
call fcn.00432050
add esp, 4
test eax, eax
jne 0x4212f4
push str.Messenger
push 0x16c
push 0
push 1
call fcn.0041d760
add esp, 0x10
cmp dword [ebp - 0x11fc], 0
jne 0x421340
lea eax, [ebp - 0x1718]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
test eax, eax
je 0x421340
push 0
lea ecx, [ebp - 0x1718]
push ecx
push 1
call fcn.0041d760
add esp, 0xc
lea edx, [ebp - 0x1718]
push edx
push 2
push 2
push 0x40000067
push 1
push 1
call fcn.0041cf30
add esp, 0x18
push 0
mov eax, dword [0x450d00]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x421359
xor eax, eax
jmp 0x42135f
mov eax, dword [ebp - 0x11fc]
mov ecx, dword [ebp - 0x24]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret