joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10080973
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x100e9b88]
je 0x1008098e
inc edi
cmp edi, 0x17
jb 0x1008097f
cmp edi, 0x17
jae 0x10080b0e
push ebp
push 3
call fcn.10089d14
cmp eax, 1
pop ecx
je 0x10080ada
push 3
call fcn.10089d14
test eax, eax
pop ecx
jne 0x100809c2
cmp dword [0x10104548], 1
je 0x10080ada
cmp ebx, 0xfc
je 0x10080b0d
push 0x100c4c38
mov ebx, 0x314
push ebx
mov ebp, 0x10104a90
push ebp
call fcn.10078487
add esp, 0xc
test eax, eax
je 0x100809f8
push esi
push esi
push esi
push esi
push esi
call fcn.100709db
add esp, 0x14
push 0x104
mov esi, 0x10104aa9
push esi
push 0
mov byte [0x10104bad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10080a3c
push 0x100c4c20
push 0x2fb
push esi
call fcn.10078487
add esp, 0xc
test eax, eax
je 0x10080a3c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100709db
add esp, 0x14
push esi
call fcn.10070b80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10080a81
push esi
call fcn.10070b80
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10104da4
push 0x100c4c1c
sub ecx, eax
push ecx
push eax
call fcn.10077e62
add esp, 0x14
test eax, eax
je 0x10080a81
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100709db
add esp, 0x14
jmp 0x10080a83
xor esi, esi
push 0x100c4c18
push ebx
push ebp
call fcn.10078416
add esp, 0xc
test eax, eax
je 0x10080aa3
push esi
push esi
push esi
push esi
push esi
call fcn.100709db
add esp, 0x14
push dword [edi*8 + 0x100e9b8c]
push ebx
push ebp
call fcn.10078416
add esp, 0xc
test eax, eax
je 0x10080ac5
push esi
push esi
push esi
push esi
push esi
call fcn.100709db
add esp, 0x14
push 0x12010
push 0x100c4bf0
push ebp
call fcn.10089b57
add esp, 0xc
jmp 0x10080b0d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10080b0d
cmp ebp, 0xffffffff
je 0x10080b0d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100e9b8c]
push dword [esi]
call fcn.10070b80
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10089b57
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1007c4fd
xor ebx, ebx
cmp dword [0x10104fec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10089c2d
push 0x100c5e84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10089d0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100c5e78
push edi
call esi
cmp eax, ebx
je 0x10089d0d
push eax
call fcn.1007c48f
mov dword [esp], 0x100c5e68
push edi
mov dword [0x10104fec], eax
call esi
push eax
call fcn.1007c48f
mov dword [esp], 0x100c5e54
push edi
mov dword [0x10104ff0], eax
call esi
push eax
call fcn.1007c48f
mov dword [0x10104ff4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1007c08b
test eax, eax
pop ecx
pop ecx
je 0x10089bfb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100709db
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10089c2d
push 0x100c5e38
push edi
call esi
push eax
call fcn.1007c48f
cmp eax, ebx
pop ecx
mov dword [0x10104ffc], eax
je 0x10089c2d
push 0x100c5e20
push edi
call esi
push eax
call fcn.1007c48f
pop ecx
mov dword [0x10104ff8], eax
mov eax, dword [0x10104ff8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10089cb2
cmp dword [0x10104ffc], ecx
je 0x10089cb2
push eax
call fcn.1007c506
push dword [0x10104ffc]
mov esi, eax
call fcn.1007c506
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10089cb2
cmp edi, ebx
je 0x10089cb2
call esi
cmp eax, ebx
je 0x10089c7f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10089c7f
test byte [ebp - 0x18], 1
jne 0x10089cb2
lea eax, [ebp - 0x10]
push eax
call fcn.1007c0c2
test eax, eax
pop ecx
je 0x10089c9a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100709db
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10089ca9
or dword [ebp + 0x10], 0x200000
jmp 0x10089ced
or dword [ebp + 0x10], 0x40000
jmp 0x10089ced
mov eax, dword [0x10104ff0]
cmp eax, dword [ebp - 8]
je 0x10089ced
push eax
call fcn.1007c506
cmp eax, ebx
pop ecx
je 0x10089ced
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10089ced
mov eax, dword [0x10104ff4]
cmp eax, dword [ebp - 8]
je 0x10089ced
push eax
call fcn.1007c506
cmp eax, ebx
pop ecx
je 0x10089ced
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10104fec]
call fcn.1007c506
cmp eax, ebx
pop ecx
je 0x10089d0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10089d0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1008f0d9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x101050a8], 0
push esi
jne 0x1008f04c
call fcn.1008ef77
test eax, eax
je 0x1008f08f
mov eax, dword [0x101050a8]
cmp eax, 1
jne 0x1008f06d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1008f08f
pop esi
ret
push eax
call dword [0x101050b0]
test eax, eax
jne 0x1008f0d7
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 0x1008f093
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x101050a8]
call dword [0x101050b0]
mov edi, eax
test edi, edi
je 0x1008f0ba
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1008f0d6
lea edi, [esi + 0xff0]
push esi
push dword [0x101050a8]
call dword [0x101050ac]
add esi, 0x10
cmp esi, edi
jb 0x1008f0c0
mov eax, esi
pop edi
pop esi
ret
jmp 0x1008f039

Function at 0x1008f2d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x19c
push 4
push 0x3000
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1008f307
xor eax, eax
jmp 0x1008f39f
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.100738a0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1008f345
jmp 0x1008f383
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1008f35a
jmp 0x1008f383
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x4550
je 0x1008f373
jmp 0x1008f383
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0xc], edx
xor eax, eax
jne 0x1008f319
cmp dword [ebp - 4], 0
je 0x1008f39c
push 0x8000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1008ff40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1010522c], 0
jne 0x1008ffd8
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [0x1010522c], ecx
xor eax, eax
cmp dword [0x1010522c], 0
setne al
jmp 0x1008ffdd
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret
Function at 0x10090d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x30], 0
je 0x10090d77
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call fcn.10090be0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call fcn.10090c60
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0
je 0x10090d99
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.10090210
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x10090dbb
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.10090210
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x10090ddb
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x34], 0
je 0x10090dfb
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
je 0x10090e1b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x40], 0
je 0x10090e6a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0xbb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret
Function at 0x10091d60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.100738a0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10091db5
mov eax, 1
jmp 0x10091e00
cmp dword [ebp - 0x124], 5
jne 0x10091dee
cmp dword [ebp - 0x120], 1
jne 0x10091dd6
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x10091dd6
xor eax, eax
jmp 0x10091e00
cmp dword [ebp - 0x120], 0
jne 0x10091dec
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x10091dec
xor eax, eax
jmp 0x10091e00
jmp 0x10091dfb
cmp dword [ebp - 0x124], 5
jae 0x10091dfb
xor eax, eax
jmp 0x10091e00
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret

Function at 0x10091ff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bac12
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001732
mov byte [ebp - 4], 1
mov ecx, dword [0x100d2d20]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x100d2d20]
push edx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.100378b6
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100d2d20]
je 0x100920aa
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100018fb
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000177f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.1000176a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.10001732
mov dword [ebp - 0x64], eax
call fcn.10091ff0
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100920cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100920f5
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000176a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000176a
mov eax, dword [ebp - 0x54]
jmp 0x10092137
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.1000176a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1000176a
mov eax, dword [ebp - 0x58]
jmp 0x10092137
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret
Function at 0x10092350
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100738a0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10075191
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100923f0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.100016fc
mov dword [ebp - 0x22c], eax
call fcn.10091ff0
add esp, 0x1c
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x1009242c
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret 8

Function at 0x10092fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.100738a0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call fcn.10071037
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10093092
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x420]
push edx
call fcn.100016fc
mov dword [ebp - 0x42c], eax
call fcn.10091ff0
add esp, 0x1c
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000a026
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
call fcn.1000a026
jmp 0x100930ac
push 0x100cafc8
mov ecx, dword [ebp + 0xc]
call fcn.1000a026
push 0x100cafcc
mov ecx, dword [ebp + 0x10]
call fcn.1000a026
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret
Function at 0x100930c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x98], 0
je 0x100930dc
xor eax, eax
jmp 0x10093299
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x100930ec
xor eax, eax
jmp 0x10093299
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.1000a026
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jne 0x10093118
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x10093128
xor eax, eax
jmp 0x10093299
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x94], 0
je 0x10093180
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x1009316c
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x24], eax
jmp 0x10093173
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x94], 0
call fcn.10091d60
test eax, eax
je 0x100931ce
call fcn.10091d40
cmp eax, 1
jne 0x100931ce
push 0x5c
call fcn.10070967
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100931b3
mov ecx, dword [ebp - 0x14]
call fcn.100911f0
mov dword [ebp - 0x28], eax
jmp 0x100931ba
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x94], ecx
jmp 0x10093207
push 0x30
call fcn.10070967
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100931ee
mov ecx, dword [ebp - 0x1c]
call fcn.100909a0
mov dword [ebp - 0x2c], eax
jmp 0x100931f5
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x94], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x70], eax
push 0x10091e10
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x98], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x100927d0
push 0
push 0
call fcn.10074506
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x1009328d
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x10093760
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x10093776
xor eax, eax
jmp 0x100938b5
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100495e0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10049f60
push eax
lea ecx, [ebp - 8]
call fcn.100496b0
movzx eax, al
test eax, eax
je 0x100937f9
lea ecx, [ebp - 0x18]
call fcn.10048720
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10049520
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x100938b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10049670
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x100938a9
cmp dword [ebp - 0x20], 0x12c
jbe 0x100938a9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100938a9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100d7230]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x100938b2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100940fd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1009410c
cmp dword [ebp + 0x10], 0
jg 0x10094114
mov eax, dword [ebp + 8]
jmp 0x10094297
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x1009425d
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1009411d
cmp dword [ebp + 0x10], 0
je 0x10094291
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cb128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x10094263
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret