Function at 0x45acc0
Capabilities:
Contain obfuscated stackstrings
Delete file
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x583f3e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x6531f0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
xor esi, esi
push eax
mov dword [esp + 0x20], esi
call fcn.0040cb50
mov dword [esp + 0x78], esi
mov edi, dword [ebp + 8]
push edi
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040cbb0
mov byte [esp + 0x78], 1
push eax
lea edx, [esp + 0x50]
push edx
mov ebx, str._Database__
call fcn.0042b340
add esp, 8
mov byte [esp + 0x78], 2
mov esi, dword [eax]
call fcn.00452ae0
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x4c]
call fcn.00402750
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x48]
call fcn.00402750
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi]
push 0xd
push eax
push ecx
push str.Checking__s_definition_update_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.0042e800
mov esi, dword [esp + 0x28]
call fcn.00452a50
mov edi, dword [ebp + 0x18]
lea edx, [esp + 0x58]
push edi
push edx
mov ebx, str.msdbver
call fcn.0042b340
mov byte [esp + 0x90], 3
mov esi, dword [ebp + 0x1c]
lea ecx, [esp + 0x64]
push esi
push ecx
mov ebx, eax
call fcn.0042b2a0
mov byte [esp + 0x98], 4
push eax
lea edx, [esp + 0x50]
push edx
mov ebx, str..txt
call fcn.0042b340
add esp, 0x28
mov byte [esp + 0x78], 6
lea ecx, [esp + 0x4c]
call fcn.00402750
mov byte [esp + 0x78], 7
lea ecx, [esp + 0x48]
call fcn.00402750
lea eax, [esp + 0x48]
push edi
push eax
mov ebx, str.msdbdownload
call fcn.0042b340
mov byte [esp + 0x80], 8
push esi
lea ecx, [esp + 0x58]
push ecx
mov ebx, eax
call fcn.0042b2a0
mov byte [esp + 0x88], 9
push eax
lea edx, [esp + 0x34]
push edx
mov ebx, 0x636988
call fcn.0042b340
add esp, 0x18
mov byte [esp + 0x78], 0xb
lea ecx, [esp + 0x4c]
call fcn.00402750
mov byte [esp + 0x78], 0xc
lea ecx, [esp + 0x48]
call fcn.00402750
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1b], 0
call fcn.0040cb50
mov cl, 0xd
mov byte [esp + 0x78], cl
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x68], esp
mov edx, 0x6510b4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x7c], 0xe
push str.ProxyPass
push str.Update
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x88], cl
call fcn.004024a0
mov byte [esp + 0x78], 0xf
mov ecx, eax
call fcn.004818a0
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.004026a0
mov cl, 0x10
mov byte [esp + 0x78], cl
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x68], esp
mov edx, 0x6510b4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x7c], 0x11
push str.ProxyUser
push str.Update
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x88], cl
call fcn.004024a0
mov byte [esp + 0x78], 0x12
mov ecx, eax
call fcn.004818a0
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.004026a0
mov byte [esp + 0x78], 0x13
push 0
push ecx
mov edx, esp
mov dword [esp + 0x6c], esp
push edx
mov ecx, 0x630230
call fcn.004026a0
mov byte [esp + 0x80], 0x14
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call fcn.00463400
add esp, 4
mov byte [esp + 0x80], 0x15
push eax
lea ecx, [esp + 0x58]
push ecx
mov ebx, str._latest.ver
call fcn.0042b340
add esp, 8
mov byte [esp + 0x80], 0x16
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [esp + 0x1e]
push edx
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x40]
push ecx
push eax
push edi
push esi
mov byte [esp + 0x9c], 0x18
call fcn.0045ab70
add esp, 0x24
mov bl, al
mov byte [esp + 0x78], 0x17
lea ecx, [esp + 0x4c]
call fcn.00402750
mov byte [esp + 0x78], 0x13
lea ecx, [esp + 0x48]
call fcn.00402750
mov byte [esp + 0x78], 0x12
lea ecx, [esp + 0x28]
call fcn.00402750
mov byte [esp + 0x78], 0x10
mov edx, dword [esp + 0x30]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45afb8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0047fb60
add esp, 4
mov byte [esp + 0x78], 0xf
lea ecx, [esp + 0x34]
call fcn.00402750
mov byte [esp + 0x78], 0xd
mov edx, dword [esp + 0x38]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45afe5
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0047fb60
add esp, 4
test bl, bl
je 0x45b063
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.0046d6e0
add esp, 8
mov byte [esp + 0x78], 0x19
mov ebx, dword [eax]
lea eax, [esp + 0x24]
call fcn.00417ae0
mov byte [esp + 0x78], 0xd
lea ecx, [esp + 0x4c]
call fcn.0040ca90
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x24]
push ecx
call fcn.0042b4a0
add esp, 4
test al, al
jne 0x45b09f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov edx, dword [esi]
push edx
push str._s_definitions_are_latest
lea edi, [esp + 0x20]
call fcn.0042e800
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00452a50
push 0x3e8
call ebx
jmp 0x45b6a9
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov eax, dword [esi]
push eax
push str.Error_during_download_of__s_definitions
lea edi, [esp + 0x20]
call fcn.0042e800
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00452a50
push 0x3e8
call ebx
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
jmp 0x45b6a9
mov edx, dword [esi]
push 0xd
push edi
push edx
push str.Downloading_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.0042e800
mov esi, dword [esp + 0x28]
call fcn.00452a50
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ebx, 0x63132c
mov byte [esp + 0x2e], 0
call fcn.0042b340
mov byte [esp + 0x90], 0x1a
mov esi, dword [ebp + 0x1c]
lea edx, [esp + 0x5c]
push esi
push edx
mov ebx, eax
call fcn.0042b2a0
mov byte [esp + 0x98], 0x1b
mov edi, dword [ebp + 0x20]
lea ecx, [esp + 0x68]
push edi
push ecx
mov ebx, eax
call fcn.0042b2a0
mov byte [esp + 0xa0], 0x1c
push eax
lea edx, [esp + 0x78]
push edx
mov ebx, 0x632c74
call fcn.0042b340
mov byte [esp + 0xa8], 0x1d
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x5c]
push edx
mov ebx, eax
call fcn.0042b2a0
add esp, 0x38
mov byte [esp + 0x78], 0x1f
lea ecx, [esp + 0x4c]
call fcn.00402750
mov byte [esp + 0x78], 0x20
lea ecx, [esp + 0x48]
call fcn.00402750
mov byte [esp + 0x78], 0x21
lea ecx, [esp + 0x44]
call fcn.00402750
mov bl, 0x22
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x40]
call fcn.00402750
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x68], esp
mov eax, 0x6510b4
mov ecx, 1
lock xadd dword [eax], ecx
mov byte [esp + 0x7c], 0x23
push str.ProxyPass
push str.Update
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x88], bl
call fcn.004024a0
mov byte [esp + 0x78], 0x24
mov ecx, eax
call fcn.004818a0
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.004026a0
mov cl, 0x25
mov byte [esp + 0x78], cl
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x68], esp
mov edx, 0x6510b4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x7c], 0x26
push str.ProxyUser
push str.Update
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x88], cl
call fcn.004024a0
mov byte [esp + 0x78], 0x27
mov ecx, eax
call fcn.004818a0
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.004026a0
mov byte [esp + 0x78], 0x28
push 1
push ecx
mov edx, esp
mov dword [esp + 0x6c], esp
lea eax, [esp + 0x30]
push eax
push edx
call fcn.0040cbb0
mov byte [esp + 0x80], 0x29
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00463400
add esp, 4
mov byte [esp + 0x80], 0x2a
push eax
lea edx, [esp + 0x64]
push edx
mov ebx, 0x636ae4
call fcn.0042b340
mov byte [esp + 0x88], 0x2b
lea ecx, [esp + 0x64]
push edi
push ecx
mov ebx, eax
call fcn.0042b2a0
mov byte [esp + 0x90], 0x2c
push eax
lea edx, [esp + 0x6c]
push edx
mov ebx, str..patch
call fcn.0042b340
add esp, 0x18
mov byte [esp + 0x80], 0x2d
lea ecx, [esp + 0x1e]
push ecx
mov edi, dword [ebp + 8]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov byte [esp + 0x9c], 0x31
call fcn.0045ab70
add esp, 0x24
mov bl, al
mov byte [esp + 0x78], 0x30
lea ecx, [esp + 0x50]
call fcn.00402750
mov byte [esp + 0x78], 0x2f
lea ecx, [esp + 0x54]
call fcn.00402750
mov byte [esp + 0x78], 0x2e
lea ecx, [esp + 0x58]
call fcn.00402750
mov byte [esp + 0x78], 0x28
lea ecx, [esp + 0x5c]
call fcn.00402750
mov byte [esp + 0x78], 0x27
lea ecx, [esp + 0x38]
call fcn.00402750
mov byte [esp + 0x78], 0x25
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b331
mov eax, dword [esp + 0x34]
push eax
call fcn.0047fb60
add esp, 4
mov byte [esp + 0x78], 0x24
lea ecx, [esp + 0x30]
call fcn.00402750
mov byte [esp + 0x78], 0x22
mov ecx, dword [esp + 0x3c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x45b35e
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047fb60
add esp, 4
test bl, bl
je 0x45b3a5
push 0xa
push 0x66b0a8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi]
push 0xd
push ecx
push edx
push 0x636ae8
lea edi, [esp + 0x28]
call fcn.0042e800
mov esi, dword [esp + 0x28]
add esp, 0x10
call fcn.00452a50
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
call fcn.00470b40
jmp 0x45b64e
cmp byte [esp + 0x16], 0
je 0x45b531
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x6c], esp
mov eax, 0x6510b4
mov ecx, 1
lock xadd dword [eax], ecx
mov byte [esp + 0x7c], 0x32
push str.ProxyPass
push str.Update
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x88], 0x22
call fcn.004024a0
mov byte [esp + 0x78], 0x33
mov ecx, eax
mov dword [esp + 0x1c], 1
call fcn.004818a0
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.004026a0
mov ecx, 0x34
mov dword [esp + 0x78], ecx
push ecx
mov eax, esp
mov dword [eax], 0x6510b4
mov dword [esp + 0x20], 3
mov dword [esp + 0x6c], esp
mov edx, 0x6510b4
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x7c], 0x35
push str.ProxyUser
push str.Update
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x88], cl
call fcn.004024a0
mov dword [esp + 0x78], 0x36
mov ecx, eax
mov dword [esp + 0x1c], 7
call fcn.004818a0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.004026a0
mov dword [esp + 0x78], 0x37
push 1
push ecx
mov edx, esp
mov dword [esp + 0x70], esp
lea eax, [esp + 0x30]
push eax
push edx
mov dword [esp + 0x2c], 0xf
call fcn.0040cbb0
mov dword [esp + 0x80], 0x38
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.00463400
add esp, 4
mov byte [esp + 0x80], 0x39
push eax
lea edx, [esp + 0x6c]
push edx
mov ebx, str._full.db
mov dword [esp + 0x2c], 0x1f
call fcn.0042b340
add esp, 8
mov dword [esp + 0x80], 0x3a
mov ebx, 0x3f
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x1e]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov dword [esp + 0x9c], 0x3c
call fcn.0045ab70
mov edi, dword [ebp + 8]
add esp, 0x24
test al, al
je 0x45b535
mov byte [esp + 0x16], 1
jmp 0x45b53a
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x16], 0
mov dword [esp + 0x78], 0x3b
test bl, 0x20
je 0x45b557
and ebx, 0xffffffdf
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call fcn.00402750
mov dword [esp + 0x78], 0x37
test bl, 0x10
je 0x45b574
and ebx, 0xffffffef
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], ebx
call fcn.00402750
mov dword [esp + 0x78], 0x36
test bl, 8
je 0x45b591
and ebx, 0xfffffff7
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebx
call fcn.00402750
mov dword [esp + 0x78], 0x34
test bl, 4
je 0x45b5bf
and ebx, 0xfffffffb
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45b5bf
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0047fb60
add esp, 4
mov dword [esp + 0x78], 0x33
test bl, 2
je 0x45b5dc
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call fcn.00402750
mov dword [esp + 0x78], 0x22
test bl, 1
je 0x45b60a
and ebx, 0xfffffffe
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x4c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x45b60a
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0047fb60
add esp, 4
cmp byte [esp + 0x16], 0
je 0x45b664
push 0xa
push 0x66b0a8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
push 0xd
push edx
push eax
push 0x636ae8
lea edi, [esp + 0x28]
call fcn.0042e800
mov esi, dword [esp + 0x28]
add esp, 0x10
call fcn.00452a50
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0046f750
test al, al
jne 0x45b65d
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x17], 1
jmp 0x45b69b
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov eax, dword [edi]
push eax
push str.Error_during_download_of__s_definitions
lea edi, [esp + 0x20]
call fcn.0042e800
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00452a50
push 0x3e8
call ebx
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
mov byte [esp + 0x78], 0xd
lea ecx, [esp + 0x28]
call fcn.00402750
mov byte [esp + 0x78], 0xc
lea ecx, [esp + 0x24]
call fcn.00402750
mov byte [esp + 0x78], 7
lea ecx, [esp + 0x20]
call fcn.00402750
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x2c]
call fcn.00402750
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00402750
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret