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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100d85a3
push esi
call fcn.100e6930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100d859c
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 0x100d8629
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100d8612
mov eax, dword [esi + 8]
test eax, eax
je 0x100d85c7
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 0x100d860e
cmp eax, 2
je 0x100d8612
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100d85ba
cmp eax, 3
je 0x100d85ed
cmp eax, 1
jne 0x100d85ba
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 0x100d85ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100d85ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100d8650
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100d8638
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100d8650
add esp, 4
pop esi
ret

Function at 0x100d8ed0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100d8ef1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100d8ef1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100d8ef1
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 0x100d9340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100d934b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100d944e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10ad7028]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10ad7028]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10ad7028]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10ad7028]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10ad7028]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10ad7028]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10ad7028]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10ad7028]
xor eax, edx
inc ecx
dec edi
jne 0x100d9366
pop edi
test esi, esi
je 0x100d9470
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10ad7028]
xor eax, edx
inc ecx
dec esi
jne 0x100d9452
pop esi
pop ebx
not eax
ret
Function at 0x100f3c10
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 0x100f3cb3
test eax, eax
jbe 0x100f3cb3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100f3cb3
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 0x100f3c5e
xor esi, esi
jmp 0x100f3c64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100f3c8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1008f5c0
add esi, eax
push esi
mov ebx, esi
call fcn.1008f5c0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100f3c70
pop ebp
test edi, edi
pop edi
jne 0x100f3cb3
test ebx, ebx
je 0x100f3cb3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10121760
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100f3dd0
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 0x100f3eed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f3eed
mov eax, dword [esi + 0x3c]
push eax
call fcn.101331ad
mov esi, eax
test esi, esi
je 0x100f3eed
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 0x100f3eed
mov ecx, esi
call fcn.100f3d60
cmp edi, eax
jge 0x100f3eed
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 0x100f3e73
mov dword [esp + 0x34], 1
jmp 0x100f3ece
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100f3eed
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.100f3360
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 0x100f6710
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.d3d9.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Direct3DCreate9
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x10b33fd0
lea eax, [esp + 0x14]
and ecx, 3
push 1
push eax
rep movsb byte es:[edi], byte [esi]
push 0x10b33fd8
call fcn.100f67c0
add esp, 0x14
test al, al
pop edi
pop esi
pop ebx
jne 0x100f6792
push 0x10b01824
call fcn.100f67a0
add esp, 4
xor eax, eax
add esp, 0x104
ret
mov eax, 1
add esp, 0x104
ret

Function at 0x100f98f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10b37138]
xor edx, edx
cmp eax, edx
jne 0x100f9916
xor eax, eax
mov byte [eax + 0x10b37038], al
inc eax
cmp eax, 0x100
jl 0x100f98fe
mov dword [0x10b37138], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10b37038
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100f99a7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x100f997a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x100f9948
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x100f99b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x100f9a03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x100f99ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10100380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101409ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10100ca0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x10ad949c
call fcn.101314c4
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x10100413
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.101314c4
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x1010040c
push 0
mov ecx, eax
call fcn.100f7520
mov dword [esi + 0xc], eax
jmp 0x10100415
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x10100415
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x101109c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x10110ae1
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x10110ac5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x10110a17
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x101109f5
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x10111529
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10111580
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10111580
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10111580
xor eax, eax
inc eax
jmp 0x10111582
xor eax, eax
leave
ret 0x10

Function at 0x101115ab
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10111619
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10add33c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10111610
cmp dword [ebp - 0xc], 4
jne 0x10111610
cmp dword [ebp - 0x10], edi
je 0x10111610
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x10b08ba8], edi
xor eax, eax
jmp 0x10111658
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10b08ba8], edi
jge 0x10111653
lea eax, [ebp - 0x34]
push eax
mov dword [0x10b08ba8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10111653
cmp word [ebp - 0x14], 5
jb 0x10111653
call fcn.10111586
test eax, eax
je 0x10111653
emms
mov dword [0x10b08ba8], 1
mov eax, dword [0x10b08ba8]
pop edi
leave
ret

Function at 0x10133b51
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10133b89
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10131bde
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10131bb6
jmp 0x10133b95
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10135242
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10135284
call fcn.1013ad5d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10135284
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1013527b
xor eax, eax
jmp 0x1013528c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10135292
pop edi
pop esi
pop ebx
ret 4
Function at 0x415e70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x41dc80], ecx
add edx, 1
cmp edx, 0x100
jb 0x415e72
cmp edx, 0x800
jae 0x415f5b
mov edi, edi
mov eax, dword [edx*4 + 0x41d880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x41dc80]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41dc7c], eax
jb 0x415f30
mov dword [0x41dc54], 0x416610
call fcn.004160a0
test eax, eax
jne 0x415f78
mov dword [0x41dc54], 0x416530
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4253e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4088
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00432a10
lea eax, [esi + 0x18]
push eax
mov dword [esp + 0x18], 0
call fcn.00432a10
lea ecx, [esi + 0x30]
call fcn.004091e0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x42dac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x864], eax
push ebx
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
push 0x7fe
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x76]
push eax
mov dword [esp + 0x20], ecx
mov edi, 0x400
mov word [esp + 0x78], dx
call fcn.0046dea0
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.004329a0
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x54]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
mov dword [esp + 0x884], 0
call fcn.00415f40
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00412b50
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ebx
push ecx
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00432b60
nop
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push edx
push edi
push eax
call fcn.00487cad
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jg 0x42dba2
test ebx, ebx
jge 0x42dbd5
test ebx, ebx
jle 0x42dbab
lea edi, [ebx + 1]
jmp 0x42dbad
add edi, edi
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.00433790
lea ecx, [esp + 0x20]
call fcn.00419590
test eax, eax
ja 0x42dbcb
call fcn.0046d2c9
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
jmp 0x42db80
push ecx
mov ecx, esp
call fcn.0040d6d0
lea ecx, [esp + 0x3c]
call fcn.00403600
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.0040c2a0
mov edx, dword [esp + 0xc]
push ebx
push edx
lea ecx, [esp + 0x40]
call fcn.0040d270
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x884], 1
call fcn.0040a760
lea ecx, [esp + 0x38]
call fcn.0040a740
lea ecx, [esp + 0x20]
call fcn.00419540
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x42eb70
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4c1849
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x34]
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
call fcn.00402b90
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x38], esi
je 0x42ecfe
mov al, byte [edi]
dec dword [esp + 0x38]
mov byte [esp + esi + 0x14], al
mov bl, byte [esp + 0x15]
inc esi
inc edi
cmp esi, 3
jne 0x42ec43
mov al, byte [esp + 0x14]
mov cl, al
shr cl, 2
and al, 3
shl al, 4
mov byte [esp + 0x18], cl
mov dl, bl
shr dl, 4
add al, dl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
mov cl, bl
and cl, 0xf
add cl, cl
mov dl, al
add cl, cl
shr dl, 6
add cl, dl
and al, 0x3f
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], al
xor esi, esi
jmp 0x42ec20
movzx eax, byte [esp + esi + 0x18]
push eax
mov ecx, 0x4fb444
call fcn.00402e00
movzx ecx, byte [eax]
push ecx
mov ecx, ebp
call fcn.00402ce0
inc esi
cmp esi, 4
jl 0x42ec20
xor esi, esi
cmp dword [esp + 0x38], 0
jne 0x42ebc4
test esi, esi
je 0x42ecfe
cmp esi, 3
jge 0x42ec76
mov edx, 3
sub edx, esi
push edx
lea eax, [esp + esi + 0x18]
push 0
push eax
call fcn.0046dea0
mov bl, byte [esp + 0x21]
add esp, 0xc
mov al, byte [esp + 0x14]
mov cl, al
mov dl, bl
and al, 3
shl al, 4
shr dl, 4
add al, dl
shr cl, 2
and bl, 0xf
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
add bl, bl
mov byte [esp + 0x18], cl
mov cl, al
add bl, bl
shr cl, 6
add bl, cl
mov byte [esp + 0x1a], bl
and al, 0x3f
lea ebx, [esi + 1]
xor edi, edi
mov byte [esp + 0x1b], al
test ebx, ebx
jle 0x42ece0
jmp 0x42ecc0
movzx edx, byte [esp + edi + 0x18]
push edx
mov ecx, 0x4fb444
call fcn.00402e00
movzx eax, byte [eax]
push eax
mov ecx, ebp
call fcn.00402ce0
inc edi
cmp edi, ebx
jl 0x42ecc0
cmp esi, 3
jge 0x42ecfe
mov edi, 3
sub edi, esi
lea esp, [esp]
push 0x3d
mov ecx, ebp
call fcn.00402ce0
sub edi, 1
jne 0x42ecf0
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x42f5b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [0x4fb18c]
push 0x14
call fcn.0046d5f3
add esp, 4
test eax, eax
jne 0x42f5c9
xor al, al
pop esi
ret
lea ecx, [esi + 4]
push ecx
push 0
push eax
push 0x42f610
push 0
push 0
mov dword [eax], 0x42f650
mov dword [eax + 4], 0
mov dword [eax + 8], 0x7d0
mov dword [eax + 0xc], 0x4fb189
mov dword [eax + 0x10], esi
call fcn.00487442
add esp, 0x18
mov dword [esi], eax
test eax, eax
setne al
pop esi
ret