Function at 0x46405c
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push 0x58
mov eax, 0x5b3a15
call fcn.00580e6b
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov esi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.00408532
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push str._Database__
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00452467
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004085a2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004085a2
lea eax, [ebp - 0x18]
push eax
call fcn.0040850b
mov byte [ebp - 4], 3
push 0xd
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Checking__s_definition_update_file__i_from__i_
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.004720e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push str.mndbver
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 5
push dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.004136d2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push str..txt
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x34
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.004085a2
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.004085a2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004085a2
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004720e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
push str.mndbdownload
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 0xc
push dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.004136d2
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
push 0x67e578
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.004085a2
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x44]
call fcn.004085a2
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.004085a2
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0xe], 0
call fcn.0040850b
mov byte [ebp - 4], 0x12
push ecx
mov eax, esp
mov edi, 0x6ae0d4
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
mov esi, str.ProxyPass
push esi
mov ebx, str.Update
push ebx
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401b8e
mov byte [ebp - 4], 0x14
mov ecx, eax
call fcn.004b9cd0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408561
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 str.ProxyUser
push ebx
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x15
call fcn.00401b8e
mov byte [ebp - 4], 0x17
mov ecx, eax
call fcn.004b9cd0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x18
push dword [ebp + 0x24]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x60], esp
push 0x670fd0
push eax
call fcn.00408561
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push eax
call fcn.0041b631
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
mov dword [esp], str._latest.ver
push ecx
mov ecx, eax
call fcn.0040fc53
pop ecx
pop ecx
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 + 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [ebp - 4], 0x1d
call fcn.00463038
add esp, 0x2c
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x48]
call fcn.004085a2
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x44]
call fcn.004085a2
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x20]
call fcn.004085a2
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4642fd
push dword [ebp - 0x2c]
call fcn.004b7f30
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.004085a2
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x464322
push dword [ebp - 0x34]
call fcn.004b7f30
pop ecx
cmp byte [ebp - 0xd], 0
je 0x464399
push dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
call fcn.0046f3d0
pop ecx
pop ecx
mov byte [ebp - 4], 0x1e
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.0040f8fe
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00408461
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00409d39
test eax, eax
jg 0x4643d5
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x18]
push str._s_definitions_are_latest
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
add esp, 0xc
push 0x3e8
call esi
jmp 0x46484d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x18]
push str.Error_during_download_of__s_definitions
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
add esp, 0xc
push 0x3e8
call esi
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x46484d
mov eax, dword [ebp + 8]
push 0xd
push dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x18]
push str.Downloading_update_for__s_definition_file__i_from__i_
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xd], 0
call fcn.0040850b
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 esi
push ebx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00401b8e
mov byte [ebp - 4], 0x21
mov ecx, eax
call fcn.004b9cd0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00408561
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 str.ProxyUser
push ebx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x22
call fcn.00401b8e
mov byte [ebp - 4], 0x24
mov ecx, eax
call fcn.004b9cd0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00408561
mov byte [ebp - 4], 0x25
push dword [ebp + 0x24]
push 1
push ecx
mov eax, esp
mov dword [ebp - 0x60], esp
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00408532
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.0041b631
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x54]
mov dword [esp], 0x67a4b8
push ecx
mov ecx, eax
call fcn.0040fc53
mov byte [ebp - 4], 0x28
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
mov esi, eax
call fcn.004136d2
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4c]
push str..patch
push ecx
mov ecx, eax
call fcn.0040fc53
add esp, 0x18
mov byte [ebp - 4], 0x2a
mov esi, dword [ebp + 8]
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 + 0x20]
push eax
push dword [ebp + 0xc]
push esi
mov byte [ebp - 4], 0x2e
call fcn.00463038
add esp, 0x2c
mov byte [ebp - 0xf], al
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x4c]
call fcn.004085a2
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x50]
call fcn.004085a2
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x54]
call fcn.004085a2
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x58]
call fcn.004085a2
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x34]
call fcn.004085a2
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46456e
push dword [ebp - 0x30]
call fcn.004b7f30
pop ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2c]
call fcn.004085a2
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x464593
push dword [ebp - 0x38]
call fcn.004b7f30
pop ecx
cmp byte [ebp - 0xf], 0
je 0x4645d5
push 0xa
push 0x6c8c3c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xd
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
call fcn.00498180
jmp 0x4647fa
cmp byte [ebp - 0xd], 0
je 0x46470d
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 ebx
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.004b9cd0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00408561
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 ebx
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.004b9cd0
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00408561
mov dword [ebp - 4], 0x34
push dword [ebp + 0x24]
mov dword [ebp - 0x14], 0xf
push esi
push ecx
mov eax, esp
mov dword [ebp + 0x24], esp
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00408532
mov dword [ebp - 4], 0x35
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x60]
push eax
call fcn.0041b631
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x5c]
mov dword [esp], str._full.db
push ecx
mov ecx, eax
mov dword [ebp - 0x14], 0x1f
call fcn.0040fc53
pop ecx
pop ecx
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 + 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 4], 0x39
call fcn.00463038
mov esi, dword [ebp + 8]
add esp, 0x2c
test al, al
je 0x46470d
mov bl, 1
jmp 0x46470f
xor bl, bl
mov dword [ebp - 4], 0x38
test byte [ebp - 0x14], 0x20
je 0x464728
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x5c]
call fcn.004085a2
mov dword [ebp - 4], 0x34
test byte [ebp - 0x14], 0x10
je 0x464741
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x60]
call fcn.004085a2
mov dword [ebp - 4], 0x33
test byte [ebp - 0x14], 8
je 0x46475a
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x3c]
call fcn.004085a2
mov dword [ebp - 4], 0x31
test byte [ebp - 0x14], 4
je 0x464780
and dword [ebp - 0x14], 0xfffffffb
mov eax, dword [ebp - 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x464780
push dword [ebp - 0x40]
call fcn.004b7f30
pop ecx
mov dword [ebp - 4], 0x30
test byte [ebp - 0x14], 2
je 0x464799
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x44]
call fcn.004085a2
mov dword [ebp - 4], 0x1f
test byte [ebp - 0x14], 1
je 0x4647bf
and dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 0x48]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4647bf
push dword [ebp - 0x48]
call fcn.004b7f30
pop ecx
test bl, bl
je 0x46480d
push 0xa
push 0x6c8c3c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xd
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
mov ecx, dword [ebp + 0x10]
add esp, 0x14
push dword [ebp - 0x1c]
call fcn.00496c90
test al, al
jne 0x464807
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xe], 1
jmp 0x464841
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push dword [esi]
lea eax, [ebp - 0x18]
push str.Error_during_download_of__s_definitions
call fcn.00417833
push dword [ebp - 0x18]
call fcn.004524ed
add esp, 0xc
push 0x3e8
call edi
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x20]
call fcn.004085a2
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
call fcn.004085a2
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004085a2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004085a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004085a2
mov al, byte [ebp - 0xe]
call fcn.00580f43
ret