Function at 0x4acad0
Capabilities:
Contain obfuscated stackstrings
Delete file
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x60e2f5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], eax
push ebp
lea eax, [esp + 0x5c]
push eax
call fcn.0040b930
mov byte [esp + 0x80], 1
push eax
lea ecx, [esp + 0x60]
push ecx
mov ebx, str._Database__
call fcn.0041e2b0
add esp, 8
mov byte [esp + 0x80], 2
mov esi, dword [eax]
call fcn.004921e0
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x5c]
call fcn.0040ba40
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x58]
call fcn.0040ba40
lea edx, [esp + 0x1c]
push edx
call fcn.0040b8d0
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x8c]
mov ecx, dword [ebp]
push 2
push eax
push ecx
push str.Checking__s_definition_update_file__i_from__i_
lea edi, [esp + 0x2c]
call fcn.0042a2d0
mov esi, dword [esp + 0x2c]
call fcn.00492300
lea edx, [esp + 0x64]
push edx
call fcn.004c27b0
mov byte [esp + 0x94], 4
push eax
lea eax, [esp + 0x70]
push eax
mov ebx, str.mndbver
call fcn.0041e2b0
mov byte [esp + 0x9c], 5
mov esi, dword [esp + 0xb4]
lea ecx, [esp + 0x78]
push esi
push ecx
mov ebx, eax
call fcn.004247e0
mov byte [esp + 0xa4], 6
push eax
lea edx, [esp + 0x54]
push edx
mov ebx, str..txt
call fcn.0041e2b0
add esp, 0x2c
mov byte [esp + 0x80], 8
lea ecx, [esp + 0x5c]
call fcn.0040ba40
mov byte [esp + 0x80], 9
lea ecx, [esp + 0x58]
call fcn.0040ba40
mov byte [esp + 0x80], 0xa
lea ecx, [esp + 0x54]
call fcn.0040ba40
lea eax, [esp + 0x54]
push eax
call fcn.004c27b0
mov byte [esp + 0x84], 0xb
push eax
lea ecx, [esp + 0x60]
push ecx
mov ebx, str.mndbdownload
call fcn.0041e2b0
mov byte [esp + 0x8c], 0xc
lea edx, [esp + 0x68]
push esi
push edx
mov ebx, eax
call fcn.004247e0
mov byte [esp + 0x94], 0xd
push eax
lea eax, [esp + 0x38]
push eax
mov ebx, 0x6d89a0
call fcn.0041e2b0
add esp, 0x1c
mov byte [esp + 0x80], 0xf
lea ecx, [esp + 0x5c]
call fcn.0040ba40
mov byte [esp + 0x80], 0x10
lea ecx, [esp + 0x58]
call fcn.0040ba40
mov byte [esp + 0x80], 0x11
lea ecx, [esp + 0x54]
call fcn.0040ba40
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x1b], 0
call fcn.0040b8d0
mov cl, 0x12
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x13
push str.ProxyPass
push str.Update
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x14
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.0040b990
mov cl, 0x15
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x16
push str.ProxyUser
push str.Update
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x17
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.0040b990
mov cl, 0x18
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x19
push str.ProxyServer
push str.Update
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x1a
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0040b990
mov byte [esp + 0x80], 0x1b
mov edx, dword [esp + 0xa4]
push edx
push 0
push ecx
mov eax, esp
mov dword [esp + 0x80], esp
push eax
mov ecx, 0x6ca128
call fcn.0040b990
mov byte [esp + 0x8c], 0x1c
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.00432120
mov byte [esp + 0x90], 0x1d
push eax
lea edx, [esp + 0x70]
push edx
mov ebx, str._latest.ver
call fcn.0041e2b0
add esp, 0xc
mov byte [esp + 0x8c], 0x1e
mov esi, dword [esp + 0x98]
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0xc4]
push edx
push esi
push ebp
mov byte [esp + 0xb0], 0x20
call fcn.004ab5d0
add esp, 0x30
mov bl, al
mov byte [esp + 0x80], 0x1f
lea ecx, [esp + 0x5c]
call fcn.0040ba40
mov byte [esp + 0x80], 0x1b
lea ecx, [esp + 0x58]
call fcn.0040ba40
mov byte [esp + 0x80], 0x1a
lea ecx, [esp + 0x24]
call fcn.0040ba40
mov byte [esp + 0x80], 0x18
mov eax, dword [esp + 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4acecf
mov edx, dword [esp + 0x30]
push edx
call fcn.004ff160
add esp, 4
mov byte [esp + 0x80], 0x17
lea ecx, [esp + 0x34]
call fcn.0040ba40
mov byte [esp + 0x80], 0x15
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4acf02
mov edx, dword [esp + 0x38]
push edx
call fcn.004ff160
add esp, 4
mov byte [esp + 0x80], 0x14
lea ecx, [esp + 0x3c]
call fcn.0040ba40
mov byte [esp + 0x80], 0x12
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4acf35
mov edx, dword [esp + 0x40]
push edx
call fcn.004ff160
add esp, 4
test bl, bl
je 0x4acfc2
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.004c0fa0
add esp, 8
mov byte [esp + 0x80], 0x21
mov ebx, dword [eax]
lea eax, [esp + 0x28]
call fcn.00419980
mov byte [esp + 0x80], 0x12
lea ecx, [esp + 0x5c]
call fcn.0040b810
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0x28]
push edx
call fcn.00442f60
add esp, 4
test al, al
jne 0x4ad003
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov eax, dword [ebp]
push eax
push str._s_definitions_are_latest
lea edi, [esp + 0x24]
call fcn.0042a2d0
mov esi, dword [esp + 0x24]
add esp, 8
call fcn.00492300
push 0x3e8
call ebx
jmp 0x4ad7a1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov ecx, dword [ebp]
push ecx
push str.Error_during_download_of__s_definitions
lea edi, [esp + 0x24]
call fcn.0042a2d0
mov esi, dword [esp + 0x24]
add esp, 8
call fcn.00492300
push 0x3e8
call ebx
mov edx, dword [esp + 0x94]
mov byte [edx], 1
jmp 0x4ad7a1
mov eax, dword [ebp]
push 2
push esi
push eax
push str.Downloading_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x2c]
call fcn.0042a2d0
mov esi, dword [esp + 0x2c]
add esp, 0x10
call fcn.00492300
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x1a], 0
call fcn.0040b8d0
mov cl, 0x22
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x23
push str.ProxyPass
push str.Update
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x24
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.0040b990
mov cl, 0x25
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x26
push str.ProxyUser
push str.Update
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x27
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0040b990
mov cl, 0x28
mov byte [esp + 0x80], cl
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x78], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x84], 0x29
push str.ProxyServer
push str.Update
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov byte [esp + 0x80], 0x2a
mov ecx, eax
call fcn.00500ec0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.0040b990
mov byte [esp + 0x80], 0x2b
mov esi, dword [esp + 0xa4]
push esi
push 1
push ecx
mov edx, esp
mov dword [esp + 0xb0], esp
lea eax, [esp + 0x30]
push eax
push edx
call fcn.0040b930
mov byte [esp + 0x8c], 0x2c
mov edi, dword [esp + 0xa4]
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.00432120
mov byte [esp + 0x90], 0x2d
push eax
lea edx, [esp + 0x7c]
push edx
mov ebx, 0x6d6b6c
call fcn.0041e2b0
mov byte [esp + 0x98], 0x2e
mov ecx, dword [esp + 0xb4]
push ecx
lea edx, [esp + 0x80]
push edx
mov ebx, eax
call fcn.004247e0
mov byte [esp + 0xa0], 0x2f
push eax
lea eax, [esp + 0x84]
push eax
mov ebx, str..patch
call fcn.0041e2b0
add esp, 0x1c
mov byte [esp + 0x8c], 0x30
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0xc4]
push edx
push eax
push ebp
mov byte [esp + 0xb0], 0x34
call fcn.004ab5d0
add esp, 0x30
mov bl, al
mov byte [esp + 0x80], 0x33
lea ecx, [esp + 0x60]
call fcn.0040ba40
mov byte [esp + 0x80], 0x32
lea ecx, [esp + 0x64]
call fcn.0040ba40
mov byte [esp + 0x80], 0x31
lea ecx, [esp + 0x68]
call fcn.0040ba40
mov byte [esp + 0x80], 0x2b
lea ecx, [esp + 0x6c]
call fcn.0040ba40
mov byte [esp + 0x80], 0x2a
lea ecx, [esp + 0x40]
call fcn.0040ba40
mov byte [esp + 0x80], 0x28
mov ecx, dword [esp + 0x3c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad2ac
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ff160
add esp, 4
mov byte [esp + 0x80], 0x27
lea ecx, [esp + 0x38]
call fcn.0040ba40
mov byte [esp + 0x80], 0x25
mov ecx, dword [esp + 0x34]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad2df
mov eax, dword [esp + 0x34]
push eax
call fcn.004ff160
add esp, 4
mov byte [esp + 0x80], 0x24
lea ecx, [esp + 0x30]
call fcn.0040ba40
mov byte [esp + 0x80], 0x22
mov ecx, dword [esp + 0x44]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad312
mov eax, dword [esp + 0x44]
push eax
call fcn.004ff160
add esp, 4
test bl, bl
je 0x4ad376
push 0xa
push 0x72a514
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp]
push 2
push ecx
push edx
push str.Applying_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x2c]
call fcn.0042a2d0
mov esi, dword [esp + 0x2c]
add esp, 0x10
call fcn.00492300
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x90]
push eax
push ecx
call fcn.004e03e0
test al, al
jne 0x4ad36c
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x17], 1
jmp 0x4ad790
cmp byte [esp + 0x16], 0
je 0x4ad5ad
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0xa8], esp
mov eax, 0x70f0d4
mov ecx, 1
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0x35
push str.ProxyPass
push str.Update
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x90], 0x22
call fcn.00402040
mov byte [esp + 0x80], 0x36
mov ecx, eax
mov dword [esp + 0x18], 1
call fcn.00500ec0
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call fcn.0040b990
mov ecx, 0x37
mov dword [esp + 0x80], ecx
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x1c], 3
mov dword [esp + 0xa8], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x84], 0x38
push str.ProxyUser
push str.Update
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov dword [esp + 0x80], 0x39
mov ecx, eax
mov dword [esp + 0x18], 7
call fcn.00500ec0
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0040b990
mov ecx, 0x3a
mov dword [esp + 0x80], ecx
push ecx
mov eax, esp
mov dword [eax], 0x70f0d4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0xa8], esp
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x84], 0x3b
push str.ProxyServer
push str.Update
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x90], cl
call fcn.00402040
mov dword [esp + 0x80], 0x3c
mov ecx, eax
mov dword [esp + 0x18], 0x1f
call fcn.00500ec0
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.0040b990
mov dword [esp + 0x80], 0x3d
push esi
push 1
push ecx
mov edx, esp
mov dword [esp + 0xb0], esp
lea eax, [esp + 0x30]
push eax
mov ebx, 0x3f
push edx
mov dword [esp + 0x2c], ebx
call fcn.0040b930
mov dword [esp + 0x8c], 0x3e
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call fcn.00432120
mov byte [esp + 0x90], bl
push eax
lea edx, [esp + 0x84]
push edx
mov ebx, str._full.db
mov dword [esp + 0x30], 0x7f
call fcn.0041e2b0
add esp, 0xc
mov dword [esp + 0x8c], 0x40
mov ebx, 0xff
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0xc4]
push edx
push eax
push ebp
mov dword [esp + 0xb0], 0x42
call fcn.004ab5d0
add esp, 0x30
test al, al
je 0x4ad5b1
mov byte [esp + 0xa4], 1
jmp 0x4ad5b9
mov ebx, dword [esp + 0x18]
mov byte [esp + 0xa4], 0
mov dword [esp + 0x80], 0x41
test bl, bl
jns 0x4ad5db
and ebx, 0xffffff7f
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], ebx
call fcn.0040ba40
mov dword [esp + 0x80], 0x3d
test bl, 0x40
je 0x4ad5fb
and ebx, 0xffffffbf
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], ebx
call fcn.0040ba40
mov dword [esp + 0x80], 0x3c
test bl, 0x20
je 0x4ad61b
and ebx, 0xffffffdf
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
call fcn.0040ba40
mov dword [esp + 0x80], 0x3a
test bl, 0x10
je 0x4ad64c
and ebx, 0xffffffef
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x4c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad64c
mov eax, dword [esp + 0x4c]
push eax
call fcn.004ff160
add esp, 4
mov dword [esp + 0x80], 0x39
test bl, 8
je 0x4ad66c
and ebx, 0xfffffff7
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
call fcn.0040ba40
mov dword [esp + 0x80], 0x37
test bl, 4
je 0x4ad69d
and ebx, 0xfffffffb
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x54]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad69d
mov eax, dword [esp + 0x54]
push eax
call fcn.004ff160
add esp, 4
mov dword [esp + 0x80], 0x36
test bl, 2
je 0x4ad6bd
and ebx, 0xfffffffd
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
call fcn.0040ba40
mov dword [esp + 0x80], 0x22
test bl, 1
je 0x4ad6ee
and ebx, 0xfffffffe
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x5c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4ad6ee
mov eax, dword [esp + 0x5c]
push eax
call fcn.004ff160
add esp, 4
cmp byte [esp + 0xa4], 0
je 0x4ad754
push 0xa
push 0x72a514
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp]
push 2
push ecx
push edx
push str.Applying_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x2c]
call fcn.0042a2d0
mov esi, dword [esp + 0x2c]
add esp, 0x10
call fcn.00492300
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x90]
push eax
call fcn.004defc0
test al, al
jne 0x4ad74d
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x17], 1
jmp 0x4ad790
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov edx, dword [ebp]
push edx
push str.Error_during_download_of__s_definitions
lea edi, [esp + 0x24]
call fcn.0042a2d0
mov esi, dword [esp + 0x24]
add esp, 8
call fcn.00492300
push 0x3e8
call ebx
mov eax, dword [esp + 0x94]
mov byte [eax], 1
mov byte [esp + 0x80], 0x12
lea ecx, [esp + 0x24]
call fcn.0040ba40
mov byte [esp + 0x80], 0x11
lea ecx, [esp + 0x28]
call fcn.0040ba40
mov byte [esp + 0x80], 0xa
lea ecx, [esp + 0x20]
call fcn.0040ba40
mov byte [esp + 0x80], 3
lea ecx, [esp + 0x2c]
call fcn.0040ba40
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x1c]
call fcn.0040ba40
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0xa0]
call fcn.0040ba40
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret