joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x446e9e
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401d60
mov eax, dword [esp + 0x20]
shr eax, 3
mov ecx, eax
mov eax, 0x828cbfbf
mul ecx
shr edx, 7
imul eax, edx, 0xfb
sub ecx, eax
shl ecx, 6
mov dword [esp + 0x1c], ecx
lea eax, [0x6024c0]
lea edx, [eax + ecx + 8]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.00401c10
mov eax, dword [esp + 4]
test eax, eax
je 0x446e83
mov eax, dword [esp + 0x1c]
lea ecx, [0x6024c0]
lea edx, [ecx + eax]
mov dword [esp + 0x28], edx
mov dword [esp], edx
call fcn.00409150
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00401c10
mov eax, dword [esp + 4]
test eax, eax
je 0x446e71
mov eax, dword [esp + 0x1c]
lea ecx, [0x6024c0]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004472b0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
je 0x446d94
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00401d60
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409350
mov eax, dword [esp + 0x24]
test eax, eax
je 0x446e6d
mov ecx, dword [eax + 0x10]
test ecx, ecx
setne dl
mov ebx, dword [eax + 0x14]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x446df1
mov eax, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 3]
mov dword [esp + 8], ecx
call fcn.0045cc00
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x446e87
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x446e2b
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00446eb0
movzx eax, byte [esp + 4]
test al, al
je 0x446e27
mov eax, dword [esp + 0x24]
mov dword [eax + 0x20], 1
jmp 0x446e2b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
add ecx, 5
mov dword [esp + 4], ecx
call fcn.00446920
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x20], 1
jne 0x446e6d
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x446e6d
lea eax, [0x52afa8]
mov dword [esp], eax
call fcn.0045fb50
add esp, 0x30
ret
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409350
add esp, 0x30
ret
add esp, 0x30
ret
lea eax, [0x525304]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.00434b80
nop
call fcn.0045fcc0
jmp fcn.00446ca0
Function at 0x451380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x451503
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4514fb
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4513dc
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4513dc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4513ef
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4514d0
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x4514c2
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x4514bb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x451446
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45148f
mov eax, 1
cmp eax, ecx
ja 0x45147d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00461180
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x4514b6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x451482
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x45144b
call fcn.00461120
xor eax, eax
call fcn.00461110
call fcn.00461180
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x4514f6
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x4514c7
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x4513f4
call fcn.00461120
xor eax, eax
call fcn.00461110
nop
call fcn.0045fcc0
jmp fcn.00451380
Function at 0x458be0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x458c7f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00461287
lea ecx, [0x458c90]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045fbb0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045fcc0
jmp fcn.00458be0
Function at 0x460f90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x626680]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45f74b
je 0x45f79e
cmp ebx, 0x20
jbe 0x45f7a4
cmp ebx, 0x40
jbe 0x45f7ea
jmp 0x45f88b
test ebx, ebx
je 0x45f794
add eax, 0x10
test ax, 0xff0
je 0x45f780
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x550a20]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x550b20]
jmp 0x45f768
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45f768
pxor xmm1, xmmword [0x626690]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x626690]
pxor xmm2, xmmword [0x6266a0]
pxor xmm3, xmmword [0x6266b0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x626690]
pxor xmm2, xmmword [0x6266a0]
pxor xmm3, xmmword [0x6266b0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45f8ea
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x626310], 0
je 0x460faa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45f710
jmp fcn.00407c70
Function at 0x460fb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4024be
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407c70
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045fcc0
jmp 0x402480
cmp byte [0x626310], 0
je 0x460fcb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45f710
jmp 0x402480
Function at 0x4c2070
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2118
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x6c]
test cl, cl
je 0x4c20cb
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
jmp 0x4c2102
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
ret
call fcn.0045fcc0
jmp fcn.004c2070
Function at 0x4d19a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d1b01
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x4d1a27
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
jne 0x4d1a2b
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x4d19f1
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x4d1a2b
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x4d1a33
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.004d1780
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
call fcn.004d6680
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x48
ret
call fcn.0045fcc0
jmp fcn.004d19a0
Function at 0x4ed810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4eda1c
sub esp, 0x70
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00461284
lea ecx, [0x506740]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
call fcn.0040cf50
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4ed875
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0040d1b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x4ed9bf
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 4]
lea ebp, [0x506740]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040ecb0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x51f2c3]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004b3f90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], edx
lea edx, [0x51f2a5]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0044dff0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x4ed944
mov esi, dword [esp + 0x34]
jmp 0x4ed98d
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x505d40]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00448790
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x3c]
mov esi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x6265b0]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x4ed9b3
mov dword [edx], eax
jmp 0x4ed85d
mov edi, edx
call fcn.00461090
jmp 0x4ed85d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x51f2a6]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004b3f90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044e360
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x70
ret
call fcn.0045fcc0
jmp fcn.004ed810
Function at 0x401810
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
push ebp
push edi
push esi
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
call fcn.00401d30
test eax, eax
jne 0x4019bb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00403130
push eax
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftIMEJPColors
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40193d
lea edx, [esp + 0x30]
push edx
push 1
push eax
mov eax, dword [esp + 0x30]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40192a
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
push eax
push str.DisplayAttribute
push edx
mov dword [esp + 0x30], 0x24
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40191f
test edi, edi
mov dword [esp + 0x14], 1
je 0x401910
test ebp, ebp
je 0x401910
mov eax, dword [ebp]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
push edi
push 0
push 0
shl eax, 1
push str.Description
push edx
mov dword [esp + 0x44], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4018fd
mov eax, dword [esp + 0x2c]
shr eax, 1
mov ecx, eax
mov dword [ebp], eax
push ecx
push edi
jmp 0x401914
mov dword [ebp], 0
mov word [edi], 0
mov ecx, dword [ebp]
push ecx
push edi
jmp 0x401914
push 0
push 0
mov ecx, dword [esp + 0x18]
push esi
push ebx
call fcn.00401e70
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4019bb
mov ecx, dword [0x40c8fc]
lea eax, [esp + 0x30]
push eax
push esi
mov edx, dword [ecx]
push ebx
call dword [edx + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
test ecx, ecx
jl 0x4019c7
test edi, edi
je 0x40199c
test ebp, ebp
je 0x40199c
mov ecx, dword [ebp]
lea edx, [eax + 1]
cmp ecx, edx
jl 0x401999
mov esi, dword [esp + 0x30]
lea ecx, [edx + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov dword [ebp], edx
mov ecx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push esi
push ebx
call fcn.00401e70
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4019e0
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 8
mov dword [esp + 4], ecx
push ebx
mov ecx, dword [0x40c8fc]
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [ecx]
push esi
push edi
push ebp
push ebx
mov esi, 0x80004005
call dword [eax + 0x10]
mov edi, dword [esp + 0x24]
test eax, eax
je 0x401a58
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00403130
push eax
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftIMEJPColors
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401b0d
mov eax, dword [esp + 0x20]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x20]
mov esi, eax
push ecx
jmp 0x401b07
lea edx, [esp + 0x10]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00403130
push eax
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftIMEJPColors
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401b0d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00403130
push eax
mov eax, dword [esp + 0x30]
push 0xf003f
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x401b02
mov ecx, dword [esp + 0x1c]
push 0x24
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 3
push eax
push str.DisplayAttribute
push ecx
call ebp
test edi, edi
mov esi, eax
je 0x401af3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x1c]
push edx
push edi
push 3
push 0
push str.Description
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
push eax
push edi
push ebp
push ebx
call fcn.00401e70
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x402290
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.00402200
add esp, 0xc
test eax, eax
jne 0x4022da
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret

Function at 0x4022e0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push ecx
push edx
call fcn.00402200
add esp, 0xc
test eax, eax
jne 0x402327
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret