joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d9c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d2e7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x47b0b0]
push eax
mov ecx, edi
call fcn.00472935
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00473e51
test eax, eax
je 0x43dadc
mov ecx, dword [esp + 0x3c]
call fcn.00472962
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x47b3a8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43daa0
push edi
mov ecx, esi
call fcn.0046ffc3
mov ecx, esi
call fcn.0043dc80
cmp dword [esp + 0x38], 1
jne 0x43dad5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004700fe
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x43fcd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43fd03
push esi
call fcn.0044e070
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43fcfc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43fd89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43fd72
mov eax, dword [esi + 8]
test eax, eax
je 0x43fd27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43fd6e
cmp eax, 2
je 0x43fd72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43fd1a
cmp eax, 3
je 0x43fd4d
cmp eax, 1
jne 0x43fd1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43fd1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43fd1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043fdb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43fd98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043fdb0
add esp, 4
pop esi
ret
Function at 0x4b6c10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4b6d1c
test eax, eax
je 0x4b6d1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x4d1fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x4b6d03
lea edi, [eax + 4]
jmp 0x4b6c67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x4b6c7c
mov dword [ebp - 4], 2
jmp 0x4b6c9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x4b6c93
mov dword [ebp - 4], 1
jmp 0x4b6c9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x4b6d13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x4b6cd6
mov byte [ecx], 0x3d
jmp 0x4b6ce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x4b6ced
mov byte [ecx], 0x3d
jmp 0x4b6cf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x4b6c64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006ba0
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp + 0x158], eax
bts dx, bp
push dword [esp]
bts edx, 0x18
movzx dx, bl
mov dword [esp + 0x160], eax
lea edx, [edx - 0x1aced713]
rol dh, cl
bsf dx, dx
sub dl, 0x15
mov dword [esp + 0x164], eax
shl edx, cl
movzx edx, al
mov dword [esp + 0x168], eax
stc
cmp bh, 0x6f
mov dword [esp + 0x16c], eax
lea edx, [ebx + 0x544cac88]
xor dh, 0xe0
setae dh
lea edx, [ecx + 0x303dac2e]
mov dword [esp + 0x170], eax
bsf dx, cx
lea edx, [eax + 0x21fb6c5e]
push ecx
mov dword [esp + 0x178], eax
rcr dx, cl
clc
mov dword [esp + 0x17c], eax
call fcn.10131508

Function at 0x10006c25
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x34]
je 0x10094184
movzx dx, al
jmp loc.100e9501

Function at 0x1000a530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000a5a1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1000a5a1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000a58a
jmp 0x1000a5a1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b361
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100350d8]
jne 0x1000b36b
repz ret
jmp fcn.1000e631
Function at 0x1000eb6b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10035298]
je 0x1000eb86
inc edi
cmp edi, 0x17
jb 0x1000eb77
cmp edi, 0x17
jae 0x1000ed06
push ebp
push 3
call fcn.10016d91
cmp eax, 1
pop ecx
je 0x1000ecd2
push 3
call fcn.10016d91
test eax, eax
pop ecx
jne 0x1000ebba
cmp dword [0x10037e68], 1
je 0x1000ecd2
cmp ebx, 0xfc
je 0x1000ed05
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100381a0
push ebp
call fcn.10010555
add esp, 0xc
test eax, eax
je 0x1000ebf0
push esi
push esi
push esi
push esi
push esi
call fcn.1000cd40
add esp, 0x14
push 0x104
mov esi, 0x100381b9
push esi
push 0
mov byte [0x100382bd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000ec34
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10010555
add esp, 0xc
test eax, eax
je 0x1000ec34
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000cd40
add esp, 0x14
push esi
call fcn.100105c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1000ec79
push esi
call fcn.100105c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x100384b4
push 0x1002eb3c
sub ecx, eax
push ecx
push eax
call fcn.1000ceba
add esp, 0x14
test eax, eax
je 0x1000ec79
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000cd40
add esp, 0x14
jmp 0x1000ec7b
xor esi, esi
push 0x1002eb38
push ebx
push ebp
call fcn.10016d20
add esp, 0xc
test eax, eax
je 0x1000ec9b
push esi
push esi
push esi
push esi
push esi
call fcn.1000cd40
add esp, 0x14
push dword [edi*8 + 0x1003529c]
push ebx
push ebp
call fcn.10016d20
add esp, 0xc
test eax, eax
je 0x1000ecbd
push esi
push esi
push esi
push esi
push esi
call fcn.1000cd40
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10016b63
add esp, 0xc
jmp 0x1000ed05
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1000ed05
cmp ebp, 0xffffffff
je 0x1000ed05
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1003529c]
push dword [esi]
call fcn.100105c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10016b63
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000ee1e
xor ebx, ebx
cmp dword [0x10038950], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10016c39
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10016d19
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10016d19
push eax
call fcn.1000edb0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10038950], eax
call esi
push eax
call fcn.1000edb0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10038954], eax
call esi
push eax
call fcn.1000edb0
mov dword [0x10038958], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1001151e
test eax, eax
pop ecx
pop ecx
je 0x10016c07
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000cd40
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10016c39
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000edb0
cmp eax, ebx
pop ecx
mov dword [0x10038960], eax
je 0x10016c39
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000edb0
pop ecx
mov dword [0x1003895c], eax
mov eax, dword [0x1003895c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10016cbe
cmp dword [0x10038960], ecx
je 0x10016cbe
push eax
call fcn.1000ee27
push dword [0x10038960]
mov esi, eax
call fcn.1000ee27
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10016cbe
cmp edi, ebx
je 0x10016cbe
call esi
cmp eax, ebx
je 0x10016c8b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10016c8b
test byte [ebp - 0x18], 1
jne 0x10016cbe
lea eax, [ebp - 0x10]
push eax
call fcn.10011555
test eax, eax
pop ecx
je 0x10016ca6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000cd40
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10016cb5
or dword [ebp + 0x10], 0x200000
jmp 0x10016cf9
or dword [ebp + 0x10], 0x40000
jmp 0x10016cf9
mov eax, dword [0x10038954]
cmp eax, dword [ebp - 8]
je 0x10016cf9
push eax
call fcn.1000ee27
cmp eax, ebx
pop ecx
je 0x10016cf9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10016cf9
mov eax, dword [0x10038958]
cmp eax, dword [ebp - 8]
je 0x10016cf9
push eax
call fcn.1000ee27
cmp eax, ebx
pop ecx
je 0x10016cf9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10038950]
call fcn.1000ee27
cmp eax, ebx
pop ecx
je 0x10016d19
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10016d1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001ad40
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x1001ad60
push 0xd0
push 0x10036940
push 0x1003695c
call fcn.100294b0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x6a09e667
mov dword [esi + 0xc], 0xbb67ae85
mov dword [esi + 0x10], 0x3c6ef372
mov dword [esi + 0x14], 0xa54ff53a
mov dword [esi + 0x18], 0x510e527f
mov dword [esi + 0x1c], 0x9b05688c
mov dword [esi + 0x20], 0x1f83d9ab
mov dword [esi + 0x24], 0x5be0cd19
xor eax, eax
pop esi
ret
Function at 0x1001cdf0
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x1001ce0d
push 0x2a
push 0x10036a48
push 0x10036a64
call fcn.100294b0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0xc1059ed8
mov dword [esi + 0xc], 0x367cd507
mov dword [esi + 0x10], 0x3070dd17
mov dword [esi + 0x14], 0xf70e5939
mov dword [esi + 0x18], 0xffc00b31
mov dword [esi + 0x1c], 0x68581511
mov dword [esi + 0x20], 0x64f98fa7
mov dword [esi + 0x24], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x100288a0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x100288c0
push 0xeb
push 0x10036cf4
push 0x10036d08
call fcn.100294b0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0
mov dword [esi + 4], 0
xor eax, eax
pop esi
ret
Function at 0x100292b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x100292cc
push 0x21
push 0x10036e5c
push 0x10036e78
call fcn.100294b0
add esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
push edi
jne 0x100292ec
push 0x22
push 0x10036e84
push 0x10036ea0
call fcn.100294b0
add esp, 0xc
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x10029308
push 0x23
push str.src_modes_ctr_ctr_encrypt.c
push 0x10036ec8
call fcn.100294b0
add esp, 0xc
mov eax, dword [esi]
push eax
call fcn.100294e0
add esp, 4
test eax, eax
jne 0x100294a4
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x1002949f
cmp ecx, 0x80
jg 0x1002949f
mov eax, dword [esi + 8]
test eax, eax
jl 0x1002949f
cmp eax, 0x80
jg 0x1002949f
test cl, 3
jne 0x1002949f
cmp eax, ecx
jne 0x100293a4
mov eax, dword [esi]
lea edx, [eax + eax*2]
shl edx, 5
mov edi, dword [edx + 0x10038a88]
test edi, edi
je 0x100293a4
mov ebx, dword [esp + 0x1c]
cmp ebx, ecx
jb 0x100293a8
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x110]
push eax
lea eax, [esi + 0x10]
push edx
push eax
mov eax, ebx
xor edx, edx
div ecx
mov ecx, dword [esp + 0x20]
push eax
push ebp
push ecx
call edi
add esp, 0x18
test eax, eax
jne 0x100294a4
mov eax, ebx
xor edx, edx
div dword [esi + 4]
mov ebx, edx
jmp 0x100293a8
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x10029498
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x10029426
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x100293e4
test eax, eax
jle 0x100293f8
mov ecx, 0xfffffff0
lea eax, [esi + 0x10]
sub ecx, esi
mov dl, byte [eax]
inc dl
mov byte [eax], dl
jne 0x100293f8
mov edi, dword [esi + 4]
inc eax
lea edx, [ecx + eax]
cmp edx, edi
jl 0x100293cf
jmp 0x100293f8
dec eax
test eax, eax
jl 0x100293f8
mov cl, byte [esi + eax + 0x10]
inc cl
mov byte [esi + eax + 0x10], cl
jne 0x100293f8
dec eax
jns 0x100293e9
mov eax, dword [esi]
lea ecx, [esi + 0x110]
push ecx
lea edx, [esi + 0x90]
lea eax, [eax + eax*2]
lea ecx, [esi + 0x10]
shl eax, 5
push edx
push ecx
call dword [eax + 0x10038a64]
add esp, 0xc
test eax, eax
jne 0x100294a4
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x10029472
mov edx, dword [esi + 4]
cmp ebx, edx
jb 0x10029472
xor ecx, ecx
test edx, edx
jle 0x1002945c
mov edx, dword [esp + 0x14]
mov eax, ebp
sub edx, ebp
mov edi, dword [esi + ecx + 0x90]
add ecx, 4
xor edi, dword [edx + eax]
add eax, 4
mov dword [eax - 4], edi
mov edi, dword [esi + 4]
cmp ecx, edi
jl 0x10029442
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
add edi, eax
add ebp, eax
mov dword [esp + 0x14], edi
sub ebx, eax
mov dword [esi + 8], eax
jmp 0x10029490
mov dl, byte [eax + esi + 0x90]
mov eax, dword [esp + 0x14]
xor dl, byte [eax]
mov byte [ebp], dl
mov edx, dword [esi + 8]
inc ebp
inc edx
inc eax
mov dword [esi + 8], edx
mov dword [esp + 0x14], eax
dec ebx
test ebx, ebx
jne 0x100293b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10029700
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x10036fc0
push str._dev_urandom
call fcn.1002a4ca
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029733
push 0x10036fd4
push str._dev_random
call fcn.1002a4ca
mov esi, eax
add esp, 8
test esi, esi
jne 0x10029733
pop esi
ret
push 0
push 4
push 0
push esi
call fcn.1002a64e
add esp, 0x10
test eax, eax
je 0x10029753
push esi
call fcn.1000c7c3
add esp, 4
xor eax, eax
pop esi
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push edi
push esi
push eax
push 1
push ecx
call fcn.1000c6b7
push esi
mov edi, eax
call fcn.1000c7c3
add esp, 0x14
mov eax, edi
pop edi
pop esi
ret

Function at 0x10029780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
push edi
mov ecx, eax
xor ebp, ebp
xor edi, edi
xor ebx, ebx
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x10], ecx
je 0x10029828
inc eax
push esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100297b1
call eax
mov dword [esp + 0x20], 8
call fcn.1002a74c
mov esi, eax
call fcn.1002a74c
cmp esi, eax
jne 0x100297d5
xor edi, 1
call fcn.1002a74c
cmp esi, eax
je 0x100297c9
call fcn.1002a74c
mov esi, eax
call fcn.1002a74c
cmp esi, eax
jne 0x100297f1
xor ebp, 1
call fcn.1002a74c
cmp esi, eax
je 0x100297e5
cmp edi, ebp
je 0x100297b9
mov eax, dword [esp + 0x20]
add ebx, ebx
or ebx, edi
dec eax
mov dword [esp + 0x20], eax
jne 0x100297b9
mov eax, dword [esp + 0x1c]
mov byte [eax], bl
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x100297a7
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop ebp
mov eax, ecx
pop ebx
add esp, 8
ret

Function at 0x10029840
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000020
push 1
push 0x10036fe4
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x18], 0
call esi
test eax, eax
jne 0x10029881
push 0xf0000028
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
lea ecx, [esp + 0x10]
push eax
push ecx
call esi
test eax, eax
je 0x100298b8
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
cmp eax, 1
push 0
jne 0x100298ad
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x100441f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal dh, 5
mov dword [esp + 0x178], eax
not dl
pop edx
add dh, 0xdd
test bl, 0xab
mov dword [esp + 0x178], eax
shld edx, eax, cl
neg dh
rol dx, 7
movzx dx, bl
mov dword [esp + 0x17c], eax
stc
mov eax, ecx
add dl, 0x21
bts edx, edi
mov word [esp + 0x140], 0x66
ror dh, cl
shr dl, 7
mov word [esp + 0x142], 0x72
dec edx
bts edx, 0xe
shr dl, cl
mov word [esp + 0x144], 0x61
neg dl
btr dx, bp
mov word [esp + 0x146], 0x70
clc
mov dl, byte [esp]
mov word [esp + 0x148], 0x73
pushfd
and dx, 0xa889
mov word [esp + 0x14e], 0x33
stc
and dl, dl
mov word [esp + 0x150], 0x32
btc dx, bp
setge dh
rcr dh, 2
mov word [esp + 0x152], bx
shld dx, si, 0xe
mov word [esp + 8], si
movzx edx, dl
cmc
mov word [esp + 0x156], si
clc
mov word [esp + 0x158], si
movsx dx, dl
mov word [esp + 0x15a], bp
xor dx, si
dec dx
rcr edx, 7
movsx si, cl
lea edx, [eax + 2]
dec si
lea ebx, [ebx]
sub si, 0xa11e
mov si, word [eax]
pushfd
bt bp, 0xb
add eax, 2
mov word [esp + 4], 0x5b44
pushfd
mov byte [esp + 4], 0x63
mov word [esp + 8], bp
lea esp, [esp + 0x38]
jmp 0x100bd67e

Function at 0x1004fd78
Capabilities:
Packed with generic packer

Disassembly:
lea ecx, [esp + 0x478]
mov byte [esp + 8], ah
mov dword [esp + 0x18], ecx
mov byte [esp], ah
push edi
lea esp, [esp + 0x1c]
call fcn.1000caf2
cmc
add esp, 0x18
cmc
cmp dl, 0xfa
clc
test eax, eax
push ecx
jmp 0x1006d48e
lea esp, [esp + 4]
jne 0x1006b13d
lahf
bt bp, 1
sar cl, 6
mov edx, dword [ebp + 4]
btc eax, esi
aaa
mov eax, edx
mov ch, ch
pushfd
sete ch
add cl, 0xdd
lea ebx, [eax + 2]
rcr cl, 1
bsf cx, bp
call fcn.1004d963

Function at 0x10050845
Capabilities:
Encode data using xor

Disassembly:
shld dx, cx, cl
inc edx
mov word [esp + 0x150], 0x32
movsx dx, dl
btc edx, 7
movzx dx, al
mov word [esp + 0x152], bx
adc edx, ebp
shl dh, cl
pop edx
mov word [esp + 0x152], si
bt cx, di
neg dl
mov dh, al
bsf dx, di
mov word [esp + 0x154], si
test ch, 0x82
sbb si, ax
shld si, sp, cl
mov word [esp + 0x156], bp
sal si, cl
shrd si, bp, 0xe
lea edx, [eax + 2]
and si, 0x44ad
shr si, 5
lea ebx, [ebx]
sub si, bp
inc si
mov si, word [eax]
stc
jmp 0x100dfbc7
add eax, 2
cmc
call fcn.10105f73
xor edx, 0x36026a76
test di, sp
xor edi, 0xceb9f522
call fcn.101091e9
xchg ebp, ebx
aam 0xcd
arpl word [ebx - 0x2d], di
mov edx, 0x7790e971
fiadd word [0x21c56b3]
add al, 0x9e
wait
xlatb
popfd
jecxz 0x100dfc1e
xor eax, 0x75c0f28c
push es
mov eax, dword [0x5e553c65]
push ds
pop ss
test al, 0x17
pushfd
pop ebp
sbb al, 0x29
jle 0x100dfbfe
sub ecx, dword [ecx - 0x3eeeec7e]
push es
and byte [edi + 0x9ca855e], bh
rol dword [esi], 0x20
mov edi, 0x9ca855e
retf 0x4c09
dec esp
mov word [ebp + 0x4890b82c], cs
out 0x9c, eax
inc esi
sbb eax, 0xc82d7c65
aaa
clc
int1
cli
lodsb al, byte [esi]
sub al, 0x52
fsubr st(7)
mov esp, 0x444fe9d2
sbb al, 0x71
daa
ficom word [ebx]
mov edi, 0x76c8a8d
lea ecx, [edx - 0x318bf894]
mov dword [esp + 0x30], 0xff
movzx cx, dl
lea ecx, [esp + 0x13e0ec91]
lea ecx, [esp + 0x2d4]
mov word [esp], bp
pushfd
mov dword [esp + 0x30], ecx
pushfd
call fcn.1010235c
stc
xor byte [esi], dh
dec esi
dec ebp
hlt