joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006dea7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x24]
pop edi
sub eax, 0
je 0x1006dee8
sub eax, 5
je 0x1006dee4
sub eax, 1
je 0x1006dedf
sub eax, 3
je 0x1006dedf
xor eax, eax
jmp 0x1006deeb
push 2
pop eax
jmp 0x1006deeb
push 3
jmp 0x1006dee1
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x10096030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x10096053
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x1009604d
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x1009603e
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10095df9
dec esi
ficomp word [eax + 0x2a]
lea eax, [ebp - 0x58]
push eax
call fcn.10095e09
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10095dbe
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100960e7
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10095df9
jbe 0x10096152
invalid
test dword [eax - 1], edi
invalid
Function at 0x100961e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.10095e09
push eax
push esi
push dword [ebp + 8]
call fcn.10095dbe
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10095e09
push eax
push esi
push dword [ebp + 8]
call fcn.10095dbe
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10095df9
in eax, dx
adc al, 0x70
jmp 0xf860007

Function at 0x100962a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.10095df9
and dl, cl
daa
imul ecx, dword [ebp - 0x837b], 0x1ce850ff
sti
invalid
Function at 0x10096480
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100964ad
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x100964a8
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10096492
and ecx, 0xfff
loope 0x10096481
dec dword [edi]
add byte [eax], al
sldt word [eax]
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1009649a
cmp edx, ebx
jne 0x100965e8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10096469
add eax, dword [eax + 4]
jmp 0x10096456
mov dword [ebp + 0xc], ebx
jmp 0x100964b8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100964d0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100964ee
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1009654c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10096533
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1009653c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10096546
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10096528
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100964b2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10096599
dec eax
je 0x10096590
sub eax, 3
je 0x10096587
mov dword [ebp - 4], 0x40
jmp 0x100965b6
mov dword [ebp - 4], 4
jmp 0x1009659c
mov dword [ebp - 4], 0x20
jmp 0x1009659c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100965e8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10096568
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10095df9
imul dword [ecx]
jg 0x100965dc
push dword [ebp + 0x14]
jne 0x100965f3
push 1
push esi
call edi
mov eax, esi
jmp 0x100965f4
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10096a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.10095e09
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10095dbe
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.10095df9
inc esi
sti
xor ebp, dword [ebx + 0x10468]
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x10096ac2
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10096aed
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x10096cb7
cmp dword [ebp + 0xc], 1
je 0x10096cb7
cmp dword [ebp + 0xc], 8
jne 0x10096c7f
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.10095e09
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10095dbe
add esp, 0xc
mov dword [ebp - 0x690], eax
invalid
test dword [eax - 7], esp
invalid
invalid
Function at 0x100971c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp cl, 0xff
inc dword [ebx - 0x6cb43]
inc dword [eax]
je 0x10097f8c
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.10095d6a
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x10097206
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x1009724f
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x100971f9
call fcn.10095df9
das
cmp al, 0x6d
arpl word [eax - 0x72b5b], ax
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
invalid
test edx, esp
clc
invalid
invalid
Function at 0x10097710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
jmp 0x100975b1
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x10097603
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x100975a4
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
mov byte [ebp - 0x712], 0x71
and byte [ebp - 0x711], 0
mov byte [ebp - 0x710], 0xc8
mov byte [ebp - 0x70f], 0xe2
mov byte [ebp - 0x70e], 0xe1
mov byte [ebp - 0x70d], 0xe1
mov byte [ebp - 0x70c], 0xea
mov byte [ebp - 0x70b], 0xc8
mov byte [ebp - 0x70a], 0xe7
mov byte [ebp - 0x709], 0xf6
mov byte [ebp - 0x708], 0xbc
mov byte [ebp - 0x707], 0x8e
call fcn.10095df9
scasd eax, dword es:[edi]
rol dword [eax], cl
mov al, byte [eax - 0x7435b]
inc dword [eax]
and byte [ebp - 0x743], 0
mov byte [ebp - 0x742], 2
and byte [ebp - 0x741], 0
mov byte [ebp - 0x740], 0xb1
mov byte [ebp - 0x73f], 0x92
mov byte [ebp - 0x73e], 0x9c
mov byte [ebp - 0x73d], 0x99
mov byte [ebp - 0x73c], 0xb1
mov byte [ebp - 0x73b], 0x94
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.10095e09
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10095dbe
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
inc dword [eax - 0x6f35b]
inc dword [eax]
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.10095df9
jns 0x10097706
mov ebp, esi
lea eax, [ebp - 0x6f4]
push eax
call fcn.10095e09
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10095dbe
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x10097e9f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x10097974
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
invalid
invalid
invalid
Function at 0x100abc00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
push edi
test eax, eax
je 0x100abd34
lea esp, [esp]
mov edx, dword [eax + 4]
movzx ecx, byte [eax]
test edx, 0x200
jne 0x100abd32
cmp ecx, 0x25
je 0x100abd27
cmp ecx, 0x9c
je 0x100abd27
cmp ecx, 0x5e
je 0x100abc5a
cmp ecx, 0x9d
jne 0x100abca9
cmp byte [eax + 0x26], 0x5e
jne 0x100abcc6
push dword [eax + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 8]
push 0
movzx eax, byte [eax + 0x42]
push eax
push esi
call fcn.100b13c0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100abd34
mov eax, dword [esi]
push dword [ebx]
push ebx
movzx eax, byte [eax + 0x42]
push eax
push esi
call fcn.100b13c0
add esp, 0x10
test eax, eax
jne 0x100abd34
mov ecx, 1
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0x9a
je 0x100abcc6
cmp ecx, 0x98
je 0x100abcc6
cmp ecx, 0x9d
je 0x100abcc6
cmp ecx, 0x3d
jne 0x100abccc
cmp dword [eax + 0x2c], 0
jne 0x100abd44
test edx, 0x100
je 0x100abd32
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100abce8
test dword [ecx + 4], 0x100
je 0x100abce8
mov eax, ecx
jmp 0x100abd2a
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
test edi, edi
je 0x100abd23
test edx, 0x800
jne 0x100abd23
mov esi, dword [edi]
xor ecx, ecx
test esi, esi
jle 0x100abd23
lea edx, [edi + 8]
mov eax, dword [edx]
test dword [eax + 4], 0x100
jne 0x100abd1c
inc ecx
add edx, 0x18
cmp ecx, esi
jl 0x100abd05
mov eax, ebx
jmp 0x100abd2a
lea eax, [ecx + ecx*2]
mov ebx, dword [edi + eax*8 + 8]
mov eax, ebx
jmp 0x100abd2a
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100abc20
xor ebx, ebx
xor ecx, ecx
xor eax, eax
pop edi
test ecx, ecx
pop esi
cmove eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movsx ecx, word [eax + 0x20]
test ecx, ecx
js 0x100abd32
mov eax, dword [eax + 0x2c]
add ecx, ecx
mov esi, dword [ebp - 4]
push 0
mov eax, dword [eax + 4]
push dword [eax + ecx*8 + 8]
movzx eax, byte [esi + 0x42]
push eax
push esi
call fcn.100ad070
mov esi, dword [ebp + 8]
jmp 0x100abc70
Function at 0x100adc00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [ebx + 0x14], edx
jle 0x100adccb
push esi
lea esp, [esp]
mov eax, edi
mov ecx, edi
xor eax, 1
cmp edi, 2
cmovl ecx, eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100adc9e
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x1011c160]
movzx ecx, al
movzx ecx, byte [ecx + 0x1011c160]
sub ecx, edx
jne 0x100adc82
sub ebx, esi
test al, al
je 0x100adc97
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x1011c160]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x1011c160]
sub ecx, edx
je 0x100adc61
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, dword [ebx + 0x14]
jl 0x100adc20
pop esi
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x100adc82
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.1008b600
add esp, 0xc
test eax, eax
je 0x100adcc4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x100adc8e
jmp 0x100adc88
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x100adc88
pop edi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100adce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
push edi
lea esp, [esp]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x14], edi
jle 0x100addaf
mov edi, edi
mov ebx, dword [ebp + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x100add6f
mov edx, ecx
mov eax, ebx
mov ecx, dword [esi + 0x10]
add edx, edx
mov bl, byte [ebx]
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x1011c160]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x1011c160]
sub esi, ecx
jne 0x100add9d
sub edx, eax
mov dword [ebp - 4], edx
test bl, bl
je 0x100add68
movzx ecx, byte [edx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x1011c160]
mov bl, byte [eax]
movzx ecx, bl
movzx esi, byte [ecx + 0x1011c160]
sub esi, edx
mov edx, dword [ebp - 4]
je 0x100add42
jmp 0x100add9d
test esi, esi
jne 0x100add9d
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
add eax, 8
push eax
call fcn.1008b600
add esp, 0xc
test eax, eax
je 0x100add9d
mov eax, dword [eax + 8]
test eax, eax
jne 0x100ade67
mov eax, dword [ebp + 8]
inc edi
mov esi, eax
cmp edi, dword [eax + 0x14]
jl 0x100add00
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x1011c160]
sub eax, 0x73
jne 0x100ade65
mov esi, str.sqlite_master
sub esi, ecx
jmp 0x100addd0
test dl, dl
je 0x100addf9
movzx eax, byte [esi + ecx + 1]
inc ecx
mov dword [ebp + 0xc], ecx
mov dl, byte [ecx]
movzx ecx, byte [eax + 0x1011c160]
movzx eax, dl
movzx eax, byte [eax + 0x1011c160]
sub eax, ecx
jne 0x100ade65
mov ecx, dword [ebp + 0xc]
jmp 0x100addd0
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x100ade0f
neg edx
sbb edx, edx
jmp 0x100ade54
test edx, edx
je 0x100ade65
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x1011c160]
movzx eax, bl
movzx eax, byte [eax + 0x1011c160]
sub eax, ecx
jne 0x100ade52
sub edx, edi
test bl, bl
je 0x100ade52
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x1011c160]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x1011c160]
sub eax, ecx
je 0x100ade31
mov edx, eax
test edx, edx
jne 0x100ade65
mov ecx, str.sqlite_temp_master
mov dword [ebp + 0xc], ecx
jmp 0x100adcf0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c14c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x10149a58], 0
je 0x100c1512
mov eax, dword [0x101509c0]
test eax, eax
je 0x100c14ea
push eax
call dword [0x10149ab0]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.100921d0
mov eax, dword [0x101509c0]
add esp, 8
test eax, eax
je 0x100c150d
push eax
call dword [0x10149ab8]
mov esi, dword [ebp + 8]
jmp 0x100c151c
mov esi, dword [ebp + 8]
jmp 0x100c151f
push 0x14
call dword [0x10149a80]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100c152a
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp dword [0x10149a5c], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x100c1576
mov eax, dword [0x10149b60]
test eax, eax
je 0x100c154e
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100c1576
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100c1610
push 0
push 0
mov dword [esi + 0xc], ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100c1586
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x100c159f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x401d99
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x81407c]
jne 0x401da3
repz ret
jmp fcn.004026c7

Function at 0x4081dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x81407c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405ea4
and dword [ebp - 0x14], 0
cmp dword [0x816e50], 0
mov dword [ebp - 0x18], eax
jne 0x40828f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408337
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408337
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x816e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x816e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x816e58], eax
call edi
push eax
call esi
mov dword [0x816e60], eax
test eax, eax
je 0x40828f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x816e5c], eax
mov eax, dword [0x816e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4082e8
cmp dword [0x816e60], ecx
je 0x4082e8
push eax
call esi
push dword [0x816e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4082e8
test ebx, ebx
je 0x4082e8
call edi
test eax, eax
je 0x4082df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4082df
test byte [ebp - 8], 1
jne 0x4082e8
or dword [ebp + 0x10], 0x200000
jmp 0x40831b
mov eax, dword [0x816e54]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40831b
mov eax, dword [0x816e58]
cmp eax, dword [ebp - 0x18]
je 0x40831b
push eax
call esi
test eax, eax
je 0x40831b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x816e50]
call esi
test eax, eax
je 0x408337
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d99
leave
ret