joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e4130
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x100e4155
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x1027c0a8
mov dword [0x1027c09c], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100e422c
push 0x1027c098
push 0
push 0
push 0x8004
push dword [0x1027c0a8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100e422c
movaps xmm0, xmmword [0x101c2830]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0xc], 0x1f300751
movaps xmm0, xmmword [0x101c2710]
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 8], 0x15
movaps xmm0, xmmword [0x101c1cf0]
movups xmmword [ebp - 0x1c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x34
jb 0x100e41d0
push 1
push 0x1d
lea eax, [ebp - 0x3b]
mov byte [ebp - 7], 0
push eax
push dword [0x1027c098]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100e422c
push 0x1027c0b8
push 0x800000
push dword [0x1027c098]
push 0x6801
push dword [0x1027c0a8]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100e422c
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x100e4000
push 0x468e60
call fcn.100020f0
push 0x100e4110
push 0x468eb6
mov dword [0x1027c0a0], eax
call fcn.100020f0
jmp 0x100e4261
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1011f880
mov esp, ebp
pop ebp
ret
Function at 0x100e9350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0xe4]
mov eax, edx
sub eax, dword [ecx + 0xe0]
push ebx
push esi
sar eax, 2
mov dword [ebp - 0x40], ecx
push edi
lea edi, [ecx + 0xdc]
cmp eax, 0x64
jb 0x100e943b
movaps xmm0, xmmword [0x101c24b0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0xc], 0x75a444c
movaps xmm0, xmmword [0x101c29c0]
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 8], 0
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x23
jb 0x100e93b0
lea ebx, [ebp - 0x2b]
mov byte [ebp - 8], 0
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100e93c7
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.101204d0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x30], edi
call fcn.10122870
push ebx
lea eax, [ebp - 0x2b]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.10122110
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xffff6f00
push dword [ebp - 0x30]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.1011f890
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4
push edi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], edx
call fcn.10049ca0
mov eax, dword [edi + 8]
lea esi, [ebp + 8]
sub esp, 0xc
mov ecx, esp
push edi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
call fcn.10049ca0
mov eax, dword [edi + 4]
sub esp, 0xc
mov ecx, esp
push edi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
call fcn.10049ca0
mov edx, esi
lea ecx, [ebp - 0x4c]
call fcn.100dec20
add esp, 0x18
mov ebx, eax
mov ecx, eax
call fcn.10049d00
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.10049d00
cmp esi, eax
je 0x100e94fc
push str.vector_iterators_incompatible
push 0x101b8af8
push 0
push 0xba
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x100e94de
int3
push 0
push 0xba
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
push 3
sete bl
call fcn.1011c2a0
lea ecx, [ebp - 0x4c]
call fcn.10049d10
lea ecx, [ebp - 0x30]
call fcn.1011c350
push 3
lea ecx, [ebp - 0x30]
call fcn.1011c2a0
lea ecx, [ebp - 0x3c]
call fcn.10049d10
lea ecx, [ebp - 0x30]
call fcn.1011c350
test bl, bl
je 0x100e9426
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x9c], 1
mov ecx, dword [edi + 8]
cmp ecx, dword [edi + 0xc]
je 0x100e956a
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, edi
mov eax, dword [edi + 8]
push eax
push eax
call fcn.100477b0
add dword [edi + 8], 4
jmp 0x100e9576
lea eax, [ebp + 8]
push eax
push ecx
mov ecx, edi
call fcn.1004ede0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4
Function at 0x100efd70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181570
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x14]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov dword [ebp - 4], 1
mov ecx, esi
push 0
push 0x101b8c74
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
call fcn.10047890
mov dword [edi + 0x30], 0
mov eax, edi
mov dword [edi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100f6430
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100f62f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x100f95a0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov dword [0x1027c318], eax
mov eax, dword [esp + 8]
test eax, eax
je 0x100f97db
cmp dword [esp + 0xc], 1
jne 0x100f97db
cmp eax, dword [esi + 0x6c]
jne 0x100f9681
mov eax, dword [0x1027c0b4]
mov esi, dword [eax + 0x478]
test esi, esi
jne 0x100f95e5
call fcn.10106df0
mov al, 1
pop esi
ret 8
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x100f961c
cmp byte [ecx + 0x10d], 0
je 0x100f961c
push 0
call dword [0x101ba7a0]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x100f97d5
push 0
call dword [0x101ba7a0]
mov al, 1
pop esi
ret 8
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x100f963b
cmp byte [ecx + 0x10d], 0
je 0x100f963b
mov ecx, esi
call fcn.10062bb0
mov eax, dword [0x1027c0b4]
mov esi, dword [eax + 0x478]
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x100f9653
push 0
call dword [0x101ba7a0]
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x100f9665
push 1
call dword [0x101ba7a0]
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x100f97d5
push 1
call dword [0x101ba7a0]
mov al, 1
pop esi
ret 8
cmp eax, dword [esi + 0x74]
jne 0x100f96ab
cmp dword [esi + 0x54], 0x10
lea eax, [esi + 0x40]
jb 0x100f9691
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop esi
ret 8
push edi
mov edi, dword [esi + 0x60]
cmp eax, edi
jne 0x100f9702
test edi, edi
je 0x100f96ea
push 0
mov ecx, edi
call dword [0x101ba7a0]
mov edi, dword [esi + 0x60]
test edi, edi
je 0x100f96ea
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100f96ea
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x514]
test eax, eax
je 0x100f97d4
mov ecx, dword [eax + 4]
jmp 0x100f9759
mov edi, dword [esi + 0x64]
cmp eax, edi
jne 0x100f976c
test edi, edi
je 0x100f9740
push 0
mov ecx, edi
call dword [0x101ba7a0]
mov edi, dword [esi + 0x64]
test edi, edi
je 0x100f9740
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100f9740
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x510]
test eax, eax
je 0x100f97d4
mov ecx, dword [eax + 0x168]
test ecx, ecx
je 0x100f97d4
push 1
call dword [0x101ba7a0]
pop edi
mov al, 1
pop esi
ret 8
mov edi, dword [esi + 0x68]
cmp eax, edi
jne 0x100f97d4
test edi, edi
je 0x100f97aa
push 0
mov ecx, edi
call dword [0x101ba7a0]
mov edi, dword [esi + 0x68]
test edi, edi
je 0x100f97aa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100f97aa
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov eax, dword [0x1027c0b4]
mov esi, dword [eax + 0x518]
test esi, esi
je 0x100f97d4
push dword [esi + 4]
call fcn.100d34d0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100f97d0
push 1
call dword [0x101ba7a0]
mov byte [esi + 0x20], 0
pop edi
mov al, 1
pop esi
ret 8
xor al, al
pop esi
ret 8
Function at 0x10101460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x20], xmm0
call fcn.100484a0
lea ecx, [ebp - 0x20]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x20], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x214
cmp eax, dword [ebp - 0x14]
je 0x101014e0
mov dword [eax], 0x214
mov eax, dword [ebp - 0x18]
push eax
push eax
call fcn.100477b0
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x101014f0
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1004ede0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmp eax, dword [ebp - 0x14]
je 0x10101515
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push eax
push eax
call fcn.100477b0
add dword [ebp - 0x18], 4
jmp 0x10101522
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.1004ede0
sub esp, 0x10
lea eax, [ebp - 0x20]
mov ecx, esp
push eax
call fcn.1004e9f0
push 0xf3690c
call fcn.100d3370
mov dword [edi], eax
test eax, eax
je 0x1010158f
mov ecx, edi
mov word [edi + 0xc], 0
call fcn.101015f0
mov ecx, dword [edi]
test ecx, ecx
je 0x10101558
mov ecx, dword [ecx]
add ecx, 0x70
mov eax, dword [ecx]
push 0
push 0
push 0
push 0x101013d0
push 0
mov dword [0x1027c35c], eax
push 0
mov dword [ecx], 0x10101830
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10101340
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x20]
call fcn.10043e40
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x101015c5
mov eax, dword [ebp - 0x14]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.10048530
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
push 8
push eax
mov dword [ebp - 0x20], 0
call fcn.10048530
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x101187e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018397d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [0x1027c0b4]
mov dword [ebp - 0x74], eax
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x1011882c
xor ecx, ecx
jmp 0x1011883b
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
movzx ecx, word [eax]
lea eax, [edx + 2]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x74]
mov word [eax + 0x36], cx
mov ecx, ebx
call fcn.10118990
movaps xmm0, xmmword [0x101c1cb0]
xor ecx, ecx
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x30], 0
movaps xmm0, xmmword [0x101c1560]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x101c24c0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x101c2650]
movups xmmword [ebp - 0x40], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x3f
jb 0x10118881
sub esp, 0x1c
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x2c]
push eax
call fcn.10049e30
add esp, 0x20
mov dword [ebp - 4], 0
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x101188c4
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
mov ebx, ecx
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x101188d0
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.101204d0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x78], edi
call fcn.10122870
push ebx
push dword [ebp - 0x74]
lea esi, [edi + 0x20]
push esi
call fcn.10122110
add esp, 0x1c
mov dword [edi + 0x14], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0x42d1eb
push dword [ebp - 0x78]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.1011f890
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1011894b
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4
Function at 0x1011b0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183bcd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x1027c3c8], eax
test edi, edi
je 0x1011b289
cmp edi, dword [esi + 0x1c]
jne 0x1011b11c
mov ecx, dword [0x1027c0b4]
mov eax, dword [ecx + 0x520]
test eax, eax
je 0x1011b17b
mov ecx, eax
call fcn.100ea9c0
jmp 0x1011b175
cmp edi, dword [esi + 0x24]
jne 0x1011b175
mov ecx, dword [0x1027c0b4]
mov edx, dword [ecx + 0x4fc]
test edx, edx
je 0x1011b17b
movzx eax, byte [edx + 0x8e]
mov ecx, edx
push eax
call fcn.100fc6b0
mov edx, dword [0x1027c0b4]
mov eax, dword [edx + 0x4fc]
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x1011b164
push 1
call dword [0x101ba7a0]
mov edx, dword [0x1027c0b4]
mov eax, dword [edx + 0x4fc]
push dword [eax + 0x94]
call fcn.100d34d0
mov ecx, dword [0x1027c0b4]
cmp edi, dword [esi + 0x28]
jne 0x1011b275
cmp dword [ecx + 0x47c], 0
jne 0x1011b24d
movaps xmm0, xmmword [0x101c2520]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
push 0
movaps xmm0, xmmword [0x101c2a10]
movups xmmword [ebp - 0x40], xmm0
push 1
movaps xmm0, xmmword [0x101c28a0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x49585e4d
mov word [ebp - 0x1c], 0x248
mov byte [ebp - 0x1a], 0
nop dword [eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x35
jb 0x1011b1d0
sub esp, 0x1c
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x4f]
mov dword [ebp - 0x54], esp
mov ecx, esp
push eax
call fcn.10046d00
mov dword [ebp - 4], 0
mov cl, 0x14
mov dword [ebp - 0x18], 0x66665114
xor eax, eax
mov word [ebp - 0x14], 0x667b
mov byte [ebp - 0x12], 0
nop
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 5
jae 0x1011b21f
mov cl, byte [ebp - 0x18]
jmp 0x1011b210
sub esp, 0x1c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10046d00
mov ecx, dword [0x1027c0b4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ecx + 0x474]
call fcn.10105ad0
mov al, 1
jmp 0x1011b28b
mov esi, dword [ecx + 0x50c]
test esi, esi
je 0x1011b285
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1011b26b
push 1
mov ecx, eax
call dword [0x101ba7a0]
mov eax, dword [esi + 0x1c]
push eax
call fcn.100d34d0
mov al, 1
jmp 0x1011b28b
cmp edi, dword [esi + 0x20]
jne 0x1011b285
mov ecx, dword [ecx + 0x51c]
call fcn.1007ab90
mov al, 1
jmp 0x1011b28b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 8
Function at 0x10125eb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10125ad0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10125ee2
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101863fc]
call dword [ebp - 8]
jmp 0x10125eec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret

Function at 0x1015e2c0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1015e2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1013d5c0
add esp, 4
or eax, 0xffffffff
jmp 0x1015e2e9
xor eax, eax
pop ebp
ret

Function at 0x1015ef0e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10174bf0

Function at 0x10169b58
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1016954e
Function at 0x10001140
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, ecx
push str.TerminateThread
push str.KERNEL32.dll
mov dword [ebx], 0x100b7760
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x1c], eax
mov al, 0x65
mov byte [esp + 0x34], al
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
mov cl, 0x6c
push eax
push str.KERNEL32.dll
mov byte [esp + 0x38], 0x43
mov byte [esp + 0x39], cl
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x73
mov byte [esp + 0x3d], 0x48
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], 0x64
mov byte [esp + 0x41], cl
mov byte [esp + 0x43], 0
call esi
push eax
call edi
push str.waveOutClose
push str.WINMM.dll
mov dword [esp + 0x34], eax
call esi
push eax
call edi
push str.waveInStop
push str.WINMM.dll
mov dword [esp + 0x30], eax
call esi
push eax
call edi
push str.waveInReset
push str.WINMM.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push str.waveInUnprepareHeader
push str.WINMM.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.waveInClose
push str.WINMM.dll
mov ebp, eax
call esi
push eax
call edi
push str.waveOutReset
push str.WINMM.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.waveOutUnprepareHeader
push str.WINMM.dll
mov dword [esp + 0x2c], eax
call esi
push eax
call edi
mov edi, eax
mov al, byte [ebx + 0x44]
test al, al
mov dword [esp + 0x20], edi
je 0x10001288
mov ecx, dword [ebx + 0x18]
push ecx
call dword [esp + 0x14]
mov edx, dword [ebx + 0x18]
push edx
call dword [esp + 0x18]
lea esi, [ebx + 0x30]
mov edi, 2
mov eax, dword [esi]
mov ecx, dword [ebx + 0x18]
push 0x20
push eax
push ecx
call ebp
add esi, 4
dec edi
jne 0x10001261
mov edx, dword [ebx + 0x18]
push edx
call dword [esp + 0x1c]
mov eax, dword [ebx + 0x2c]
push 0xffffffffffffffff
push eax
call dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov al, byte [ebx + 0x45]
test al, al
je 0x100012b8
mov ecx, dword [ebx + 0x40]
push ecx
call dword [esp + 0x28]
lea esi, [ebx + 0x30]
mov ebp, 2
mov edx, dword [esi]
mov eax, dword [ebx + 0x40]
push 0x20
push edx
push eax
call edi
add esi, 4
dec ebp
jne 0x1000129f
mov ecx, dword [ebx + 0x40]
push ecx
call dword [esp + 0x2c]
lea esi, [ebx + 0x30]
mov edi, 2
mov edx, dword [esi - 0x28]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi - 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 8]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 0x10
add esi, 4
dec edi
jne 0x100012c0
mov eax, dword [ebx + 0x24]
mov esi, dword [esp + 0x2c]
push eax
call esi
mov ecx, dword [ebx + 0x28]
push ecx
call esi
mov edx, dword [ebx + 0x2c]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x10001310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetEvent
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov ebp, eax
mov al, 0x69
mov byte [esp + 0x12], al
mov byte [esp + 0x18], al
mov al, 0x65
mov cl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x57
push eax
push str.KERNEL32.dll
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x46
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x53
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x67
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x25], 0x4f
mov byte [esp + 0x26], 0x62
mov byte [esp + 0x27], 0x6a
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0
call edi
push eax
call ebx
mov edi, eax
mov al, byte [esi + 0x44]
test al, al
jne 0x100013c9
mov ecx, esi
call fcn.100015a0
test al, al
jne 0x100013c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x100013dd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [esi + 0x28]
push ecx
call ebp
mov edx, dword [esi + 0x24]
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 4]
pop edi
mov dword [ebx], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + ecx*4 + 8]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4