joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4507ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push edi
mov edi, ecx
mov dword [ebp - 8], edi
jne 0x450813
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.0045204b
xor al, al
jmp 0x4508ea
push esi
call fcn.0044fb88
lea ecx, [edi + 4]
call fcn.0044f5d4
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
xor ebx, ebx
push 2
push ebx
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x450855
push ebx
push ebx
push ebx
push 0xc
jmp 0x450885
inc eax
push eax
call dword [sym.imp.mfc140u.dll_operator_1]
push dword [ebp + 8]
mov esi, eax
push 1
push dword [ebp - 4]
push esi
mov byte [esi], bl
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x450890
push esi
call dword [sym.imp.mfc140u.dll_operator]
pop ecx
push ebx
push ebx
push ebx
push 2
mov ecx, edi
call fcn.0045204b
xor al, al
jmp 0x4508e9
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, esi
mov byte [esi + edx], bl
mov dl, byte [esi]
test dl, dl
je 0x4508ca
mov dword [ebp - 4], eax
lea edi, [ecx + 1]
inc eax
mov dword [ebp + 8], edi
cmp dl, 0xd
jne 0x4508bc
mov byte [ecx], 0xa
cmp byte [eax], 0xa
cmovne eax, dword [ebp - 4]
inc eax
jmp 0x4508be
mov byte [ecx], dl
mov dl, byte [eax]
mov ecx, dword [ebp + 8]
test dl, dl
jne 0x4508a0
mov edi, dword [ebp - 8]
push dword [ebp + 0xc]
mov byte [ecx], bl
mov ecx, edi
mov eax, dword [edi]
push ebx
push esi
call dword [eax + 8]
push esi
call dword [sym.imp.mfc140u.dll_operator]
pop ecx
mov ecx, edi
call fcn.0044f7d2
xor al, 1
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x457900
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x45793b
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x457934
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x457921
pop edi
pop esi
add esp, 0xc
ret 8
push dword [0x51f910]
lea ecx, [esp + 8]
call fcn.00457840
push 0x50c140
lea eax, [esp + 8]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x458010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x51e12c]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, 0x64
mov dword [esp + 0x22], 0x2e0032
mov word [esp + 0x26], ax
mov eax, 0x4b
mov word [esp + 0x14], ax
xor eax, eax
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x44]
mov word [esp + 0x34], ax
mov byte [esp + 0x1a], al
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x26], 0x65006e
push eax
mov dword [esp + 0x26], 0x720065
mov dword [esp + 0x38], 0x6c006c
mov dword [esp + 0x2e], 0x33006c
mov word [esp + 0x15], 0x7564
mov word [esp + 0x10], 0x6547
mov word [esp + 0x18], 0x4665
mov word [esp + 0x1b], 0x656c
mov word [esp + 0x13], 0x6f4d
mov dword [esp + 0x1e], 0x57656d61
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x17], 0x6c
mov byte [esp + 0x1d], 0x4e
mov byte [esp + 0x12], 0x74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4580e2
push dword [esp + 0x48]
push edi
push esi
call eax
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046dcfd
add esp, 0x34
ret
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0046dcfd
add esp, 0x34
ret
Function at 0x458270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b86a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x51e12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x258], esi
push 0x4dadb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push 0x208
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x254], 1
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x250]
push eax
push 0
call fcn.00458010
mov eax, 0x64
mov dword [ebp - 0x48], 0x680053
mov word [ebp - 0x38], ax
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x3c], 0x2e0069
mov word [ebp - 0x32], ax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], 0x700061
push eax
mov dword [ebp - 0x44], 0x77006c
mov dword [ebp - 0x36], 0x6c006c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4583b7
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1b], 0x4e656c69
push eax
push edi
mov dword [ebp - 0x24], 0x68746150
mov dword [ebp - 0x20], 0x646e6946
mov word [ebp - 0x14], 0x57
mov word [ebp - 0x17], 0x6d61
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x1c], 0x46
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4583b0
lea ecx, [ebp - 0x250]
push ecx
call eax
push eax
mov ecx, esi
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
xor eax, eax
mov dword [ebp - 0x2c], 0x650078
mov word [ebp - 0x28], ax
mov ecx, esi
push 0x4dadb0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x65002e
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dcfd
mov esp, ebp
pop ebp
ret
Function at 0x4618e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd783
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x51e12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x260], esi
push 0x4dadb0
mov dword [ebp - 4], 0
mov dword [ebp - 0x25c], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push 0x208
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x25c], 1
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x258]
push eax
push 0
call fcn.00458010
add esp, 0x18
mov dword [ebp - 0x40], 0x6c0064
lea eax, [ebp - 0x50]
mov dword [ebp - 0x48], 0x700061
mov dword [ebp - 0x44], 0x2e0069
mov dword [ebp - 0x4c], 0x77006c
push eax
mov dword [ebp - 0x50], 0x680053
mov dword [ebp - 0x3c], 0x6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x461a46
lea eax, [ebp - 0x38]
mov dword [ebp - 0x29], 0x57636570
push eax
push edi
mov dword [ebp - 0x33], 0x766f6d65
mov dword [ebp - 0x2e], 0x656c6946
mov dword [ebp - 0x37], 0x52687461
mov byte [ebp - 0x2a], 0x53
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x25], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4619f0
lea ecx, [ebp - 0x258]
push ecx
call eax
lea eax, [ebp - 0x24]
mov word [ebp - 0x20], 0x6946
push eax
push edi
mov dword [ebp - 0x1c], 0x656c6946
mov dword [ebp - 0x16], 0x57656d
mov word [ebp - 0x23], 0x7461
mov word [ebp - 0x1e], 0x646e
mov byte [ebp - 0x24], 0x50
mov word [ebp - 0x18], 0x614e
mov byte [ebp - 0x21], 0x68
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x461a3f
lea ecx, [ebp - 0x258]
push ecx
call eax
push eax
mov ecx, esi
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
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.0046dcfd
mov esp, ebp
pop ebp
ret

Function at 0x4640e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c08c9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51e12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00453860
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00453860
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.00453860
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.00453860
mov eax, dword [esi + 0x60]
lea ecx, [edi + 0x64]
mov dword [edi + 0x60], eax
lea eax, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.00453860
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4641c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a52
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51e12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00453860
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.00453860
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x30]
call fcn.00453860
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x48]
call fcn.00453860
mov eax, dword [esi + 0x60]
lea ecx, [edi + 0x64]
mov dword [edi + 0x60], eax
lea eax, [esi + 0x64]
push eax
mov byte [ebp - 4], 3
call fcn.00453860
mov eax, dword [esi + 0x7c]
lea ecx, [edi + 0x80]
mov dword [edi + 0x7c], eax
lea eax, [esi + 0x80]
push eax
mov byte [ebp - 4], 4
call fcn.00453860
lea eax, [esi + 0x98]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x98]
call fcn.00453860
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x46aab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x68
mov eax, dword [0x51e12c]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x48]
push esi
mov esi, dword [esp + 0x70]
mov ecx, esi
mov dword [esp + 4], esi
sub eax, 1
je 0x46ab8e
sub eax, 1
je 0x46ab50
mov eax, 0x49
mov dword [esp + 0x46], 0x74006e
mov word [esp + 0x44], ax
mov eax, 0x6f
push ebx
mov word [esp + 0x62], ax
lea eax, [esp + 0x48]
push edi
push eax
mov dword [esp + 0x66], 0x6c0070
mov dword [esp + 0x5e], 0x200074
mov dword [esp + 0x70], 0x72
mov dword [esp + 0x6c], 0x650072
mov dword [esp + 0x56], 0x720065
mov dword [esp + 0x62], 0x780045
mov dword [esp + 0x5a], 0x65006e
call fcn.004538a0
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0046dcfd
add esp, 0x68
ret 4
mov dword [esp + 0x20], 0x65
lea eax, [esp + 8]
mov dword [esp + 0x14], 0x430020
mov dword [esp + 0x1c], 0x6d006f
mov dword [esp + 8], 0x6f0047
mov dword [esp + 0xc], 0x67006f
mov dword [esp + 0x10], 0x65006c
mov dword [esp + 0x18], 0x720068
jmp 0x46abdb
xor eax, eax
mov dword [esp + 0x36], 0x720069
mov word [esp + 0x42], ax
mov eax, 0x46
mov word [esp + 0x34], ax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x6f004d
mov dword [esp + 0x3e], 0x78006f
mov dword [esp + 0x28], 0x69007a
mov dword [esp + 0x30], 0x200061
mov dword [esp + 0x3a], 0x660065
mov dword [esp + 0x2c], 0x6c006c
push eax
call fcn.004538a0
mov ecx, dword [esp + 0x68]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046dcfd
add esp, 0x68
ret 4
Function at 0x46c6d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c936c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51e12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
call fcn.004540f0
lea ecx, [ebx + 0x18]
call fcn.004540f0
lea ecx, [ebx + 0x30]
call fcn.004540f0
lea ecx, [ebx + 0x48]
call fcn.004540f0
mov ecx, ebx
add ecx, 0x60
call fcn.004540f0
lea eax, [ebp + 8]
mov byte [ebp - 4], 9
push eax
mov ecx, ebx
call fcn.00454180
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebx + 0x18]
call fcn.00454180
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebx + 0x30]
call fcn.00454180
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebx + 0x48]
call fcn.00454180
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebx + 0x60]
call fcn.00454180
lea ecx, [ebp + 8]
call fcn.004538e0
lea ecx, [ebp + 0x20]
call fcn.004538e0
lea ecx, [ebp + 0x38]
call fcn.004538e0
lea ecx, [ebp + 0x50]
call fcn.004538e0
lea ecx, [ebp + 0x68]
call fcn.004538e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x78
Function at 0x47b2a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc296
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51e12c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
call fcn.0045f8c0
mov byte [esi + 0x24], 0
lea ecx, [esi + 0x34]
push 0x4dadb0
mov dword [ebp - 4], 0
mov byte [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x30], 0
call fcn.004538a0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004aa8b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x485180
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfb91
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x51e12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x20], edi
push 0xc
mov dword [ebp - 0x1c], 0
call fcn.004535a0
mov ecx, edi
call fcn.00457320
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor esi, esi
mov eax, ebx
mov ecx, esi
shr eax, cl
test al, 1
je 0x485251
mov eax, dword [0x4e7850]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4e7854]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call fcn.004d7860
add esp, 4
test eax, eax
je 0x485251
lea eax, [ebp - 0x18]
push eax
call fcn.00449ec0
add esp, 4
cmp eax, 2
je 0x485227
cmp eax, 3
jne 0x485251
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.004538a0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00461390
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.004538e0
inc esi
cmp esi, 0x1a
jl 0x4851e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dcfd
mov esp, ebp
pop ebp
ret
Function at 0x496180
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.CMD5Checksum.0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov eax, esi
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
pop esi
ret

Function at 0x4968d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8548
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x51e12c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call fcn.004540f0
mov eax, 0x69
mov dword [ebp - 4], 0
mov word [ebp - 0x1e], ax
mov ecx, 0x49
mov eax, 0x61
mov word [ebp - 0x38], cx
mov word [ebp - 0x18], ax
mov ecx, esi
lea eax, [ebp - 0x3c]
mov byte [esi + 0x18], 0
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 0x1c], 0x6c006c
mov dword [ebp - 0x3c], 0x53004e
mov dword [ebp - 0x36], 0x5f0053
mov dword [ebp - 0x26], 0x4d0028
mov dword [ebp - 0x32], 0x6e0049
mov dword [ebp - 0x16], 0x29
mov dword [ebp - 0x2a], 0x200063
mov dword [ebp - 0x2e], 0x740065
mov dword [ebp - 0x22], 0x7a006f
call fcn.00455c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dcfd
mov esp, ebp
pop ebp
ret

Function at 0x499230
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
movsx eax, byte [esp + 8]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x4f41c0]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4f41c0]
mov dword [edx + 8], ecx
ret
Function at 0x49ffc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
or eax, 0xffffffff
mov cl, byte [edx]
test cl, cl
je 0x4a0067
movzx ecx, cl
lea edx, [edx + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x49ffd1
not eax
ret
Function at 0x4a5050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4a51e6
cmp dword [edi + 0x18], 0
je 0x4a51e6
cmp dword [edi + 0x7c], 0
je 0x4a5079
push edi
call fcn.00490820
add esp, 4
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0042f980
add esp, 0x10
test eax, eax
je 0x4a509f
mov eax, 0xffffff99
pop edi
add esp, 8
ret
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push 0x84
call ebx
mov esi, eax
add esp, 4
test esi, esi
je 0x4a50e6
push 0x4000
call ebx
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x4a50f2
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop esi
pop ebx
mov eax, 0xffffff98
pop edi
add esp, 8
ret
mov dword [esi + 0x40], 0
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], 0
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x4a5151
lea eax, [esi + 4]
mov dword [esi + 0x24], 0
push eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.004abf10
add esp, 4
test eax, eax
jne 0x4a5151
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x4a5174
mov al, byte [edi + 0x39]
jmp 0x4a5177
mov al, byte [edi + 0x3f]
mov ebx, dword [esp + 0x1c]
mov ecx, 0xc
mov byte [esi + 0x80], al
xor eax, eax
cmp byte [esi + 0x6c], al
push ebp
cmovne eax, ecx
lea ebp, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [ebp], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebx, ebx
je 0x4a51c5
nop
mov al, byte [ebx]
test al, al
je 0x4a51c5
push eax
push ebp
call fcn.00499230
add esp, 8
add ebx, 1
jne 0x4a51b0
mov eax, dword [esp + 0x14]
add eax, 0x1e
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
pop ebp
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop ebx
pop edi
add esp, 8
ret
mov eax, 0xffffff9a
pop edi
add esp, 8
ret
Function at 0x401ca4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401cb3
pop dword [ebp - 0x10]
mov eax, 0xb8079191
add eax, 0x48388b22
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3aa11
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x8b018fd5
sub ecx, 0x8b01423b
mov edi, eax
mov ebx, 0x4e09b646
add ebx, 0xb237857e
add ebx, dword [ebp - 0x10]
mov edx, 0x7ba0e090
mov dword [ebp - 8], 0x6d78e21f
mov esi, dword [ebx]
xor dword [ebp - 4], 0x269e0ddf
add esi, edx
xor dword [ebp - 4], 0x9b1c3c00
mov dword [edi], esi
sub dword [ebp - 8], edx
add edi, 0xd5a81529
add edi, 0x2a57eadb
add ebx, 0xeba66e6b
add ebx, 0x14599199
loop 0x401d07
add eax, 0x4a1f8720
add eax, 0xb5e1a21b
xor ebx, ebx
add ebx, eax
add eax, 0xc600333f
sub eax, 0xc600333a
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10008950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x100089a0
cmp edi, esi
jb 0x10008a0b
cmp edi, dword [ebp + 0x10]
ja 0x10008a1e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x100089a2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x10008990
jmp 0x100089ff
ja 0x100089a9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x10008965
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x100089e0
mov ebx, esi
sub ecx, edx
jns 0x100089f7
jmp 0x10008a01
cmp esi, edi
je 0x10008a32
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10008a01
xor al, 1
cmp ebx, edi
jne 0x100089c0
jmp 0x10008a01
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x3f9f468
call fcn.10007560
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x3f9f468
call fcn.10006c90
add esp, 4
ud2
mov ecx, 0x3fa7af8
mov edx, 0x2b
push 0x3f9f458
call fcn.10007180
add esp, 4
ud2