joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ef10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46ef43
push esi
call fcn.0047d190
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46ef3c
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 0x46efc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46efb2
mov eax, dword [esi + 8]
test eax, eax
je 0x46ef67
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 0x46efae
cmp eax, 2
je 0x46efb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46ef5a
cmp eax, 3
je 0x46ef8d
cmp eax, 1
jne 0x46ef5a
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 0x46ef5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46ef5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046eff0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46efd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046eff0
add esp, 4
pop esi
ret

Function at 0x46f860
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46f881
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46f881
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46f881
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x48b4c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x48b563
test eax, eax
jbe 0x48b563
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x48b563
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48b50e
xor esi, esi
jmp 0x48b514
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48b53f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004a6120
add esi, eax
push esi
mov ebx, esi
call fcn.004a6120
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x48b520
pop ebp
test edi, edi
pop edi
jne 0x48b563
test ebx, ebx
je 0x48b563
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c3b50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x48b685
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48b79d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48b79d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d6059
mov esi, eax
test esi, esi
je 0x48b79d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48b79d
mov ecx, esi
call fcn.0048b610
cmp edi, eax
jge 0x48b79d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x48b723
mov dword [esp + 0x34], 1
jmp 0x48b77e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48b79d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00489e80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x492990
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5908e4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4929a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4929e4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x59098c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x492a16
mov bl, byte [esp + ecx + 0x4c]
jmp 0x492a1a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x492a0b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x492a38
mov bl, byte [esp + ecx + 0x4c]
jmp 0x492a3c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x492a2d
xor ecx, ecx
mov eax, 0x5908f4
xor ebx, ebx
mov bl, byte [ecx + 0x59099c]
cmp byte [esp + ebx + 0x14], 0
je 0x492a67
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5909b4]
cmp byte [esp + ebx + 0x14], 0
je 0x492a7e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x492a4e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4929d7
lea edx, [esp + 0x84]
push edx
call fcn.00492ac0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4946e0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4947a1
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x49474b
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x49477f
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x49477f
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x49470e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4947b0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x494869
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x494807
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x49484f
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov esi, dword [edx*4 + 0x59240c]
je 0x494821
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x49483c
test al, 0x40
je 0x494833
mov ecx, dword [ebx + 0x20]
jmp 0x49483a
test al, 0x80
je 0x49484f
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x49484f
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x4947d4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x49c9ec
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
push 1
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov dword [esi], 0x569248
and dword [0x61c0f4], 0
pop eax
cmp dword [ebp + 0xc], eax
jae 0x49ca2d
mov dword [0x61c0f4], eax
jmp 0x49cb34
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x49ca38
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push dword [ebp + 8]
push eax
call fcn.004c5aa0
lea edi, [esi + 0x14]
push 0x48
push 0x568200
push edi
call fcn.004c5aa0
lea eax, [esi + 0x5c]
push 0x1000
push 0x568248
push eax
call fcn.004c5aa0
add esp, 0x24
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
mov ecx, edi
push 4
mov dword [ebp - 8], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x49caaa
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
dec dword [ebp - 4]
jne 0x49ca89
mov edx, dword [ebp + 8]
push 4
xor dword [ecx], edx
pop ebx
add ecx, ebx
dec dword [ebp - 8]
jne 0x49ca82
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0049cb57
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x49cac9
lea eax, [esi + 0x5c]
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0049cb57
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x49cafe
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x49caf7
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x49cde1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [0x61c0f4], ecx
je 0x49cf2d
test al, 7
jne 0x49cf2d
cmp dword [ebp + 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
jne 0x49ce7f
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x49cf37
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0049cd3d
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0049cc4a
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], 8
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0xc], ebx
call fcn.0049cd9a
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x49ce2e
jmp 0x49cf37
cmp dword [ebp + 0x14], 2
jne 0x49ceef
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x49cf37
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0049cd3d
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
mov ecx, esi
call fcn.0049cb57
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], 8
mov edx, eax
xor eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.0049cd9a
add dword [ebp + 8], 8
pop ecx
dec ebx
pop ecx
jne 0x49ce9f
jmp 0x49cf37
cmp eax, 8
jb 0x49cf37
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0049cd3d
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0049cc4a
add dword [ebp + 0xc], 8
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.0049cd9a
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x49cef9
jmp 0x49cf37
mov dword [0x61c0f4], 1
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x49cfb6
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0049da5d
mov byte [esi], 0x80
pop esi
ret
Function at 0x49de1a
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c04
call fcn.004c3a30
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push str..PhysicalDrive_d
push eax
call fcn.004c4ccf
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49df0d
push edi
push 0xc
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp + 8], esi
call fcn.004c5a20
mov edi, 0x2710
lea eax, [ebp - 0x2c04]
push edi
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.004c5a20
add esp, 0x18
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x2c04]
push edi
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
pop edi
je 0x49df14
lea eax, [ebp - 0x4f4]
push eax
push 1
push dword [ebp - 0x2bec]
lea eax, [ebp - 0x2c04]
push eax
call fcn.0049dcbf
movsx eax, byte [ebp - 0x4f4]
push eax
call fcn.004c30b5
add esp, 0x14
test eax, eax
jne 0x49def3
movsx eax, byte [ebp - 0x4e1]
push eax
call fcn.004c30b5
test eax, eax
pop ecx
je 0x49df06
lea eax, [ebp - 0x4f4]
push eax
push 0x61c0fc
call fcn.004c5930
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x49df10
Function at 0x49f915
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov eax, ecx
mov edx, 0x569370
push 8
sub edx, eax
pop esi
mov edi, dword [edx + ecx]
mov dword [ecx], edi
add ecx, 4
dec esi
jne 0x49f923
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
pop edi
pop esi
ret

Function at 0x49fb37
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edx, 0x569370
push 8
mov eax, ecx
sub edx, ecx
pop esi
mov edi, dword [edx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x49fb45
xor eax, eax
pop edi
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x68], al
pop esi
ret
Function at 0x4a1625
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e816f
call fcn.004c5a78
push ecx
mov eax, dword [0x5e9190]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
and dword [ebp - 4], 0
push 0x61c0f0
mov dword [esi + 8], 0x13579bdf
mov dword [esi + 0xc], 0x2468ace0
mov dword [esi + 0x10], 0xfdb97531
mov dword [esi + 0x14], WSAAsyncSelect
mov dword [esi + 0x18], 0x40000020
mov dword [esi + 0x1c], 0x10000002
mov dword [esi + 0x20], getpeername
mov dword [esi + 0x24], 0x3fffffff
mov dword [esi + 0x28], 0xfffffff
mov dword [esi + 0x2c], getpeername
mov dword [esi + 0x30], 0xc0000000
mov dword [esi + 0x34], 0xf0000000
mov dword [esi], fcn.004a1896
call fcn.0049b140
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4a1a68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp byte [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
jne 0x4a1a89
mov edx, 0xfefefefe
and eax, edx
and ecx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
push edi
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x58], esi
lea edi, [ebx + 2]
mov ecx, dword [ebp + esi - 0xf4]
lea eax, [ebp + esi - 0xf4]
mov dword [ebp + esi - 0x54], ecx
mov ecx, dword [ebp + esi - 0x190]
mov edx, dword [ebp + esi - 0x58]
mov dword [ebp + esi - 0xf0], ecx
xor edx, ecx
mov ecx, dword [ebp - 4]
push edx
push dword [eax]
call fcn.004a19b1
lea ecx, [ebp + esi - 0x18c]
mov dword [ecx], eax
shr eax, 0x10
mov word [esi + ebx], ax
mov ax, word [ecx]
mov word [edi], ax
add esi, 4
add edi, 4
cmp esi, 0x4c
jle 0x4a1aa3
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4a1bba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
movzx eax, word [esi + 0x40]
movzx ecx, word [esi + 0x42]
shl eax, 0x10
movzx edx, word [esi + 0x46]
or eax, ecx
mov ecx, dword [ebp + 0xc]
xor eax, ecx
mov dword [ebp + 0xc], esi
movzx ecx, word [esi + 0x44]
shl ecx, 0x10
or ecx, edx
mov dword [ebp - 0x108], eax
xor ecx, dword [ebp + 8]
xor ecx, eax
xor edi, edi
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 0xc]
lea ebx, [ebp + edi - 0x84]
mov ecx, esi
movzx eax, word [eax]
push eax
push dword [ebx]
call fcn.004a1b28
xor eax, dword [ebp + edi - 0x108]
add dword [ebp + 0xc], 2
mov dword [ebp + edi - 0x80], eax
mov eax, dword [ebx]
mov dword [ebp + edi - 0x104], eax
add edi, 4
cmp edi, 0x7c
jle 0x4a1bfd
movzx eax, word [esi + 0x48]
movzx edi, word [esi + 0x4a]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x88]
shl eax, 0x10
xor ecx, edx
or eax, edi
xor eax, ecx
pop edi
xor edx, eax
movzx eax, word [esi + 0x4c]
movzx esi, word [esi + 0x4e]
shl eax, 0x10
or eax, esi
xor esi, esi
xor ecx, eax
xor eax, eax
or eax, ecx
or edx, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4a1d25
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
and edx, dword [esp + 0xc]
push edi
push 1
xor eax, eax
pop esi
lea ecx, [esi - 1]
mov edi, edx
shr edi, cl
and edi, 1
xor eax, edi
inc esi
cmp esi, 0x20
jle 0x4a1d34
pop edi
pop esi
ret
Function at 0x4a67d8
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e8484
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004d5c07
lea edi, [esi + 0x48]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.0045e280
call fcn.004a5d10
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004a5d10
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 2
call fcn.004a5d10
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 3
call fcn.004a5d10
mov dword [edi], 0x56e660
lea ecx, [esi + 0xd4]
mov byte [esp + 0x18], 4
call fcn.004a7020
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CWnd.virtual_0
mov dword [esi + 0x34c], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4a6910
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e84f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0xd4]
mov dword [esp + 0x18], 1
call fcn.004a74a0
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x78]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x56e670
call fcn.004a5f10
lea ecx, [edi + 0x64]
mov byte [esp + 0x18], 3
mov dword [ecx], 0x56e670
call fcn.004a5f10
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x56e670
call fcn.004a5f10
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x56e670
call fcn.004a5f10
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d66c0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4a8a80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004aee90
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4a8b79
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.00430c10
test eax, eax
jne 0x4a8b79
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.00430c10
test eax, eax
jne 0x4a8b79
lea edx, [esp + 0x10]
push 0x5ea974
push edx
call fcn.004c4360
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8b4a
lea eax, [esp + 0x10]
push 0x5ea970
push eax
call fcn.004c4360
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8b4a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4a8b4d
mov byte [esi], 0
push 0x5ea138
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4aedd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e8c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4aee80
mov eax, dword [0x5eb38c]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004d4992
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004d49e1
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004d493e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4aee67
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4aee67
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d4562
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret