joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c33a6
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x65f9e8], 0x24d3
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x65f9e8], 0x1bac
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x5c3418
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [0x65f9ec], 0x92d
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x5c3418
jmp 0x5c342e
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x5c3410
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x5c33e6
mov eax, dword [ebp - 0x18]
mov dword [0x65f9e8], 0x334d
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x5c3409
mov dword [0x65f9ec], 0x20f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x5c3409
mov dword [0x65f9ec], 0x1208
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x5c3409
mov dword [0x65f9e8], 0x2dac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x5c3409
mov dword [0x65f9e8], 0xfffff703
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x5c3409
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x5c3409
mov eax, 1
mov dword [0x65f9e8], 0xfffff0e1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x5c3410
jmp 0x5c3409
Function at 0x5c3b32
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x65f9e8]
add ebx, 0x13d
mov dword [0x65f9ec], ebx
mov dword [0x65f9f0], 0
mov dword [0x65f9f4], 0
mov dword [0x65fa00], 0
mov dword [0x65f9e8], 0x1419
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x5c3cd7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x65f9e8], 0x29
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x65f9f0], edx
mov dword [0x65f9ec], 0xebf
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x65f9f4], edx
mov dword [0x65f9e8], 0xffffec9f
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x65f9f8], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x65f9f8]
mov edx, dword [0x65f9f4]
mov byte [ebx + edx], cl
mov dword [0x65f9e8], 0x1db7
mov edx, dword [0x65f9f0]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x65f9f4]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x65f9ec], 0x38df
and ecx, 0xff
mov dword [0x65fa00], ecx
mov dword [0x65f9e8], 0x3dc7
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov byte [0x65fa04], cl
mov dword [0x65f9ec], 0x3d99
mov dword [0x65f9e8], 0x23d4
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [0x65f9e8]
add ecx, 0xffffdbff
mov dword [0x65f9e8], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x5c3cd7
mov eax, dword [0x65f9f0]
mov ecx, dword [0x65f9f4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x5c3ba7
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5c3cdf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x65f9e8], 0xa6b
mov dword [0x65f9ec], 0xa11
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.005c2f4d
lea ecx, [0x5c37b4]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x7c], edx
mov dword [0x65f9ec], 0x1ddd
mov dword [esp + 0x60], 0x132a00
mov edx, dword [0x65f9d4]
mov dword [esp + 0x38], edx
mov edx, dword [0x65f9d8]
mov dword [esp + 0x68], edx
mov edx, dword [0x65f9dc]
mov dword [esp + 0x5c], edx
mov edx, dword [0x65f9e0]
mov dword [esp + 0x4c], edx
mov edx, dword [0x65f9e4]
mov dword [esp + 0x28], edx
mov dword [0x65f9e8], 0x2782
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x5c3da0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x5c3db4
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x5c3d7d
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x65f9ec], 0x1475
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x20], edx
mov dword [0x65f9e8], 0x173f
call fcn.005c33a6
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x5c3e39
lea eax, [esp + 0x20]
mov dword [0x65f9e8], 0xf02
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005c2ad2
mov dword [0x65f9ec], 0x1981
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x65f9e8], 0x220e
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x410b20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402d30
push 0x410d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x4174b4], 0xffffffff
mov dword [0x4174b8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4174a8]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x4174a4]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x4174b0], ecx
call fcn.00406c70
mov eax, dword [0x4173c0]
test eax, eax
jne 0x410bb1
push 0x410d10
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00410cf0
push 0x417014
push 0x417010
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x4174a0]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x41749c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x41700c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x410cbf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x410c25
cmp al, 0x22
jne 0x410c17
cmp byte [esi], 0x22
jne 0x410c2e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x410c3e
cmp al, 0x20
ja 0x410c3e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x410c2e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x410c5f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x410c64
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x410ca4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x410c2e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x410cbf

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 0x2c63700
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.02c6378f
jae 0x2c6370e
xor ecx, ecx
call fcn.02c6378f
jae 0x2c6373d
xor eax, eax
call fcn.02c6378f
jae 0x2c6374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02c6378f
adc al, al
jae 0x2c6372f
jne 0x2c63779
stosb byte es:[edi], al
jmp 0x2c63711
call fcn.02c6379b
sub ecx, ebx
jne 0x2c63756
call fcn.02c63799
jmp 0x2c63775
lodsb al, byte [esi]
shr eax, 1
je 0x2c63783
adc ecx, ecx
jmp 0x2c63772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02c63799
cmp eax, 0x7d00
jae 0x2c63772
cmp ah, 5
jae 0x2c63773
cmp eax, 0x7f
ja 0x2c63774
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 0x2c63711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x2c83700
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.02c8378f
jae 0x2c8370e
xor ecx, ecx
call fcn.02c8378f
jae 0x2c8373d
xor eax, eax
call fcn.02c8378f
jae 0x2c8374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02c8378f
adc al, al
jae 0x2c8372f
jne 0x2c83779
stosb byte es:[edi], al
jmp 0x2c83711
call fcn.02c8379b
sub ecx, ebx
jne 0x2c83756
call fcn.02c83799
jmp 0x2c83775
lodsb al, byte [esi]
shr eax, 1
je 0x2c83783
adc ecx, ecx
jmp 0x2c83772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02c83799
cmp eax, 0x7d00
jae 0x2c83772
cmp ah, 5
jae 0x2c83773
cmp eax, 0x7f
ja 0x2c83774
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 0x2c83711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40113c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x907fdb7f
push esi
push eax
inc edi
imul ecx, ebx
xchg esi, ebp
mov edx, edi
cmp eax, 0x20368269
or ebp, 0x4aae3025
lea ecx, [0x1299013a]
and bh, 0x65
mov dh, 0xbe
call 0x40113c
sbb ah, 0x19
inc dl
xchg ebx, ecx
dec ecx
bnd jb 0x401138
dec cl
xor ebp, eax
mov ah, cl
pop ebx
test ecx, 0x4541ea65
jbe 0x40114c
imul eax, ecx
test dh, ch
sbb edx, edi
dec esi
imul edi, ebx
test ebx, ebp
dec edx
mov edi, 0x3d5af98e
imul esi, ebp, 0xed77c4db
movzx edi, si
cmp eax, ecx
lea ebp, [0x7fe4acaf]
mov dl, 0x3a
xor eax, ecx
and cl, 0xf7
mov ebp, 0x7218807d
jb 0x40117f
imul esi, edx
inc ah
lea ecx, [0x891872c8]
test ecx, 0x9a941057
and cl, al
mov ebp, 0x9d1a7596
inc eax
add ebx, 0xdc2e
test ebx, ebx
jb 0x4011a6
adc eax, 0x90861f5d
cmp edi, edx
add ebx, 0x12aa
inc eax
sub ecx, ecx
xchg ch, cl
mov al, 0xc2
and ah, dh
imul eax, edx, 0xd3aa9479
inc edi
or dh, 0x77
mov dl, dl
imul ecx, ecx, 0
mov dh, bh
xor edx, ebp
test edi, 0xb456f889
mov eax, 0x8ed1d3a8
or dh, dl
movsx esi, bh
add ecx, 1
mov dl, dl
movsx eax, al
mov ebp, 0x56679a3
adc ah, 0xbc
xchg dh, dl
and eax, 0x3ad3cc83
xchg edx, edx
lea edi, [0x6d5600be]
cmp ecx, 0x1e9
jl 0x4011c6
dec esi
and ebp, ecx
mov dl, 0x4f
push ebx
movzx eax, ah
test cl, 0x4b
mov esi, ecx
adc al, 0x18
and al, 0x34
movzx edx, si
test eax, edx
sub edi, ecx
xchg dl, ch
test bh, bh
dec ebp
test eax, esi
sub eax, ecx
add al, 0x44
dec ch
dec ebp
mov ch, 0xbe
and edx, 0
and esi, ebp
mov ah, 0x48
sub edx, 0x3ee
dec ah
add edi, ecx
xchg cl, cl
add edx, 0xc4f
xor eax, 0x414eb142
mov cl, 0xfe
add eax, 0x1af4345d
test esi, ecx
lea ecx, [0xa3912f61]
dec esi
sub edx, 1
xchg edi, esi
mov edi, 0x11ae2e34
mov ch, 0x1a
inc ch
or cl, 0x93
mov ah, dh
cmp edx, 0xa0
jne 0x40124d
and dl, bh
movzx eax, si
ret
Function at 0x41d9d0
Capabilities:
Create thread
Encrypt or decrypt via wincrypt

Disassembly:
sub esp, 8
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 4
call fcn.00404fc5
add esp, 4
test eax, eax
je 0x41d9ef
mov dword [eax], 0x41d7b0
jmp 0x41d9f1
xor eax, eax
lea ecx, [esp + 4]
push ecx
push 0
push eax
push 0x401750
push 0
push 0
call fcn.0040a675
add esp, 0x18
mov dword [esp], eax
test eax, eax
je 0x41da5a
cmp dword [esp + 4], 0
je 0x41da69
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x41da70
push 0
push ecx
push dword [esp + 8]
call fcn.00402832
add esp, 0xc
test eax, eax
jne 0x41da77
push eax
push eax
push eax
push eax
push eax
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
cmp dword [esp + 4], 0
jne 0x41da7e
xor eax, eax
add esp, 8
ret
push 6
mov dword [esp + 8], 0
call fcn.004029e8
push 1
call fcn.004029e8
push 5
call fcn.004029e8
push 2
call fcn.004029e8
call fcn.0040a4dd
int3

Function at 0x3323700
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.0332378f
jae 0x332370e
xor ecx, ecx
call fcn.0332378f
jae 0x332373d
xor eax, eax
call fcn.0332378f
jae 0x332374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0332378f
adc al, al
jae 0x332372f
jne 0x3323779
stosb byte es:[edi], al
jmp 0x3323711
call fcn.0332379b
sub ecx, ebx
jne 0x3323756
call fcn.03323799
jmp 0x3323775
lodsb al, byte [esi]
shr eax, 1
je 0x3323783
adc ecx, ecx
jmp 0x3323772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03323799
cmp eax, 0x7d00
jae 0x3323772
cmp ah, 5
jae 0x3323773
cmp eax, 0x7f
ja 0x3323774
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 0x3323711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x33a3700
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.033a378f
jae 0x33a370e
xor ecx, ecx
call fcn.033a378f
jae 0x33a373d
xor eax, eax
call fcn.033a378f
jae 0x33a374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.033a378f
adc al, al
jae 0x33a372f
jne 0x33a3779
stosb byte es:[edi], al
jmp 0x33a3711
call fcn.033a379b
sub ecx, ebx
jne 0x33a3756
call fcn.033a3799
jmp 0x33a3775
lodsb al, byte [esi]
shr eax, 1
je 0x33a3783
adc ecx, ecx
jmp 0x33a3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.033a3799
cmp eax, 0x7d00
jae 0x33a3772
cmp ah, 5
jae 0x33a3773
cmp eax, 0x7f
ja 0x33a3774
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 0x33a3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
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 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1df56747
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5c3b716b
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10031aa5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x1005ef63
call fcn.10044e15
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x10031afa
push 0x10004af8
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.1005b292
mov esi, eax
push 0x10061eac
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1005b292
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x10031b18
mov eax, dword [esi]
jmp 0x10031b1a
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x10031c70
cmp dword [ebp - 0x744], 7
jne 0x10031c70
test ecx, ecx
je 0x10031b6f
push esi
lea eax, [edi + 8]
push eax
push 0x100049c8
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.1005b292
jmp 0x10031ada
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.1005b292
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x10031bc8
mov ecx, dword [esi]
jmp 0x10031bca
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10031bf9
push esi
lea ecx, [edi + 8]
push ecx
push 0x100049c8
push eax
jmp 0x10031b5d
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.1005b292
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1005b292
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.1005b292
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x10031c01
lea ecx, [ebp - 0x754]
call fcn.1005e30d
mov al, 1
jmp 0x10031c72
xor al, al
call fcn.10044e98
ret 8
Function at 0x1003ca27
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1006075f
call fcn.10044dac
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x1003ca50
cmp dword [0x1009b838], edi
je 0x1003cb3a
push 2
pop ebx
jmp 0x1003ca6a
cmp edi, 1
jne 0x1003cb3a
mov eax, ebx
call fcn.1003d8f8
test al, al
je 0x1003cb3a
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.1003d91a
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x1003cb1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1003cab1
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
call fcn.1003d111
test eax, eax
je 0x1003cb4e
push 0x1c049f
push 0
call fcn.1005b292
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x10069520], 0
push ebx
mov ecx, 0x1009b848
call fcn.1005b292
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.1003d228
mov esi, eax
test esi, esi
je 0x1003ca9d
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.1003d93b
inc edi
cmp edi, 2
jl 0x1003ca38
mov eax, esi
call fcn.10044e84
ret 0x18
push ebx
mov ecx, 0x1009b848
call fcn.1005b292
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x1003cb2e
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x1003cb89
cmp dword [ebp - 0x20], 3
jne 0x1003cb84
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1003cb84
and cl, 0xf
cmp cl, 4
je 0x1003cb89
push 2
pop esi
jmp 0x1003cb2e
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.1003d93b
xor eax, eax
jmp 0x1003cb46
Function at 0x1003d012
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x100607d0
call fcn.10044dac
mov esi, dword [ebp + 8]
cmp esi, dword [0x1009b844]
jne 0x1003d030
xor al, al
jmp 0x1003d109
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1003d041
xor ecx, ecx
cmp dword [0x1009b838], ecx
jmp 0x1003d04c
mov eax, esi
call fcn.1003d8f8
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x1003d029
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.1003d91a
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x1003d0ca
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1003d080
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.1003d111
test eax, eax
je 0x1003d0ef
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.1005b292
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x1009b848
mov dword [eax + 0x10069520], ebx
call fcn.1005b292
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.1003d228
mov ebx, eax
test ebx, ebx
je 0x1003d074
jmp 0x1003d0fc
push dword [ebp + 8]
mov ecx, 0x1009b848
call fcn.1005b292
lea ecx, [ebp + 0xf]
call fcn.1003d93b
test ebx, ebx
sete al
call fcn.10044e84
ret 8