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

Disassembly:
push 0xffffffffffffffff
push 0x5d51e6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x70], eax
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.0040b840
mov byte [esp + 0x70], 1
push eax
lea ecx, [esp + 0x50]
push ecx
mov ebx, str._Database__
call fcn.004176f0
add esp, 8
mov byte [esp + 0x70], 2
mov esi, dword [eax]
call fcn.00474430
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x4c]
call fcn.0040b950
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x48]
call fcn.0040b950
lea edx, [esp + 0x18]
push edx
call fcn.0040b7e0
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x7c]
mov ecx, dword [ebp]
push 0xd
push eax
push ecx
push str.Checking__s_definition_update_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.00421d60
mov esi, dword [esp + 0x28]
call fcn.00474550
lea edx, [esp + 0x54]
push 0
push edx
call fcn.0049a9d0
mov byte [esp + 0x88], 4
push eax
lea eax, [esp + 0x64]
push eax
mov ebx, str.mndbver
call fcn.004176f0
mov byte [esp + 0x90], 5
mov esi, dword [esp + 0xa8]
lea ecx, [esp + 0x6c]
push esi
push ecx
mov ebx, eax
call fcn.0041c9d0
mov byte [esp + 0x98], 6
push eax
lea edx, [esp + 0x58]
push edx
mov ebx, str..txt
call fcn.004176f0
add esp, 0x30
mov byte [esp + 0x70], 8
lea ecx, [esp + 0x4c]
call fcn.0040b950
mov byte [esp + 0x70], 9
lea ecx, [esp + 0x48]
call fcn.0040b950
mov byte [esp + 0x70], 0xa
lea ecx, [esp + 0x44]
call fcn.0040b950
lea eax, [esp + 0x44]
push 0
push eax
call fcn.0049a9d0
mov byte [esp + 0x78], 0xb
push eax
lea ecx, [esp + 0x54]
push ecx
mov ebx, str.mndbdownload
call fcn.004176f0
mov byte [esp + 0x80], 0xc
lea edx, [esp + 0x5c]
push esi
push edx
mov ebx, eax
call fcn.0041c9d0
mov byte [esp + 0x88], 0xd
push eax
lea eax, [esp + 0x3c]
push eax
mov ebx, 0x6a0570
call fcn.004176f0
add esp, 0x20
mov byte [esp + 0x70], 0xf
lea ecx, [esp + 0x4c]
call fcn.0040b950
mov byte [esp + 0x70], 0x10
lea ecx, [esp + 0x48]
call fcn.0040b950
mov byte [esp + 0x70], 0x11
lea ecx, [esp + 0x44]
call fcn.0040b950
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x1b], 0
call fcn.0040b7e0
mov cl, 0x12
mov byte [esp + 0x70], cl
push ecx
mov eax, esp
mov dword [eax], 0x6d00d4
mov dword [esp + 0x68], esp
mov edx, 0x6d00d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x74], 0x13
push str.ProxyPass
push str.Update
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x80], cl
call fcn.00402030
mov byte [esp + 0x70], 0x14
mov ecx, eax
call fcn.004d9f60
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov cl, 0x15
mov byte [esp + 0x70], cl
push ecx
mov eax, esp
mov dword [eax], 0x6d00d4
mov dword [esp + 0x68], esp
mov edx, 0x6d00d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x74], 0x16
push str.ProxyUser
push str.Update
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x80], cl
call fcn.00402030
mov byte [esp + 0x70], 0x17
mov ecx, eax
call fcn.004d9f60
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov byte [esp + 0x70], 0x18
mov edx, dword [esp + 0x94]
push edx
push 0
push ecx
mov eax, esp
mov dword [esp + 0x70], esp
push eax
mov ecx, 0x692fd0
call fcn.0040b8a0
mov byte [esp + 0x7c], 0x19
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.00428520
mov byte [esp + 0x80], 0x1a
push eax
lea edx, [esp + 0x60]
push edx
mov ebx, str._latest.ver
call fcn.004176f0
add esp, 0xc
mov byte [esp + 0x7c], 0x1b
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
lea eax, [esp + 0xb0]
push eax
push esi
push ebp
mov byte [esp + 0x9c], 0x1d
call fcn.00489a70
add esp, 0x2c
mov bl, al
mov byte [esp + 0x70], 0x1c
lea ecx, [esp + 0x4c]
call fcn.0040b950
mov byte [esp + 0x70], 0x18
lea ecx, [esp + 0x48]
call fcn.0040b950
mov byte [esp + 0x70], 0x17
lea ecx, [esp + 0x24]
call fcn.0040b950
mov byte [esp + 0x70], 0x15
mov ecx, dword [esp + 0x30]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48af85
mov eax, dword [esp + 0x30]
push eax
call fcn.004d8200
add esp, 4
mov byte [esp + 0x70], 0x14
lea ecx, [esp + 0x34]
call fcn.0040b950
mov byte [esp + 0x70], 0x12
mov ecx, dword [esp + 0x38]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48afb2
mov eax, dword [esp + 0x38]
push eax
call fcn.004d8200
add esp, 4
test bl, bl
je 0x48b035
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00498e70
add esp, 8
mov byte [esp + 0x70], 0x1e
mov ebx, dword [eax]
lea eax, [esp + 0x28]
call fcn.00417100
mov byte [esp + 0x70], 0x12
lea ecx, [esp + 0x4c]
call fcn.0040b720
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x90]
call fcn.00438030
add esp, 4
test al, al
jne 0x48b076
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov ecx, dword [ebp]
push ecx
push str._s_definitions_are_latest
lea edi, [esp + 0x20]
call fcn.00421d60
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00474550
push 0x3e8
call ebx
jmp 0x48b632
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 + 0x20]
call fcn.00421d60
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00474550
push 0x3e8
call ebx
mov eax, dword [esp + 0x84]
mov byte [eax], 1
jmp 0x48b632
mov ecx, dword [ebp]
push 0xd
push esi
push ecx
push str.Downloading_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.00421d60
mov esi, dword [esp + 0x28]
add esp, 0x10
call fcn.00474550
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x1a], 0
call fcn.0040b7e0
mov cl, 0x1f
mov byte [esp + 0x70], cl
push ecx
mov eax, esp
mov dword [eax], 0x6d00d4
mov dword [esp + 0x68], esp
mov eax, 0x6d00d4
mov edx, 1
lock xadd dword [eax], edx
mov byte [esp + 0x74], 0x20
push str.ProxyPass
push str.Update
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x80], cl
call fcn.00402030
mov byte [esp + 0x70], 0x21
mov ecx, eax
call fcn.004d9f60
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov cl, 0x22
mov byte [esp + 0x70], cl
push ecx
mov eax, esp
mov dword [eax], 0x6d00d4
mov dword [esp + 0x68], esp
mov edx, 0x6d00d4
mov eax, 1
lock xadd dword [edx], eax
mov byte [esp + 0x74], 0x23
push str.ProxyUser
push str.Update
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x80], cl
call fcn.00402030
mov byte [esp + 0x70], 0x24
mov ecx, eax
call fcn.004d9f60
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov byte [esp + 0x70], 0x25
mov esi, dword [esp + 0x94]
push esi
push 1
push ecx
mov edx, esp
mov dword [esp + 0xa0], esp
lea eax, [esp + 0x30]
push eax
push edx
call fcn.0040b840
mov byte [esp + 0x7c], 0x26
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x94]
push ecx
mov ecx, edi
call fcn.00428520
mov byte [esp + 0x80], 0x27
push eax
lea edx, [esp + 0x6c]
push edx
mov ebx, 0x69c4b0
call fcn.004176f0
mov byte [esp + 0x88], 0x28
mov ecx, dword [esp + 0xa4]
push ecx
lea edx, [esp + 0x70]
push edx
mov ebx, eax
call fcn.0041c9d0
mov byte [esp + 0x90], 0x29
push eax
lea eax, [esp + 0x74]
push eax
mov ebx, str..patch
call fcn.004176f0
add esp, 0x1c
mov byte [esp + 0x7c], 0x2a
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x38]
push edx
push eax
lea eax, [esp + 0xb0]
push eax
push ecx
push ebp
mov byte [esp + 0x9c], 0x2e
call fcn.00489a70
add esp, 0x2c
mov bl, al
mov byte [esp + 0x70], 0x2d
lea ecx, [esp + 0x50]
call fcn.0040b950
mov byte [esp + 0x70], 0x2c
lea ecx, [esp + 0x54]
call fcn.0040b950
mov byte [esp + 0x70], 0x2b
lea ecx, [esp + 0x58]
call fcn.0040b950
mov byte [esp + 0x70], 0x25
lea ecx, [esp + 0x5c]
call fcn.0040b950
mov byte [esp + 0x70], 0x24
lea ecx, [esp + 0x38]
call fcn.0040b950
mov byte [esp + 0x70], 0x22
mov edx, dword [esp + 0x34]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48b285
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004d8200
add esp, 4
mov byte [esp + 0x70], 0x21
lea ecx, [esp + 0x30]
call fcn.0040b950
mov byte [esp + 0x70], 0x1f
mov edx, dword [esp + 0x3c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48b2b2
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004d8200
add esp, 4
test bl, bl
je 0x48b313
push 0xa
push 0x6eac3c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp]
push 0xd
push edx
push eax
push str.Applying_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.00421d60
mov esi, dword [esp + 0x28]
add esp, 0x10
call fcn.00474550
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
push ecx
push edx
call fcn.004b9850
test al, al
jne 0x48b309
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x17], 1
jmp 0x48b624
cmp byte [esp + 0x16], 0
je 0x48b4a9
push ecx
mov eax, esp
mov dword [esp + 0x98], esp
mov dword [eax], 0x6d00d4
mov ecx, 0x6d00d4
mov edx, 1
lock xadd dword [ecx], edx
mov byte [esp + 0x74], 0x2f
push str.ProxyPass
push str.Update
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x80], 0x1f
call fcn.00402030
mov byte [esp + 0x70], 0x30
mov ecx, eax
mov dword [esp + 0x1c], 1
call fcn.004d9f60
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov ecx, 0x31
mov dword [esp + 0x70], ecx
push ecx
mov eax, esp
mov dword [eax], 0x6d00d4
mov dword [esp + 0x20], 3
mov dword [esp + 0x98], esp
mov edx, 0x6d00d4
mov eax, 1
lock xadd dword [edx], eax
mov dword [esp + 0x74], 0x32
push str.ProxyUser
push str.Update
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x80], cl
call fcn.00402030
mov dword [esp + 0x70], 0x33
mov ecx, eax
mov dword [esp + 0x1c], 7
call fcn.004d9f60
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call fcn.0040b8a0
mov dword [esp + 0x70], 0x34
push esi
push 1
push ecx
mov edx, esp
mov dword [esp + 0xa0], esp
lea eax, [esp + 0x30]
push eax
push edx
mov dword [esp + 0x30], 0xf
call fcn.0040b840
mov dword [esp + 0x7c], 0x35
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call fcn.00428520
mov byte [esp + 0x80], 0x36
push eax
lea edx, [esp + 0x74]
push edx
mov ebx, str._full.db
mov dword [esp + 0x34], 0x1f
call fcn.004176f0
add esp, 0xc
mov dword [esp + 0x7c], 0x37
mov ebx, 0x3f
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x22]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x38]
push edx
push eax
lea eax, [esp + 0xb0]
push eax
push ecx
push ebp
mov dword [esp + 0x9c], 0x39
call fcn.00489a70
add esp, 0x2c
test al, al
je 0x48b4ad
mov byte [esp + 0x94], 1
jmp 0x48b4b5
mov ebx, dword [esp + 0x1c]
mov byte [esp + 0x94], 0
mov dword [esp + 0x70], 0x38
test bl, 0x20
je 0x48b4d2
and ebx, 0xffffffdf
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], ebx
call fcn.0040b950
mov dword [esp + 0x70], 0x34
test bl, 0x10
je 0x48b4ef
and ebx, 0xffffffef
lea ecx, [esp + 0x64]
mov dword [esp + 0x1c], ebx
call fcn.0040b950
mov dword [esp + 0x70], 0x33
test bl, 8
je 0x48b50c
and ebx, 0xfffffff7
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ebx
call fcn.0040b950
mov dword [esp + 0x70], 0x31
test bl, 4
je 0x48b53a
and ebx, 0xfffffffb
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x44]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48b53a
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004d8200
add esp, 4
mov dword [esp + 0x70], 0x30
test bl, 2
je 0x48b557
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], ebx
call fcn.0040b950
mov dword [esp + 0x70], 0x1f
test bl, 1
je 0x48b585
and ebx, 0xfffffffe
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x4c]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x48b585
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004d8200
add esp, 4
cmp byte [esp + 0x94], 0
je 0x48b5e8
push 0xa
push 0x6eac3c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp]
push 0xd
push edx
push eax
push str.Applying_update_for__s_definition_file__i_from__i_
lea edi, [esp + 0x28]
call fcn.00421d60
mov esi, dword [esp + 0x28]
add esp, 0x10
call fcn.00474550
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x84]
call fcn.004b8430
test al, al
jne 0x48b5e1
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x17], 1
jmp 0x48b624
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov eax, dword [ebp]
push eax
push str.Error_during_download_of__s_definitions
lea edi, [esp + 0x20]
call fcn.00421d60
mov esi, dword [esp + 0x20]
add esp, 8
call fcn.00474550
push 0x3e8
call ebx
mov ecx, dword [esp + 0x84]
mov byte [ecx], 1
mov byte [esp + 0x70], 0x12
lea ecx, [esp + 0x24]
call fcn.0040b950
mov byte [esp + 0x70], 0x11
lea ecx, [esp + 0x28]
call fcn.0040b950
mov byte [esp + 0x70], 0xa
lea ecx, [esp + 0x20]
call fcn.0040b950
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x2c]
call fcn.0040b950
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x18]
call fcn.0040b950
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.0040b950
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret