Function at 0x466ff3
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push 0x58
mov eax, 0x5ba3f0
call fcn.0058705b
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.004084e9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push str._Database__
push ecx
mov ecx, eax
call fcn.0040fcd8
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00452d30
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00408559
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00408559
lea eax, [ebp - 0x18]
push eax
call fcn.004084c2
mov byte [ebp - 4], 3
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebx]
push str.Checking__s_definition_update_file__i_from__i_
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
lea eax, [ebp - 0x40]
push eax
call fcn.004768f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push str.mndbver
push ecx
mov ecx, eax
call fcn.0040fcd8
mov byte [ebp - 4], 5
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.00413865
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 0x67f578
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00408559
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00408559
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00408559
lea eax, [ebp - 0x40]
push eax
call fcn.004768f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
mov dword [esp], str.mndbdownload
push ecx
mov ecx, eax
call fcn.0040fcd8
mov byte [ebp - 4], 0xc
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.00413865
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
push 0x67f598
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x18
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.00408559
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x44]
call fcn.00408559
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.00408559
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0xe], 0
call fcn.004084c2
mov byte [ebp - 4], 0x12
push ecx
mov eax, esp
mov edi, 0x6c30d4
xor ecx, ecx
mov dword [eax], edi
mov dword [ebp - 0x60], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x13
push 0x67f5c0
push 0x67f5cc
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401b8e
mov byte [ebp - 4], 0x14
mov ecx, eax
call fcn.004bfc60
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x15
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [ebp - 0x60], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x16
push 0x67f5d4
push 0x67f5e0
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x15
call fcn.00401b8e
mov byte [ebp - 4], 0x17
mov ecx, eax
call fcn.004bfc60
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x18
push dword [ebp + 0x20]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x60], esp
push 0x67f5bc
push eax
call fcn.00408518
mov byte [ebp - 4], 0x19
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x44]
push 0x67f600
push eax
call fcn.0041b1a6
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
push str._latest.ver
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x10
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 8]
push ebx
mov byte [ebp - 4], 0x1d
call fcn.0046607c
add esp, 0x2c
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x48]
call fcn.00408559
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x44]
call fcn.00408559
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x20]
call fcn.00408559
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x467295
push dword [ebp - 0x2c]
call fcn.004bdf50
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.00408559
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4672ba
push dword [ebp - 0x34]
call fcn.004bdf50
pop ecx
cmp byte [ebp - 0xd], 0
je 0x46732e
push dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
call fcn.00473c50
pop ecx
pop ecx
mov byte [ebp - 4], 0x1e
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.0040f980
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00408418
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00409d1b
test eax, eax
jg 0x467367
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push dword [ebx]
lea eax, [ebp - 0x18]
push str._s_definitions_are_latest
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
add esp, 0xc
push 0x3e8
call esi
jmp 0x4677f3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push dword [ebx]
lea eax, [ebp - 0x18]
push 0x67f648
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
add esp, 0xc
push 0x3e8
call esi
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x4677f3
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebx]
push str.Downloading_update_for__s_definition_file__i_from__i_
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xd], 0
call fcn.004084c2
mov byte [ebp - 4], 0x1f
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [ebp - 0x60], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x20
push 0x67f63c
push 0x67f704
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00401b8e
mov byte [ebp - 4], 0x21
mov ecx, eax
call fcn.004bfc60
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x22
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [ebp - 0x60], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x23
push 0x67f70c
push 0x67f718
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x22
call fcn.00401b8e
mov byte [ebp - 4], 0x24
mov ecx, eax
call fcn.004bfc60
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00408518
mov byte [ebp - 4], 0x25
push dword [ebp + 0x20]
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x60], esp
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 0x26
push 0x67f734
lea eax, [ebp - 0x58]
push eax
mov esi, dword [ebp + 0x14]
call fcn.0041b1a6
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x54]
push 0x67f730
push ecx
mov ecx, eax
call fcn.0040fcd8
mov byte [ebp - 4], 0x28
push dword [ebp + 0x18]
lea ecx, [ebp - 0x50]
push ecx
mov esi, eax
call fcn.00413865
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4c]
push str..patch
push ecx
mov ecx, eax
call fcn.0040fcd8
add esp, 0x20
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 8]
push ebx
mov byte [ebp - 4], 0x2e
call fcn.0046607c
add esp, 0x2c
mov byte [ebp - 0xf], al
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x4c]
call fcn.00408559
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x50]
call fcn.00408559
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x54]
call fcn.00408559
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x58]
call fcn.00408559
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x34]
call fcn.00408559
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x467509
push dword [ebp - 0x30]
call fcn.004bdf50
pop ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2c]
call fcn.00408559
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46752e
push dword [ebp - 0x38]
call fcn.004bdf50
pop ecx
cmp byte [ebp - 0xf], 0
je 0x467570
push 0xa
push 0x6de654
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebx]
push 0x67f748
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.0049bd10
jmp 0x4677a0
cmp byte [ebp - 0xd], 0
je 0x4676af
push ecx
mov eax, esp
xor esi, esi
inc esi
mov dword [eax], edi
mov dword [ebp - 0x64], esp
mov eax, edi
mov ecx, esi
lock xadd dword [eax], ecx
mov byte [ebp - 4], 0x2f
push str.ProxyPass
push 0x67f7b0
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00401b8e
mov byte [ebp - 4], 0x30
mov ecx, eax
mov dword [ebp - 0x14], esi
call fcn.004bfc60
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00408518
mov dword [ebp - 4], 0x31
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x64], esp
mov eax, esi
lock xadd dword [edi], eax
mov dword [ebp - 4], 0x32
push str.ProxyUser
push 0x67f7c4
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x31
call fcn.00401b8e
mov dword [ebp - 4], 0x33
mov ecx, eax
mov dword [ebp - 0x14], 7
call fcn.004bfc60
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00408518
mov dword [ebp - 4], 0x34
push dword [ebp + 0x20]
mov dword [ebp - 0x14], 0xf
push esi
push ecx
mov eax, esp
mov dword [ebp + 0x20], esp
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004084e9
mov dword [ebp - 4], 0x35
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x60]
push 0x67f7e0
push eax
call fcn.0041b1a6
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x5c]
push str._full.db
push ecx
mov ecx, eax
mov dword [ebp - 0x14], 0x1f
call fcn.0040fcd8
add esp, 0x10
mov dword [ebp - 4], 0x37
mov dword [ebp - 0x14], 0x3f
lea ecx, [ebp - 0xd]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 8]
push ebx
mov dword [ebp - 4], 0x39
call fcn.0046607c
add esp, 0x2c
mov byte [ebp + 0x23], 1
test al, al
jne 0x4676b3
mov byte [ebp + 0x23], 0
mov dword [ebp - 4], 0x38
test byte [ebp - 0x14], 0x20
je 0x4676cc
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x5c]
call fcn.00408559
mov dword [ebp - 4], 0x34
test byte [ebp - 0x14], 0x10
je 0x4676e5
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x60]
call fcn.00408559
mov dword [ebp - 4], 0x33
test byte [ebp - 0x14], 8
je 0x4676fe
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x3c]
call fcn.00408559
mov dword [ebp - 4], 0x31
test byte [ebp - 0x14], 4
je 0x467724
and dword [ebp - 0x14], 0xfffffffb
mov eax, dword [ebp - 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x467724
push dword [ebp - 0x40]
call fcn.004bdf50
pop ecx
mov dword [ebp - 4], 0x30
test byte [ebp - 0x14], 2
je 0x46773d
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x44]
call fcn.00408559
mov dword [ebp - 4], 0x1f
test byte [ebp - 0x14], 1
je 0x467763
and dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 0x48]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x467763
push dword [ebp - 0x48]
call fcn.004bdf50
pop ecx
cmp byte [ebp + 0x23], 0
je 0x4677b3
push 0xa
push 0x6de654
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebx]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
mov ecx, dword [ebp + 0xc]
add esp, 0x14
push dword [ebp - 0x1c]
call fcn.0049a830
test al, al
jne 0x4677ad
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xe], 1
jmp 0x4677e7
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push dword [ebx]
lea eax, [ebp - 0x18]
push str.Error_during_download_of__s_definitions
call fcn.00417a4d
push dword [ebp - 0x18]
call fcn.00452db6
add esp, 0xc
push 0x3e8
call esi
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x20]
call fcn.00408559
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
call fcn.00408559
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.00408559
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00408559
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00408559
mov al, byte [ebp - 0xe]
call fcn.00587133
ret