joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a6e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call fcn.004a14d2
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x48a6c5
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x48a6c5
lea edx, [esp]
push edx
call dword [0x4f30cc]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00497c58
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.00497c58
add esp, 0x108
ret
jmp 0x48a660

Function at 0x48d120
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.00499be7
add esp, 0x18
test eax, eax
je 0x48d143
cmp eax, 0xffffffff
jne 0x48d145
xor eax, eax
ret

Function at 0x48d190
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1a4]
test esi, esi
jne 0x48d1a9
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.00489750
push edx
push eax
call fcn.00489780
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x19c], 0
je 0x48d1f6
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebx + 0xb8]
push eax
push ecx
call fcn.00489750
push edx
push eax
call fcn.00489780
mov ecx, dword [edi + 0x19c]
sub ecx, eax
add esp, 0x10
cmp esi, ecx
mov eax, ecx
jge 0x48d1f8
mov eax, esi
pop edi
pop esi
pop ebx
ret

Function at 0x48dcc0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x48fec0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
xor ecx, ecx
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
sete cl
mov ebp, ecx
test ebp, ebp
je 0x48fee4
mov edx, dword [eax + 8]
mov eax, dword [esi + 0xc]
push edx
push ebx
push 1
push edi
call eax
jmp 0x48ff15
cmp dword [esi + 8], 0
jne 0x48ff08
mov ecx, dword [eax + 8]
push 0x4ddda4
push ecx
call fcn.0049c3e5
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x48ff08
pop edi
or eax, 0xffffffff
pop ebp
ret
mov edx, dword [esi + 8]
push edx
push ebx
push 1
push edi
call fcn.0049bb71
mov edi, eax
add esp, 0x10
test edi, edi
je 0x48ff22
cmp edi, ebx
jbe 0x48ff3b
test ebp, ebp
jne 0x48ff35
mov eax, dword [esi + 8]
push eax
call fcn.0049b083
add esp, 4
mov dword [esi + 8], ebp
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [esi], edx
mov eax, edi
pop edi
pop ebp
ret
Function at 0x4918c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8e90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x64
push 0
lea ecx, [esp + 0x1c]
call fcn.00451930
mov dword [esp + 0x14], vtable.UserManager::t_lockerProc.0
mov esi, dword [ebp + 8]
push 0x4fc290
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00451990
test al, al
je 0x491a49
push 0x64
push 0
lea ecx, [esp + 0x24]
call fcn.00451930
mov dword [esp + 0x1c], vtable.UserManager::t_locker.0
push 0x4fc4c0
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 1
call fcn.00451990
test al, al
je 0x491a3b
push 0
push esi
lea ecx, [edi + 0x14c]
call fcn.004614a0
test al, al
je 0x491a3b
push 0
push esi
lea ecx, [edi + 0x444]
call fcn.004614a0
test al, al
je 0x491a3b
mov ebx, dword [ebp + 0xc]
push 0x4d6464
mov ecx, ebx
call fcn.00448b40
cmp byte [edi + 0x149], 0
jne 0x4919ad
push 0x4d1ac4
mov ecx, esi
call fcn.00447720
mov ecx, eax
jmp 0x491a36
mov eax, dword [ebp + 0x10]
push 0
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 8]
mov dword [esp + 0x1c], 0
call fcn.00495cb0
test al, al
je 0x491a17
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x491a17
call fcn.004954c0
push eax
mov ecx, ebx
call fcn.00448b40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.0041c170
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041c170
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x4d1ab0
mov ecx, esi
call fcn.00447720
mov ecx, eax
call fcn.00447b70
mov ecx, ebx
mov esi, eax
call fcn.004445b0
push eax
mov ecx, esi
call fcn.00447b70
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.0041c170
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041c170
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x492940
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9508
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x2c]
mov edi, dword [esp + 0x28]
push str.Local_sgime_user_lock_proc
mov dword [esi + 4], ecx
push edi
mov ecx, 0x4fc290
mov byte [esi], al
call fcn.0045a490
test al, al
jne 0x4929b0
push 0x4d1cb0
push edi
call fcn.004477d0
add esp, 8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0x4d1c84
push edi
mov ecx, 0x4fc4c0
call fcn.00451a80
test al, al
je 0x49298d
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00451930
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
push 0x4fc4c0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00451990
test al, al
jne 0x492a2c
push 0x4d1cb0
push edi
call fcn.004477d0
add esp, 8
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.0041c170
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
xor bl, bl
cmp byte [esi + 0xa70], bl
jne 0x492acc
call fcn.0044b3e0
mov ecx, eax
call fcn.0044a020
test al, al
jne 0x492a83
push edi
call fcn.0044b3e0
mov ecx, eax
call fcn.0044a0c0
test al, al
jne 0x492a83
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041c170
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
call fcn.0044b3e0
mov ecx, eax
call fcn.0044a030
test al, al
je 0x492a9a
mov byte [esi + 0xa70], 1
mov ecx, esi
call fcn.00491be0
push 1
lea edx, [esp + 0x14]
push edx
push edi
mov ecx, esi
call fcn.004926b0
test al, al
je 0x492ace
lea eax, [esp + 0x10]
push eax
push edi
mov ecx, esi
call fcn.004924a0
test al, al
je 0x492ace
mov byte [esi + 0xa70], 1
mov bl, 1
call fcn.0044b3e0
mov ecx, eax
call fcn.0044a030
test al, al
jne 0x492ae6
test bl, bl
je 0x492a5b
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041c170
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x497c58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f36a0]
jne 0x497c62
repz ret
jmp fcn.004a1a72

Function at 0x4b2a1e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0049f0ad
and dword [ebp - 4], 0
cmp dword [0x4fd298], 0
mov ebx, eax
jne 0x4b2acf
push 0x4d4a14
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b2b80
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d4a08
push edi
call esi
test eax, eax
je 0x4b2b80
push eax
call fcn.0049f03b
mov dword [esp], 0x4d49f8
push edi
mov dword [0x4fd298], eax
call esi
push eax
call fcn.0049f03b
mov dword [esp], 0x4d49e4
push edi
mov dword [0x4fd29c], eax
call esi
push eax
call fcn.0049f03b
mov dword [esp], 0x4d49c8
push edi
mov dword [0x4fd2a0], eax
call esi
push eax
call fcn.0049f03b
pop ecx
mov dword [0x4fd2a8], eax
test eax, eax
je 0x4b2acf
push 0x4d49b0
push edi
call esi
push eax
call fcn.0049f03b
pop ecx
mov dword [0x4fd2a4], eax
mov eax, dword [0x4fd2a4]
cmp eax, ebx
je 0x4b2b27
cmp dword [0x4fd2a8], ebx
je 0x4b2b27
push eax
call fcn.0049f0b6
push dword [0x4fd2a8]
mov esi, eax
call fcn.0049f0b6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b2b27
test edi, edi
je 0x4b2b27
call esi
test eax, eax
je 0x4b2b1e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b2b1e
test byte [ebp - 0xc], 1
jne 0x4b2b27
or dword [ebp + 0x10], 0x200000
jmp 0x4b2b60
mov eax, dword [0x4fd29c]
cmp eax, ebx
je 0x4b2b60
push eax
call fcn.0049f0b6
pop ecx
test eax, eax
je 0x4b2b60
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b2b60
mov eax, dword [0x4fd2a0]
cmp eax, ebx
je 0x4b2b60
push eax
call fcn.0049f0b6
pop ecx
test eax, eax
je 0x4b2b60
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fd298]
call fcn.0049f0b6
pop ecx
test eax, eax
je 0x4b2b80
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b2b82
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b83b9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4fd514], 0
push esi
jne 0x4b832c
call fcn.004b8252
test eax, eax
je 0x4b836f
mov eax, dword [0x4fd514]
cmp eax, 1
jne 0x4b834d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b836f
pop esi
ret
push eax
call dword [0x4fd51c]
test eax, eax
jne 0x4b83b7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4b8373
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4fd514]
call dword [0x4fd51c]
mov edi, eax
test edi, edi
je 0x4b8398
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4b83b4
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4fd514]
call dword [0x4fd518]
add edi, 0x10
cmp edi, esi
jb 0x4b83a0
mov eax, edi
pop edi
pop esi
ret
jmp 0x4b8319
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x1968f2f
Capabilities:
Encode data using xor

Disassembly:
inc esi
mov esi, dword [ebp + 4]
dec di
bts di, sp
btr di, bx
mov edi, ebx
pushfd
mov dword [esp], edi
cmpsb byte [esi], byte es:[edi]
pushfd
jmp 0x196b6e5
cmp ecx, dword [edx + 0x18]
pushfd
mov byte [esp], ah
pushfd
lea esp, [esp + 0x38]
je 0x195e281
bts bx, sp
lea ebx, [eax + 0x2a9bd21b]
sbb bl, 0x13
rcl ebx, 8
mov ebx, dword [esi]
stc
add ebx, eax
clc
cmp ax, 0x802e
pushal
push ebx
xchg dword [esp + 0x20], esi
btc si, 0xa
pop esi
sub si, dx
mov dword [esp + 0x18], edi
add esp, 0x18
jg 0xf35bee
sub si, 0x36ea
mov esi, dword [ebp + 4]
shld di, si, cl
mov edi, ebx
cmp al, ch
bt ecx, 8
bt si, 0xd
pushfd
cmpsb byte [esi], byte es:[edi]
pushal
mov byte [esp + 0xc], dl
lea esp, [esp + 0x24]
jne 0x196bd3e
clc
pushal
lea esp, [esp + 0x20]
js 0x198d2a6
pushfd
cmp byte [esi - 1], 0
mov byte [esp], 0x39
pushal
pushal
lea esp, [esp + 0x44]
jne 0x1967d30
bswap si
pop edi
call fcn.00f37c96
clc
call fcn.0195fc99
enter 0xffffffffffffca00, 0xffffffffffffffe0
shr dword [esi + 0x68776c9d], cl
pop ebx
pop edx
inc ebx
xor byte [ebp + 0x12], ah
jl 0x198d312
rcl dword [esi]
nop
invalid
js 0x198d2f0
invalid
cmp byte [ebp - 0x583ab436], cl
inc esi
pop esi
or dh, ch
mov byte [ecx], bh
pop esp
cmp byte [ebp + ebx - 0x17], 0xe6
inc edx
cdq
xchg ecx, eax
mov ebp, 0x8070c3a5
push 0xd9142a40
lcall 0x6732, 0xb37c4a44
insb byte es:[edi], dx
jl 0x198d2c7
mov bl, 0x32
insb byte es:[di], dx
xor ah, byte [edi + 0x6c]
sbb edi, eax
salc
mov ebp, 0x6996b5cd
mov dl, 0xde
in al, dx
jecxz 0x198d313
or bl, bl
invalid
Function at 0x4dd529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004dd480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x4dd558
mov eax, 0xea61
jmp 0x4dd5d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x4dd568
mov eax, 0xea62
jmp 0x4dd5d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004dd480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x4dd595
mov eax, 0xea62
jmp 0x4dd5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4dd5ad
mov eax, 0xea65
jmp 0x4dd5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4dd5c2
mov eax, 0xea66
jmp 0x4dd5d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4dd5d2
mov eax, 0xea67
jmp 0x4dd5d6
xor eax, eax
jmp 0x4dd5d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0xbb7e28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0xbb7e94
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0xbb7edd
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00bd09d0
add esp, 8
test eax, eax
jne 0xbb7edb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xbb7edf
jmp 0xbb7e8b
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xbc0392
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00bba327
add esp, 4
and eax, 0xff
test eax, eax
je 0xbc041b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.00bcb170
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0xbc0419
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0xbc0419
jmp 0xbc041b
jmp 0xbc039b
mov esp, ebp
pop ebp
ret

Function at 0xbc087c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0xbe87f0]
test eax, eax
jne 0xbc0890
call fcn.00bc07c4
xor ecx, ecx
mov cl, byte [0xbe87ed]
test ecx, ecx
jne 0xbc0917
xor edx, edx
mov dl, byte [0xbe87ec]
test edx, edx
jne 0xbc0917
cmp dword [0xbe88f4], 0
je 0xbc08f2
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0xbe88f4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0xbe88f4]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0xbe88f4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0xbc0917
push 0x10001
push 0xbe87f0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0xbc0917
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0xbc38fa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0xbc390a
xor eax, eax
jmp 0xbc3ad3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0xbc3a8b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0xbe69a4]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0xbc3913
cmp dword [ebp + 0x10], 0
je 0xbc3acd
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0xbe69a4]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0xbc3a91
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0xbcd280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0xbe3fb8
cmp edx, dword [eax]
je 0xbcd2a2
add eax, 8
inc ecx
cmp eax, 0xbe4048
jl 0xbcd293
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0xbe3fb8]
jne 0xbcd3d0
mov eax, dword [0xbe8970]
cmp eax, 1
je 0xbcd3aa
test eax, eax
jne 0xbcd2d3
cmp dword [0xbe3cf4], 1
je 0xbcd3aa
cmp edx, 0xfc
je 0xbcd3d0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0xbcd30a
lea eax, [ebp - 0x1a4]
push 0xbe7dc0
push eax
call fcn.00bcb5e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00bcb360
inc eax
pop ecx
cmp eax, 0x3c
jbe 0xbcd34d
lea eax, [ebp - 0x1a4]
push eax
call fcn.00bcb360
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0xbe7dbc
push edi
call fcn.00bcb790
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0xbe7da0
push eax
call fcn.00bcb5e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00bcb5f0
lea eax, [ebp - 0xa0]
push 0xbe7d9c
push eax
call fcn.00bcb5f0
push dword [esi + 0xbe3fbc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00bcb5f0
push 0x12010
lea eax, [ebp - 0xa0]
push 0xbe7d74
push eax
call fcn.00bcf848
add esp, 0x2c
pop edi
jmp 0xbcd3d0
lea eax, [ebp + 8]
lea esi, [esi + 0xbe3fbc]
push 0
push eax
push dword [esi]
call fcn.00bcb360
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret