joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov ebx, eax
mov eax, dword [esp + 0x68]
test byte [eax + 0x10], 4
push esi
push edi
jne 0x4052e2
push ebx
call dword [0x43924c]
test eax, eax
jne 0x405329
mov esi, dword [esp + 0x74]
test esi, esi
je 0x405487
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x405487
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405487
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x2c], 0x3c
call dword [0x4392a8]
cmp byte [esp + 0x6c], 0
mov eax, dword [ebp + 0x74]
jne 0x40535a
cmp dword [eax + 0xff14], 0
lea ecx, [eax + 0xff14]
je 0x40535a
mov eax, ecx
jmp 0x40535f
add eax, 0xff0c
lea esi, [esp + 0x1c]
call fcn.00418a30
mov edi, dword [esp + 0x1c]
sub esp, 8
lea eax, [esp + 0x78]
mov esi, esp
add edi, 0x118
call fcn.00418a30
mov edx, dword [esp + 0x74]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
mov eax, edi
lea edx, [esp + 0x40]
mov ecx, ebx
call fcn.004026d0
test al, al
je 0x405425
push 0x17
call dword [0x439310]
neg eax
sbb eax, eax
neg eax
inc eax
push eax
call dword [0x439290]
mov esi, dword [esp + 0x70]
mov edx, dword [esi + 0x14]
push edx
test ax, ax
mov eax, dword [edi + 4]
setne cl
mov byte [esp + 0x6c], cl
mov edx, dword [esp + 0x6c]
mov ecx, dword [edi + 0x10]
push edx
mov edx, dword [esi + 0x10]
and dl, 1
cmp dl, 1
mov edx, dword [esp + 0x74]
push edx
mov edx, dword [edi + 0x18]
push eax
sete bl
add edx, ecx
add edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esi]
sub eax, ecx
push eax
mov eax, dword [ebp + 0x74]
lea ecx, [esp + 0x40]
push ecx
push edx
push eax
call fcn.004198a0
call dword [0x4391a8]
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x34], eax
mov esi, dword [esp + 0x20]
test esi, esi
je 0x405456
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x405456
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x405456
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov esi, dword [esp + 0x74]
test esi, esi
je 0x405487
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405487
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x405487
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x10
Function at 0x405900
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
push esi
call dword [0x4392b4]
mov esi, eax
push 0xffffffffffffffec
push esi
call dword [0x439324]
and eax, 0x10000
xor ecx, ecx
cmp eax, 0x10000
setne cl
add ecx, 2
mov eax, ecx
push eax
push esi
call dword [0x4392c0]
lea edx, [esp + 4]
push edx
push 0x403e00
mov dword [esp + 0xc], eax
call dword [0x4392b0]
mov eax, dword [esp + 4]
push eax
call dword [0x4392e0]
pop esi
test eax, eax
je 0x405977
mov ecx, dword [esp]
push ecx
call dword [0x439298]
test eax, eax
jne 0x405977
mov edx, dword [esp]
push eax
push 0x9c4
push eax
push eax
push 1
push 0x18
push edx
call dword [0x4392c8]
pop ecx
ret

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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x80]
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00415150
mov eax, dword [esi + 8]
mov dword [esp + 4], eax
cmp eax, dword [esi + 0xc]
je 0x40a66e
push ebx
push ebp
push edi
mov edi, 0xf
xor ebx, ebx
jmp 0x40a505
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401870
mov esi, dword [esp + 0x28]
mov eax, esi
cmp esi, 6
jb 0x40a52e
mov eax, 6
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp ebp, 0x10
jae 0x40a53f
lea edx, [esp + 0x18]
mov ecx, str.psdocc
call fcn.004025f0
cmp eax, ebx
jne 0x40a566
cmp esi, 6
jb 0x40a566
xor eax, eax
cmp esi, 6
setne al
cmp eax, ebx
jne 0x40a566
cmp ebp, 0x10
jmp 0x40a641
push ebx
push 0x43b8de
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401a30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00401870
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.00401870
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x8c], eax
call fcn.00405f80
mov esi, 0x10
cmp dword [esp + 0x80], esi
jb 0x40a5fc
mov eax, dword [esp + 0x6c]
push eax
call fcn.00423279
add esp, 4
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x64], esi
jb 0x40a61e
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00423279
add esp, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x48], esi
jb 0x40a63d
mov edx, dword [esp + 0x34]
push edx
call fcn.00423279
add esp, 4
cmp dword [esp + 0x2c], esi
jb 0x40a650
mov eax, dword [esp + 0x18]
push eax
call fcn.00423279
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x8c]
add eax, 0x1c
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0xc]
jne 0x40a501
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x78
ret 0xc
Function at 0x40bed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ebx + 0x3c], 0
push esi
push edi
je 0x40bffe
cmp byte [ebx + 0x41], 0
je 0x40bffe
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x40bfed
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x10], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 8
cmp ecx, 0x10
jae 0x40bf2c
lea eax, [esp + 0x10]
mov byte [eax + 8], 0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov edx, eax
cmp edi, 0x10
jae 0x40bf45
lea edx, [esp + 0x10]
mov eax, edx
mov ecx, dword [ebx + 0x3c]
mov esi, dword [ecx]
lea edi, [esp + 8]
push edi
mov edi, dword [esp + 0x24]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x44]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x40bf80
sub eax, 1
je 0x40bf84
sub eax, 2
lea ecx, [esp + 0xc]
jne 0x40bfe8
call fcn.00401840
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x41], 0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, eax
cmp edi, 0x10
jae 0x40bf97
lea ecx, [esp + 0x10]
mov esi, dword [esp + 8]
sub esi, ecx
je 0x40bfc4
cmp edi, 0x10
jae 0x40bfa8
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x4c]
push ecx
push esi
push 1
push eax
call fcn.00424398
add esp, 0x10
cmp esi, eax
jne 0x40bfe4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp byte [ebx + 0x41], 0
je 0x40bff5
test esi, esi
jne 0x40bf38
push esi
lea eax, [esi + 8]
lea edi, [esp + 0x10]
call fcn.00406010
jmp 0x40bf30
lea ecx, [esp + 0xc]
call fcn.00401840
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
call fcn.00401840
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x415f10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push edi
push ebx
push 8
mov edi, eax
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.00424ae1
lea ecx, [esp + 0x24]
push ecx
mov eax, 8
xor edx, edx
call fcn.0041e2c0
add esp, 0x14
test eax, eax
je 0x415f55
push ebx
call fcn.004245a0
add esp, 4
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret 8
push esi
call fcn.0041c8f0
mov esi, eax
test esi, esi
jne 0x415f75
push ebx
call fcn.004245a0
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret 8
push ebp
push 0x3c
call fcn.00424cfe
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x416000
push 0x3c
push 0
push ebp
call fcn.00427e80
push 0x3c
push 0
push ebp
call fcn.00427e80
xor eax, eax
add esp, 0x18
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0x415ed0
cmp dword [esi + 0xc], eax
je 0x415fb5
mov dword [esi + 0xc], eax
push ebp
mov dword [esi + 0xe0], eax
mov byte [esi + 0xdc], 8
call fcn.0041ca20
mov ebx, dword [esp + 0x2c]
push edi
push ebx
push esi
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
mov eax, ebp
call fcn.0041c8a0
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, 8
jge 0x416026
cmp byte [esi + 0xd7], 8
jae 0x416032
or dword [esi + 0x20], 4
mov byte [esi + 0xd8], 8
jmp 0x416032
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.0041d040
push esi
call fcn.00423a3d
push ebx
call fcn.004245a0
add esp, 8
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret 8
cmp eax, 0x10
jne 0x416032
or dword [esi + 0x20], 0x400
mov eax, dword [esp + 0x18]
mov ecx, 0xffffffbf
cmp eax, 3
jne 0x416049
or dword [esi + 0x20], 0x2001000
jmp 0x416059
test eax, eax
je 0x416052
cmp eax, 4
jne 0x41605c
or dword [esi + 0x20], 0x4000
and dword [esi + 0x1c], ecx
mov edx, dword [ebp + 8]
and edx, 0x10
je 0x41606e
or dword [esi + 0x20], 0x2001000
and dword [esi + 0x1c], ecx
test al, 4
jne 0x416079
mov eax, esi
call fcn.0041e150
or dword [esi + 0x20], 1
test byte [esi + 0x1c], 0x40
jne 0x416088
call fcn.0041f890
mov ecx, ebp
call fcn.0041d160
mov eax, dword [ebx]
imul eax, dword [edi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
mov ebp, eax
mov eax, dword [edi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004222fc
mov ebx, eax
xor eax, eax
add esp, 8
xor ecx, ecx
cmp dword [edi], eax
jbe 0x4160e5
lea edx, [ecx + ebp]
mov dword [ebx + eax*4], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx]
inc eax
lea ecx, [ecx + edx*4]
cmp eax, dword [edi]
jb 0x4160d1
push ebx
mov edi, esi
call fcn.0041cec0
call fcn.0041cf30
mov ecx, dword [esp + 0x14]
xor eax, eax
call fcn.0041d040
mov eax, dword [esp + 0x14]
push eax
call fcn.00423a3d
push esi
call fcn.00423a3d
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004245a0
push ebx
call fcn.004237c4
add esp, 0x14
mov eax, ebp
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x14
ret 8
Function at 0x41c6f0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 4], 0
push ebx
mov ebx, dword [0x4392e0]
push edi
je 0x41c750
mov eax, dword [esi]
push eax
call ebx
mov edi, dword [0x4392d4]
test eax, eax
jne 0x41c715
mov ecx, dword [esi]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push edx
call ebx
test eax, eax
jne 0x41c727
mov eax, dword [esi + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x41c739
mov edx, dword [esi + 8]
push 5
push edx
call edi
mov eax, dword [esi + 0xc]
push eax
call ebx
test eax, eax
jne 0x41c79c
mov ecx, dword [esi + 0xc]
push 5
push ecx
call edi
pop edi
pop ebx
ret 4
mov edx, dword [esi]
push edx
call ebx
mov edi, dword [0x4392d4]
test eax, eax
je 0x41c766
mov eax, dword [esi]
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push ecx
call ebx
test eax, eax
je 0x41c778
mov edx, dword [esi + 4]
push 0
push edx
call edi
mov eax, dword [esi + 8]
push eax
call ebx
test eax, eax
je 0x41c78a
mov ecx, dword [esi + 8]
push 0
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call ebx
test eax, eax
je 0x41c79c
mov eax, dword [esi + 0xc]
push 0
push eax
call edi
pop edi
pop ebx
ret 4

Function at 0x41ca20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [esp + 0x30]
test esi, esi
je 0x41cb8e
test ebp, ebp
je 0x41cb8e
mov al, byte [esi + 0xdc]
push ebx
push edi
cmp al, 8
jae 0x41ca7e
movzx edi, al
mov eax, dword [esi + 0x10]
mov dword [esi + 0x128], 0x11
test eax, eax
je 0x41ca6b
mov ecx, 8
sub ecx, edi
push ecx
lea edx, [edi + ebp + 0x20]
push edx
push esi
call eax
add esp, 0xc
mov byte [esi + 0xdc], 8
cmp edi, 3
jae 0x41ca7e
or dword [esi + 0x18], 0x1000
mov bl, 0x44
mov edi, 0x18
jmp 0x41ca90
mov eax, esi
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x48
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], 0x52
mov byte [esp + 0xc], 0x49
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], 0x41
mov byte [esp + 0xf], 0x54
mov byte [esp + 0x1c], 0x49
mov byte [esp + 0x1d], 0x45
mov byte [esp + 0x1e], 0x4e
mov byte [esp + 0x1f], bl
mov byte [esp + 0x24], 0x50
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x54
mov byte [esp + 0x27], 0x45
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 0x52
mov byte [esp + 0x2e], 0x4e
mov byte [esp + 0x2f], 0x53
call fcn.0041e570
mov edx, dword [esp + 0xc]
cmp dword [esi + 0xcc], edx
jne 0x41cb15
mov ecx, dword [esi + 0x18]
test cl, 8
je 0x41cb15
or ecx, 0x2000
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0xcc]
cmp ecx, dword [esp + 0x14]
jne 0x41cb31
push ebp
mov eax, esi
call fcn.0041e800
add esp, 4
jmp 0x41ca90
cmp ecx, dword [esp + 0x1c]
jne 0x41cb46
or dword [esi + 0x18], edi
mov ecx, esi
call fcn.0041e620
jmp 0x41ca90
cmp ecx, dword [esp + 0x24]
jne 0x41cb5e
mov ecx, eax
push ebp
mov eax, esi
call fcn.0041e960
add esp, 4
jmp 0x41ca90
cmp ecx, edx
je 0x41cb82
cmp ecx, dword [esp + 0x2c]
mov ecx, esi
jne 0x41cb78
push ebp
call fcn.0041ea90
add esp, 4
jmp 0x41ca90
call fcn.0041ec60
jmp 0x41ca90
or dword [esi + 0x18], 4
pop edi
mov dword [esi + 0xbc], eax
pop ebx
pop ebp
add esp, 0x28
ret
Function at 0x41cf30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
test esi, esi
je 0x41d02e
push ebx
xor eax, eax
mov ecx, esi
call fcn.0041e620
mov bl, 0x44
jmp 0x41cf50
mov eax, esi
mov byte [esp + 4], 0x49
mov byte [esp + 5], 0x48
mov byte [esp + 6], bl
mov byte [esp + 7], 0x52
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x54
mov byte [esp + 0xc], 0x49
mov byte [esp + 0xd], 0x45
mov byte [esp + 0xe], 0x4e
mov byte [esp + 0xf], bl
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x4c
mov byte [esp + 0x1e], 0x54
mov byte [esp + 0x1f], 0x45
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x25], 0x52
mov byte [esp + 0x26], 0x4e
mov byte [esp + 0x27], 0x53
call fcn.0041e570
mov edx, dword [esi + 0xcc]
cmp edx, dword [esp + 4]
jne 0x41cfd2
push 0
mov eax, esi
call fcn.0041e800
add esp, 4
jmp 0x41d023
cmp edx, dword [esp + 0xc]
jne 0x41cfe5
or dword [esi + 0x18], 0x18
mov ecx, esi
call fcn.0041e620
jmp 0x41d023
cmp edx, dword [esp + 0x14]
jne 0x41cff4
mov ecx, esi
call fcn.0041e620
jmp 0x41d023
cmp edx, dword [esp + 0x1c]
jne 0x41d00a
mov ecx, eax
push 0
mov eax, esi
call fcn.0041e960
add esp, 4
jmp 0x41d023
mov ecx, esi
cmp edx, dword [esp + 0x24]
jne 0x41d01e
push 0
call fcn.0041ea90
add esp, 4
jmp 0x41d023
call fcn.0041ec60
test byte [esi + 0x18], 0x10
je 0x41cf50
pop ebx
add esp, 0x28
ret
Function at 0x420ff0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x440544]
test eax, eax
je 0x4211d0
push ebx
xor edx, edx
mov dword [0x440544], 0
xor eax, eax
push edi
lea ecx, [ecx]
movzx edi, byte [eax + 0x43c719]
movzx ebx, byte [eax + 0x43c718]
mov ecx, 0x1f
sub ecx, edi
mov edi, 1
shl edi, cl
mov ecx, 0x1f
sub ecx, ebx
mov ebx, 1
shl ebx, cl
add eax, 2
or edi, ebx
or edx, edi
cmp eax, 0xe
jb 0x421010
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x421053
xor eax, edx
test al, 1
je 0x42105d
shr eax, 1
xor eax, edx
jmp 0x42105f
shr eax, 1
test al, 1
je 0x421069
shr eax, 1
xor eax, edx
jmp 0x42106b
shr eax, 1
test al, 1
je 0x421075
shr eax, 1
xor eax, edx
jmp 0x421077
shr eax, 1
test al, 1
je 0x421081
shr eax, 1
xor eax, edx
jmp 0x421083
shr eax, 1
test al, 1
je 0x42108d
shr eax, 1
xor eax, edx
jmp 0x42108f
shr eax, 1
test al, 1
je 0x421099
shr eax, 1
xor eax, edx
jmp 0x42109b
shr eax, 1
test al, 1
je 0x4210a5
shr eax, 1
xor eax, edx
jmp 0x4210a7
shr eax, 1
mov dword [ecx*4 + 0x441af8], eax
inc ecx
cmp ecx, 0x100
jl 0x421048
mov ecx, 0x442ef8
lea esp, [esp]
mov eax, dword [ecx - 0x1400]
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
shl edi, 8
mov edx, eax
shr edx, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx - 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x441af8]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
mov edx, eax
shr edx, 8
shl edi, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx], edi
mov dword [ecx - 0x1000], eax
and eax, 0xff
mov eax, dword [eax*4 + 0x441af8]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
mov edx, eax
shr edx, 8
shl ebx, 0x10
add edi, ebx
mov ebx, edx
shl edi, 8
and ebx, 0xff00
add edi, ebx
mov ebx, eax
mov dword [ecx - 0xc00], eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx + 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x441af8]
xor eax, edx
mov edx, eax
and edx, 0xff00
mov edi, eax
shl edi, 0x10
add edx, edi
mov edi, eax
shr edi, 8
shl edx, 8
and edi, 0xff00
mov dword [ecx - 0x800], eax
add edx, edi
shr eax, 0x18
add edx, eax
mov dword [ecx + 0x800], edx
add ecx, 4
cmp ecx, 0x4432f8
jl 0x4210c0
pop edi
mov dword [0x440540], 0
pop ebx
ret
mov eax, dword [0x440540]
test eax, eax
jne 0x4211d0
ret
Function at 0x403330
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4076d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x4094e0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x14]
xor eax, eax
test di, di
lea ecx, [esp + 0x18]
setne al
push ecx
push 0xf003f
add eax, 0x80000001
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4033cf
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ebx
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4033cf
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x403405
inc edi
cmp di, 2
jl 0x40336c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
test eax, eax
seta bl
mov dword [esp + 0x28], 0xffffffff
call fcn.00407146
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00407146
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4039e0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
push ebx
push ebp
push esi
push edi
push str.SOFTWARECNC_SOFTWARE__INC.
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [esp + 0x14]
xor edx, edx
lea eax, [esp + 0x10]
test bx, bx
push eax
push 0xf003f
setne dl
push 0
add edx, 0x80000001
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a4f
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 1
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp bx, 2
jl 0x4039ff
lea ecx, [esp + 0x14]
call fcn.00407146
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x404348
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x40438d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4056b8
Capabilities:
Link many functions at runtime

Disassembly:
lea esi, [0x40b818]
push esi
mov eax, dword [0x40b408]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x40b82d], eax
mov dword [0x40b0f5], 1
mov eax, 0x4000
push eax
lea eax, [0x40b333]
push eax
lea eax, [0x40b0e1]
push eax
lea esi, [0x40b5cf]
call dword [esi]
cmp eax, 0xffffffff
jne 0x405704
mov dword [0x40b0f5], 0
cmp dword [0x40b0f5], 0
je 0x40577a
mov eax, 0x4000
push eax
lea eax, [0x40b333]
push eax
lea eax, [0x40b0ca]
push eax
lea esi, [0x40b5cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x40577a
lea eax, [0x40b0ca]
push eax
call dword [0x40b1f3]
mov dword [0x40b0ed], eax
cmp eax, 0
je 0x40577a
lea edx, [0x40b0f9]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40577a
mov dword [0x40b14b], eax
mov eax, dword [0x40b0ed]
lea edx, [0x40b130]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40577a
mov dword [0x40b14f], eax
jmp 0x4057f2
mov eax, 0x4000
push eax
lea eax, [0x40b333]
push eax
lea eax, [0x40b0d7]
push eax
lea esi, [0x40b5cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x4057e7
lea eax, [0x40b0d7]
push eax
call dword [0x40b1f3]
mov dword [0x40b0f1], eax
cmp eax, 0
je 0x4057e7
lea edx, [0x40b115]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x4057e7
mov dword [0x40b14b], eax
mov eax, dword [0x40b0f1]
lea edx, [0x40b13e]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x4057e7
mov dword [0x40b14f], eax
jmp 0x4057fd
mov dword [0x40b153], 0
ret
mov dword [0x40b153], 1
ret
mov dword [0x40b153], 2
ret

Function at 0x405b15
Capabilities:
Packed with generic packer

Disassembly:
pushal
push eax
push ecx
push edx
test ax, 1
je 0x405b32
push ecx
push edx
call dword [0x40b763]
cmp eax, 0
je 0x405b32
pop edx
pop ecx
pop eax
stc
jmp 0x405b4d
pop edx
pop ecx
pop eax
test ax, 2
je 0x405b4c
push ecx
push edx
call dword [0x40b775]
cmp ax, 0
je 0x405b4c
stc
jmp 0x405b4d
clc
popal
ret

Function at 0x406980
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 8]
mov dword [esp + 0x14], 0xc
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, dword [edi]
mov dword [edi + 4], edx
mov edx, dword [eax + 4]
add ecx, edx
mov dword [edi], ecx
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, ebx
mov edx, ebx
shr esi, 4
xor edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
add ebp, 8
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, 0x20
or eax, edx
mov edx, dword [ebp - 8]
sub eax, edx
mov edx, eax
mov dword [edi + 4], eax
shr edx, 7
and edx, 0x1f
xor eax, ebx
sub ecx, edx
mov esi, eax
shr esi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
shl eax, cl
or esi, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi], esi
mov dword [esp + 0x14], eax
jne 0x4069aa
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406a09
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 0x60]
mov dword [esp + 0x14], 0xc
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [ebp + 4]
mov esi, ebx
shr esi, 7
sub edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
sub ebp, 8
shl eax, cl
mov ecx, esi
shr edx, cl
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov ecx, dword [ebp + 8]
mov edx, eax
shr edx, 4
lea esi, [ebx + ecx]
and edx, 0x1f
mov ecx, 0x20
mov ebx, esi
sub ecx, edx
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [edi + 4], ebx
mov dword [esp + 0x14], eax
jne 0x406a20
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
mov ecx, ebx
mov edx, dword [eax + 4]
sub esi, edx
mov dword [edi], esi
mov eax, dword [eax]
sub ecx, eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
ret