joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412230
Capabilities:
Print debug messages
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 0xfffffffe
mov eax, dword [esi]
call dword [eax + 0x1c]
test eax, eax
je 0x412364
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x412262
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test eax, eax
je 0x412364
mov eax, dword [esi + 0x50]
test eax, eax
je 0x412342
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x41228c
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0xc]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push ecx
push edi
push edx
call ebp
test eax, eax
jne 0x4122e9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
lea ecx, [eax - 0x44d]
cmp ecx, 0xb
ja case.0x4122c5.1105
xor edx, edx
mov dl, byte [ecx + 0x412384]
jmp dword [edx*4 + 0x412370]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
push edi
push eax
call ebp
test eax, eax
je 0x4122b0
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
and esi, 0xffff
jmp 0x412328
mov dword [esp + 0x10], 0
jmp 0x412324
mov dword [esp + 0x10], 1
jmp case.0x4122c5.1105
mov dword [esp + 0x10], 0xffff
cmp eax, 0x452
je 0x412324
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esp + 0x10]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 8
ret
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str.ERROR:_CTape::GetTapeStatus___m_dwBlockSize_was_zero_bytes__n
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fwprintf]
add esp, 8
push str.ERROR:_CTape::GetTapeStatus___m_dwBlockSize_was_zero_bytes__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, 0xfffffffe
pop esi
add esp, 8
ret
Function at 0x4144f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418857
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
xor ebx, ebx
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
call sub.MFC42u.DLL_CString::CString_4
lea eax, [esp + 0x10]
mov ebp, 1
push eax
mov dword [esp + 0x48], ebp
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x414548
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x14], ebp
jmp 0x414571
mov eax, dword [esp + 0x10]
push 0x104
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, eax
cmp esi, ebx
jne 0x414594
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], bl
call sub.MFC42u.DLL_CString::CString
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_4
push 0x85c
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 2
call sub.MFC42u.DLL_CString::LoadStringW
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov edi, eax
cmp edi, ebx
je 0x41460a
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4145ff
push esi
lea ecx, [esp + 0x14]
call fcn.00415d82
mov eax, dword [esp + 0x14]
push edi
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, dword [esp + 0x50]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x48], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x414d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
xor edi, edi
push 0x37dc
mov ebx, ecx
push 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0x37dc
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x414d83
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlSession_ManagerMemory_Management
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414dcd
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push esi
push edx
push eax
mov eax, dword [esp + 0x20]
push str.PagingFiles
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414dcd
push esi
mov ecx, ebx
call fcn.00414c90
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414ddc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x414e00
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, esi
call fcn.00414d40
mov ecx, dword [esp + 0x10]
pop edi
shr ecx, 0x14
add ecx, 0x10
pop esi
cmp eax, ecx
sbb eax, eax
inc eax
add esp, 0x20
ret

Function at 0x4159fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415a54
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x4260a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415a47
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x415a56
xor eax, eax
pop esi
leave
ret 4
Function at 0x41160b
Capabilities:
Terminate process

Disassembly:
call fcn.00411618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x50c620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x50c63a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c630
mov eax, 1
add ebx, ebx
jne 0x50c653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c648
jne 0x50c664
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c648
xor ecx, ecx
sub eax, 3
jb 0x50c678
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c6ea
mov ebp, eax
add ebx, ebx
jne 0x50c683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50c690
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50c6b4
inc ecx
add ebx, ebx
jne 0x50c6a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c695
jne 0x50c6b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c695
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c6d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c6c5
jmp 0x50c636
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c6d4
add edi, ecx
jmp 0x50c636
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50c733
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c6f1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50c72d
mov dword [ebx], eax
add ebx, 4
jmp 0x50c70e
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50c767
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x425a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x425b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x425b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x425b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425b71
test eax, eax
je 0x425b67
add ebx, 0x14
jmp 0x425b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x425b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x425ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x425ddd
mov eax, 1
test eax, eax
je 0x425ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x425ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x425dd3
mov ebx, eax
and eax, 0x80000000
jne 0x425d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x425ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x425ddd
mov eax, 1
test eax, eax
je 0x425ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x425ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x425ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x425ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x425b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x425ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x425ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x425e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x425fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x425fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.00425ff8
test eax, eax
je 0x425fee
add ebx, 0x28
dec ecx
jne 0x425fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x42609e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x4260c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x42612e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x4260e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x42612e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x426105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x42612e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x426123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x42612e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x42616b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x426172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4261a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4261a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x426dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00426f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00426f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00426eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00426f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00426ecb
push ecx
push dword [ebp + 8]
call fcn.00426f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00426f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00426ecb
push ecx
push dword [ebp + 8]
call fcn.00426f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00426f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00426ecb
push ecx
push dword [ebp + 8]
call fcn.00426f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00426f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00426ecb
cmp ecx, 0x2b
jne 0x426e0f
leave
ret 0xc

Function at 0x4284b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x428544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0xebd0
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4285d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0xebd0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0xebd0
call fcn.004283fa
push 0xebd0
push dword [ebp + 0xc]
call fcn.004261a8
test eax, eax
jne 0x4285b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0xebd0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004285dd
test eax, eax
je 0x4285d6
jmp 0x428574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4285d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x42860b
Capabilities:
Terminate process

Disassembly:
call fcn.00428618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401012
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x418
push 0x403830
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x401036
or eax, 0xffffffff
jmp 0x4010cc
mov dword [ebp - 8], 0x403830
mov eax, dword [ebp - 8]
movzx eax, word [eax]
test eax, eax
je 0x401051
mov eax, dword [ebp - 8]
inc eax
inc eax
mov dword [ebp - 8], eax
jmp 0x40103d
push 0x5c
mov eax, dword [ebp - 8]
dec eax
dec eax
push eax
push 0x403830
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x401072
or eax, 0xffffffff
jmp 0x4010cc
push str.SogouExplorer2.exe
mov eax, dword [ebp - 0xc]
inc eax
inc eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov byte [ebp - 1], 0
and dword [ebp - 0x10], 0
jmp 0x401094
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x4010c1
push 0
push dword [ebp + 8]
push 0x403830
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4010b4
mov byte [ebp - 1], 1
jmp 0x4010c1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40108d
movzx eax, byte [ebp - 1]
neg eax
sbb eax, eax
neg eax
dec eax
leave
ret

Function at 0x401140
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x401176
xor eax, eax
jmp 0x4011d7
and dword [ebp - 4], 0
push str.SogouExplorer.exe
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4011ae
push dword [ebp - 0x230]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4011ae
jmp 0x4011cb
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40117a
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x4011d9
Capabilities:
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push str.SendPingback_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
movzx eax, byte [ebp + 8]
neg eax
sbb eax, eax
neg eax
push eax
call fcn.00401107
push eax
call fcn.004010ce
push eax
push str.http:__p3p.sogou.com_hotfix.gif_v_sh_Ssucc_d
push 0x404060
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401260
push 0
push 0x80000000
push 0
push 0
push 0x404060
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401257
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.SendPingback_done_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
leave
ret