joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102e6f6
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jne 0x102e71e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x102e866
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, eax
cmp edi, 0xffffffff
je 0x102e7f4
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x102e7f4
cmp dword [ebp - 8], esi
je 0x102e769
push 0x18
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x102e7f4
push 0x60
push edi
call fcn.0102fdad
test eax, eax
mov dword [ebp - 4], eax
je 0x102e7f4
push dword [ebp - 0xc]
push eax
call fcn.01038336
test eax, eax
je 0x102e7f4
push 0x1c
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x102e7f4
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov dword [esi], 6
mov eax, dword [eax + 0x34]
shl eax, 5
push eax
push edi
call fcn.0102fdad
test eax, eax
mov dword [esi + 0xc], eax
je 0x102e7f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
add eax, eax
push eax
push edi
call fcn.0102fdad
test eax, eax
mov dword [esi + 0x10], eax
je 0x102e7f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
imul eax, eax, 0x30
push eax
push edi
call fcn.0102fdad
test eax, eax
mov dword [esi + 0x14], eax
je 0x102e7f4
push dword [ebp + 8]
call fcn.0102451c
test eax, eax
mov dword [esi + 0x18], eax
jne 0x102e86a
test edi, edi
je 0x102e7ff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x102e856
mov eax, dword [esi + 8]
test eax, eax
je 0x102e821
cmp dword [ebp - 4], eax
jne 0x102e819
and dword [ebp - 4], 0
push eax
push 0
call ebx
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x102e830
push eax
push 0
call ebx
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x102e83f
push eax
push 0
call ebx
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x102e84e
push eax
push 0
call ebx
push eax
call edi
push esi
push 0
call ebx
push eax
call edi
cmp dword [ebp - 4], 0
je 0x102e866
push dword [ebp - 4]
push 0
call ebx
push eax
call edi
xor eax, eax
jmp 0x102e873
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1037dc8
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
je 0x1037ef1
cmp dword [ebp + 0xc], 1
jb 0x1037ef1
cmp dword [ebp + 0x10], 1
jb 0x1037ef1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x28
push 8
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x1037f03
push 0x20
push 8
call edi
push eax
call ebx
test eax, eax
mov dword [esi + 4], eax
je 0x1037ef9
push 8
push dword [ebp + 0xc]
call fcn.01023aab
test eax, eax
jbe 0x1037e47
push 8
push dword [ebp + 0xc]
call fcn.01023aab
push eax
push 8
call edi
push eax
call ebx
jmp 0x1037e49
xor eax, eax
test eax, eax
mov dword [esi + 8], eax
je 0x1037ef9
push 2
push dword [ebp + 0x10]
call fcn.01023aab
test eax, eax
jbe 0x1037e76
push 2
push dword [ebp + 0x10]
call fcn.01023aab
push eax
push 8
call edi
push eax
call ebx
jmp 0x1037e78
xor eax, eax
test eax, eax
mov dword [esi + 0xc], eax
je 0x1037ef9
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [esi], 6
xor edi, edi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], 0x43534552
mov dword [eax + 4], 0x4c5543
mov dword [eax + 8], edi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1037ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1037ecd
xor eax, eax
jmp 0x1037ed0
xor eax, eax
inc eax
push dword [ebp + 8]
mov dword [esi + 0x10], eax
call fcn.0102451c
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x1037ef9
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x18], eax
mov eax, esi
jmp 0x1037f05
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1037f03
push esi
call fcn.01037c33
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x103b0c0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi - 0x40]
mov ecx, dword [edi - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [edi - 0x14]
sub ecx, 2
xor esi, esi
cmp eax, ecx
jae 0x103b124
push ebx
movzx edx, byte [eax + 2]
movzx ebx, byte [eax]
movzx ebx, word [ebx*2 + 0x1042658]
movzx edx, word [edx*2 + 0x1042a58]
xor edx, ebx
movzx ebx, byte [eax + 1]
movzx ebx, word [ebx*2 + 0x1042858]
xor edx, ebx
mov ebx, dword [ebp - 4]
mov bx, word [ebx + edx*2]
mov word [edi + esi*2], bx
mov ebx, dword [ebp - 4]
mov word [ebx + edx*2], si
add eax, 1
add esi, 1
cmp eax, ecx
jb 0x103b0e0
pop ebx
add ecx, 2
cmp eax, ecx
jae 0x103b13b
sub ecx, eax
xor eax, eax
shr ecx, 1
lea edi, [edi + esi*2]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x776c6853
mov dword [ebp - 0xa], 0x6c642e69
mov word [ebp - 6], 0x6c
mov word [ebp - 0xc], 0x7061
mov dword [ebp - 0x1e], 0x69466874
mov word [ebp - 0x13], 0x4173
mov word [ebp - 0x20], 0x6150
mov dword [ebp - 0x1a], 0x7845656c
mov word [ebp - 0x16], 0x7369
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x11], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10001070
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100a85f8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005ae75
mov esp, ebp
pop ebp
ret
Function at 0x10004d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10004d65
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10004da4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10004da0
lea ebx, [ebx]
cmp esi, edx
jae 0x10004da4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10004d90
cmp esi, edx
jb 0x10004da9
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10005cc0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov al, byte [ebx]
mov edi, edx
test al, al
je 0x10005da0
push esi
cmp al, 0x24
je 0x10005d0f
cmp al, 0x26
je 0x10005d0f
cmp al, 0x2b
je 0x10005d0f
cmp al, 0x2c
je 0x10005d0f
cmp al, 0x2f
je 0x10005d0f
cmp al, 0x3a
je 0x10005d0f
cmp al, 0x3b
je 0x10005d0f
cmp al, 0x3d
je 0x10005d0f
cmp al, 0x3f
je 0x10005d0f
cmp al, 0x40
je 0x10005d0f
cmp al, 0x23
je 0x10005d0f
cmp al, 0x20
je 0x10005d0f
mov byte [edi], al
inc edi
jmp 0x10005d93
movsx eax, al
push eax
lea eax, [ebp - 4]
push str.___02x
push eax
call fcn.1005a48c
lea ecx, [ebp - 4]
add esp, 0xc
xor esi, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005d30
sub ecx, edx
je 0x10005d6d
jmp 0x10005d40
movsx eax, byte [ebp + esi - 4]
push eax
call fcn.1005ebff
mov byte [ebp + esi - 4], al
lea eax, [ebp - 4]
add esp, 4
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005d60
sub eax, edx
cmp esi, eax
jb 0x10005d40
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x10005d76
lea ecx, [ebp - 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005d88
sub ecx, edx
add edi, ecx
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x10005cd7
pop esi
mov byte [edi], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005db0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
push ebx
mov dword [ebp - 8], eax
call esi
mov ecx, dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, ecx
je 0x10005df8
push 1
push ecx
push edi
call eax
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp ebx, edi
je 0x10005e02
push 1
push edi
push ebx
call eax
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x2000
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2001
call esi
push 2
call dword [sym.imp.USER32.dll_LockSetForegroundWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x2001
call esi
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, eax
je 0x10005e6f
push 0
push eax
push edi
call esi
cmp ebx, edi
je 0x10005e79
push 0
push edi
push ebx
call esi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100061b0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
push 0xf0000000
push 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x44], eax
push 0
lea eax, [ebp - 0x3c]
push eax
xor bl, bl
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1000636f
mov eax, dword [ebp - 0x34]
mov ecx, 0x20
mov eax, dword [eax]
cmp eax, ecx
cmovb ecx, eax
push ecx
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
movq qword [ebp - 0x14], xmm0
movq qword [ebp - 0xc], xmm0
call fcn.10058e40
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x1000635f
push 0
lea eax, [ebp - 0x50]
push eax
push 4
push dword [ebp - 0x38]
mov dword [ebp - 0x50], 1
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x10006351
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
push 8
push dword [ebp - 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], 4
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x10006351
mov eax, dword [ebp - 0x34]
shr eax, 3
push eax
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x10006351
push dword [ebp - 0x34]
push 0
push esi
call fcn.10059510
add esp, 0xc
push 0
push esi
push 1
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push esi
test eax, eax
jne 0x10006302
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10006351
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x48]
mov ecx, dword [esi]
cmp dword [edi], ecx
cmovb ecx, dword [edi]
push ecx
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.10058e40
mov eax, dword [esi]
add esp, 0xc
push dword [edi]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x44]
push 0
push 0
push 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1000634a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006351
mov eax, dword [ebp - 0x40]
mov dword [edi], eax
mov bl, 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1000635f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000636f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1005ae75
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10008c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078040
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100a5688]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.10007410
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
sub eax, 0x10
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x30]
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.10009f60
mov eax, dword [edi + 0x48]
push 0
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x44]
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.1000a090
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008d3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10008d50
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078090
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.10007410
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov esi, esp
push eax
mov dword [ebp - 0x20], 0x776f6853
mov dword [ebp - 0x15], 0x656d6f63
mov byte [ebp - 0x11], 0
mov word [ebp - 0x1a], 0x7362
mov word [ebp - 0x17], 0x6c65
mov word [ebp - 0x1c], 0x6154
mov byte [ebp - 0x18], 0x57
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x34]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x30]
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.10009f60
mov eax, dword [edi + 0x3c]
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x38]
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.1000a090
mov eax, dword [edi + 0x40]
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x38]
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.1000a090
push 0
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.10003f00
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x38]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.10004f20
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.1000a090
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10008edd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1005ae75
mov esp, ebp
pop ebp
ret 4
Function at 0x10009b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x147]
push 0
push eax
mov byte [ebp - 0x148], 0
call fcn.10059510
add esp, 8
lea eax, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x14c], 0x104
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov word [ebp - 0x38], 0x4d5c
mov dword [ebp - 0x25], 0x70784520
mov dword [ebp - 0x35], 0x736f7263
mov dword [ebp - 0x40], 0x54464f53
mov dword [ebp - 0x20], 0x7265726f
mov dword [ebp - 0x2f], 0x6e495c74
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x29], 0x74656e72
mov word [ebp - 0x3b], 0x5241
mov word [ebp - 0x2b], 0x6574
mov byte [ebp - 0x3c], 0x57
mov word [ebp - 0x31], 0x666f
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x39], 0x45
mov byte [ebp - 0x21], 0x6c
call fcn.1000a660
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10009c70
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x11], 0x6e6f69
mov dword [ebp - 0x18], 0x56637673
mov word [ebp - 0x14], 0x7265
mov byte [ebp - 0x12], 0x73
call fcn.1000a570
test eax, eax
je 0x10009c5f
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x158]
mov word [ebp - 0xc], 0x6556
mov word [ebp - 9], 0x6973
mov word [ebp - 6], 0x6e
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 7], 0x6f
call fcn.1000a570
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x10009c76
push esi
call ebx
xor esi, esi
jmp 0x10009c76
mov esi, dword [ebp - 0x158]
push 0x1009e538
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
mov edi, eax
test edi, edi
je 0x10009d33
xor eax, eax
mov word [ebp - 0x14b], ax
mov byte [ebp - 0x149], al
lea eax, [ebp - 0x148]
mov ecx, edi
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
mov byte [ebp - 0x14c], 0
call fcn.10058e40
lea eax, [ebp - 0x14c]
push eax
call fcn.1005e256
add esp, 0x10
inc edi
push 0x1009e538
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x14c], 0
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10009d0c
sub eax, edi
push eax
lea eax, [ebp - 0x14c]
push edi
push eax
call fcn.10058e40
lea eax, [ebp - 0x14c]
push eax
call fcn.1005e256
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 8], 0xb
setl bl
test esi, esi
je 0x10009d20
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005ae75
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10009d3a
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1005ae75
mov esp, ebp
pop ebp
ret
Function at 0x10009d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100a5688]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
push 0x1009e2fc
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], 0
call fcn.10003f00
push 0x104
lea eax, [ebp - 0x153]
push 0
push eax
mov dword [ebp - 0x168], 1
mov byte [ebp - 0x154], 0
call fcn.10059510
mov dword [ebp - 0x164], 0x104
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 4], 1
add esp, 8
lea eax, [ebp - 0x4c]
push eax
push ecx
lea ecx, [ebp - 0x160]
mov word [ebp - 0x35], 0x6e72
mov word [ebp - 0x41], 0x7263
mov word [ebp - 0x4c], 0x4f53
mov dword [ebp - 0x49], 0x52415754
mov dword [ebp - 0x3a], 0x746e495c
mov dword [ebp - 0x32], 0x78452074
mov word [ebp - 0x44], 0x4d5c
mov dword [ebp - 0x2b], 0x726572
mov word [ebp - 0x3c], 0x7466
mov byte [ebp - 0x36], 0x65
mov byte [ebp - 0x42], 0x69
mov word [ebp - 0x3f], 0x736f
mov word [ebp - 0x2e], 0x6c70
mov byte [ebp - 0x45], 0x45
mov byte [ebp - 0x4a], 0x46
mov byte [ebp - 0x3d], 0x6f
mov byte [ebp - 0x2c], 0x6f
mov byte [ebp - 0x33], 0x65
call fcn.1000a660
test eax, eax
jne 0x10009f06
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x160]
mov word [ebp - 0x23], 0x6376
mov dword [ebp - 0x20], 0x69737265
mov byte [ebp - 0x21], 0x56
mov byte [ebp - 0x24], 0x73
mov word [ebp - 0x1c], 0x6e6f
call fcn.1000a570
test eax, eax
je 0x10009ee1
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x17], 0x69737265
mov word [ebp - 0x12], 0x6e
mov byte [ebp - 0x18], 0x56
mov byte [ebp - 0x13], 0x6f
call fcn.1000a570
mov esi, dword [ebp - 0x160]
test esi, esi
je 0x10009efa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x15c], 0
jmp 0x10009f0c
mov esi, dword [ebp - 0x160]
push 0x1009e538
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10009f37
lea eax, [ebp - 0x154]
push eax
push 0x1009e300
push edi
call fcn.10004b70
add esp, 0xc
test esi, esi
je 0x10009f42
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.1005ae75
mov esp, ebp
pop ebp
ret