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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x26fd
mov dword [0x1001bddc], 0x26fd
mov dword [0x1001bde4], 0
mov dword [0x1001bde8], 0
mov dword [0x1001bdf4], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10007cd5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0x78a
mov dword [0x1001bddc], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1001bde4], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1001bde8], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1001bdec], cl
mov dword [0x1001bddc], 0xb52
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1001bdec]
mov edx, dword [0x1001bde8]
mov byte [edi + edx], cl
mov edx, dword [0x1001bde4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1001bde8]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x1001bddc], 0x1ac5
and ebx, 0xff
mov dword [0x1001bdf4], ebx
mov dword [0x1001bde0], 0xe6b
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dl, cl
add dl, byte [0x1001bdf9]
mov byte [0x1001bdf8], dl
mov byte [0x1001bdf9], ch
mov byte [0x1001bdfa], cl
mov dword [0x1001bddc], 0x120f
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10007cd5
mov eax, dword [0x1001bddc]
mov ecx, dword [0x1001bde4]
mov edx, dword [0x1001bde8]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
jmp 0x10007bbc
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007f0c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001bddc]
add eax, 0xe9a
mov dword [0x1001bddc], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10007f60
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10007fd1
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x10008038
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x10007f89
jmp 0x10007fb8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10007f47
jmp 0x10007f56
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10007f78
jmp 0x10007f56
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x64
je 0x10007fe5
jmp 0x10007f56
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10007f60
jmp 0x10007f89
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10007f9d
jmp 0x10007f56
mov eax, dword [0x1001bde0]
add eax, 0x26b1
mov dword [0x1001bde0], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x23], dl
mov al, byte [ebp - 0x23]
test al, 1
jne 0x10008013
jmp 0x10007f56
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff9
mov dword [ebp - 0x28], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10007f56
mov eax, dword [ebp - 0x18]
add esp, 0x28
pop ebp
ret
Function at 0x10008040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1001bde8], 0
mov byte [0x1001bdec], 0
mov dword [0x1001bddc], 0xcd2
mov dword [0x1001bde4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000808f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x1001bddc], 0x11d2
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1001bde4]
add eax, 1
mov dword [0x1001bde4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000808f
xor eax, eax
mov dword [0x1001bde4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1001bdf0], 0
mov edx, dword [0x1001bddc]
mov esi, edx
add esi, 0xfffff4ea
mov dword [0x1001bddc], esi
mov esi, dword [0x1001bde8]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x1001bdf0], ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffff1c3
mov dword [0x1001bddc], edx
mov eax, ebx
cdq
idiv ecx
mov dword [0x1001bde8], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x1001bdec], cl
mov dword [0x1001bde0], 0x17dd
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x1001bddc], 0x742
mov cl, byte [0x1001bdec]
mov ebx, dword [0x1001bde8]
mov byte [edi + ebx], cl
mov ebx, dword [0x1001bde4]
add ebx, 1
mov dword [0x1001bde4], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x100080ce
jmp 0x10008087
Function at 0x10008199
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1001bde0], 0x1d4e
mov dword [0x1001bddc], 0x150f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10008201
lea eax, [ebp - 0x20]
mov dword [0x1001bde0], 0x141e2
mov dword [ebp - 0x30], eax
call fcn.10007689
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10007cdd
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x10008229
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1000c7a9]
mov dl, byte [eax + 0x1000c77a]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
je 0x100081c6
jmp 0x10008201
mov eax, dword [ebp - 0x34]
mov dword [0x1001bddc], 0x44f
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100071fa
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
mov dword [eax + 0xc0], 0x4550
mov dword [0x1001bddc], 0x1fc0
add eax, 0xffc00000
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x20], eax
cmp eax, 0
sete dl
mov byte [ebp - 0x3d], dl
xor eax, eax
mov cl, byte [ebp - 0x3d]
test cl, 1
mov dword [ebp - 0x38], eax
jne 0x100081f9
jmp 0x100082bc
mov eax, dword [ebp - 0x3c]
add eax, 0x1bd8
mov dword [0x1001bddc], 0xd02
mov dword [ebp - 0x38], eax
jmp 0x100081f9
Function at 0x10008452
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001079
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10008485
jmp 0x1000847b
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, dword [0x1001bddc]
add ecx, 0xfffffa3e
mov dword [0x1001bde0], ecx
mov dword [esp + 0x1c], eax
call fcn.10007f0c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
jne 0x10008473
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10007343
lea ecx, [0x100083f1]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x38], 0x124800
mov edx, dword [0x1001bdc8]
mov dword [esp + 0x74], edx
mov edx, dword [0x1001bdcc]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1001bdd0]
mov dword [esp + 0x68], edx
mov edx, dword [0x1001bdd4]
mov dword [esp + 0x84], edx
mov edx, dword [0x1001bdd8]
mov dword [esp + 0x4c], edx
mov dword [0x1001bddc], 0x260
mov dword [0x1001bde0], 0xfffff7c0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10008547
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000856d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov dword [0x1001bddc], 0x7ac
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
jmp 0x10008524
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov dword [0x1001bddc], 0x1606
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008199
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x20], eax
jmp 0x10008473
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x1c
push 0x10028500
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10001016
ret
push 0x40
pop eax
push 0x1002851c
push eax
push dword [0x1002850c]
mov dword [0x10028520], eax
push dword [0x10028500]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x1000105b
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b4
mov eax, dword [0x100271c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10028528]
and dword [section..data], 0
cmp eax, dword [0x10028524]
push edi
jne 0x100012e4
test eax, eax
je 0x100012e4
push 0x10029130
call fcn.10010f40
pop ecx
mov ecx, 0x400
sub ecx, eax
mov eax, dword [0x10029570]
cmp ecx, eax
jbe 0x100012e4
push eax
push dword [0x10029574]
lea eax, [ebp - 0x5ac]
push eax
call fcn.10010bd0
mov eax, dword [0x10029570]
mov byte [ebp + eax - 0x5ac], 0
add esp, 0xc
lea eax, [ebp - 0x5ac]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea eax, [ebp - 0x18c]
push eax
push 0x104
mov byte [ebp - 0x84], 0x52
mov byte [ebp - 0x83], 0x45
mov byte [ebp - 0x82], 0x46
mov byte [ebp - 0x81], 0x45
mov byte [ebp - 0x80], 0x52
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x1f55
mov byte [ebp - 0x7f], 0x45
call dword [sym.imp.USER32.dll_GetDC]
mov byte [ebp - 0x7e], 0x52
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push 0x3ae
mov byte [ebp - 0x7d], 0
call edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x5ac]
push eax
call fcn.10010a40
test eax, eax
pop ecx
pop ecx
je 0x100012e4
push dword [0x10029570]
lea eax, [ebp - 0x5ac]
push dword [0x10029574]
push eax
call fcn.10010bd0
mov eax, dword [0x10029570]
mov byte [ebp + eax - 0x5ac], 0
lea eax, [ebp - 0x5ac]
push 0x100213f0
push eax
call fcn.10010a40
add esp, 0x14
test eax, eax
jne 0x100011aa
lea eax, [ebp - 0x5ac]
push eax
call fcn.10010f40
pop ecx
lea eax, [ebp + eax - 0x5ac]
jmp 0x100011ac
inc eax
inc eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push esi
mov dword [ebp - 0x5b0], eax
push 0x118
lea eax, [ebp - 0x1a0]
push eax
mov byte [0x10028d30], 0x52
call ebx
lea eax, [ebp - 0x5b4]
push eax
lea eax, [ebp - 0x188]
push eax
mov byte [0x10028d31], 0x65
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomA]
push str.wkegtkrenjagbp
call esi
push 0x100213dc
mov byte [0x10028d32], 0x66
call esi
push 0x40b
push 0x418
mov byte [0x10028d33], 0x65
call dword [sym.imp.USER32.dll_GetClassLongA]
push 0x100213d8
mov byte [0x10028d34], 0x72
call esi
push 0x282
mov byte [0x10028d35], 0x65
call edi
push 0x1223
mov byte [0x10028d36], 0x72
call dword [sym.imp.USER32.dll_GetDC]
push 0x2d48
call edi
mov byte [0x10028d37], 0x3a
call dword [sym.imp.USER32.dll_GetCursor]
push 0x415
push 0x23c8
mov byte [0x10028d38], 0x20
call dword [sym.imp.USER32.dll_GetClassLongA]
push 0x127
lea eax, [ebp - 0x1ac]
push eax
mov byte [0x10028d39], 0
call ebx
push 0x10029130
mov esi, 0x10028d30
push esi
call fcn.10010ae0
push 0x100213d4
push esi
call fcn.10010ae0
push dword [ebp - 0x5b0]
push esi
call fcn.10010ae0
push esi
call fcn.10010f40
and dword [0x10028524], 0
add esp, 0x1c
and dword [0x10028528], 0
mov dword [0x10029570], eax
mov eax, esi
pop esi
mov byte [0x10029626], 1
mov dword [section..data], 1
pop ebx
jmp 0x100012e6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10010fcb
leave
ret
Function at 0x100015a3
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x100271c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100015d4
xor eax, eax
jmp 0x100015ee
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100015d0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100015d0
mov eax, dword [eax]
test eax, eax
je 0x100015d0
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10010fcb
leave
ret
Function at 0x10004503
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x100271c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x25c]
push eax
push dword [0x100299a0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x100045ff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0x10b
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 0x44], 0x44
call esi
lea eax, [ebp - 0x14c]
push eax
push edi
mov byte [ebp - 0x43], 0x6c
mov byte [ebp - 0x42], 0x6c
mov byte [ebp - 0x41], 0x52
mov byte [ebp - 0x40], 0x65
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [ebp - 0x3f], 0x67
mov byte [ebp - 0x3e], 0x69
mov byte [ebp - 0x3d], 0x73
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x112
lea eax, [ebp - 0x158]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_FindAtomA]
push str.jprxfqdua
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x65
call esi
push str.wkdo
call esi
push 0x2e98
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x53
mov byte [ebp - 0x38], 0x65
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x76
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x72
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea eax, [ebp - 0x44]
push eax
push ebx
mov byte [ebp - 0x33], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop esi
je 0x100045f8
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10010fcb
leave
ret
Function at 0x10004f88
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x740
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10004ff3
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
leave
ret
Function at 0x1000656d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100271c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [0x10027188]
push dword [esi]
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
inc eax
push eax
call fcn.1001096c
mov esi, dword [esi]
test esi, esi
mov edi, eax
pop ecx
mov dword [ebp - 0x12c], edi
je 0x100065bb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x100065bf
xor eax, eax
jmp 0x100065da
lea edi, [eax + eax]
mov eax, edi
call fcn.10012c10
mov eax, esp
push ebx
push edi
push esi
push eax
call fcn.100023f3
mov edi, dword [ebp - 0x12c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.10010f40
inc eax
push eax
call fcn.1001096c
mov esi, eax
push edi
push esi
call fcn.10010ad0
add esp, 0x10
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x2c61
mov byte [ebp - 0x24], 0x4d
mov byte [ebp - 0x23], 0x4f
call dword [sym.imp.USER32.dll_GetDC]
lea eax, [ebp - 0x128]
push eax
push 0x104
mov byte [ebp - 0x22], 0x5a
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x404
push 0xaaa
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], 0x4c
call dword [sym.imp.USER32.dll_GetClassLongA]
lea eax, [ebp - 0x24]
push eax
push esi
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0x41
mov byte [ebp - 0x1d], 0
call fcn.10010a40
test eax, eax
pop ecx
pop ecx
jne 0x10006675
push edi
call fcn.10011153
push esi
call fcn.10011153
pop ecx
pop ecx
jmp 0x100066ef
mov bl, 0x7c
cmp byte [edi], bl
mov edx, edi
mov esi, edi
je 0x10006689
cmp byte [esi], 0
je 0x10006689
inc esi
cmp byte [esi], bl
jne 0x1000667f
cmp byte [esi], bl
jne 0x10006691
mov byte [esi], 0
inc esi
cmp edi, esi
jae 0x100066da
lea edx, [esi - 1]
jmp 0x100066ad
mov al, byte [edx]
cmp al, bl
je 0x100066b1
cmp al, 0xd
je 0x100066b1
cmp al, 0xa
je 0x100066b1
cmp al, 0x3e
je 0x100066b1
dec edx
cmp edx, edi
ja 0x1000669a
cmp byte [edx], 0
je 0x100066b7
inc edx
cmp byte [esi], bl
mov eax, esi
je 0x100066d7
mov cl, byte [eax]
test cl, cl
je 0x100066d7
cmp cl, 0xd
je 0x100066d7
cmp cl, 0xa
je 0x100066d7
cmp cl, 0x3c
je 0x100066d7
inc eax
cmp byte [eax], bl
jne 0x100066bd
mov byte [eax], 0
push edx
call fcn.1000b6af
push esi
call fcn.1000ba6c
push edi
call fcn.10011153
add esp, 0xc
lea esp, [ebp - 0x138]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10010fcb
leave
ret
Function at 0x100069ba
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x14], edi
mov esi, ecx
mov byte [esi + 0x120], 1
jne 0x100069dd
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x100069d2
cmp byte [ebp + 0x18], 0
mov al, byte [ebp + 0xc]
push edi
push 0x80
push 3
mov byte [esi + 0x118], 1
mov dword [esi + 0x100], edi
mov byte [esi + 0x104], al
push edi
jne 0x10006a06
push 1
jmp 0x10006a07
push edi
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10006a31
mov dword [ebp + 0xc], 0x100216b4
push 0x10024614
lea eax, [ebp + 0xc]
push eax
call fcn.10011229
lea eax, [ebp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
inc eax
cmp eax, 1
mov dword [esi + 0x114], eax
ja 0x10006a58
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xc], str.File_empty___
jmp 0x10006a23
push eax
call fcn.1001096c
pop ecx
push edi
lea ecx, [ebp + 0x18]
push ecx
push dword [esi + 0x114]
mov dword [esi + 0x100], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x100]
mov ecx, dword [esi + 0x114]
mov byte [eax + ecx - 1], 0
mov eax, dword [esi + 0x100]
lea edi, [esi + 0x10c]
mov ecx, esi
mov dword [edi], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x110], eax
call fcn.1000693b
push ebx
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
jne 0x10006b09
xor ecx, ecx
xor ebx, ebx
xor edi, edi
cmp dword [esi + 0x114], ecx
jbe 0x10006b01
mov edx, dword [esi + 0x100]
mov al, byte [edx + ecx]
cmp al, 0xa
je 0x10006ade
cmp al, 0xd
je 0x10006ade
test al, al
jne 0x10006af8
mov eax, ecx
sub eax, edi
cmp ebx, eax
jae 0x10006ae8
mov ebx, eax
mov al, byte [edx + ecx]
cmp al, 0xa
je 0x10006af3
cmp al, 0xd
jne 0x10006af6
inc ecx
jmp 0x10006ae8
mov edi, ecx
inc ecx
cmp ecx, dword [esi + 0x114]
jb 0x10006acf
mov dword [esi + 0x11c], ebx
jmp 0x10006b0f
mov dword [esi + 0x11c], eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x1000a5a1
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x1000c0f7
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000c14a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x1000c160
push 0x80004005
call fcn.1000242b
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000c163
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000c8c4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x100271c0]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.1000c0c2
mov edi, eax
cmp edi, esi
je 0x1000c92c
lea ecx, [ebp - 0x70]
call fcn.1000c05d
mov eax, edi
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010fcb
add ebp, 0x98
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000c944
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000c8c4
cmp eax, esi
jne 0x1000c977
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x1000c934
lea ecx, [ebp - 0x70]
call fcn.1000c05d
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.1000c05d
mov eax, esi
jmp 0x1000c912