joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401971
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x401997
inc edi
cmp edi, 0x1f6502b1
jl 0x40197d
cmp dword [0x285fee4], 0x400
jne 0x4019f8
push str.sadahoziyofejonoh_niforapo_pihekezavokigubodatojup_rafepigojamulexiwodugaxexude_jam
push str.nelugidoneyari
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push 0x46ec60
push esi
call dword [sym.imp.ADVAPI32.dll_BackupEventLogW]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401fdd
push esi
call fcn.00401fa3
push esi
push esi
call fcn.00402307
push esi
call fcn.004023b4
push esi
call fcn.004023c3
add esp, 0x18
xor edi, edi
cmp edi, 0xd09a
jge 0x401a09
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a31
inc edi
cmp edi, 0x263ff
jl 0x4019fa
mov eax, dword [0x472044]
mov dword [0x285fee4], eax
call fcn.004016c8
mov edi, 0x3078f
cmp dword [0x285fee4], 0x51f
jne 0x401a5d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401a45
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40522d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x471a74]
jne 0x405237
repz ret
jmp fcn.00407862
Function at 0x30095658
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
mov cx, word [edx]
xor eax, eax
test cx, cx
je 0x30095685
push esi
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, cx
xor eax, esi
inc edx
inc edx
xor ecx, ecx
mov cx, word [edx]
test cx, cx
jne 0x30095669
pop esi
ret 4

Function at 0x3009e2de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x3009e2ed
pop dword [ebp - 0x40]
mov eax, 0x3009e2ed
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x688bc
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x55dea8f1
sub ecx, 0x55de6b66
xor edx, edx
add edx, eax
mov edi, 0xd2c44501
sub edi, 0xa28ae501
add edi, dword [ebp - 0x40]
mov esi, 0xcd8c6cce
sub esi, 0x51074072
sub dword [ebp - 0x14], 0xd1d1afd7
mov ebx, dword [edi]
xor dword [ebp - 0x34], 0x96ac6491
sub ebx, esi
sub dword [ebp - 0x14], 0x5edb9e0e
mov dword [edx], ebx
mov dword [ebp - 0x20], 0x1e3e1082
add edx, 4
add edi, 0xca851036
add edi, 0x357aefce
loop 0x3009e344
add eax, 0xd7e6f1b
sub eax, 0xd7d861c
mov ebx, eax
add eax, 0x4ede832c
add eax, 0xb1217cd9
mov ecx, 0x30000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x300ae377
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x114]
mov ecx, dword [edi]
test ecx, ecx
mov dword [esi], 0x30237a50
mov dword [esi + 0x1c], 0x30237a38
je 0x300ae39a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x134]
and dword [edi], 0
and dword [esi + 0x118], 0
test eax, eax
je 0x300ae3cd
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x300ae3cd
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x300ae3cd
push dword [eax + 0xbf4]
mov edx, dword [ecx]
call dword [edx + 0x10]
lea edi, [esi + 0x138]
mov ecx, dword [edi]
test ecx, ecx
je 0x300ae3df
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [edi], 0
and dword [esi + 0x134], 0
mov ecx, esi
call fcn.300ae18a
lea ecx, [esi + 0x13c]
call fcn.3002e74f
lea ecx, [esi + 0x128]
call fcn.300046b5
pop edi
mov ecx, esi
pop esi
jmp fcn.300c2bed
Function at 0x300b3456
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x302a56d0], 0
jne 0x300b3562
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_SetErrorMode]
push edi
push 0x8001
mov dword [0x302a56d0], 1
call esi
push str.imm32.dll
mov ebx, eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push ebx
mov edi, eax
call esi
test edi, edi
je 0x300b355f
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.ImmGetContext
push edi
call esi
test eax, eax
mov dword [0x302a56d4], eax
je 0x300b355f
push str.ImmReleaseContext
push edi
call esi
test eax, eax
mov dword [0x302a56d8], eax
je 0x300b355f
push str.ImmSetCompositionWindow
push edi
call esi
test eax, eax
mov dword [0x302a56dc], eax
je 0x300b355f
push str.ImmSetCompositionFontA
push edi
call esi
test eax, eax
mov dword [0x302a56e0], eax
je 0x300b355f
push str.ImmGetCompositionStringW
push edi
call esi
push str.ImmGetOpenStatus
push edi
mov dword [0x302a56e4], eax
call esi
push str.ImmSetOpenStatus
push edi
mov dword [0x302a56e8], eax
call esi
push str.ImmGetConversionStatus
push edi
mov dword [0x302a56ec], eax
call esi
push str.ImmSetConversionStatus
push edi
mov dword [0x302a56f0], eax
call esi
push str.ImmSetCompositionStringW
push edi
mov dword [0x302a56f4], eax
call esi
push str.ImmNotifyIME
push edi
mov dword [0x302a56f8], eax
call esi
push str.ImmGetCandidateListW
push edi
mov dword [0x302a56fc], eax
call esi
mov dword [0x302a5700], eax
mov dword [0x302a56d0], 2
pop edi
pop esi
pop ebx
ret
Function at 0x300c7cde
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
lea eax, [ebp - 0x1c]
push eax
mov esi, str.Windows
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov eax, dword [ebp - 0xc]
dec eax
je 0x300c7d43
dec eax
jne 0x300c7d57
cmp dword [ebp - 0x18], 6
jne 0x300c7d16
mov esi, str.Windows_Vista
jmp 0x300c7d57
cmp dword [ebp - 0x18], 5
jne 0x300c7d36
cmp dword [ebp - 0x14], 1
jne 0x300c7d29
mov esi, str.Windows_XP
jmp 0x300c7d57
cmp dword [ebp - 0x14], 0
jne 0x300c7d57
mov esi, str.Windows_2000
jmp 0x300c7d57
cmp dword [ebp - 0x18], 4
jne 0x300c7d57
mov esi, str.Windows_NT
jmp 0x300c7d57
cmp dword [ebp - 0x14], 0
jbe 0x300c7d50
mov esi, str.Windows_98_ME
jmp 0x300c7d57
jne 0x300c7d57
mov esi, str.Windows_95
mov eax, esi
pop esi
add ebp, 0x78
leave
ret

Function at 0x300c7fd4
Capabilities:
Check os version
Delete file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb4
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x30], 2
jne 0x300c8003
cmp dword [ebp - 0x3c], 6
jb 0x300c8003
mov al, 1
jmp 0x300c80f7
push ebx
lea eax, [ebp + 0x70]
push eax
push str.SoftwareMacromediaFlashPlayer
xor ebx, ebx
push reloc.oleaut32.dll_SysReAllocString
mov dword [ebp + 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, ebx
jne 0x300c8063
push esi
push str.AutoUpdate
lea ecx, [ebp + 0x54]
call fcn.30032e0f
mov eax, dword [ebp + 0x58]
inc eax
push eax
push dword [ebp + 0x54]
push 1
push ebx
push str.AutoUpdateTest
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x70]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x70], ebx
call fcn.300046b5
cmp esi, ebx
pop esi
je 0x300c806a
xor al, al
jmp 0x300c80f6
lea ecx, [ebp + 0x60]
call fcn.30031759
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp + 0x60]
push eax
call fcn.3009e2de
test al, al
je 0x300c80ec
push str.Macromed
lea ecx, [ebp + 0x60]
call fcn.3009e2de
push 0x3023b70c
lea ecx, [ebp + 0x60]
call fcn.3009e2de
push str.testUpdate.txt
lea ecx, [ebp + 0x60]
call fcn.3009e2de
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
lea ecx, [ebp + 0x60]
call fcn.30031883
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, ebx
je 0x300c80ec
cmp eax, 0xffffffff
je 0x300c80ec
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x300c80ec
lea ecx, [ebp + 0x60]
call fcn.30031883
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x300c80ec
mov bl, 1
lea ecx, [ebp + 0x60]
call fcn.300315be
mov al, bl
pop ebx
add ebp, 0x74
leave
ret

Function at 0x300c8ad4
Capabilities:
Identify system language via api

Disassembly:
cmp dword [esp + 4], 7
jl 0x300c8ae8
call fcn.3009e2de
test ax, ax
jne 0x300c8aee
xor eax, eax
ret
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
push eax
call fcn.300c7d8f
add esp, 4
ret
Function at 0x300cb5e1
Capabilities:
Get common file path

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
push esi
push edi
call fcn.300cb4e5
pop ecx
pop ecx
add eax, edi
pop edi
pop esi
ret

Function at 0x300d002a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x9c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0x14], 2
jne 0x300d009a
cmp dword [ebp - 0x20], 5
ja 0x300d005a
jne 0x300d009a
cmp dword [ebp - 0x1c], 1
jb 0x300d009a
push esi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp + 0x70]
push eax
push 0
push 0x4a
call esi
test eax, eax
je 0x300d0095
cmp dword [ebp + 0x70], 1
jne 0x300d0095
push 0
lea eax, [ebp + 0x74]
push eax
push 0
push 0x200a
call esi
test eax, eax
je 0x300d0095
cmp dword [ebp + 0x74], 2
jne 0x300d0095
xor eax, eax
inc eax
jmp 0x300d0097
xor eax, eax
pop esi
jmp 0x300d009c
xor al, al
add ebp, 0x78
leave
ret

Function at 0x300d1bb3
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xcc
push ebx
push edi
mov ebx, ecx
push 0xe4
mov dword [0x302a765c], ebx
call fcn.300367dc
test eax, eax
pop ecx
je 0x300d1be4
push 0
mov ecx, eax
call fcn.300cf1ab
mov edi, eax
jmp 0x300d1be6
xor edi, edi
test edi, edi
je 0x300d1cd4
push edi
call fcn.3009e2de
pop ecx
lea ecx, [ebp + 0x48]
call fcn.30031759
lea eax, [ebp + 0x48]
push eax
mov ecx, edi
call fcn.3009e2de
test al, al
je 0x300d1c75
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x58]
call fcn.30031643
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x68]
call fcn.30031643
push str.Macromed
lea ecx, [ebp + 0x68]
call fcn.3009e2de
push 0x3023b70c
lea ecx, [ebp + 0x68]
call fcn.3009e2de
lea eax, [ebp + 0x68]
push eax
push edi
mov ecx, ebx
call fcn.3009e2de
test al, al
jne 0x300d1c5a
lea eax, [ebp + 0x58]
push eax
push edi
mov ecx, ebx
call fcn.3009e2de
lea eax, [ebp + 0x68]
push eax
mov ecx, ebx
call fcn.3001a779
lea ecx, [ebp + 0x68]
call fcn.300315be
lea ecx, [ebp + 0x58]
call fcn.300315be
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.3022b3a0
add esp, 0xc
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x300d1cae
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x94
call esi
test eax, eax
je 0x300d1cc3
cmp dword [ebp - 0x44], 2
jb 0x300d1cc3
jne 0x300d1cbc
cmp dword [ebp - 0x50], 5
jb 0x300d1cc3
mov byte [ebx + 0x8f5], 1
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [ebp + 0x48]
call fcn.300315be
pop esi
pop edi
pop ebx
add ebp, 0x78
leave
ret
Function at 0x300d2c1b
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], ebx
je 0x300d2c3a
mov dword [esi], 0x3023c880
mov dword [esi + 0x20], 0x30234df4
push ebp
push ebx
mov ecx, esi
call fcn.3009e2de
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], str.C_r0K_r0S_r0__r0c_r0n_r0y_r0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push str.MacromediaMutexOmega
lea ecx, [eax - 0x20]
mov dword [eax + esi - 4], ecx
push 1
push ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
cmp eax, ebx
mov ebp, dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x14], eax
je 0x300d2c8f
call ebp
cmp eax, 0xb7
jne 0x300d2c8f
mov cl, 1
jmp 0x300d2c91
xor cl, cl
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x300d2d16
cmp cl, bl
je 0x300d2ca9
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
jne 0x300d2d16
push 0x3023c854
mov edi, 0xfc10
push edi
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [esi + 0x18], eax
call ebp
mov ebp, eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x300d2d0d
push edi
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x300d2d0d
cmp ebp, 0xb7
setne cl
push ecx
push eax
mov ecx, esi
call fcn.300395e8
mov ecx, esi
call fcn.30039620
test al, al
jne 0x300d2d0d
push dword [esi + 8]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov dword [esi + 8], ebx
push dword [esi + 0x14]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp dword [esi + 8], ebx
pop ebp
jne 0x300d2d3c
mov eax, dword [esi + 0x18]
cmp eax, ebx
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
je 0x300d2d2f
push eax
call edi
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x300d2d3c
push eax
call edi
mov dword [esi + 0x14], ebx
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x300d497b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x300d49ad
xor eax, eax
inc eax
cmp dword [ebp - 0x18], 5
ja 0x300d49af
jne 0x300d49ad
cmp dword [ebp - 0x14], eax
jae 0x300d49af
xor eax, eax
add ebp, 0x78
leave
ret
Function at 0x300d829f
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
mov dword [esi], 0x3023cd18
je 0x300d82b3
call fcn.3009e2de
lea eax, [esi + 0xc8]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
lea ecx, [esi + 0xbc]
call fcn.300046b5
lea ecx, [esi + 0xb0]
call fcn.300046b5
lea ecx, [esi + 0x10]
pop esi
jmp fcn.300d4e5e

Function at 0x300d835a
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d83b6
push dword [esi]
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x300d83b0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x300d83b0
push edi
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edi, eax
push edi
call fcn.3022ba80
inc eax
push eax
call fcn.300367dc
mov ebx, eax
push edi
push ebx
call fcn.3022bdd0
add esp, 0x10
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x300d865f
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push edi
xor edi, edi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d8699
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push 1
call esi
test eax, eax
jne 0x300d868f
push 0xd
call esi
test eax, eax
jne 0x300d868f
push dword [ebx]
call esi
test eax, eax
je 0x300d8692
xor edi, edi
inc edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x300d89d1
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
push edi
push 8
push dword [esp + 0x14]
mov edi, ecx
call fcn.300d8511
push dword [esp + 0xc]
call fcn.3022ba80
pop ecx
inc eax
push eax
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x300d8a38
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
push dword [esp + 0xc]
push eax
call fcn.3022bdd0
pop ecx
pop ecx
push esi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x300d8a38
push esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.kernel32.dll_GetLastError]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret 8
Function at 0x300ddee6
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x1c], 0xca
jne 0x300ddf1c
push esi
call fcn.3009e2de
test eax, eax
pop ecx
jl 0x300ddf91
cmp byte [esi + 0x48], 0
je 0x300ddf15
xor eax, eax
mov dword [esi + 0x1c], 0xcf
inc eax
pop esi
ret
mov dword [esi + 0x1c], 0xcb
mov eax, dword [esi + 0x1c]
cmp eax, 0xcb
jne 0x300ddf93
mov eax, dword [esi + 0x198]
cmp byte [eax + 0x10], 0
je 0x300ddf80
mov eax, dword [esi + 8]
test eax, eax
je 0x300ddf3d
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x198]
push esi
call dword [eax]
test eax, eax
pop ecx
jl 0x300ddf91
je 0x300ddf7c
cmp eax, 2
je 0x300ddf80
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x300ddf32
cmp eax, 3
je 0x300ddf63
cmp eax, 1
jne 0x300ddf32
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x300ddf32
mov ecx, dword [esi + 0x124]
add dword [eax + 8], ecx
jmp 0x300ddf32
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x84]
mov dword [esi + 0x8c], eax
call fcn.300dddfc
pop esi
ret
cmp eax, 0xcc
je 0x300ddf8c
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov eax, dword [esi]
mov ecx, dword [esi + 0x1c]
push 0xffffffffffffffec
mov dword [eax + 0x18], ecx
pop eax
pop esi
ret

Function at 0x300ef521
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ecx + 0x14]
jmp 0x300ef542
cmp dword [eax + 0x20], 0
je 0x300ef532
cmp dword [eax + 0x24], 5
je 0x300ef538
cmp dword [eax + 0x24], 4
jne 0x300ef53f
mov dword [eax + 0x24], 6
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x300ef526
jmp fcn.300ef0c4

Function at 0x30103130
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push edi
mov dword [esi], 1
call ebx
mov ebp, dword [sym.imp.kernel32.dll_GetTickCount]
and dword [esp + 0x10], 0
call ebp
mov dword [esp + 0x14], eax
push edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esi + 0x1c], 0
push edi
je 0x30103188
call ebx
push 0x14
call dword [sym.imp.kernel32.dll_Sleep]
call ebp
sub eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jb 0x30103162
jmp 0x30103192
mov dword [esp + 0x14], 1
call ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4

Function at 0x3011852b
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x30243b90
mov dword [esi + 0x1c], 0x30243b78
call fcn.30118385
lea ecx, [esi + 0x120]
call fcn.3013409e
mov ecx, esi
pop esi
jmp fcn.300c2bed

Function at 0x3012b8ce
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x120]
mov eax, dword [ecx]
test eax, eax
mov dword [esi], 0x30246288
mov dword [esi + 0x1c], 0x30246270
je 0x3012b8ee
and dword [eax + 0x34], 0
mov byte [esi + 0x21], 1
call fcn.3013409e
mov ecx, esi
pop esi
jmp fcn.300c2bed
Function at 0x30150340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x301504d9
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x301503b1
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x302497f0]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.3009e2de
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.3009e2de
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x302497f0]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.3009e2de
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.3009e2de
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.3009e2de
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.3009e2de
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x301503ad
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x301ae930
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0x30], eax
mov byte [esi + 0x110], 0
mov byte [esi + 0x119], 1
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
lea edi, [esi + 0x150]
mov ebx, 0x28
mov ecx, dword [edi + 0xa0]
call fcn.301af9e0
mov ecx, dword [edi]
call fcn.301af9e0
mov ecx, dword [edi + 0x140]
call fcn.301af9e0
add edi, 4
dec ebx
jne 0x301ae963
mov edi, dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
push 0
push 1
lea ebx, [esi + 0x348]
push ebx
call edi
test eax, eax
je 0x301ae9b2
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
push 0
call ebp
push 0
push 1
push ebx
call edi
test eax, eax
jne 0x301ae9a3
mov edi, dword [esi + 0x34c]
test edi, edi
je 0x301ae9e4
lea ebp, [esi + 0x11c]
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
push ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.301ade60
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x301ae9c2
push 0
push ebx
call dword [sym.imp.kernel32.dll_InterlockedExchange]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edi, dword [esi + 0x28]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x2c]
sub eax, ebp
sbb ecx, ebx
add edi, eax
adc edx, ecx
push 0xa
mov ecx, esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edx
call fcn.3009e2de
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x301aef80
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esp + 4]
add esp, 0x24
ret

Function at 0x301af000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
neg cl
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], 0
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x40
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
pop ecx
ret 0xc