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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c7260
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
and dword [esp + 0x18], 0
push esi
lea eax, [esp + 0x54]
push eax
call fcn.00408586
and dword [esp + 0x80], 0
lea ecx, [esp + 0x54]
push str._Database__
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [esp + 0x88], 1
push dword [eax]
call fcn.00465cff
add esp, 0xc
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x54]
call fcn.004085f6
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.004085f6
lea eax, [esp + 0x1c]
push eax
call fcn.0040855f
mov dword [esp + 0x80], 2
push 0xf
push dword [ebp + 0xc]
lea eax, [esp + 0x24]
push dword [esi]
push str.Checking__s_definition_update_file__i_from__i_
call fcn.004310f7
push dword [esp + 0x2c]
call fcn.00465d85
mov ecx, dword [ebp + 0x18]
add esp, 0x14
lea eax, [esp + 0x50]
push str.msdbver
push eax
call fcn.004116ea
mov byte [esp + 0x88], 3
push dword [ebp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [esp + 0x90], 4
lea ecx, [esp + 0x3c]
push str..txt
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x18
mov byte [esp + 0x80], 6
lea ecx, [esp + 0x54]
call fcn.004085f6
mov byte [esp + 0x80], 7
lea ecx, [esp + 0x50]
call fcn.004085f6
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x50]
push str.msdbdownload
push eax
call fcn.004116ea
mov byte [esp + 0x88], 8
push dword [ebp + 0x1c]
lea ecx, [esp + 0x60]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [esp + 0x90], 9
lea ecx, [esp + 0x30]
push 0x68fe10
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x18
mov byte [esp + 0x80], 0xb
lea ecx, [esp + 0x54]
call fcn.004085f6
mov byte [esp + 0x80], 0xc
lea ecx, [esp + 0x50]
call fcn.004085f6
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x1a], 0
call fcn.0040855f
mov byte [esp + 0x80], 0xd
push ecx
mov eax, esp
mov edi, 0x6c30d4
xor ecx, ecx
mov dword [eax], edi
mov dword [esp + 0x70], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0xe
push str.ProxyPass
mov ebx, str.Update
push ebx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x90], 0xd
call fcn.00401b8b
mov byte [esp + 0x80], 0xf
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x10
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [esp + 0x70], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0x11
push str.ProxyUser
push ebx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x90], 0x10
call fcn.00401b8b
mov byte [esp + 0x80], 0x12
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x13
push str.update.vibranium.co.in
lea eax, [esp + 0x2c]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x14
push 0
push 0
push ecx
mov eax, esp
mov dword [esp + 0x78], esp
push 0x6810b8
push eax
call fcn.004085b5
mov byte [esp + 0x8c], 0x15
mov esi, dword [ebp + 0x1c]
lea eax, [esp + 0x5c]
push 0x68fe64
push eax
call fcn.0041fa85
mov byte [esp + 0x94], 0x16
lea ecx, [esp + 0x68]
push str._latest.ver
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x10
mov byte [esp + 0x8c], 0x17
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x21]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0xc]
push esi
mov byte [esp + 0xac], 0x19
call fcn.00477960
add esp, 0x2c
mov byte [esp + 0x15], al
mov byte [esp + 0x80], 0x18
lea ecx, [esp + 0x54]
call fcn.004085f6
mov byte [esp + 0x80], 0x14
lea ecx, [esp + 0x50]
call fcn.004085f6
mov byte [esp + 0x80], 0x13
lea ecx, [esp + 0x28]
call fcn.004085f6
mov byte [esp + 0x80], 0x12
lea ecx, [esp + 0x30]
call fcn.004085f6
mov byte [esp + 0x80], 0x10
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4781bd
push dword [esp + 0x34]
call fcn.004c6150
pop ecx
mov byte [esp + 0x80], 0xf
lea ecx, [esp + 0x38]
call fcn.004085f6
mov byte [esp + 0x80], 0xd
mov eax, dword [esp + 0x3c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4781ed
push dword [esp + 0x3c]
call fcn.004c6150
pop ecx
cmp byte [esp + 0x15], 0
je 0x478271
push dword [esp + 0x2c]
lea eax, [esp + 0x58]
push eax
call fcn.004878b0
pop ecx
pop ecx
mov byte [esp + 0x80], 0x1a
push dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.00410f67
mov byte [esp + 0x80], 0xd
lea ecx, [esp + 0x54]
call fcn.004084b5
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.00409ed0
test eax, eax
jg 0x4782ac
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push dword [esi]
lea eax, [esp + 0x20]
push str._s_definitions_are_latest
call fcn.004310f7
push dword [esp + 0x24]
call fcn.00465d85
add esp, 0xc
push 0x3e8
call edi
jmp 0x478934
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push dword [esi]
lea eax, [esp + 0x20]
push str.Error_during_download_of__s_definitions
call fcn.004310f7
push dword [esp + 0x24]
call fcn.00465d85
add esp, 0xc
push 0x3e8
call edi
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
jmp 0x478934
push 0xf
push dword [ebp + 0xc]
lea eax, [esp + 0x24]
push dword [esi]
push str.Downloading_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [esp + 0x2c]
call fcn.00465d85
mov ecx, dword [ebp + 0x18]
add esp, 0x14
lea eax, [esp + 0x48]
push 0x6810d0
push eax
mov byte [esp + 0x1d], 0
call fcn.004116ea
mov byte [esp + 0x88], 0x1b
push dword [ebp + 0x1c]
lea ecx, [esp + 0x58]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [esp + 0x90], 0x1c
push dword [ebp + 0x20]
lea ecx, [esp + 0x64]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [esp + 0x98], 0x1d
lea ecx, [esp + 0x6c]
push 0x6880e0
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [esp + 0xa0], 0x1e
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov esi, eax
call fcn.0041691a
add esp, 0x28
mov byte [esp + 0x80], 0x20
lea ecx, [esp + 0x54]
call fcn.004085f6
mov byte [esp + 0x80], 0x21
lea ecx, [esp + 0x50]
call fcn.004085f6
mov byte [esp + 0x80], 0x22
lea ecx, [esp + 0x4c]
call fcn.004085f6
mov byte [esp + 0x80], 0x23
lea ecx, [esp + 0x48]
call fcn.004085f6
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [esp + 0x70], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0x24
push str.ProxyPass
push ebx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x90], 0x23
call fcn.00401b8b
mov byte [esp + 0x80], 0x25
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x26
push ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], edi
mov dword [esp + 0x70], esp
mov eax, edi
inc ecx
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0x27
push str.ProxyUser
push ebx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x90], 0x26
call fcn.00401b8b
mov byte [esp + 0x80], 0x28
mov ecx, eax
call fcn.004c7eb0
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x29
push str.update.vibranium.co.in
lea eax, [esp + 0x40]
push eax
call fcn.004085b5
mov byte [esp + 0x80], 0x2a
push 0
push 1
push ecx
mov eax, esp
mov dword [esp + 0x78], esp
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00408586
mov byte [esp + 0x8c], 0x2b
mov esi, dword [ebp + 0x1c]
lea eax, [esp + 0x70]
push 0x68fe64
push eax
call fcn.0041fa85
mov byte [esp + 0x94], 0x2c
lea ecx, [esp + 0x74]
push 0x68c380
push ecx
mov ecx, eax
call fcn.004116ea
mov byte [esp + 0x9c], 0x2d
push dword [ebp + 0x20]
lea ecx, [esp + 0x7c]
push ecx
mov esi, eax
call fcn.0041691a
mov byte [esp + 0xa4], 0x2e
lea ecx, [esp + 0x7c]
push str..patch
push ecx
mov ecx, eax
call fcn.004116ea
add esp, 0x20
mov byte [esp + 0x8c], 0x2f
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x21]
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
push dword [ebp + 0xc]
push esi
mov byte [esp + 0xac], 0x33
call fcn.00477960
add esp, 0x2c
mov byte [esp + 0x17], al
mov byte [esp + 0x80], 0x32
lea ecx, [esp + 0x58]
call fcn.004085f6
mov byte [esp + 0x80], 0x31
lea ecx, [esp + 0x5c]
call fcn.004085f6
mov byte [esp + 0x80], 0x30
lea ecx, [esp + 0x60]
call fcn.004085f6
mov byte [esp + 0x80], 0x2a
lea ecx, [esp + 0x64]
call fcn.004085f6
mov byte [esp + 0x80], 0x29
lea ecx, [esp + 0x3c]
call fcn.004085f6
mov byte [esp + 0x80], 0x28
lea ecx, [esp + 0x38]
call fcn.004085f6
mov byte [esp + 0x80], 0x26
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x478588
push dword [esp + 0x34]
call fcn.004c6150
pop ecx
mov byte [esp + 0x80], 0x25
lea ecx, [esp + 0x30]
call fcn.004085f6
mov byte [esp + 0x80], 0x23
mov eax, dword [esp + 0x40]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4785b8
push dword [esp + 0x40]
call fcn.004c6150
pop ecx
cmp byte [esp + 0x17], 0
je 0x4785fe
push 0xa
push 0x6ddcac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xf
push dword [ebp + 0xc]
lea eax, [esp + 0x24]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [esp + 0x2c]
call fcn.00465d85
add esp, 0x14
push dword [esp + 0x20]
push dword [ebp + 0x10]
call fcn.004b1410
jmp 0x4788d8
cmp byte [esp + 0x15], 0
je 0x47879c
push ecx
mov eax, esp
xor esi, esi
inc esi
mov dword [eax], edi
mov dword [esp + 0x74], esp
mov eax, edi
mov ecx, esi
lock xadd dword [eax], ecx
mov byte [esp + 0x84], 0x34
push str.ProxyPass
push ebx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x90], 0x23
call fcn.00401b8b
mov byte [esp + 0x80], 0x35
mov ecx, eax
mov dword [esp + 0x18], esi
call fcn.004c7eb0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004085b5
mov dword [esp + 0x80], 0x36
push ecx
mov eax, esp
mov dword [eax], edi
mov dword [esp + 0x1c], 3
mov dword [esp + 0x74], esp
mov eax, esi
lock xadd dword [edi], eax
mov dword [esp + 0x84], 0x37
push str.ProxyUser
push ebx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x90], 0x36
call fcn.00401b8b
mov dword [esp + 0x80], 0x38
mov ecx, eax
mov dword [esp + 0x18], 7
call fcn.004c7eb0
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004085b5
mov dword [esp + 0x80], 0x39
push str.update.vibranium.co.in
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x20], 0xf
call fcn.004085b5
mov dword [esp + 0x80], 0x3a
push 0
push esi
push ecx
mov eax, esp
mov dword [esp + 0x7c], esp
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esp + 0x2c], 0x1f
call fcn.00408586
mov dword [esp + 0x8c], 0x3b
mov esi, dword [ebp + 0x1c]
lea eax, [esp + 0x78]
push 0x68fe64
push eax
call fcn.0041fa85
mov byte [esp + 0x94], 0x3c
push 0x3f
pop esi
lea ecx, [esp + 0x7c]
push str._full.db
push ecx
mov ecx, eax
mov dword [esp + 0x34], esi
call fcn.004116ea
add esp, 0x10
mov dword [esp + 0x8c], 0x3d
mov dword [esp + 0x24], 0x7f
lea ecx, [esp + 0x21]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x38]
push ecx
push eax
lea eax, [esp + 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
mov dword [esp + 0xac], esi
call fcn.00477960
mov esi, dword [ebp + 8]
add esp, 0x2c
test al, al
je 0x47879c
mov bl, 1
jmp 0x47879e
xor bl, bl
mov dword [esp + 0x80], 0x3e
test byte [esp + 0x18], 0x40
je 0x4787be
and dword [esp + 0x18], 0xffffffbf
lea ecx, [esp + 0x68]
call fcn.004085f6
mov dword [esp + 0x80], 0x3a
test byte [esp + 0x18], 0x20
je 0x4787de
and dword [esp + 0x18], 0xffffffdf
lea ecx, [esp + 0x6c]
call fcn.004085f6
mov dword [esp + 0x80], 0x39
test byte [esp + 0x18], 0x10
je 0x4787fe
and dword [esp + 0x18], 0xffffffef
lea ecx, [esp + 0x44]
call fcn.004085f6
mov dword [esp + 0x80], 0x38
test byte [esp + 0x18], 8
je 0x47881e
and dword [esp + 0x18], 0xfffffff7
lea ecx, [esp + 0x48]
call fcn.004085f6
mov dword [esp + 0x80], 0x36
test byte [esp + 0x18], 4
je 0x47884c
and dword [esp + 0x18], 0xfffffffb
mov eax, dword [esp + 0x4c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47884c
push dword [esp + 0x4c]
call fcn.004c6150
pop ecx
mov dword [esp + 0x80], 0x35
test byte [esp + 0x18], 2
je 0x47886c
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x50]
call fcn.004085f6
mov dword [esp + 0x80], 0x23
test byte [esp + 0x18], 1
je 0x47889a
and dword [esp + 0x18], 0xfffffffe
mov eax, dword [esp + 0x54]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x47889a
push dword [esp + 0x54]
call fcn.004c6150
pop ecx
test bl, bl
je 0x4788ed
push 0xa
push 0x6ddcac
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xf
push dword [ebp + 0xc]
lea eax, [esp + 0x24]
push dword [esi]
push str.Applying_update_for__s_definition_file__i_from__i_
call fcn.004310f7
push dword [esp + 0x2c]
call fcn.00465d85
mov ecx, dword [ebp + 0x10]
add esp, 0x14
push dword [esp + 0x20]
call fcn.004aff20
test al, al
jne 0x4788e6
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x16], 1
jmp 0x478923
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
push dword [esi]
lea eax, [esp + 0x20]
push str.Error_during_download_of__s_definitions
call fcn.004310f7
push dword [esp + 0x24]
call fcn.00465d85
add esp, 0xc
push 0x3e8
call edi
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov byte [esp + 0x80], 0xd
lea ecx, [esp + 0x28]
call fcn.004085f6
mov byte [esp + 0x80], 0xc
lea ecx, [esp + 0x24]
call fcn.004085f6
mov byte [esp + 0x80], 7
lea ecx, [esp + 0x20]
call fcn.004085f6
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x2c]
call fcn.004085f6
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.004085f6
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret