joyce8/EMBER2024-capa huggingface dataset:
Function at 0x801bf0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb8b644]
sub esp, 0x48c
push ebx
push ebp
push esi
mov esi, dword [0x80c694]
shr eax, 3
push edi
test eax, eax
je 0x801dc0
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x801c24
mov esi, dword [esp + 0x14]
cmp dword [0xb8b644], 0x1c
jne 0x801c41
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x805dc0]
mov eax, dword [0x805dc4]
mov ecx, dword [0x805dc8]
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x20], edx
mov edx, dword [0x805dcc]
mov ebp, 0xc6ef3720
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], 0x20
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x24]
mov esi, ebx
shr esi, 5
cmp dword [0xb8b644], 0x1b
mov dword [esp + 0x10], eax
jne 0x801cbd
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
push ecx
push 0
push 0x402b00
push 0x402b6c
push 0x402ba0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov eax, dword [esp + 0x10]
add esi, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor esi, ecx
xor esi, eax
sub edi, esi
mov eax, edi
shl eax, 4
mov dword [0xb8b5b4], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
cmp dword [0xb8b644], 0x1be
jne 0x801d02
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x2c]
cmp dword [0xb8b644], 0x979
mov dword [0xb8b5b8], 0xff6b3619
mov dword [0xb8b5bc], 0xffffffff
jne 0x801d3f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x18]
mov dword [esp + 0x10], eax
jne 0x801c7a
cmp dword [0xb8b644], 0x8d4
jne 0x801d77
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0xb8b644], 0x17
jne 0x801daf
push 0
push 0
push 0
push 0x402bec
push 0x402c20
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x801c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48c
ret
Function at 0x4066bd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x42f028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x74], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push eax
push 0x12
mov esi, 0x400
push esi
call edi
mov ebx, dword [sym.imp.MSVCR90.dll__wtoi]
lea eax, [ebp - 0x58]
push eax
call ebx
pop ecx
push 4
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x1c]
push eax
push 0xe
push esi
mov dword [ebp - 0x6c], 3
call edi
lea eax, [ebp - 0x1c]
push 4
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x10]
push eax
push 0xf
push esi
call edi
lea eax, [ebp - 0x10]
push 2
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x58]
push eax
push 0x1010
push esi
call edi
lea eax, [ebp - 0x58]
push eax
call ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
push dword [ebp + 8]
lea eax, [ebp - 0x58]
push 0x4229cc
push eax
call fcn.00407326
add esp, 0x14
push dword [ebp + 0x14]
lea eax, [ebp - 0x74]
push dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d342
leave
ret 0x10
Function at 0x406782
Capabilities:
Check if file exists
Create directory

Disassembly:
push 4
mov eax, 0x41fab7
call fcn.0041d9de
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call dword [0x421644]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4067f2
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
inc eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call dword [0x421658]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp + 8]
call fcn.0041da7d
ret 0xc
Function at 0x4080bf
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 2
push 0
push 1
mov esi, eax
push 0x40000000
lea eax, [esi + 0x293c0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40810d
push 0
lea eax, [esp + 0xc]
push eax
push 0x94
add esi, 0x313c0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x40810f
xor eax, eax
pop edi
pop esi
pop ecx
ret
Function at 0x40affd
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x420974
call fcn.0041da47
mov esi, ecx
mov dword [ebp - 0x24], esi
call sub.mfc90u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc90u.dll_CCmdTarget::BeginWaitCursor
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x42fe90]
mov eax, dword [eax + 0x11c0]
add eax, 0x18c
jne 0x40b037
mov dword [ebp - 0x14], ebx
jmp 0x40b03d
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x21398], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push esi
push 0x40768b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40b127
lea edi, [esi + 0x213b0]
call fcn.00407643
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x42fe90]
push edi
push dword [eax + 0x11d0]
call dword [0x42fd04]
pop ecx
pop ecx
test eax, eax
je 0x40b112
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, 0x213a8
push dword [esi]
push ebx
push 0x406
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [edi + 4]
cmp ecx, esi
jb 0x40b0fe
ja 0x40b0cb
mov ecx, dword [edi]
cmp ecx, eax
jbe 0x40b0fe
mov dword [ebp - 0x18], esi
and dword [ebp - 0x18], 0x80000000
and esi, 0x7fffffff
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
fild qword [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
fild qword [ebp - 0x1c]
fchs
faddp st(1)
fmul qword [0x4276f8]
call fcn.0041dbd6
mov dword [edi], eax
mov dword [edi + 4], edx
push ebx
push dword [edi]
push 0x402
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x24]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40b075
or dword [ebp - 4], 0xffffffff
call fcn.0040bf4f
call fcn.0041da91
ret 4
Function at 0x40e2d2
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x42f028]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x41e6f8
call fcn.0041d9de
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x208], ax
xor edi, edi
lea eax, [ebp + 0x20a]
push edi
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
mov eax, 0x104
push eax
lea ecx, [ebp]
push ecx
push edi
push edi
push edi
push eax
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, edi
jne 0x40e36d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0041d342
add ebp, 0x414
leave
ret
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x14]
call dword [0x421644]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [0x421644]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jne 0x40e3ab
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
jmp 0x40e34a
xor edi, edi
inc edi
jmp 0x40e395
Function at 0x41d342
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f028]
jne 0x41d34c
repz ret
jmp fcn.0041d86e
Function at 0x401340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4133b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41922c]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
mov eax, dword [0x41922c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
call fcn.0040ae00
mov esi, eax
call fcn.00406c80
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], 0
mov word [esp + 0x32], 0x20
mov byte [esp + 0xc], 0
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0
call fcn.0040bb60
cmp byte [esp + 0x48], 0
mov ecx, dword [esi + 0xb4]
je 0x4013d0
mov eax, dword [ecx]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
push edx
call eax
jmp 0x4013dc
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0xc]
push eax
call edx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
cmp eax, ecx
mov dword [esp + 0x40], 0xffffffff
je 0x4013fd
test eax, eax
je 0x4013fd
mov ecx, dword [eax - 4]
push eax
call fcn.00409d20
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00412594
add esp, 0x3c
ret
Function at 0x406a70
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
add esp, 0x24
ret

Function at 0x40a560
Capabilities:
Get hostname

Disassembly:
movzx eax, word [esp + 8]
push esi
mov esi, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x40a58a
mov edx, dword [esp + 0xc]
mov byte [edx + esi], 0
mov eax, esi
pop esi
ret
mov eax, dword [str.local]
mov dword [esi], eax
mov cx, word [0x416428]
mov word [esi + 4], cx
mov eax, esi
pop esi
ret

Function at 0x40c520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x413988
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x41922c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.00411830
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x2c], 0
call fcn.0040c260
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
add esp, 0x20
ret

Function at 0x40d0e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
lea edx, [ecx + 8]
push edx
push 0
lea edx, [ecx + 4]
push edx
push 0
push eax
mov dword [ecx + 0xc], eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4

Function at 0x40d110
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
lea eax, [ecx + 8]
push eax
push edx
mov edx, dword [ecx + 0xc]
lea eax, [ecx + 4]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4

Function at 0x40e290
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e2a0
mov ecx, dword [esp + 8]
push ecx
sub eax, esi
push eax
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
pop esi
ret

Function at 0x412594
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41922c]
jne 0x41259e
repz ret
jmp fcn.00412d08
Function at 0x10013bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], 0xeb832598
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x2c], 0x6977a75e
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x74e8e69a
mov dx, word [esp + 0x36]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
xor edi, 0x6ba6cf1b
mov bl, byte [esp + 0x35]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], fcn.10013bc0
not ecx
not eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov word [esp + 0xa], dx
mov byte [esp + 9], bl
jmp 0x10013c6d
mov eax, dword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop ebx
pop edi
pop ebp
ret
mov eax, dword [esp + 0x2c]
xor eax, 0x9688575e
mov ecx, dword [esp + 0x10]
mov dx, word [esp + 0xa]
imul dx, dx
mov word [esp + 0x36], dx
add ecx, eax
and ecx, 0xfffff000
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
sub eax, 0x171ddbf5
sbb ecx, 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], ecx
jb 0x10013c6d
jmp 0x10013ca0
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 9]
mov byte [esp + 0x35], cl
cmp word [eax], reloc.winhttp.dll_WinHttpOpenRequest
jne 0x10013c46
mov eax, dword [esp + 0x10]
mov word [esp + 0x36], 0x3d03
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x10013c3a
jmp 0x10013c46
Function at 0x40face
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x1c
mov eax, dword [0x42b894]
push ebx
push ebp
push esi
mov esi, dword [0x42b884]
and eax, 0x50
push edi
mov edi, edx
mov word [0x42b890], ax
mov dword [esp + 0x10], ecx
xor edx, edx
lea eax, [esi - 0x63ed4efe]
and esi, 0x25b8cc9
mov dword [0x42b894], eax
push 3
pop ecx
lea eax, [edi + 2]
mov dword [0x42b88c], esi
div ecx
mov ebx, eax
shl ebx, 2
mov dword [esp + 0x24], ebx
lea ecx, [ebx + 0xa]
push ecx
call fcn.0040570b
mov ebp, eax
mov dword [esp + 0x2c], ebp
pop ecx
movzx ecx, word [0x42b890]
test ebp, ebp
jne 0x40fb64
mov al, byte [0x42b884]
add al, 4
mov byte [0x42b893], al
mov eax, ecx
and eax, 0xb70cb421
or ecx, 0xb4ff53fd
mov dword [0x42b894], eax
imul eax, ecx, 0xeae3b19f
mov dword [0x42b88c], eax
xor eax, eax
jmp 0x40fd09
movzx eax, byte [0x42b893]
mov edx, 0x290c
sub ax, dx
or ecx, 0xf79f577d
movzx esi, ax
and esi, 0x4ed4b52b
mov dword [0x42b894], esi
test edi, edi
je 0x40fcbe
lea eax, [ebp + 2]
mov dword [esp + 0x14], 2
mov dword [esp + 0x1c], eax
xor edx, edx
mov eax, dword [esp + 0x10]
push 3
pop ebp
lea ebx, [eax + 2]
not eax
mov dword [esp + 0x10], eax
lea eax, [edi - 1]
div ebp
inc eax
mov dword [esp + 0x20], eax
movzx edx, byte [ebx - 2]
mov eax, esi
xor eax, 0x4f3cec34
shl edx, 0x10
mov dword [esp + 0x18], eax
add ecx, 0x3dbf0694
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
add eax, ebx
cmp eax, edi
jae 0x40fbf9
movzx eax, byte [ebx - 1]
shl eax, 8
movzx ecx, bp
add edx, eax
xor ecx, 0xd2a9
add ecx, 0x771d33bb
cmp dword [esp + 0x14], edi
jae 0x40fc0c
movzx eax, byte [ebx]
mov ecx, ebp
add edx, eax
and ecx, 0xfd7655fa
mov ebp, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x12
or ecx, 0xdf520cfe
imul esi, esi, 0x4f079781
mov al, byte [eax + 0x428ee0]
mov byte [ebp - 2], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x428ee0]
mov byte [ebp - 1], al
mov eax, dword [esp + 0x10]
add eax, ebx
cmp eax, edi
jae 0x40fc55
mov eax, edx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x428ee0]
jmp 0x40fc57
mov al, 0x3d
mov ebp, dword [esp + 0x1c]
mov byte [ebp], al
mov eax, dword [esp + 0x18]
movzx eax, al
imul eax, eax, 0xdb
mov byte [0x42b893], al
movzx eax, al
and eax, 0xb76b2c98
mov dword [0x42b884], eax
cmp dword [esp + 0x14], edi
jae 0x40fc8e
and edx, 0x3f
mov dl, byte [edx + 0x428ee0]
jmp 0x40fc90
mov dl, 0x3d
mov byte [ebp + 1], dl
add ebp, 4
push 3
pop edx
add dword [esp + 0x14], edx
add ebx, edx
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebp
jne 0x40fbbb
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [0x42b894], esi
jmp 0x40fcc3
mov eax, dword [0x42b884]
mov edx, dword [esp + 0x30]
or ecx, 0x43ae
mov word [0x42b890], cx
mov byte [ebx + ebp], 0
test edx, edx
je 0x40fcfc
imul eax, ecx, 0x4bf5
mov dword [edx], ebx
mov word [0x42b890], ax
and al, 0x65
mov byte [0x42b893], al
imul eax, esi, 0xf9abe235
mov dword [0x42b884], eax
imul eax, eax, 0x75a25eb4
mov dword [0x42b88c], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x414be8
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga
Get number of processors

Disassembly:
push ebx
push esi
push edi
mov edi, dword fs:[0x30]
mov ebx, ecx
movzx eax, byte [0x42b956]
imul eax, eax, 0xdb
push 0x61
pop edx
mov byte [0x42b956], 0x64
mov byte [0x42b939], dl
or al, 0x64
movzx ecx, al
mov eax, 0xe14c
and cx, ax
mov eax, dword [edi + 0xc]
add eax, 0x14
mov esi, dword [eax]
cmp esi, eax
je 0x414cbf
add cl, 0x44
or dl, 0x18
movzx eax, cl
mov byte [0x42b956], cl
mov ecx, 0x1148
push ebx
push dword [esi + 0x28]
sub ax, cx
mov byte [0x42b939], dl
mov word [0x42b978], ax
call fcn.00407189
pop ecx
pop ecx
test eax, eax
je 0x414c86
mov eax, dword [edi + 0xc]
mov cl, byte [0x42b956]
add eax, 0x14
mov esi, dword [esi]
add cl, 0xd
mov byte [0x42b939], cl
mov dl, cl
cmp esi, eax
je 0x414cbf
mov cx, word [0x42b978]
jmp 0x414c2e
movzx eax, byte [0x42b956]
movzx ecx, byte [0x42b956]
imul eax, eax, 0xe8
mov byte [0x42b939], al
mov eax, 0xaa52
xor cx, ax
mov eax, dword [esi + 0x10]
mov word [0x42b978], cx
sub cl, 0x78
and cl, 0x90
mov byte [0x42b956], cl
jmp 0x414cd2
movzx eax, dl
mov ecx, 0xe38
add ax, cx
mov word [0x42b978], ax
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x414cd6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
movzx eax, byte [0x42b981]
mov edx, ecx
push ebx
mov bl, byte [0x42b980]
push ebp
mov dword [esp + 0x10], eax
sub bl, 0x52
add eax, 0xffff8e37
mov dword [esp + 8], edx
push esi
push edi
mov byte [0x42b970], bl
mov dword [esp + 0x14], eax
movzx edi, ax
mov word [0x42b92c], ax
call fcn.00414f19
mov esi, eax
lea edx, [ebx + 0x1d]
mov ecx, edi
test esi, esi
je 0x414ee7
mov dl, byte [esp + 0x14]
mov eax, 0x14c
movzx ebp, word [esi + 4]
xor dl, 0x15
cmp bp, ax
jne 0x414e24
mov ebp, dword [esi + 0x78]
or edi, 0xefaf
add bl, 0x7f
movzx eax, di
xor bl, 0x21
mov word [0x42b92c], ax
mov byte [0x42b970], bl
mov ecx, eax
test ebp, ebp
je 0x414ee7
movzx ecx, dl
mov edi, 0x7335
or cx, di
add al, 0x3c
xor dl, 0xd8
mov byte [0x42b980], al
cmp dword [esi + 0x74], 0
mov byte [0x42b981], dl
lea ebx, [ecx - 0x52]
mov byte [0x42b970], bl
ja 0x414db6
movzx eax, al
mov ecx, 0x727e
xor ax, cx
mov byte [0x42b91b], 0x21
mov word [0x42b988], ax
add eax, 0x2342
mov word [0x42b92c], ax
jmp 0x414f0f
mov edi, dword [esp + 0x24]
mov eax, 0xc1a
movzx ebx, bl
and cl, 0x42
sub bx, ax
mov byte [0x42b980], cl
sub dl, 3
mov word [0x42b92c], bx
test edi, edi
je 0x414de4
mov eax, dword [esi + 0x7c]
lea edx, [ecx + 0x12]
mov dword [edi], eax
movzx eax, bl
xor dl, 0x16
imul ecx, eax, 0x47
mov byte [0x42b981], dl
mov edx, 0x5b45
xor cl, 0x5e
movzx eax, cl
or cl, 0xa7
sub ax, dx
mov byte [0x42b970], cl
mov word [0x42b988], ax
or cl, 0x2a
mov eax, dword [esp + 0x10]
mov byte [0x42b91b], cl
add eax, ebp
jmp 0x414f11
lea eax, [ecx - 0x4f]
mov edi, 0x8664
mov byte [0x42b970], al
mov eax, ecx
cmp bp, di
jne 0x414ee7
mov edi, dword [esi + 0x88]
sub dl, 9
and dl, 0xb6
mov byte [0x42b970], 0x4b
mov byte [0x42b91b], dl
test edi, edi
je 0x414ee7
mov eax, dword [esp + 0x18]
add eax, 0xffffc723
cmp dword [esi + 0x84], 0
mov word [0x42b92c], ax
ja 0x414e8c
mov eax, 0x4d08
mov byte [0x42b981], 0x5f
sub dl, 0x23
mov word [0x42b988], ax
jmp 0x414f09
mov edx, dword [esp + 0x24]
mov byte [0x42b91b], 2
push 0x3f
pop ecx
mov byte [0x42b980], cl
test edx, edx
je 0x414eb7
mov eax, dword [esi + 0x8c]
mov ecx, 0xd9
mov byte [0x42b980], cl
mov dword [edx], eax
imul eax, ecx, 0x9ba2
mov ecx, 0x7b7c
mov word [0x42b988], cx
mov word [0x42b92c], ax
xor al, 0x3c
sub al, 0xc
mov byte [0x42b970], al
add al, 0x4b
mov byte [0x42b981], al
mov eax, dword [esp + 0x10]
add eax, edi
jmp 0x414f11
mov al, dl
xor ecx, 0xbb76
sub dl, 0x5f
mov word [0x42b988], cx
and al, 0x8a
mov byte [0x42b91b], dl
mov byte [0x42b981], al
sub dl, 0x3a
mov byte [0x42b980], dl
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x414f19
Capabilities:
Parse pe header

Disassembly:
movzx edx, byte [0x42b938]
mov eax, 0xe16b
push ebx
mov bl, byte [0x42b982]
push esi
mov esi, ecx
xor bl, 0xdd
mov ecx, edx
or bl, 0x5d
imul ecx, eax
push edi
mov byte [0x42b920], bl
movzx eax, cx
mov ecx, 0x5a4d
cmp word [esi], cx
jne 0x414fa0
mov edi, dword [esi + 0x3c]
mov eax, 0xb1a8
add edi, esi
mov dh, bl
movzx esi, bl
mov dl, 0xa8
imul esi, eax
sub dh, 0x50
mov eax, 0xeec
mov byte [0x42b938], dh
xor si, ax
movzx eax, bl
imul ecx, eax, 0x36
mov word [0x42b964], si
movzx eax, si
sub dl, cl
cmp dword [edi], 0x4550
mov byte [0x42b920], dl
jne 0x414fa0
sub dh, 0x42
mov eax, edi
mov byte [0x42b982], dh
jmp 0x414fbb
add al, 0x51
movzx ecx, al
mov byte [0x42b982], al
mov eax, 0x8d6b
imul ecx, eax
xor eax, eax
mov word [0x42b964], cx
pop edi
pop esi
pop ebx
ret

Function at 0x414fbf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [0x42b98a]
movzx edx, word [0x42b984]
push ebx
mov ebx, ecx
imul ecx, eax, 7
mov eax, 0x784
imul edx, eax
mov eax, 0x5185
add word [0x42b958], ax
mov al, byte [ebx]
push esi
xor esi, esi
mov byte [0x42b98a], cl
mov word [0x42b984], dx
movzx edx, cl
or edx, 0xb8033521
mov byte [ebp - 1], al
mov dword [0x42b97c], edx
test al, al
je 0x415071
push edi
mov di, word [0x42b940]
mov eax, 0x5325
imul esi, esi, 0x3c847bc
sub di, ax
movzx ecx, di
mov edx, ecx
or edx, 0x98609b36
mov eax, edx
mov dword [0x42b97c], edx
xor eax, 0x54e7
mov word [0x42b984], ax
or eax, 0xc4fb
mov word [0x42b958], ax
movzx eax, cl
imul eax, eax, 0x85
mov byte [0x42b98a], al
movsx eax, byte [ebp - 1]
xor esi, eax
inc ebx
mov al, byte [ebx]
mov byte [ebp - 1], al
test al, al
jne 0x41501b
pop edi
mov eax, esi
xor edx, 0x619b
pop esi
mov word [0x42b940], dx
pop ebx
leave
ret