joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e0b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e263
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e244
mov dl, 1
mov eax, dword [0x412080]
call fcn.00403808
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040464c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e233
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00440fe8
test al, al
je 0x44e226
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44e274
lea eax, [ebp - 0x254]
call fcn.004090d0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e226
xor eax, eax
push ebp
push 0x44e21f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44e2ac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e208
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44e208
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e226
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e129
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415d60
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e26a
lea eax, [ebp - 0x260]
call fcn.0040464c
ret

Function at 0x44ebdc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45957c]
cmp byte [eax + 0xad], 0
jne 0x44ec4d
cmp dword [0x459594], 0
jne 0x44ec0e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44eb98
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x459594], eax
cmp dword [0x459590], 0
jne 0x44ec29
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x459590], eax
cmp dword [0x459598], 0
jne 0x44ec4d
push esp
push 0
push 0
push 0x44eb3c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x459598], eax
pop edx
ret
Function at 0x44ee20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44ee37
add esp, 0xfffffff0
call fcn.00403b44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419e60
mov eax, dword [0x4558ac]
cmp word [eax + 2], 0
jne 0x44ee5f
mov eax, dword [0x4558ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004508d0
mov eax, dword [0x45594c]
cmp word [eax + 2], 0
jne 0x44ee79
mov eax, dword [0x45594c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450adc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.00403808
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.00403808
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411c5c]
call fcn.00403808
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e130]
call fcn.00423f78
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44f030
mov eax, dword [0x4557dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042434c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45119c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4557dc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c7e0
test eax, eax
je 0x44ef80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c814
test eax, eax
je 0x44ef94
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
mov byte [ebx + 0xd4], 0
push ebx
push 0x450430
call fcn.0041afdc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4556e8]
cmp byte [eax], 0
jne 0x44efe5
mov eax, ebx
call fcn.0044f174
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00451378
mov eax, ebx
call fcn.00451ed8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f025
call fcn.00403b9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f3f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45957c]
cmp dword [eax + 0x30], 0
je 0x44f49e
cmp dword [ebx + 0x94], 0
jne 0x44f498
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f384
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f498
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f45e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f498
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414008
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f46d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4501b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4501ed
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040473c
jmp 0x4501fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45155c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4515ca
mov eax, esi
call fcn.0043bea4
test al, al
je 0x4515ca
mov eax, dword [ebx + 0x84]
call fcn.0043bba8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4515ca
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4515be
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bba8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004340b8
jmp 0x4515ca
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00451398
pop esi
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10002580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10002632
cmp dword [esi + 0xc], 0
je 0x10002632
lea ecx, [ebp - 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ecx
push 0x40
push dword [esi + 0x18]
push eax
call edi
mov eax, dword [esi + 0x14]
cmp byte [eax], 0xe9
jne 0x1000261e
push eax
mov eax, 0xe2e2e2e2
or eax, ecx
or eax, edi
pop eax
push dword [esi + 0x18]
push 0x90
push dword [esi + 0x14]
call fcn.1000d7f0
mov eax, dword [esi + 0x10]
add esp, 0xc
push dword [esi + 0x18]
test eax, eax
jne 0x100025e9
push dword [esi + 0xc]
jmp 0x100025ea
push eax
push dword [esi + 0x14]
call fcn.1000dc70
add esp, 0xc
call fcn.1000d7c4
test eax, eax
jge 0x10002601
push 1
pop eax
cmp eax, 0xffffffff
jge 0x1000260b
call fcn.10004ba9
push dword [esi + 0x18]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi + 0x18]
push dword [esi + 0x14]
call edi
mov al, 1
pop edi
jmp 0x10002634
xor al, al
pop esi
leave
ret

Function at 0x10002637
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x1000271b
cmp dword [ebp + 0xc], 0
je 0x1000271b
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], edx
add ecx, esi
push ebp
sbb ebp, edx
sbb ebp, edx
add ebp, edx
sbb ebp, edx
nop
pop ebp
mov ebx, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
and dword [ebp + 8], 0
add ebx, esi
add eax, esi
test edx, edx
mov dword [ebp - 0xc], eax
jbe 0x1000271b
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edi, esi
and byte [ebp - 0x1c], 0
and byte [ebp - 0x10], 0
add edi, dword [eax]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x28], 0x4b
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0x11], 0x41
call fcn.10001084
pop ecx
pop ecx
push dword [ebp + 0xc]
push edi
call eax
test eax, eax
je 0x10002722
inc dword [ebp + 8]
add dword [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jb 0x10002690
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push eax
sbb eax, esi
sbb eax, esp
mov eax, 0x4e4e4e4e
or eax, ebp
pop eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ebx + eax*2]
lea eax, [ecx + eax*4]
jmp 0x1000271d
Function at 0x10002bd9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x100180c4
call fcn.1000dc34
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [0x100210d4]
jne 0x10002d64
xor ebx, ebx
cmp byte [0x100210b4], bl
je 0x10002d64
call fcn.1000d7c4
cmp eax, 0xffffffff
jne 0x10002c1d
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x10002ce7
cmp dword [0x1002198c], ebx
jne 0x10002d5f
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x68
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x30], 0x4b
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0x2e
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x6c
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], bl
push eax
mov eax, 0xc8c8c8c8
sbb eax, eax
add eax, eax
or eax, ecx
pop eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10002820
pop ecx
cmp eax, ebx
pop ecx
je 0x10002d5f
push 0x10021990
push ebx
push ebx
push 0x10006c0d
push ebx
push ebx
call eax
cmp eax, ebx
mov dword [0x1002198c], eax
je 0x10002d5f
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x10002d5f
cmp eax, 0xfffffffe
jne 0x10002d43
cmp dword [0x1002198c], ebx
je 0x10002d5f
push ebx
push ebx
push 0x7ebc
mov dword [ebp - 4], ebx
push dword [0x10021990]
call fcn.100057a0
add esp, 0x10
push esi
mov esi, 0x3a3a3a3a
mov esi, 0x3f3f3f3f
or esi, ebp
pop esi
mov esi, dword [0x1002198c]
push 0xfa0
push esi
mov dword [0x1002198c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002d5f
cmp eax, 0xfffffffd
jne 0x10002d54
cmp byte [0x10021ead], bl
je 0x10002d5f
push 2
jmp 0x10002d61
cmp eax, 1
sete al
mov byte [0x100210ac], al
push 1
pop eax
jmp 0x10002d67
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x100037a2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
push edi
jne 0x100037b8
mov eax, esi
mov esi, ebx
mov ebx, eax
mov edi, esi
sub edi, ebx
je 0x100037dc
push edx
mov edx, 0xf6f6f6f6
mov edx, 0xfbfbfbfb
mov edx, 0x1010101
pop edx
push ebx
push esi
call fcn.10003768
pop ecx
mov esi, eax
pop ecx
mov ebx, edi
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, esi
imul edi, ebx
test edi, edi
je 0x10003801
add esi, ebx
push ebx
push esi
call fcn.100037a2
pop ecx
mov esi, eax
mov ebx, edi
pop ecx
imul edi, esi
jmp 0x100037e9
mov eax, esi
sub eax, ebx
je 0x10003813
push 0
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add esi, 2
test esi, esi
je 0x1000382d
push eax
sbb eax, edx
xor eax, edx
mov eax, 0x57575757
add eax, edx
sbb eax, esi
sbb eax, edx
pop eax
mov ebx, esi
push 1
pop esi
cmp ebx, esi
jl 0x10003889
push esi
push 0
call fcn.100034f1
pop ecx
test eax, eax
pop ecx
je 0x1000387e
test esi, esi
mov dword [esi*4 + 0x1001ed50], esi
jne 0x1000387e
push 1
pop edi
cmp edi, dword [0x1001ed54]
je 0x10003862
push 0
push 0
call dword [sym.imp.USER32.dll_SetCursorPos]
push ecx
mov ecx, 0x9b9b9b9b
add ecx, edx
sbb ecx, esi
sbb ecx, edx
add ecx, esi
sbb ecx, edx
pop ecx
inc edi
cmp edi, ebx
jle 0x10003850
inc dword [0x1001ed50]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
inc esi
cmp esi, ebx
jle 0x10003834
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x10003fca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x100210d4]
cmp eax, ecx
jne 0x10004062
xor ebx, ebx
cmp byte [0x100210b4], bl
je 0x10004062
cmp ecx, ebx
mov dword [ebp - 4], ebx
jne 0x10003ffd
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push 0x11
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov esi, dword [ebp + 0xc]
mov dword [esi], eax
cmp dword [0x100210d4], ebx
jne 0x10004023
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 4]
push eax
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp byte [0x100210b6], bl
je 0x10004039
xor edi, edi
xor eax, eax
cmp edi, ebx
jle 0x10004053
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov cl, byte [eax + ecx]
xor cl, 0x6f
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jl 0x1000403f
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push 1
pop eax
pop edi
pop esi
jmp 0x10004064
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x10005637
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 0xf], 0
and byte [ebp - 2], 0
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x57
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x48
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0x45
mov byte [ebp - 0x11], 0x78
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
push ebp
add ebp, edx
sbb ebp, esp
sbb ebp, esi
add ebp, eax
sbb ebp, edx
sbb ebp, esp
pop ebp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10002820
pop ecx
test eax, eax
pop ecx
jne 0x100056d4
leave
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
leave
ret

Function at 0x100056e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x1000579b
and byte [ebp - 0xd], 0
and byte [ebp - 2], 0
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x6b
mov byte [ebp - 0x1a], 0x57
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x77
mov byte [ebp - 0x14], 0x73
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x45
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
push esi
add esi, esp
add esi, edx
xor esi, eax
add esi, esi
mov esi, 0xd0d0d0d0
pop esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10002820
pop ecx
test eax, eax
pop ecx
jne 0x10005794
leave
ret
push dword [ebp + 8]
call eax
leave
ret
push 1
pop eax
leave
ret