Function at 0x4031d0
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push str.MICROSOFTSQLServiceControlManagerRefresh
push 0
push 1
push 0
mov eax, dword [0x41301c]
call dword [eax + 0x98]
mov dword [0x4133f4], eax
push 0
push 0
push 1
push 0
mov ecx, dword [0x41301c]
call dword [ecx + 0x98]
mov dword [0x4133e4], eax
push 0
push 1
push 1
push 0
mov edx, dword [0x41301c]
call dword [edx + 0xc4]
mov dword [0x4133f0], eax
push 0
push 1
push 1
push 0
mov eax, dword [0x41301c]
call dword [eax + 0xc4]
mov dword [0x4133ec], eax
push 0
push 1
push 1
push 0
mov ecx, dword [0x41301c]
call dword [ecx + 0xc4]
mov dword [0x4133e8], eax
push 0xa
push 0x410
push 0x4132b8
call fcn.0040b3a0
add esp, 0xc
mov dword [0x4132e0], 0x4133c0
mov dword [ebp - 0xc], 0x6e
jmp 0x403286
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x75
jg 0x4032be
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x413208], eax
jmp 0x40327d
mov dword [ebp - 0xc], 0x76
jmp 0x4032d0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x7d
jg 0x403308
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x4131c8], eax
jmp 0x4032c7
mov dword [ebp - 0xc], 0x93
jmp 0x40331a
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x9a
jg 0x403355
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x413134], eax
jmp 0x403311
mov dword [ebp - 0xc], 0x9b
jmp 0x403367
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xa2
jg 0x4033a2
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x4130f4], eax
jmp 0x40335e
mov dword [ebp - 0xc], 0xa3
jmp 0x4033b4
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0xaa
jg 0x4033ef
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x4130b4], eax
jmp 0x4033ab
mov dword [ebp - 0xc], 0x7e
jmp 0x403401
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x85
jg 0x40343c
push 0
push 0x10
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x413128], eax
jmp 0x4033f8
mov dword [ebp - 0xc], 0x8d
jmp 0x40344e
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x92
jg 0x403489
push 0x40
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
mov edx, dword [0x41301c]
call dword [edx + 0x2b8]
mov ecx, dword [ebp - 0xc]
mov dword [ecx*4 + 0x4130cc], eax
jmp 0x403445
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004065f0
add esp, 8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [0x413034], eax
cmp dword [0x413034], 0
je 0x4034f5
push 0
push 0xf000
mov edx, dword [0x413034]
push edx
call dword [sym.imp.USER32.dll_DeleteMenu]
push 0
push 0xf030
mov eax, dword [0x413034]
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402e90
add esp, 4
mov dword [ebp - 8], 0x208
lea edx, [ebp - 8]
push edx
push 0x4141a0
call dword [sym.imp.SQLUNIRL.dll__GetComputerName_8]
push 0x4141a0
push 0x413d60
mov eax, dword [0x41301c]
call dword [eax + 0x4c0]
push 0x4141a0
push 0x413f80
mov ecx, dword [0x41301c]
call dword [ecx + 0x4c0]
push 0
push 0x80
push 0x141
push 0x3e8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.SQLUNIRL.dll__SendMessage_16]
mov eax, dword [ebp + 8]
push eax
call fcn.00407880
add esp, 4
push 0x207
push 0x4141a0
push 0x3e8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.SQLUNIRL.dll__GetWindowText_12]
push 0x86
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov edx, dword [0x4133f8]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadBitmap_8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push 0x18
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SQLUNIRL.dll__GetObject_12]
push 4
push 4
push 1
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [0x413030], eax
push 0xff00ff
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x413030]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push 0x87
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov eax, dword [0x4133f8]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadBitmap_8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
push ecx
push 0x18
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.SQLUNIRL.dll__GetObject_12]
push 0xff00ff
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x413030]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push 0x88
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov edx, dword [0x4133f8]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadBitmap_8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
push 0x18
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.SQLUNIRL.dll__GetObject_12]
push 0xff00ff
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x413030]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push 0x89
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov ecx, dword [0x4133f8]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadBitmap_8]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x30]
push edx
push 0x18
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SQLUNIRL.dll__GetObject_12]
push 0xff00ff
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [0x413030]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push 0xffffffffffffffff
mov eax, dword [0x413030]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
push 0x3fb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x18], eax
push 0x406c80
push 0xfffffffffffffffc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.SQLUNIRL.dll__SetWindowLong_12]
mov dword [0x413028], eax
cmp dword [0x413028], 0
jne 0x403715
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.SQLUNIRL.dll__FormatMessage_28]
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLUNIRL.dll__MessageBox_16]
mov dword [0x41302c], 3
push 3
call fcn.00406a00
add esp, 4
cmp dword [0x4145cc], 0
jne 0x40375c
mov dword [0x4145d8], 1
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x408560
push 0
push 0
call sub.MSVCR71.dll__beginthreadex
add esp, 0x18
mov dword [0x4113bc], eax
push 0
push 0x413040
mov edx, dword [ebp + 8]
push edx
call fcn.00408c20
add esp, 0xc
push 0
call fcn.00403030
add esp, 4
push 0x4143c0
mov eax, dword [0x4113c0]
mov ecx, dword [0x4132e0]
mov edx, dword [ecx + eax*4 - 0x1b8]
push edx
push 0xbb8
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c1d0
add esp, 0x14
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0x405750
push 0
push 0
call sub.MSVCR71.dll__beginthreadex
add esp, 0x18
mov dword [0x4113b8], eax
cmp dword [0x413040], 0
jne 0x4037e1
push 0
push 0x1f4
push 0x111
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
mov esp, ebp
pop ebp
ret