joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fa9e5d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46039020]
jne 0x45fa9e67
repz ret
jmp fcn.45faa427

Function at 0x45faa738
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4603b714], 0
push esi
jne 0x45faa6a6
call fcn.45faa5c2
test eax, eax
je 0x45faa6e9
mov eax, dword [0x4603b714]
cmp eax, 1
jne 0x45faa6c7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x45faa6e9
pop esi
ret
push eax
call dword [0x4603b71c]
test eax, eax
jne 0x45faa731
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45faa6ed
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4603b714]
call dword [0x4603b71c]
mov edi, eax
test edi, edi
je 0x45faa712
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x45faa72e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4603b714]
call dword [0x4603b718]
add edi, 0x10
cmp edi, esi
jb 0x45faa71a
mov eax, edi
pop edi
pop esi
ret
jmp 0x45faa693

Function at 0x45faaa37
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x46039020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x45faaa75
push 0xa
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.45fb139c
add esp, 0xc
test eax, eax
jne 0x45faaa7b
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.45fa9e5d
leave
ret 4

Function at 0x45fabbfe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45fabc57
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45fabc49
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x45fabc45
cmp esi, eax
jae 0x45fabc49
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x45fabc37
cmp esi, eax
jb 0x45fabc4d
xor eax, eax
jmp 0x45fabc56
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x45fabd15
Capabilities:
Load windows common language runtime
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x46039020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x45db429c
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x45fabd46
mov eax, 0x80004005
jmp 0x45fabdb8
push 0x45db4288
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x45fabd64
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0x8000ffff
jmp 0x45fabdb8
push esi
push 0x45db41d8
push 0x45db41c8
push 0
push 0
push 0
call eax
mov esi, eax
test esi, esi
jge 0x45fabda6
push 0xffffffffffffffff
push esi
push 0x45db41e8
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.45faa104
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 1
je 0x45fabdaf
test esi, esi
jge 0x45fabdb6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.45fa9e5d
leave
ret

Function at 0x45fac88a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push 0x4603b7f0
lea ecx, [ebp - 4]
xor esi, esi
call fcn.45fac110
push 0x104
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0x208
call fcn.45fac517
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edi, eax
call fcn.45fac08d
cmp edi, esi
jne 0x45fac8f0
push esi
lea ecx, [ebp - 4]
call fcn.45fac810
lea ecx, [ebp - 4]
call fcn.45fac40c
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.45fabbdf
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x45fad261
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push 0x1c
push 0x45ff0ea8
call fcn.45faa304
mov esi, ecx
mov dword [ebp - 0x28], esi
xor ebx, ebx
mov byte [ebp - 0x19], bl
call fcn.45fad1cf
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc]
sub eax, 0x800c
je 0x45fad2ef
dec eax
dec eax
je 0x45fad2c9
xor eax, eax
inc eax
mov dword [esi + 4], eax
cmp dword [esi], ebx
jne 0x45fad2ae
push 0xf0000000
push eax
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x45fad354
lea eax, [esi + 8]
push eax
push ebx
push ebx
push dword [esi + 0xc]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x45fad354
jmp 0x45fad310
mov dword [esi + 4], 3
cmp dword [esi + 8], ebx
jne 0x45fad354
push 0xd0
call fcn.45dd9695
pop ecx
mov dword [esi + 8], eax
cmp eax, ebx
je 0x45fad354
push eax
call fcn.45fae150
jmp 0x45fad310
mov dword [esi + 4], 2
cmp dword [esi + 8], ebx
jne 0x45fad354
push 0x68
call fcn.45dd9695
pop ecx
mov dword [esi + 8], eax
cmp eax, ebx
je 0x45fad354
push eax
call fcn.45fad3d0
mov byte [ebp - 0x19], 1
jmp 0x45fad354
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
call fcn.45faa349
ret

Function at 0x45fad3d0
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret 4
Function at 0x45fae050
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x46039020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x24]
push edi
mov ecx, ebx
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
cmp edi, 8
mov dword [ebp - 0x50], eax
ja 0x45fae085
add edi, 0x40
lea edx, [edi - 8]
push edx
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.45fb1390
mov ecx, dword [esi + 0x20]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ebx
shr edx, 0x1d
or ecx, edx
add esp, 0xc
mov dword [ebp - 0x58], ecx
push 2
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + edi - 0x54]
lea eax, [ebx*8]
push edx
mov byte [ebp - 0x4c], 0x80
mov dword [ebp - 0x54], eax
call fcn.45fb1120
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.45fadf40
mov ecx, dword [ebp - 0x50]
push 8
push esi
push ecx
call fcn.45fb1120
xor eax, eax
push 0x40
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push eax
add esi, 0x28
push esi
call fcn.45fb1390
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.45fa9e5d
mov esp, ebp
pop ebp
ret 8

Function at 0x45fae150
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
pop ebp
ret 4
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f4
and dword [ebp - 4], 0
cmp dword [0x4360dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4360dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4360e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4360e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4360ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4360e8], eax
mov eax, dword [0x4360e8]
cmp eax, ebx
je 0x406664
cmp dword [0x4360ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x4360ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x4360e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x4360e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4360dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x444044]
push dword [0x443d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x42e74f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x42e779
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.0042e744
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x42e75c
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
jne 0x42e791
or dword [0x444054], 0xffffffff
mov dword [0x444050], 0xa62e7790
leave
ret
Function at 0x7954b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx eax, byte [eax]
movzx ecx, byte [ecx]
call fcn.00795563
xchg esp, eax
pop es
scasb al, byte es:[edi]
xchg edx, eax
adc edi, dword [edx + reloc.WINMM.dll_midiStreamOut]
jns 0x795418
stosd dword es:[edi], eax
cmp dword [ecx - reloc.WINMM.dll_midiStreamOut], ebp
sti
add byte [ecx], ah
xchg dword [edx + 0x15], ecx
xor esp, edi
lea esp, [esp + 4]
jmp 0x7954d0
mov dl, byte [eax]
cmp dl, byte [ecx]
jmp 0x7957f3
push esi
mov esi, eax
jmp 0x795897
jmp 0x796e4f
jne 0x7953f4
inc eax
call fcn.0079578f
mov ecx, dword [ebp + 8]
neg edx
cmc
mov eax, dword [ecx + 0x3c]
jmp 0x79585b
mov dx, 0x63ff
mov dh, 0xc2
jmp 0x79583e
add eax, ecx
call fcn.00795828
lea esp, [esp + 4]
cmp word [eax + 0x18], dx
jmp 0x795883
stc
btr edx, edi
lea edx, reloc.WINMM.dll_midiStreamOut
and dword [ebp - 0xc], 0
mov dl, bl
jmp 0x79580a
xor eax, eax
jmp 0x7958ad
je 0x795601
sub esp, 9
mov ax, word [esp + 7]
lea esp, [esp + 1]
jmp 0x79586d
mov esi, dword [eax + 0x78]
jmp 0x7958b6
lea esp, [esp + 8]
jmp 0x79562c
add esi, ecx
call fcn.00796fea
hlt
leave
ret 8

Function at 0x83f203
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0xe
inc bp
xchg dword [esp + 2], esi
jmp 0x83f225

Function at 0x83f7c4
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 0x19], bh
mov cl, byte [esp + 0x24]
clc
xchg byte [esp + 0xe], ah
jmp 0x83f7e7
Function at 0x525080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xce000]
push edi
jmp 0x52509a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5250a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x525090
mov eax, 1
add ebx, ebx
jne 0x5250b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5250c4
jne 0x5250e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250e3
dec eax
add ebx, ebx
jne 0x5250d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5250a8
add ebx, ebx
jne 0x5250df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x525135
xor ecx, ecx
sub eax, 3
jb 0x5250fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52516a
sar eax, 1
mov ebp, eax
jmp 0x525106
add ebx, ebx
jne 0x525106
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250d4
inc ecx
add ebx, ebx
jne 0x525114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5250d4
add ebx, ebx
jne 0x525121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x525116
jne 0x525132
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x525116
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x525154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x525146
jmp 0x525096
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x525154
add edi, ecx
jmp 0x525096
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x525172
cmp byte [edi], 0x11
jne 0x525172
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x525177
lea edi, [esi + 0x11e000]
mov eax, dword [edi]
or eax, eax
je 0x5251ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x171a80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x171bfc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5251a4
mov ecx, edi
jns 0x5251d3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x171c00]
or eax, eax
je 0x5251e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5251c1
call dword [esi + 0x171c10]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x525220
cmp al, 0xef
ja 0x525213
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5251f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x525202
mov ebp, dword [esi + 0x171c04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x525254
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x444a9c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444e4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0040723c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00407174
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0043b8e8
test al, al
jne 0x444b44
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x50]
mov eax, 0x16
call fcn.0043a5d4
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x5c]
xor ecx, ecx
pop eax
call fcn.00407a2c
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
mov eax, dword [0x449c48]
mov eax, dword [eax]
call fcn.004251d0
mov edx, dword [ebp - 0x50]
mov eax, 0x444e68
call fcn.0043bc78
jmp 0x444e24
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x18]
call fcn.00417b08
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, dword [ebp - 0x14]
call fcn.00403904
lea ecx, [ebp - 0x50]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.004070e0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00403690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0x20
call fcn.00406e08
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x444d62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GetFileSize_1
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0xc]
cmp edi, 0x10000
jle 0x444bba
mov edi, 0x10000
mov eax, edi
call fcn.004025b8
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x444c70
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x21], 0
xor eax, eax
mov dword [ebp - 0x28], eax
mov edx, edi
neg edx
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00406ec4
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x10]
call fcn.00406e6c
mov esi, edi
sub esi, 6
cmp esi, 0
jl 0x444c5a
mov eax, 0x444e80
mov al, byte [eax]
call fcn.00402874
mov edx, dword [ebp - 0x20]
cmp al, byte [edx + esi]
jne 0x444c54
mov byte [ebp - 0x21], 1
mov ebx, 1
mov eax, 0x444e80
mov al, byte [eax + ebx]
call fcn.00402874
lea edx, [ebx + esi]
mov ecx, dword [ebp - 0x20]
cmp al, byte [ecx + edx]
je 0x444c3e
mov byte [ebp - 0x21], 0
jmp 0x444c44
inc ebx
cmp ebx, 6
jne 0x444c20
cmp byte [ebp - 0x21], 0
je 0x444c54
sub edi, esi
sub edi, 6
mov dword [ebp - 0x28], edi
jmp 0x444c5a
dec esi
cmp esi, 0xffffffff
jne 0x444c03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c77
mov eax, dword [ebp - 0x20]
call fcn.004025d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444e53
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00403660
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403660
ret
Function at 0x1009b000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100c75b8], 0
push ebx
push esi
push edi
jne 0x1009b0d5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
jne 0x1009b0b2
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push 0x100c7380
mov dword [0x100c7380], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1009b069
cmp dword [0x100c7390], 2
jne 0x1009b069
cmp dword [0x100c7384], 5
jne 0x1009b069
mov al, 1
jmp 0x1009b06b
xor al, al
cmp dword [ebp - 4], 0
jne 0x1009b075
test al, al
je 0x1009b0b2
push 0x104
push 0x100c7498
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, eax
mov esi, 0x100f9850
cmp byte [esi], 0
je 0x1009b0e7
push 1
push edi
push 0x100c7498
push esi
call fcn.1009b220
add esp, 0x10
test eax, eax
sete bl
add esi, 0x20
test bl, bl
je 0x1009b090
cmp dword [0x100c75b8], 0
jne 0x1009b0d5
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov dword [0x100c75b8], 1
call fcn.1009b400
add esp, 8
call fcn.1009b3f0
test al, al
je 0x1009b11f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x1009b0b2
mov esi, dword [ebp + 8]
push 0x100f9840
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1009b113
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push esi
call eax
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.1006f1e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101de430
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101e9c58], 0
mov byte [0x101e9c5c], 0
mov dword [0x101e9c4c], 0x25ec
mov dword [0x101e9c54], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101de4b0
mov dword [0x101e9c4c], 0xffffeb3b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x101e9c54], 0
mov edx, eax
add edx, 0xffffd26b
add eax, 0x2417
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x101de4fc
mov eax, dword [ebp - 0x1c]
mov dword [0x101e9c50], 0xaf6
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101e9c50]
mov esi, eax
add esi, 0xffffe4f3
mov dword [0x101e9c4c], esi
mov esi, dword [0x101e9c54]
add esi, 1
mov dword [0x101e9c54], esi
cmp esi, 0x100
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jl 0x101de4b0
jmp 0x101de489
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x1b14
mov edi, 0xfffff02c
mov ebx, 0x100
mov dword [0x101e9c60], 0
mov dword [0x101e9c4c], eax
mov eax, dword [0x101e9c58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
mov edx, ecx
mov ecx, dword [ebp - 0x10]
div ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ecx, edx
mov dword [0x101e9c60], ecx
mov eax, ecx
cdq
idiv ebx
mov dword [0x101e9c58], edx
mov dword [0x101e9c4c], 0x1802
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov cl, byte [ecx + ebx]
mov byte [0x101e9c5c], cl
mov ecx, dword [ebp - 0x3c]
mov dword [0x101e9c4c], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
mov cl, byte [0x101e9c5c]
mov edx, dword [0x101e9c58]
mov ebx, dword [ebp - 0x18]
mov byte [ebx + edx], cl
mov dword [0x101e9c4c], 0x2b4
mov dword [0x101e9c50], 0xfffff6fd
mov edx, dword [0x101e9c54]
add edx, 1
mov dword [0x101e9c54], edx
cmp edx, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], edi
jl 0x101de4fc
jmp 0x101de477