joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d531614
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x6d531646
jl 0x6d531636
cmp dword [ebp + 0x18], ecx
jae 0x6d531646
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x6d53165e
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x6d53165b
jl 0x6d531658
cmp dword [ebp + 0x18], eax
jae 0x6d53165b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x6d5316c3
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x6d531683
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x6d5316b1
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x6d531683
cmp dword [ebp - 8], 0
jne 0x6d53165e
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x6d53165e
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x6d534eb4
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x6d5433f2
call fcn.6d541b12
mov esi, ecx
mov eax, dword [esi + 0x23c]
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
call fcn.6d535fe1
push dword [ebp + 8]
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
push eax
mov dword [ebp - 4], ebx
call fcn.6d537be2
push dword [esi + 0xbc]
lea edi, [esi + 0x238]
cmp dword [edi], ebx
setne byte [ebp - 0xd]
call dword [sym.imp.kernel32.dll_SetEvent]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
je 0x6d534f1a
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 1
jne 0x6d534f47
cmp dword [esi + 0x234], ebx
jne 0x6d534f47
push edi
push ebx
push esi
push 0x6d534e3a
push ebx
push ebx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x234], eax
jmp 0x6d534f7f
cmp eax, 0xa
jne 0x6d534f73
lea edi, [esi + 0x234]
cmp dword [edi], ebx
je 0x6d534f73
lea eax, [ebp + 8]
push eax
push edi
push 1
push 0xffffffffffffffff
push 1
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
push dword [edi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x6d534f7f
cmp byte [ebp - 0xd], bl
jne 0x6d534f7f
mov ecx, esi
call fcn.6d53d8e0
call fcn.6d541bea
ret 4

Function at 0x6d53622e
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x6d536247
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x6d536239
ret

Function at 0x6d53aa06
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 0x6d53aa54
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d53aa65
push 0xd
pop eax
jmp 0x6d53aa8f
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 0x6d53aa68
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 0x6d53b020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d550324]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d53d8e0
mov ebx, eax
cmp ebx, esi
je 0x6d53b093
lea ecx, [ebp - 0x74]
call fcn.6d5393e2
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d541a43
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d53b0ab
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d53b020
cmp eax, esi
jne 0x6d53b0dd
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d53b09b
lea ecx, [ebp - 0x74]
call fcn.6d5393e2
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d53a92f
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d5393e2
mov eax, esi
jmp 0x6d53b079
Function at 0x6d53e2fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d53e30c
add eax, 0xffffff84
jmp 0x6d53e30e
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d546294
lea ecx, [eax + 4]
call fcn.6d53d1f0
test eax, eax
js 0x6d53e377
cmp dword [ebp + 8], 0
je 0x6d53e374
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d53e34c
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d53e358
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d53e364
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d53e377
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d53e38d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x6d54086b
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d540875
lea esi, [ecx - 0x78]
jmp 0x6d540877
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x6d540893
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x6d54169b
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x6d550324]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
push ebx
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.JNLPFileShellOpenCommand
mov esi, 0x104
push SysReAllocStringLen
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6d5416f0
xor eax, eax
jmp 0x6d54180f
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x28]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x6d541782
lea eax, [ebp - 0x1c]
inc eax
cmp byte [eax], 0x22
jne 0x6d541717
push esi
mov byte [eax], bl
lea eax, [ebp + 0xe8]
push ebx
push eax
call sub.msvcr100.dll_memset
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp + 0xe8]
push 0x6d548020
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebp - 0x24], ebx
je 0x6d54177d
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d541754
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d541765
sub eax, esi
lea eax, [edi + eax + 0x10]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
jne 0x6d541789
xor eax, eax
jmp 0x6d54180e
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d541792
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x24]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d5417a3
push dword [ebp - 0x24]
lea ecx, [ebp + 0xe8]
push ecx
sub eax, edi
push str.__s___nocodebase__s
lea eax, [esi + eax + 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.msvcr100.dll_sprintf_s]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
lea eax, [ebp + 0xe8]
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.msvcr100.dll_free]
xor eax, eax
cmp esi, ebx
pop ecx
setne al
pop edi
mov ecx, dword [ebp + 0x1ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d541a43
add ebp, 0x1f0
leave
ret
Function at 0x6d541826
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x6d550324]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a4]
push esi
push edi
mov edi, dword [ebp + 0x1a0]
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x80], edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x6d541984
xor esi, esi
cmp eax, esi
je 0x6d541984
lea eax, [ebp + 0x90]
push eax
push esi
push str.JNLP
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
jne 0x6d54189b
push 3
jmp 0x6d541986
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x6d5418c6
push 4
jmp 0x6d541986
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d5418cb
sub eax, edx
mov ecx, eax
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d5418db
sub eax, esi
lea eax, [eax + ecx + 0x14]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
jne 0x6d5418fd
push 5
jmp 0x6d541986
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d541902
sub eax, edx
mov ecx, eax
mov eax, ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d541912
push dword [ebp - 0x80]
sub eax, edi
push ebx
push str.docbase_s_njnlphref_s_n
lea eax, [eax + ecx + 0x14]
push eax
push esi
call dword [sym.imp.msvcr100.dll_sprintf_s]
mov eax, esi
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d541938
push 0
sub eax, ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push esi
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
test edi, edi
jne 0x6d541964
push 6
jmp 0x6d541986
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x6d541975
push 7
jmp 0x6d541986
lea eax, [ebp + 0x90]
push eax
call fcn.6d54169b
pop ecx
jmp 0x6d541987
push 2
pop eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d541a43
add ebp, 0x198
leave
ret

Function at 0x6d541a43
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d550324]
jne 0x6d541a4d
repz ret
jmp fcn.6d542261
Function at 0x6d54273c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d55095c], 0
push esi
push edi
jne 0x6d5426b2
call fcn.6d54261e
test eax, eax
je 0x6d5426f7
mov eax, dword [0x6d55095c]
cmp eax, 1
jne 0x6d5426d3
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d5426f7
jmp 0x6d542739
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d542739
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 0x6d5426fb
xor eax, eax
jmp 0x6d542739
mov eax, dword [esi]
push dword [0x6d55095c]
call edi
mov edi, eax
test edi, edi
je 0x6d54271d
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d542739
lea edi, [esi + 0xff0]
push esi
push dword [0x6d55095c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d542723
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d54269e
Function at 0x10001918
Capabilities:
Connect socket

Disassembly:
push ecx
mov eax, dword [edi + 0x18]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
je 0x10001934
call fcn.1003085b
mov esi, dword [edi + 0x18]
call fcn.100307fb
mov dword [edi + 0x18], ebx
mov eax, dword [edi + 0x1c]
cmp eax, 0xffffffff
je 0x10001947
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [edi + 0x1c], 0xffffffff
mov ecx, dword [edi + 0x2c]
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10004105
mov ecx, dword [edi + 0x30]
add esp, 0x14
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10004105
add esp, 0x14
xor eax, eax
inc eax
push 6
push eax
push 2
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x13f0], ebx
mov dword [edi + 0x13ec], ebx
mov dword [edi + 0x3dc], ebx
mov dword [edi + 0x3e0], ebx
mov dword [edi + 0x3e4], ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 0x1c], eax
je 0x10001a04
push 0x10
push edi
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x10001a04
mov eax, dword [edi + 0x40]
push str.http:
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100019c8
mov eax, dword [edi + 0x24]
jmp 0x10001a09
push dword [edi + 0x14]
call fcn.100307b4
cmp eax, ebx
pop ecx
mov dword [edi + 0x18], eax
je 0x10001a04
mov ecx, dword [edi + 0x1c]
lea edx, [eax + 0xf8]
lea esi, [eax + 0xfc]
mov dword [edx], ecx
mov dword [esi], ecx
mov dword [eax + 0x110], edx
mov dword [eax + 0x114], esi
mov eax, dword [edi + 0x18]
call fcn.10030ad4
cmp eax, 1
je 0x100019c3
mov dword [edi + 0x24], ebx
xor eax, eax
pop esi
pop ebx
pop ecx
ret

Function at 0x10001a0d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [edi + 0x24], 0
push esi
jne 0x10001a1e
xor eax, eax
jmp 0x10001a95
mov eax, dword [ebx + 4]
and dword [ebp - 4], 0
test eax, eax
mov dword [ebp - 8], eax
jle 0x10001a92
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
mov eax, 0x1000
cmp ecx, eax
jl 0x10001a3d
mov ecx, eax
mov eax, dword [ebx]
mov esi, dword [edi + 0x18]
add eax, dword [ebp - 4]
test esi, esi
je 0x10001a5b
push ecx
push eax
call fcn.100339ad
test eax, eax
pop ecx
pop ecx
jge 0x10001a68
or esi, 0xffffffff
jmp 0x10001a6a
push 0
push ecx
push eax
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jle 0x10001a98
mov eax, dword [edi + 0x3e8]
test eax, eax
je 0x10001a87
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001a98
add dword [ebp - 4], esi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x10001a2c
xor eax, eax
inc eax
pop esi
leave
ret
and dword [edi + 0x24], 0
jmp 0x10001a1a
Function at 0x10001aa1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ecx
cmp dword [esi + 0x24], 0
push ebx
push ebp
push edi
jne 0x10001ab3
xor eax, eax
jmp 0x10001b8a
mov edi, dword [esi + 0x13f0]
mov eax, edi
cdq
mov ebx, bind
add eax, ebx
adc edx, 0
mov dword [esp + 0x10], edx
mov ebp, 0x1000
js 0x10001b17
jg 0x10001ad7
cmp eax, ebp
jbe 0x10001b17
mov ecx, dword [esi + 0x13ec]
test ecx, ecx
je 0x10001b17
cmp edi, ebp
je 0x10001aee
mov eax, edi
sub eax, ecx
cmp eax, 0x10
jg 0x10001b17
mov eax, edi
sub eax, ecx
push eax
mov dword [esi + 0x13f0], eax
lea eax, [ecx + esi + 0x3ec]
push eax
lea eax, [esi + 0x3ec]
push eax
call sub.MSVCRT.dll_memmove
add esp, 0xc
and dword [esi + 0x13ec], 0
mov eax, dword [esi + 0x13f0]
mov ecx, ebp
sub ecx, eax
cmp ecx, ebx
jle 0x10001b27
mov ecx, ebx
mov edx, dword [esi + 0x18]
xor ebx, ebx
cmp edx, ebx
lea eax, [eax + esi + 0x3ec]
je 0x10001b44
push ecx
push eax
push edx
call fcn.10030834
add esp, 0xc
jmp 0x10001b50
push ebx
push ecx
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jge 0x10001b5e
mov dword [esi + 0x24], ebx
jmp 0x10001aac
mov eax, dword [esi + 0x3e8]
cmp eax, ebx
je 0x10001b76
push ebx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001b56
add dword [esi + 0x13f0], edi
cmp edi, ebx
jne 0x10001b87
mov dword [esi + 0x28], 1
mov eax, dword [esi + 0x24]
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x10002a9e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ecx, edi
and ecx, 0xff00
mov edx, edi
shl edx, 0x10
or ecx, edx
shl ecx, 8
movzx edx, di
or ecx, edx
xor ecx, 0xb11924e1
movsx esi, cl
mov edx, ecx
shr edx, 8
movsx edx, dl
mov ebx, esi
mov ebp, dword [esp + 0x14]
shl ebx, 5
add ebx, esi
add edx, ebx
mov esi, edx
shl esi, 5
add esi, edx
mov edx, ecx
shr edx, 0x10
movsx edx, dl
add esi, edx
shr ecx, 0x18
mov edx, esi
shl edx, 5
add edx, esi
movsx ecx, cl
mov ebx, edi
and ebx, 3
mov eax, 0x96438af7
lea ecx, [ecx + edx + 0x7c5d0f85]
mov dword [esp + 0x14], ebx
je 0x10002b60
mov esi, ebp
jmp 0x10002b19
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x10055488]
mov ebp, ecx
not ebp
shl ebp, 0x15
mov dl, al
add dl, cl
xor dl, byte ds:[esi]
add ebp, 0x2611501
shr ecx, 0xb
or ecx, ebp
mov ebp, eax
shl ebp, 5
add ebp, eax
movzx eax, dl
mov byte ds:[esi], dl
add esi, 1
sub ebx, 1
lea eax, [ebp + eax + 3]
jne 0x10002b19
sub edi, dword [esp + 0x14]
mov ebp, esi
test edi, edi
mov esi, ebp
je 0x10002ba7
jmp 0x10002b6a
mov edx, ecx
and edx, 0xff
add eax, dword [edx*4 + 0x10055488]
mov ebx, ecx
not ebx
shl ebx, 0x15
lea edx, [eax + ecx]
xor edx, dword ds:[esi]
add ebx, 0x3938731
shr ecx, 0xb
or ecx, ebx
mov ebx, eax
shl ebx, 5
add ebx, edx
mov dword ds:[esi], edx
add esi, 4
sub edi, 4
lea eax, [ebx + eax + 3]
jne 0x10002b6a
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10003a40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1005a750], 0
push esi
push edi
mov edx, 0xff
jne 0x10003a7f
xor esi, esi
push 8
mov ecx, esi
pop edi
test cl, 1
je 0x10003a66
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10003a68
shr ecx, 1
dec edi
jne 0x10003a57
mov edi, esi
xor edi, edx
inc esi
cmp esi, 0x100
mov dword [edi*4 + 0x1005a750], ecx
jb 0x10003a52
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jle 0x10003aab
mov esi, dword [esp + 0xc]
movzx esi, byte [ecx + esi]
mov edi, eax
and edi, edx
shr eax, 8
xor esi, edi
xor eax, dword [esi*4 + 0x1005a750]
xor eax, 0xff000000
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x10003a87
pop edi
pop esi
ret

Function at 0x10003ac1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov ecx, dword [eax]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 8]
push ebx
push esi
mov esi, dword [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
add edi, 2
movzx ebx, byte [edi]
xor edx, edx
mov dh, byte [edi - 2]
add edi, 4
mov dl, byte [edi - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [edi - 3]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
mov dword [ebp + ebx*4 - 0x150], edx
jb 0x10003aed
push 0x40
lea edx, [ebp - 0x148]
pop edi
mov ebx, dword [edx + 0x2c]
xor ebx, dword [edx + 0x18]
xor ebx, dword [edx - 8]
xor ebx, dword [edx]
add edx, 4
dec edi
rol ebx, 1
mov dword [edx + 0x34], ebx
jne 0x10003b25
xor edx, edx
cmp edx, 0x14
jae 0x10003b60
mov ebx, dword [ebp - 4]
mov edi, esi
not edi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x5a827999]
jmp 0x10003bb7
cmp edx, 0x28
jae 0x10003b7d
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx + 0x6ed9eba1]
jmp 0x10003bb7
cmp edx, 0x3c
jae 0x10003ba1
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
or edi, esi
and edi, dword [ebp - 8]
and ebx, esi
or edi, ebx
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x70e44324]
jmp 0x10003bb7
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 4]
xor edi, esi
add edi, dword [ebp + edx*4 - 0x150]
lea edi, [edi + ecx - 0x359d3e2a]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
ror esi, 2
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, esi
rol ebx, 5
inc edx
add edi, ebx
cmp edx, 0x50
mov dword [ebp - 0x10], edi
jb 0x10003b3d
mov edx, dword [eax]
add edx, edi
mov dword [eax], edx
mov edx, dword [eax + 4]
add edx, esi
mov esi, dword [ebp - 4]
mov dword [eax + 4], edx
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp - 8]
mov dword [eax + 8], edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
pop edi
add edx, ecx
pop esi
mov dword [eax + 0x10], edx
pop ebx
leave
ret
Function at 0x10014361
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x6e
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x33
mov byte [ebp - 5], 0x32
mov byte [ebp - 4], 0
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x4c
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x62
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x57
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100143da
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x100143dc
xor eax, eax
push 9
pop edx
lea ecx, [ebp - 0xc]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x100143e2
push 0xd
pop edx
lea ecx, [ebp - 0x1c]
mov byte [ecx], 0
inc ecx
dec edx
jne 0x100143ef
test eax, eax
je 0x10014401
push dword [ebp + 8]
call eax
leave
ret
xor eax, eax
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
add ecx, eax
push ecx
call esi
test eax, eax
je 0x1001497a
push edi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10014960
cmp dword [ebp - 0x1c], 0x20
jne 0x10014960
cmp dword [ebp - 0x18], 0x1000000
jne 0x10014960
cmp dword [ebp - 4], eax
je 0x100148f4
xor ebx, ebx
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
sete bl
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
add eax, edi
mov dword [ebp - 0x10], eax
jmp 0x1001495c
lea eax, [edi + 0x40]
cmp eax, dword [ebp - 0x10]
ja 0x10014960
push 0x40
push dword [ebp + 8]
push edi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x1001495b
lea eax, [ebp - 0x14]
push eax
push 0x40
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001495b
push 0x40
push dword [ebp + 0xc]
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 8], 1
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebx, ebx
inc edi
test ebx, ebx
jne 0x10014901
mov ecx, dword [ebp - 0x30]
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x24]
add eax, ecx
push eax
call esi
test eax, eax
jne 0x100148c6
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret