joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003fd0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1000a380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10004176
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10004163
cmp dword [ebp - 0x28], 0x10
jb 0x10004147
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.10006403
cmp dword [ebp - 0x1c], eax
jne 0x10004147
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.10006403
cmp dword [ebp - 0x20], eax
je 0x10004147
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100040a7
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1000a474]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.10006403
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100040a2
jmp 0x10004163
jmp 0x10004127
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10004127
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1000a474]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.10006403
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x10004111
mov esi, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1000a474]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10006403
mov edx, dword [ebp + 8]
mov dword [edx], 0
jmp 0x10004163
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 0x28], 0x1c
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10004023
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10006403
push edx
mov ecx, ebp
push eax
lea edx, [0x100041a4]
call fcn.100063af
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005fd8
add esp, 0x30
cmp ebp, esp
call fcn.10006403
mov esp, ebp
pop ebp
ret
Function at 0x100041c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10003fd0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1000429b
mov dword [ebp - 8], 0
jmp 0x1000422a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 8]
jae 0x10004299
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10006403
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10004297
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.10006403
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.10003df0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10006403
jmp 0x10004221
jmp 0x100042a2
mov dword [ebp - 4], 9
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.10006403
mov esp, ebp
pop ebp
ret

Function at 0x100042c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 0
jmp 0x100042e7
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 8]
jae 0x10004342
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*4]
push eax
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.10006403
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10004340
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.10006403
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10006403
jmp 0x100042de
mov esi, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x1000a474]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.10006403
pop esi
add esp, 8
cmp ebp, esp
call fcn.10006403
mov esp, ebp
pop ebp
ret
Function at 0x10004370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x1000a800]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100043d3
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10006403
test eax, eax
jne 0x100043fe
mov eax, 0xa
jmp 0x10004500
cmp dword [ebp + 0xc], 0
je 0x1000444a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x10004448
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x10004486
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10004471
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x10004486
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.10006403
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.10006403
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.10006403
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10004524]
call fcn.100063af
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.10006403
mov esp, ebp
pop ebp
ret
Function at 0x10004bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1000a7fc]
mov dword [ebp - 4], eax
jmp 0x10004bf7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10004c10
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10004c0e
mov eax, dword [ebp - 4]
jmp 0x10004c94
jmp 0x10004bef
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.10006403
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10004c91
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x10004c53
mov edx, dword [ebp - 4]
mov eax, dword [0x1000a7fc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1000a7fc], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.10006403
mov esp, ebp
pop ebp
ret

Function at 0x10005180
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100051c9
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100051c9
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100051c9
xor eax, eax
jmp 0x1000520a
mov dword [ebp - 4], 1
jmp 0x100051db
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10005205
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10005203
xor eax, eax
jmp 0x1000520a
jmp 0x100051d2
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x50ac60ed
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x27060f7
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401020
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.Global_]
mov ecx, dword [0x40d1ec]
push esi
mov esi, dword [ebp + 8]
push 0xfc
lea edx, [ebp - 0x100]
push 0
push edx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
call fcn.004054e0
add esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
je 0x4010a2
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 7
lea ecx, [ecx]
mov al, byte [ebp + ecx - 0x108]
cmp al, 0x5c
je 0x40108f
cmp al, 0x3f
jne 0x401097
mov byte [ebp + ecx - 0x108], 0x48
inc ecx
cmp ecx, 0x104
jl 0x401080
jmp 0x4010af
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea edx, [ebp - 0x108]
push edx
push 0
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x128]
push eax
mov dword [ebp - 0x114], 0xc
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x110], ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
sub eax, 0x102
neg eax
sbb eax, eax
and eax, esi
xor ecx, ebp
pop esi
call fcn.004054c2
mov esp, ebp
pop ebp
ret 8
Function at 0x404db0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, esi
call fcn.00404900
mov eax, dword [0x43ff5c]
push 0x67
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 1
push 0x80
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3e9
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x3ea
push esi
call edi
push eax
call ebx
push 0
push 0x3eb
push esi
call edi
push eax
call ebx
push 0
push 0x3fb
push esi
call edi
push eax
call ebx
push 0
push 0x3fc
push esi
call edi
push eax
call ebx
push esi
call fcn.00401620
add esp, 4
cmp dword [0x440bf8], 0
jne 0x404eeb
push str.SKF_DEV.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x440bf8], eax
test eax, eax
je 0x404ef4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HD_RegisterCardNotification
push eax
call edi
mov dword [0x410e30], eax
test eax, eax
je 0x404eca
mov ecx, dword [0x440bf8]
push str.HD_UnregisterCardNotification
push ecx
call edi
mov dword [0x410e2c], eax
test eax, eax
je 0x404eca
mov edx, dword [0x440bf8]
push str.HD_IsHDDevice
push edx
call edi
mov dword [0x410e28], eax
test eax, eax
je 0x404eca
mov eax, dword [0x440bf8]
push str.HD_GetReaderList
push eax
call edi
mov dword [0x410de8], eax
test eax, eax
je 0x404eca
mov ecx, dword [0x440bf8]
push str.HD_DestroyReaderList
push ecx
call edi
mov dword [0x410de4], eax
test eax, eax
jne 0x404eeb
mov eax, dword [0x440bf8]
test eax, eax
je 0x404ef4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [0x440bf8], 0
xor eax, eax
pop ebx
pop ebp
ret
push 0
push esi
call dword [0x410e30]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4054c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4054cc
repz ret
jmp fcn.00405ed8
Function at 0x40b1dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406aff
and dword [ebp - 0x14], 0
cmp dword [0x441864], 0
mov dword [ebp - 0x18], eax
jne 0x40b28f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b337
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b337
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x441864], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x441868], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44186c], eax
call edi
push eax
call esi
mov dword [0x441874], eax
test eax, eax
je 0x40b28f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x441870], eax
mov eax, dword [0x441870]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b2e8
cmp dword [0x441874], ecx
je 0x40b2e8
push eax
call esi
push dword [0x441874]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b2e8
test ebx, ebx
je 0x40b2e8
call edi
test eax, eax
je 0x40b2df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b2df
test byte [ebp - 8], 1
jne 0x40b2e8
or dword [ebp + 0x10], 0x200000
jmp 0x40b31b
mov eax, dword [0x441868]
cmp eax, dword [ebp - 0x18]
je 0x40b31b
push eax
call esi
test eax, eax
je 0x40b31b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b31b
mov eax, dword [0x44186c]
cmp eax, dword [ebp - 0x18]
je 0x40b31b
push eax
call esi
test eax, eax
je 0x40b31b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x441864]
call esi
test eax, eax
je 0x40b337
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b339
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004054c2
leave
ret
Function at 0x4011f8
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2ec
mov eax, 0x40df1e
call fcn.0040dd97
mov eax, ecx
mov dword [ebp - 0x294], eax
push eax
lea ecx, [ebp - 0x2c8]
call fcn.004013d8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
push 0x413e04
mov edx, eax
call fcn.00401451
pop ecx
cmp dword [eax + 0x14], 7
jbe 0x40123a
mov eax, dword [eax]
lea ecx, [ebp - 0x290]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x2b0]
mov esi, eax
call fcn.004013b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.004013b2
cmp esi, 0xffffffff
je 0x4013ac
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x40]
call fcn.004013d8
push dword [ebp - 0x294]
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], 1
call fcn.004013d8
push 0x413e0c
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
call fcn.00401451
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0040159f
push eax
lea ecx, [ebp - 0x28]
call fcn.00401564
lea ecx, [ebp - 0x2e0]
call fcn.004013b2
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 6
call fcn.004013b2
mov edx, 0x413e10
lea ecx, [ebp - 0x40]
call fcn.0040148f
test al, al
je 0x40136f
mov edx, 0x413e14
lea ecx, [ebp - 0x40]
call fcn.0040148f
test al, al
je 0x40136f
inc edi
test byte [ebp - 0x290], 0x10
je 0x40132a
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
call fcn.004011f8
jmp 0x40133c
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc ebx
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push 0
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, dword [0x4144b8]
cvttss2si eax, xmm1
push eax
push 0x402
push dword [0x4173c0]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x28]
call fcn.004013b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004013b2
lea eax, [ebp - 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401271
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x294]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call fcn.0040dd55
ret