joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4135d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476248
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4981c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041414f
mov edi, eax
add esp, 4
test edi, edi
je 0x413674
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0044d311
add esp, 4
mov dword [edi + 4], eax
jmp 0x413676
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0040e580
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4136d7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4136d7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4136fa
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x41371d
cmp byte [ebp + 0xc], 0
je 0x413709
push esi
call fcn.0044e4d3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x413729
mov esi, str.ios_base::badbit_set
jmp 0x413739
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00413760
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040f0f0
push 0x4921f0
lea eax, [ebp - 0x30]
push eax
call fcn.00415bb2
int3

Function at 0x43eb7a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e354

Function at 0x43eb85
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e58f

Function at 0x43f0ff
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ee86
Function at 0x300b3563
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
xor esi, esi
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
test eax, eax
je 0x300b35ac
push esi
push 0xa
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.300b3b96
add esp, 0x10
test eax, eax
je 0x300b35ac
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
leave
ret

Function at 0x300b362d
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [0x302a56d0], ebx
mov dword [ebp - 4], str.UNKNOWN
jne 0x300b364a
call fcn.300b3456
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp dword [0x302a56d0], 2
jne 0x300b373a
cmp dword [0x302a56f0], ebx
je 0x300b373a
push esi
push dword [ebp + 8]
call dword [0x302a56d4]
mov esi, eax
cmp esi, ebx
je 0x300b3739
push edi
call fcn.300b3b96
mov edi, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [0x302a56f0]
test eax, eax
je 0x300b3738
mov ecx, dword [ebp - 8]
mov eax, 0x400
cmp ecx, eax
jbe 0x300b36ab
sub ecx, eax
mov eax, edi
sub eax, 0x3a4
je 0x300b36fe
sub eax, 4
je 0x300b36c1
sub eax, 0xd
je 0x300b36db
dec eax
jne 0x300b3738
mov eax, ecx
sub eax, ebx
je 0x300b3731
dec eax
je 0x300b36d2
sub eax, 7
je 0x300b36f5
dec eax
jne 0x300b3738
mov dword [ebp - 4], str.CHINESE
jmp 0x300b3738
mov eax, ecx
sub eax, ebx
je 0x300b3731
dec eax
je 0x300b36ec
sub eax, 7
je 0x300b36f5
dec eax
jne 0x300b3738
mov dword [ebp - 4], str.KOREAN
jmp 0x300b3738
mov dword [ebp - 4], 0x302397c8
jmp 0x300b3738
mov eax, ecx
sub eax, 0x10
je 0x300b3731
sub eax, 3
je 0x300b3728
sub eax, 5
je 0x300b36f5
dec eax
je 0x300b371f
dec eax
dec eax
jne 0x300b3738
mov dword [ebp - 4], 0x302397b0
jmp 0x300b3738
mov dword [ebp - 4], 0x3023979c
jmp 0x300b3738
mov dword [ebp - 4], 0x30239784
jmp 0x300b3738
mov dword [ebp - 4], str.ALPHANUMERIC_HALF
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x300b3b96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x300b3ba5
pop dword [ebp - 0x18]
mov eax, 0x6c3f293c
add eax, 0xc3cc1269
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x6b8b1
push 0
mov eax, 0x731bda86
sub eax, 0x42f8c7fe
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x686dfdbc
add ecx, 0x97924b50
xor ebx, ebx
add ebx, eax
mov esi, 0xd2b76298
sub esi, 0xa27e0298
add esi, dword [ebp - 0x18]
mov edi, 0x7535ba3b
add edi, 0x65a6bffd
mov dword [ebp - 4], 0xc9c1ff22
mov edx, dword [esi]
add dword [ebp - 8], 0x4d98b58c
add edx, edi
xor dword [ebp - 4], 0xf95c88fe
mov dword [ebx], edx
xor dword [ebp - 8], ebx
add ebx, 4
add esi, 4
loop 0x300b3c06
add eax, 0x91d8180e
sub eax, 0x91d7010b
mov ebx, eax
add eax, 5
mov ecx, 0x30000000
add ecx, dword [ebp - 0x18]
call ebx
leave
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.300b3b96
test al, al
je 0x300c80ec
push str.Macromed
lea ecx, [ebp + 0x60]
call fcn.300b3b96
push 0x3023b70c
lea ecx, [ebp + 0x60]
call fcn.300b3b96
push str.testUpdate.txt
lea ecx, [ebp + 0x60]
call fcn.300b3b96
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.300b3b96
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.300b3b96
pop ecx
lea ecx, [ebp + 0x48]
call fcn.30031759
lea eax, [ebp + 0x48]
push eax
mov ecx, edi
call fcn.300b3b96
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.300b3b96
push 0x3023b70c
lea ecx, [ebp + 0x68]
call fcn.300b3b96
lea eax, [ebp + 0x68]
push eax
push edi
mov ecx, ebx
call fcn.300b3b96
test al, al
jne 0x300d1c5a
lea eax, [ebp + 0x58]
push eax
push edi
mov ecx, ebx
call fcn.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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.300b3b96
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