Function at 0x47898f
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push 0x58
mov eax, 0x5c704e
call fcn.0058ec2b
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.00408586
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push str._Database__
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [ebp - 4], 2
push dword [eax]
call fcn.00465cff
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004085f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004085f6
lea eax, [ebp - 0x18]
push eax
call fcn.0040855f
mov byte [ebp - 4], 3
push 0xf
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Checking__s_definition_update_file__i_from__i_
call fcn.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0048a740
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push str.mndbver
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [ebp - 4], 5
push dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push str..txt
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x34
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.004085f6
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.004085f6
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004085f6
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.0048a740
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
push str.mndbdownload
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [ebp - 4], 0xc
push dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c]
push 0x68fe10
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x48]
call fcn.004085f6
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x44]
call fcn.004085f6
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x40]
call fcn.004085f6
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0xe], 0
call fcn.0040855f
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 str.ProxyPass
mov ebx, str.Update
push ebx
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401b8b
mov byte [ebp - 4], 0x14
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004085b5
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.00401b8b
mov byte [ebp - 4], 0x17
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004085b5
mov byte [ebp - 4], 0x18
push dword [ebp + 0x24]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x60], esp
push 0x6810b8
push eax
call fcn.004085b5
mov byte [ebp - 4], 0x19
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x68fe64
push eax
call fcn.0041fa85
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x48]
push str._latest.ver
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x10
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp + 8]
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 esi
mov byte [ebp - 4], 0x1d
call fcn.00477960
add esp, 0x2c
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x48]
call fcn.004085f6
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x44]
call fcn.004085f6
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x20]
call fcn.004085f6
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478c34
push dword [ebp - 0x2c]
call fcn.004c6150
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x30]
call fcn.004085f6
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478c59
push dword [ebp - 0x34]
call fcn.004c6150
pop ecx
cmp byte [ebp - 0xd], 0
je 0x478ccd
push dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
call fcn.004878b0
pop ecx
pop ecx
mov byte [ebp - 4], 0x1e
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00410f67
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.004084b5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00409ed0
test eax, eax
jg 0x478d06
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push dword [esi]
lea eax, [ebp - 0x18]
push str._s_definitions_are_latest
call fcn.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
add esp, 0xc
push 0x3e8
call edi
jmp 0x479186
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.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
add esp, 0xc
push 0x3e8
call edi
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x479186
push 0xf
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Downloading_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xd], 0
call fcn.0040855f
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 str.ProxyPass
push ebx
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1f
call fcn.00401b8b
mov byte [ebp - 4], 0x21
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004085b5
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.00401b8b
mov byte [ebp - 4], 0x24
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004085b5
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.00408586
mov byte [ebp - 4], 0x26
push 0x68fe64
lea eax, [ebp - 0x58]
push eax
mov esi, dword [ebp + 0x18]
call fcn.0041fa85
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x54]
push 0x68c380
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [ebp - 4], 0x28
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4c]
push str..patch
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x20
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.00477960
add esp, 0x2c
mov byte [ebp - 0xf], al
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x4c]
call fcn.004085f6
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x50]
call fcn.004085f6
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x54]
call fcn.004085f6
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x58]
call fcn.004085f6
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x34]
call fcn.004085f6
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478ea3
push dword [ebp - 0x30]
call fcn.004c6150
pop ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478ec8
push dword [ebp - 0x38]
call fcn.004c6150
pop ecx
cmp byte [ebp - 0xf], 0
je 0x478f0a
push 0xa
push 0x6ddcac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xf
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp + 0x10]
call fcn.004b1410
jmp 0x479133
cmp byte [ebp - 0xd], 0
je 0x479046
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.00401b8b
mov byte [ebp - 4], 0x30
mov ecx, eax
mov dword [ebp - 0x14], esi
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004085b5
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.00401b8b
mov dword [ebp - 4], 0x33
mov ecx, eax
mov dword [ebp - 0x14], 7
call fcn.004c7eb0
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004085b5
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.00408586
mov dword [ebp - 4], 0x35
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x60]
push 0x68fe64
push eax
call fcn.0041fa85
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.004116ea
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 + 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [ebp - 4], 0x39
call fcn.00477960
mov esi, dword [ebp + 8]
add esp, 0x2c
test al, al
je 0x479046
mov bl, 1
jmp 0x479048
xor bl, bl
mov dword [ebp - 4], 0x38
test byte [ebp - 0x14], 0x20
je 0x479061
and dword [ebp - 0x14], 0xffffffdf
lea ecx, [ebp - 0x5c]
call fcn.004085f6
mov dword [ebp - 4], 0x34
test byte [ebp - 0x14], 0x10
je 0x47907a
and dword [ebp - 0x14], 0xffffffef
lea ecx, [ebp - 0x60]
call fcn.004085f6
mov dword [ebp - 4], 0x33
test byte [ebp - 0x14], 8
je 0x479093
and dword [ebp - 0x14], 0xfffffff7
lea ecx, [ebp - 0x3c]
call fcn.004085f6
mov dword [ebp - 4], 0x31
test byte [ebp - 0x14], 4
je 0x4790b9
and dword [ebp - 0x14], 0xfffffffb
mov eax, dword [ebp - 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4790b9
push dword [ebp - 0x40]
call fcn.004c6150
pop ecx
mov dword [ebp - 4], 0x30
test byte [ebp - 0x14], 2
je 0x4790d2
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x44]
call fcn.004085f6
mov dword [ebp - 4], 0x1f
test byte [ebp - 0x14], 1
je 0x4790f8
and dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 0x48]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4790f8
push dword [ebp - 0x48]
call fcn.004c6150
pop ecx
test bl, bl
je 0x479146
push 0xa
push 0x6ddcac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xf
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
mov ecx, dword [ebp + 0x10]
add esp, 0x14
push dword [ebp - 0x1c]
call fcn.004aff20
test al, al
jne 0x479140
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xe], 1
jmp 0x47917a
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.004310f7
push dword [ebp - 0x18]
call fcn.00465d85
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.004085f6
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x24]
call fcn.004085f6
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.004085f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004085f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004085f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004085f6
mov al, byte [ebp - 0xe]
call fcn.0058ed03
ret