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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2610
call fcn.004321a0
push esi
push edi
mov ecx, 0xd
mov esi, str.DumpAndCheckServerVersion
lea edi, [ebp - 0x470]
rep movsd dword es:[edi], dword [esi]
mov ax, word [0x44baa4]
mov word [ebp - 0x84], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x82]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44baac]
mov word [ebp - 0x130c], cx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x130a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44bab4]
mov word [ebp - 0x1204], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1202]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44babc]
mov word [ebp - 0xd80], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xd7e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44bac4]
mov word [ebp - 0x1004], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44bacc]
mov word [ebp - 0xf04], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xf02]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44bad4]
mov word [ebp - 0x10c], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x10a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44badc]
mov word [ebp - 0x878], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x876]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44bae4]
mov word [ebp - 0xc80], dx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xc7e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44baec]
mov word [ebp - 0x246c], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x246a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44baf4]
mov word [ebp - 0xe04], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xe02]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44bafc]
mov word [ebp - 0x25f8], dx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x25f6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44bb04]
mov word [ebp - 0x24f0], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x24ee]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44bb0c]
mov word [ebp - 0x23ec], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x23ea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44bb14]
mov word [ebp - 0x238], dx
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x236]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44bb1c]
mov word [ebp - 0x43c], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x43a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1fec], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x1fe8], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0xd84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x1fe4], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x2470], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 4], 0
push 0x40
lea ecx, [ebp - 0x84]
push ecx
push 0x17
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov dword [ebp - 0x12c], 0x20
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp - 0x124], 0
jne 0x41ee38
mov dword [ebp - 0x124], 0xffffffff
mov ecx, dword [ebp - 0x124]
shr ecx, 0x14
mov eax, dword [ebp - 0x124]
xor edx, edx
mov esi, 0x100000
div esi
neg edx
sbb edx, edx
neg edx
add ecx, edx
mov dword [ebp - 0x880], ecx
mov dword [ebp - 0x1fe0], 0x114
lea edx, [ebp - 0x1fe0]
push edx
call dword [sym.imp.SQLUNIRL.dll__GetVersionEx_4]
test eax, eax
je 0x41ef04
lea eax, [ebp - 0x1fcc]
push eax
call fcn.004301f0
add esp, 4
cmp dword [0x44b08c], 0
je 0x41eea7
mov ecx, dword [ebp - 0x1fd4]
and ecx, 0xffff
mov dword [ebp - 0x1fd4], ecx
cmp dword [ebp - 0x1fd0], 2
jne 0x41eebc
mov dword [ebp - 0x25fc], 0x441820
jmp 0x41eec6
mov dword [ebp - 0x25fc], 0x441828
lea edx, [ebp - 0x1fcc]
push edx
mov eax, dword [ebp - 0x1fd4]
push eax
mov ecx, dword [ebp - 0x1fd8]
push ecx
mov edx, dword [ebp - 0x1fdc]
push edx
mov eax, dword [ebp - 0x25fc]
push eax
push str.Windows__s__ld._ld___ld___s
lea ecx, [ebp - 0x1204]
push ecx
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0x1c
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x441868
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push str.unicode
lea eax, [ebp - 0x246c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
cmp dword [0x44b090], 0
je 0x41ef6b
push 0x40
lea ecx, [ebp - 0xe04]
push ecx
push 0x16e
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x41ef86
push 0x40
lea eax, [ebp - 0xe04]
push eax
push 0x16f
mov ecx, dword [0x44b81c]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [0x44b0bc]
and edx, 1
test edx, edx
jne 0x41f1a2
push 0x100
lea eax, [ebp - 0x43c]
push eax
call fcn.00422939
add esp, 8
lea ecx, [ebp - 0x43c]
push ecx
push 0
push 0x100000
mov edx, dword [0x44df4c]
call dword [edx + 0x350]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x41f0e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fe4], eax
cmp dword [ebp - 0x1fe4], 2
jne 0x41f085
cmp dword [0x44b08c], 0
jne 0x41f016
push 0
push 0
push 0
push 4
call fcn.0042f8a6
add esp, 0x10
mov eax, dword [0x44b814]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x15e
push 0
push 4
call fcn.0041bfab
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x43c]
push ecx
call fcn.00422939
add esp, 8
lea edx, [ebp - 0x43c]
push edx
push 0
push 0x100000
mov eax, dword [0x44df4c]
call dword [eax + 0x350]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x41f083
push 0x1f4
mov ecx, dword [0x44df00]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41f081
jmp 0x41f9c1
jmp 0x41f03b
jmp 0x41f0e6
push 0x400
lea edx, [ebp - 0x23ec]
push edx
mov eax, dword [ebp - 0x1fe4]
push eax
call fcn.0043002e
add esp, 0xc
push 0x200
lea ecx, [ebp - 0xc80]
push ecx
push 0x17d
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x23ec]
push eax
lea ecx, [ebp - 0xc80]
push ecx
lea edx, [ebp - 0x878]
push edx
mov eax, dword [0x44df4c]
call dword [eax + 0x4cc]
add esp, 0xc
jmp 0x41f9c1
cmp dword [ebp - 0x130], 0
je 0x41f139
push 0
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41f139
push 0x189
push 0
push 4
call fcn.0041bfab
add esp, 0xc
cmp dword [0x44b08c], 0
jne 0x41f139
push 0
push 0
push 0
push 4
call fcn.0042f8a6
add esp, 0x10
mov edx, dword [0x44b814]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [ebp - 0x130], 0
je 0x41f172
push 0
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41f172
push 0x1f4
mov ecx, dword [0x44df00]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41f170
jmp 0x41f172
jmp 0x41f139
cmp dword [ebp - 0x130], 0
je 0x41f188
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov eax, dword [0x44df00]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41f1a2
jmp 0x41f9c1
push str.SQLAgent___Initial_Boot_Probe
lea ecx, [ebp - 0x1ecc]
push ecx
call fcn.00407820
add esp, 8
push 0
push 1
lea edx, [ebp - 0x1ecc]
push edx
call fcn.004078f6
add esp, 0xc
test eax, eax
je 0x41f53b
push 0x4418bc
lea eax, [ebp - 0x1ecc]
push eax
call fcn.0040811e
add esp, 8
test eax, eax
jne 0x41f23c
lea ecx, [ebp - 0x1ecc]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
push 0x200
lea edx, [ebp - 0xc80]
push edx
push 0x15f
mov eax, dword [0x44b81c]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x4418c8
lea ecx, [ebp - 0xc80]
push ecx
lea edx, [ebp - 0x878]
push edx
mov eax, dword [0x44df4c]
call dword [eax + 0x4cc]
add esp, 0xc
jmp 0x41f9c1
lea ecx, [ebp - 0x1fec]
push ecx
push 0x80
push 0x44b934
push 0x12
push 2
push 1
lea edx, [ebp - 0x1ecc]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
test eax, eax
jne 0x41f307
push 0x44b934
lea eax, [ebp - 0xd80]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x100
lea ecx, [ebp - 0x1004]
push ecx
push 0x44bb20
push 0x4418d4
lea edx, [ebp - 0xd80]
push edx
call fcn.0042fc50
add esp, 0x14
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [0x44ba34], eax
mov eax, dword [0x44ba34]
cdq
mov ecx, 0x2710
idiv ecx
push edx
mov eax, dword [0x44ba34]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, edx
cdq
mov ecx, 0x2710
idiv ecx
push eax
mov eax, dword [0x44ba34]
cdq
mov ecx, 0xf4240
idiv ecx
push eax
push 0x4418d8
push 0x44b934
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0x14
lea eax, [ebp - 0x1fec]
push eax
push 0x80
push 0x44b834
push 7
push 2
push 1
lea ecx, [ebp - 0x1ecc]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
test eax, eax
jne 0x41f3d6
push 0x44b834
lea edx, [ebp - 0xd80]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x100
lea eax, [ebp - 0x1004]
push eax
push 0x44bb24
push 0x4418f8
lea ecx, [ebp - 0xd80]
push ecx
call fcn.0042fc50
add esp, 0x14
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cdq
mov ecx, 0x2710
idiv ecx
push edx
mov eax, dword [ebp - 0x8c]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, edx
cdq
mov ecx, 0x2710
idiv ecx
push eax
mov eax, dword [ebp - 0x8c]
cdq
mov ecx, 0xf4240
idiv ecx
push eax
push 0x4418fc
push 0x44b834
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0x14
lea eax, [ebp - 0x1fec]
push eax
push 0x80
lea ecx, [ebp - 0xf04]
push ecx
push 0x4af
push 2
push 1
lea edx, [ebp - 0x1ecc]
push edx
call dword [sym.imp.SQLSVC.dll_QSQLGetProperty]
add esp, 0x1c
push 0
push 0
lea eax, [ebp - 0x130c]
push eax
lea ecx, [ebp - 0x1fe8]
push ecx
push 0
push 0
lea edx, [ebp - 0x1ecc]
push edx
call fcn.00407eb7
add esp, 0x1c
push 0x44b0b8
lea eax, [ebp - 0x238]
push eax
push 0x44b830
push 0x44b82c
lea ecx, [ebp - 0x25f8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x44b0a0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x478]
push ecx
lea edx, [ebp - 0xd84]
push edx
lea eax, [ebp - 0x1ecc]
push eax
call fcn.00408241
add esp, 0x2c
cmp dword [0x44b08c], 0
jne 0x41f48f
cmp dword [0x44b82c], 8
jl 0x41f48f
mov ecx, dword [0x44b82c]
mov dword [0x44dec8], ecx
lea edx, [ebp - 0x470]
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 - 0x1ecc]
push eax
call fcn.00407c09
add esp, 0x1c
cmp dword [0x441198], 0
jne 0x41f4de
lea ecx, [ebp - 0x470]
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 - 0x1ecc]
push edx
call fcn.00407c09
add esp, 0x1c
push 0x44ded8
push 0x44b2cc
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x41f529
lea eax, [ebp - 0x24f0]
push eax
lea ecx, [ebp - 0xe04]
push ecx
lea edx, [ebp - 0x246c]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0x441bf0
push 0x441c04
push 0x64
push 0
push 4
call fcn.0041bfab
add esp, 0x24
lea ecx, [ebp - 0x1ecc]
push ecx
call dword [sym.imp.SQLSVC.dll_QSQLLogoff]
add esp, 4
jmp 0x41f583
push 0x200
lea edx, [ebp - 0xc80]
push edx
push 0x63
mov eax, dword [0x44b81c]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x441c24
lea ecx, [ebp - 0x1eb8]
push ecx
lea edx, [ebp - 0xc80]
push edx
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [0x44df4c]
call dword [ecx + 0x4cc]
add esp, 0x10
jmp 0x41f9c1
cmp dword [0x44b08c], 0
je 0x41f598
mov dword [ebp - 0x2600], 0x441c44
jmp 0x41f5a2
mov dword [ebp - 0x2600], 0x441c4c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov edx, dword [ebp - 0x2600]
push edx
lea eax, [ebp - 0x24f0]
push eax
mov ecx, dword [0x44df4c]
call dword [ecx + 0x4cc]
add esp, 0xc
lea edx, [ebp - 0x24f0]
push edx
lea eax, [ebp - 0xe04]
push eax
lea ecx, [ebp - 0x246c]
push ecx
lea edx, [ebp - 0x10c]
push edx
push str.8.00.760
push 0x441c68
push 0x64
push 0
push 4
call fcn.0041bfab
add esp, 0x24
xor eax, eax
mov ax, word [0x44b934]
test eax, eax
je 0x41f612
mov dword [ebp - 0x2604], 0x44b934
jmp 0x41f61e
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2604], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x2604]
push eax
lea ecx, [ebp - 0x25f8]
push ecx
push 0x65
push 0
push 4
call fcn.0041bfab
add esp, 0x18
xor edx, edx
mov dx, word [0x44b834]
test edx, edx
je 0x41f657
mov dword [ebp - 0x2608], 0x44b834
jmp 0x41f663
lea eax, [ebp - 0x84]
mov dword [ebp - 0x2608], eax
mov ecx, dword [ebp - 0x2608]
push ecx
push 0x66
push 0
push 4
call fcn.0041bfab
add esp, 0x10
mov edx, dword [ebp - 0xf04]
and edx, 0xffff
test edx, edx
je 0x41f6a0
lea eax, [ebp - 0xf04]
push eax
call dword [sym.imp.MSVCRT.dll__wcsupr]
add esp, 4
mov dword [ebp - 0x260c], eax
jmp 0x41f6ac
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x260c], ecx
push 0x44c408
mov edx, dword [ebp - 0x260c]
push edx
push 0x67
push 0
push 4
call fcn.0041bfab
add esp, 0x14
mov eax, dword [ebp - 0x880]
push eax
mov ecx, dword [0x44b0c0]
push ecx
push 0x136
push 0
push 4
call fcn.0041bfab
add esp, 0x14
lea edx, [ebp - 0x1204]
push edx
push 0x44b2cc
push 0x153
push 0
push 4
call fcn.0041bfab
add esp, 0x14
cmp dword [ebp - 0x1fe8], 0
jne 0x41f77e
push 0x200
lea eax, [ebp - 0xc80]
push eax
push 0x69
mov ecx, dword [0x44b81c]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp - 0x130c]
and edx, 0xffff
test edx, edx
je 0x41f744
lea eax, [ebp - 0x130c]
mov dword [ebp - 0x2610], eax
jmp 0x41f750
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x2610], ecx
mov edx, dword [ebp - 0x2610]
push edx
push 0x441c88
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0x878]
push ecx
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x41f9c1
cmp dword [ebp - 0x478], 0
je 0x41f7d1
push 0x200
lea eax, [ebp - 0xc80]
push eax
push 0xff
mov ecx, dword [0x44b81c]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x441ca8
push 0x441cb4
lea edx, [ebp - 0xc80]
push edx
lea eax, [ebp - 0x878]
push eax
mov ecx, dword [0x44df4c]
call dword [ecx + 0x4cc]
add esp, 0x10
jmp 0x41f9c1
cmp dword [ebp - 0xd84], 0
jne 0x41f822
push 0x200
lea edx, [ebp - 0xc80]
push edx
push 0x183
mov eax, dword [0x44b81c]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x441cd4
push 0x441ce0
lea ecx, [ebp - 0xc80]
push ecx
lea edx, [ebp - 0x878]
push edx
mov eax, dword [0x44df4c]
call dword [eax + 0x4cc]
add esp, 0x10
jmp 0x41f9c1
cmp dword [ebp - 0x88], 0
jne 0x41f875
push 0x200
lea ecx, [ebp - 0xc80]
push ecx
push 0x184
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x441d00
push 0x441d0c
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0x878]
push ecx
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x41f9c1
push 0x44119c
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x41f8de
push 0x200
lea ecx, [ebp - 0xc80]
push ecx
push 0x197
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x44119c
lea eax, [ebp - 0x238]
push eax
push 0x441d2c
lea ecx, [ebp - 0xc80]
push ecx
lea edx, [ebp - 0x878]
push edx
mov eax, dword [0x44df4c]
call dword [eax + 0x4cc]
add esp, 0x14
jmp 0x41f9c1
cmp dword [0x44d954], 0
jne 0x41f971
cmp dword [0x44ba34], 0
jne 0x41f936
push 0x200
lea ecx, [ebp - 0xc80]
push ecx
push 0x6b
mov edx, dword [0x44b81c]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x441d4c
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0x878]
push ecx
mov edx, dword [0x44df4c]
call dword [edx + 0x4cc]
add esp, 0xc
jmp 0x41f9c1
cmp dword [0x44ba34], 0x6c5660
jge 0x41f965
push 0x441d6c
push 2
push 0x441d74
push 2
push 4
push 0xc000006b
push 1
push 3
call fcn.0041b7ad
add esp, 0x20
jmp 0x41f9c1
mov dword [ebp - 0x23c], 1
jmp 0x41f97b
mov dword [ebp - 0x23c], 1
cmp dword [ebp - 0x23c], 0
je 0x41f991
push 0x44c3a0
call fcn.00431720
add esp, 4
cmp dword [0x44b08c], 0
jne 0x41f9c1
push 0x441d94
call fcn.0042fae4
add esp, 4
test eax, eax
jne 0x41f9c1
push str.Messenger
push 0x16c
push 0
push 1
call fcn.0041bfab
add esp, 0x10
cmp dword [ebp - 0x23c], 0
jne 0x41fa0d
lea eax, [ebp - 0x878]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x41fa0d
push 0
lea ecx, [ebp - 0x878]
push ecx
push 1
call fcn.0041bfab
add esp, 0xc
lea edx, [ebp - 0x878]
push edx
push 2
push 2
push 0x40000067
push 1
push 1
call fcn.0041b7ad
add esp, 0x18
push 0
mov eax, dword [0x44df00]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41fa26
xor eax, eax
jmp 0x41fa2c
mov eax, dword [ebp - 0x23c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret