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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100a9983
push esi
call fcn.100aca60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100a997c
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 0x100a9a09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100a99f2
mov eax, dword [esi + 8]
test eax, eax
je 0x100a99a7
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 0x100a99ee
cmp eax, 2
je 0x100a99f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100a999a
cmp eax, 3
je 0x100a99cd
cmp eax, 1
jne 0x100a999a
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 0x100a999a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100a999a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100a9a30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100a9a18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100a9a30
add esp, 4
pop esi
ret

Function at 0x100b76d0
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 0x100b7773
test eax, eax
jbe 0x100b7773
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100b7773
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 0x100b771e
xor esi, esi
jmp 0x100b7724
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100b774f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.10065cb0
add esi, eax
push esi
mov ebx, esi
call fcn.10065cb0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100b7730
pop ebp
test edi, edi
pop edi
jne 0x100b7773
test ebx, ebx
je 0x100b7773
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.100c08b0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x100b78b0
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 0x100b79cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100b79cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.100d18c8
mov esi, eax
test esi, esi
je 0x100b79cd
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 0x100b79cd
mov ecx, esi
call fcn.100b7820
cmp edi, eax
jge 0x100b79cd
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 0x100b7953
mov dword [esp + 0x34], 1
jmp 0x100b79ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100b79cd
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.100b6040
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 0x100bb1a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x100bb1ac
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x100bb23f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x100bb209
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.100bb250
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x100bb1de
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x100bb270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x100bb36d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x100bb2c2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x100bb2ee
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.100bb250
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x100bb32f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x100bb2b1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x100bc350
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 + 0x101246dc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x100bc363
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x100bc3a4
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 + 0x10124784]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x100bc3d6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100bc3da
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x100bc3cb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x100bc3f8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100bc3fc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x100bc3ed
xor ecx, ecx
mov eax, 0x101246ec
xor ebx, ebx
mov bl, byte [ecx + 0x10124794]
cmp byte [esp + ebx + 0x14], 0
je 0x100bc427
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x101247ac]
cmp byte [esp + ebx + 0x14], 0
je 0x100bc43e
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 0x100bc40e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x100bc397
lea edx, [esp + 0x84]
push edx
call fcn.100bc480
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x100d226c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100d22a4
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.100d0323
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100d02fb
jmp 0x100d22b0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100d395a
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 0x100d399c
call fcn.100d9492
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100d399c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100d3993
xor eax, eax
jmp 0x100d39a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100d39aa
pop edi
pop esi
pop ebx
ret 4
Function at 0x10033898
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
push 0xe0c
lea eax, [ebp + 8]
push eax
push 0xc4b
lea eax, [ebp - 0x10]
push eax
call fcn.10033759
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100338d2
xor eax, eax
jmp 0x100339ef
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100338f0
xor eax, eax
jmp 0x100339ef
push 0x3c79
lea eax, [ebp - 0xc]
push eax
push 0x3ad6
push 1
push dword [ebp - 8]
call fcn.10032dcb
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10033918
xor eax, eax
jmp 0x100339ef
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0xa94
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
call fcn.100335ac
add esp, 0x1c
push 0x1269
lea eax, [ebp - 4]
push eax
push 1
push 0x1363
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.100337da
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10033977
push dword [ebp - 0x14]
push dword [ebp - 4]
push 1
call fcn.1002ec07
add esp, 0xc
push dword [ebp - 4]
call fcn.10032695
pop ecx
test eax, eax
jne 0x10033988
xor eax, eax
jmp 0x100339ef
push 1
lea eax, [ebp - 4]
push eax
call fcn.1003384d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100339d7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100339b4
xor eax, eax
jmp 0x100339ef
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100339cd
xor eax, eax
jmp 0x100339ef
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100339e8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100339ec
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1007d662
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008738c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006e46c
mov dword [ebp - 0x14], eax
cmp dword [0x10674b0c], esi
jne 0x1007d755
push 0x800
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007d6e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007d835
push esi
push esi
push 0x1000790c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007d835
push 0x10007924
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007d835
push eax
call ebx
push 0x10007930
push edi
mov dword [0x10674b0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007940
push edi
mov dword [0x10674b10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007954
push edi
mov dword [0x10674b14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10674b1c], eax
test eax, eax
je 0x1007d752
push 0x10007970
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10674b18], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007d77a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007d76d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007d78f
push 4
pop eax
jmp 0x1007d837
cmp dword [ebp - 0x14], esi
je 0x1007d78f
push dword [0x10674b0c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007d774
mov eax, dword [0x10674b18]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007d7ed
cmp dword [0x10674b1c], edi
je 0x1007d7ed
push eax
call ebx
push dword [0x10674b1c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007d7ed
test eax, eax
je 0x1007d7ed
call ecx
test eax, eax
je 0x1007d7e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007d7e2
test byte [ebp - 8], 1
jne 0x1007d7ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007d81d
mov eax, dword [0x10674b10]
cmp eax, edi
je 0x1007d81a
push eax
call ebx
test eax, eax
je 0x1007d81a
call eax
mov esi, eax
test esi, esi
je 0x1007d81a
mov eax, dword [0x10674b14]
cmp eax, edi
je 0x1007d81a
push eax
call ebx
test eax, eax
je 0x1007d81a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10674b0c]
call ebx
test eax, eax
je 0x1007d835
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007d837
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x40d8ee
Capabilities:
Hash data using sha1

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

Function at 0x40c5c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40c5e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c5d8
mov eax, 1
add ebx, ebx
jne 0x40c5fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c5f0
jne 0x40c60c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c5f0
xor ecx, ecx
sub eax, 3
jb 0x40c620
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c692
mov ebp, eax
add ebx, ebx
jne 0x40c62b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c65c
inc ecx
add ebx, ebx
jne 0x40c648
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c63d
jne 0x40c659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c63d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c67c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c66d
jmp 0x40c5de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c67c
add edi, ecx
jmp 0x40c5de
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c6db
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c699
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc040]
or eax, eax
je 0x40c6d5
mov dword [ebx], eax
add ebx, 4
jmp 0x40c6b6
call dword [esi + 0xc050]
mov ebp, dword [esi + 0xc044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40c70f
sub esp, 0xffffff80
jmp 0x40a956

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 0x2fd3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02fd378f
jae 0x2fd370e
xor ecx, ecx
call fcn.02fd378f
jae 0x2fd373d
xor eax, eax
call fcn.02fd378f
jae 0x2fd374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02fd378f
adc al, al
jae 0x2fd372f
jne 0x2fd3779
stosb byte es:[edi], al
jmp 0x2fd3711
call fcn.02fd379b
sub ecx, ebx
jne 0x2fd3756
call fcn.02fd3799
jmp 0x2fd3775
lodsb al, byte [esi]
shr eax, 1
je 0x2fd3783
adc ecx, ecx
jmp 0x2fd3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02fd3799
cmp eax, 0x7d00
jae 0x2fd3772
cmp ah, 5
jae 0x2fd3773
cmp eax, 0x7f
ja 0x2fd3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2fd3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x5063700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0506378f
jae 0x506370e
xor ecx, ecx
call fcn.0506378f
jae 0x506373d
xor eax, eax
call fcn.0506378f
jae 0x506374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0506378f
adc al, al
jae 0x506372f
jne 0x5063779
stosb byte es:[edi], al
jmp 0x5063711
call fcn.0506379b
sub ecx, ebx
jne 0x5063756
call fcn.05063799
jmp 0x5063775
lodsb al, byte [esi]
shr eax, 1
je 0x5063783
adc ecx, ecx
jmp 0x5063772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05063799
cmp eax, 0x7d00
jae 0x5063772
cmp ah, 5
jae 0x5063773
cmp eax, 0x7f
ja 0x5063774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5063711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x10057c1
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x10]
and dword [eax], 0
and dword [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.01005781
mov esi, eax
mov ebx, 0x10012bc
test esi, esi
jge 0x1005804
push ebx
push 0x1001320
call dword [sym.imp.msvcrt.dll_wprintf]
movzx eax, si
pop ecx
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x100581e
push edi
mov edi, dword [ebp + 0xc]
push 0x2c
pop ecx
lea esi, [ebp - 0x30]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
je 0x100581a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005854
push 0x2c
push dword [ebp + 0xc]
push 3
push 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x1005849
push esi
push ebx
push 0x10012c8
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 0xc
jmp 0x1005857
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x1005857
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1005864
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x80
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x104]
push eax
push ebx
push esi
push 0x400
push edi
mov dword [ebp - 0x208], edi
call fcn.01006b12
mov dword [ebp - 0x210], eax
test eax, eax
jge 0x10058d1
push eax
push edi
push esi
push 0x10015d8
call dword [sym.imp.msvcrt.dll_wprintf]
movzx esi, word [ebp - 0x210]
jmp 0x1005a0c
xor eax, eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0x10000006
push ebx
push 0
push dword [ebp - 0x20c]
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, dword [sym.imp.msvcrt.dll_wprintf]
mov esi, eax
cmp esi, 0xea
jne 0x100592e
push dword [ebp - 0x208]
push ebx
push 0x1001568
call edi
add esp, 0xc
jmp 0x10059ae
cmp esi, 0x65e
jne 0x1005944
push dword [ebp - 0x208]
push ebx
push 0x10014f0
jmp 0x1005924
cmp esi, 2
jne 0x1005957
push dword [ebp - 0x208]
push ebx
push 0x1001490
jmp 0x1005924
test esi, esi
je 0x1005973
push esi
push dword [ebp - 0x208]
push ebx
push 0x1001428
call dword [sym.imp.msvcrt.dll_wprintf]
jmp 0x1005a0c
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x204]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10059a5
test dx, dx
je 0x10059a1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10059a5
add eax, 4
add ecx, 4
test dx, dx
jne 0x100597f
xor eax, eax
jmp 0x10059aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005a0f
lea eax, [ebp - 0x104]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10059b7
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x104]
push eax
push 1
push 0
push ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x10059f7
push esi
push dword [ebp - 0x208]
push ebx
push 0x10013d0
jmp 0x1005a0a
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x208]
push ebx
push 0x1001390
call edi
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006523
leave
ret 0x10