joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002acee
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
mov ebx, 0x10044d68
push esi
mov esi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0xc], 0
je 0x1002ad32
cmp dword [0x10044d60], 0
jne 0x1002ad4e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x1002ad5a
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [esi], eax
je 0x1002ad4e
mov dword [0x10044d60], esi
jmp 0x1002ad4e
cmp esi, dword [0x10044d60]
jne 0x1002ad4e
mov esi, dword [esi]
test esi, esi
je 0x1002ad47
push esi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and dword [0x10044d60], 0
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 4

Function at 0x1002b9de
Capabilities:
Get graphical window text

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
ret

Function at 0x1002b9f1
Capabilities:
Get graphical window text

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
Function at 0x10030ce9
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x118], ebx
jne 0x10030f0a
cmp dword [esi + 0x90], ebx
je 0x10030f0a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10020792
pop ecx
test eax, eax
pop ecx
jne 0x10030d2a
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov ecx, dword [0x10044ee8]
mov eax, ecx
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or al, 1
cmp ecx, ebx
je 0x10030d57
mov edx, dword [0x10044ef8]
mov ecx, 0x100
neg edx
sbb edx, edx
and edx, ecx
add edx, ecx
or eax, edx
mov edx, dword [0x10044ef4]
mov edi, dword [0x10044eec]
neg edx
sbb edx, edx
mov ecx, 0x1000
and edx, ecx
add edx, ecx
mov ecx, 0x10000
neg edi
sbb edi, edi
and edi, ecx
add edi, ecx
or edx, edi
or eax, edx
push eax
xor eax, eax
cmp dword [0x10044ef0], ebx
setne al
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0x3ff
push eax
movzx eax, word [esi + 0x98]
push dword [esi + 0xd8]
push eax
mov eax, dword [ebp - 0x10]
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
mov eax, dword [ebp - 0xc]
movzx ecx, ax
shr eax, 0x10
push ecx
push eax
push 0x3f
push dword [esi + 0x90]
call fcn.10013bf5
neg eax
sbb al, al
pop ecx
and al, 0xe7
pop ecx
add al, 0x3f
movsx eax, al
push eax
lea eax, [ebp - 0xdc]
push str._cv_d._d._d._de_xr_dl_xc_d1f_0.8x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x30
cmp eax, ebx
je 0x10030e06
push eax
call edi
mov ebx, eax
add ebx, 0xf
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x10030e1b
push eax
call edi
add eax, 0xf
mov dword [ebp - 8], eax
jmp 0x10030e1f
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x78]
push 0x64
push eax
call fcn.100309a5
pop ecx
test eax, eax
pop ecx
je 0x10030e46
cmp byte [ebp - 0x78], 0
je 0x10030e46
lea eax, [ebp - 0x78]
push eax
call edi
add eax, 0xa
mov dword [ebp - 4], eax
push dword [esi + 0x90]
call edi
mov edx, eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x14], edx
call edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add ecx, edx
add eax, ecx
add eax, dword [ebp - 8]
lea eax, [eax + ebx + 1]
push eax
call fcn.1001ad44
test eax, eax
pop ecx
mov dword [esi + 0x118], eax
je 0x10030f0a
push dword [esi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xdc]
push eax
push dword [esi + 0x118]
call edi
xor ebx, ebx
cmp dword [esi + 0x94], ebx
je 0x10030ec9
push 0x10043414
push dword [esi + 0x118]
call edi
push dword [esi + 0x94]
push dword [esi + 0x118]
call edi
cmp dword [esi + 0xd0], ebx
je 0x10030eec
push 0x10043410
push dword [esi + 0x118]
call edi
push dword [esi + 0xd0]
push dword [esi + 0x118]
call edi
cmp dword [ebp - 4], ebx
jle 0x10030f0a
push str.ac
push dword [esi + 0x118]
call edi
lea eax, [ebp - 0x78]
push eax
push dword [esi + 0x118]
call edi
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x10030f1a
mov eax, dword [esi + 0x90]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10031dfa
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov esi, ecx
je 0x10031e3b
lea eax, [ebp - 0x68]
push 0x64
push eax
push dword [ebp + 8]
call fcn.100205a5
add esp, 0xc
test eax, eax
je 0x10031f0f
lea eax, [ebp - 0x68]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x68]
jmp 0x10031e41
mov dword [ebp + 8], ebx
lea edi, [ebp - 0x68]
push dword [ebp + 8]
mov byte [edi], 0x31
mov byte [edi + 1], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x10031f0f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
mov byte [edi], 0x34
push 4
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x10031e93
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov byte [edi], 0x32
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push dword [ebp + 8]
mov dword [esi + 8], eax
mov byte [edi], 0x33
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp dword [esi + 0x14], ebx
mov dword [esi + 0xc], eax
mov dword [ebp - 4], ebx
je 0x10031ef9
cmp dword [esi + 8], ebx
je 0x10031ef9
cmp eax, ebx
je 0x10031ef9
push ebx
mov byte [edi], 0x30
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, ebx
mov dword [esi], eax
je 0x10031ef9
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov dword [ebp - 4], ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi]
cmp eax, ebx
jne 0x10031f13
mov ecx, esi
call fcn.10031f3a
xor eax, eax
jmp 0x10031f33
cmp dword [ebp - 4], ebx
je 0x10031f27
mov eax, dword [esi + 0x14]
mov dword [eax], ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x10031f30
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100321a2
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
je 0x10032263
cmp dword [esi + 0xc], edi
je 0x10032263
cmp dword [esi + 0x14], edi
je 0x10032263
cmp dword [esi + 8], edi
je 0x10032263
cmp dword [esi + 0x10], edi
je 0x10032263
push ebx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
cmp eax, edi
lea ecx, [eax + 1]
mov dword [esi + 0x34], ecx
jne 0x10032251
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0x38], eax
mov eax, dword [esi]
call dword [eax]
test eax, eax
je 0x10032249
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x10032363
push edi
push edi
call fcn.1001423e
add esp, 0x18
cmp eax, edi
mov dword [esi + 4], eax
jne 0x10032236
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x10032249
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [esi + 4], edi
jne 0x10032251
mov dword [esi + 0x34], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
cmp dword [esi + 4], edi
pop ebx
setne al
jmp 0x10032265
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x10032a03
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push esi
push edi
mov edi, ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [edi + 0x20]
mov dword [ebp - 0xc], eax
test esi, esi
je 0x10032ace
cmp eax, 0xff
jg 0x10032ace
test eax, eax
jle 0x10032ace
push ebx
lea ecx, [edi + 0x28]
push 0xffffffffffffffff
call fcn.10031fbd
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp ebx, 0xc
mov dword [ebp - 8], eax
jb 0x10032aa8
cmp eax, 0xc
jb 0x10032aa8
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
jbe 0x10032aa8
cmp ecx, eax
jbe 0x10032aa8
cmp ebx, eax
je 0x10032aa8
lea eax, [ebp - 8]
mov ecx, edi
push eax
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.10032ad7
test eax, eax
je 0x10032aa8
mov eax, dword [ebp - 8]
cmp ebx, eax
jne 0x10032a9c
push dword [edi + 0x10]
mov ebx, dword [esi]
push 0
push dword [edi + 0x20]
call fcn.10013fcd
add esp, 0xc
inc ebx
mov dword [esi], ebx
jmp 0x10032aa1
inc dword [esi]
mov dword [esi + 8], eax
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
call fcn.10031ffe
cmp dword [ebp - 4], 0
pop ebx
je 0x10032ace
mov edi, dword [edi + 0x14]
test edi, edi
je 0x10032ace
push 1
push 0xd
push 0x100
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4

Function at 0x10032bfd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
test edi, edi
je 0x10032c50
push ebx
lea ebx, [esi + 0x28]
push ebp
push 0xffffffffffffffff
mov ecx, ebx
call fcn.10031fbd
push dword [esi + 0x10]
mov ebp, dword [edi]
push 0
push dword [esi + 0x20]
call fcn.10013fcd
add esp, 0xc
inc ebp
mov ecx, ebx
mov dword [edi], ebp
call fcn.10031ffe
mov esi, dword [esi + 0x14]
pop ebp
test esi, esi
pop ebx
je 0x10032c4b
push 1
push 0xd
push 0x100
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
pop eax
jmp 0x10032c52
xor eax, eax
pop edi
pop esi
ret
Function at 0x10033a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
call fcn.10034737
test eax, eax
je 0x10033bc2
mov eax, dword [esi + 0x50]
test al, 2
jne 0x10033a85
mov ecx, esi
call fcn.10034a39
mov ecx, dword [esi + 0x50]
mov edx, ecx
xor edx, eax
and edx, 1
xor edx, ecx
mov dword [esi + 0x50], edx
jmp 0x10033a8c
and al, 0xfd
or al, 1
mov dword [esi + 0x50], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x10033bb5
test byte [esi + 0x50], 0x20
je 0x10033bb5
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1003458e
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
sub eax, dword [0x10044f20]
push dword [ebp + 0xc]
sub eax, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x10033adf
mov ecx, esi
call fcn.100345d1
test eax, eax
jne 0x10033bb5
mov eax, dword [esi + 0x50]
push edi
and ah, 0xfd
or al, 4
push ebx
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.100346bc
mov ecx, esi
call fcn.10034b8c
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov dword [ebp - 0x10], ebx
call fcn.100343df
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi]
push dword [esi + 0x40]
mov ecx, esi
call dword [eax + 0x1c]
test byte [esi + 0x50], 0x40
je 0x10033b42
push 0x40
pop edi
jmp 0x10033b50
mov eax, dword [ebp - 8]
xor edi, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x20]
mov eax, dword [esi]
push ecx
or di, 0x182
push dword [esi + 0x44]
mov ecx, esi
push dword [ebp - 4]
push dword [ebp - 0x10]
push edi
push dword [esi + 0x40]
call dword [eax + 0x74]
mov edi, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
cmp di, bx
je 0x10033ba5
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and ax, 0x8000
mov ecx, esi
neg ax
sbb eax, eax
and eax, 5
push eax
movzx eax, di
push eax
call fcn.10034f31
mov eax, dword [esi + 0x50]
pop edi
test ah, 2
jne 0x10033bb9
and al, 0xfb
mov dword [esi + 0x50], eax
jmp 0x10033bb9
or dword [esi + 0x50], 8
push ebx
mov ecx, esi
call fcn.100346bc
pop ebx
pop esi
leave
ret 0xc
Function at 0x10033bc7
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test al, 1
je 0x10033c43
shl eax, 0x1c
sar eax, 0x1f
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [esi + 0x50], 0xfffffffe
mov eax, dword [esi + 0x50]
test edi, edi
pop edi
je 0x10033c3a
and al, 0xf7
cmp dword [esi + 0x48], 2
mov dword [esi + 0x50], eax
jne 0x10033c0b
mov ecx, eax
and al, 0xef
not ecx
shr ecx, 4
and ecx, 1
shl ecx, 4
or ecx, eax
mov dword [esi + 0x50], ecx
mov ecx, esi
call fcn.100345d1
test eax, eax
je 0x10033c3a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
and ax, 0x8000
mov ecx, esi
neg ax
sbb eax, eax
and eax, 5
push eax
call fcn.100345d1
push eax
mov ecx, esi
call fcn.10034f31
push 0
mov ecx, esi
call fcn.100346bc
pop esi
ret 0xc

Function at 0x1003501a
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
xor edi, edi
cmp eax, edi
lea ecx, [eax + 1]
mov dword [esi + 0x18], ecx
jne 0x1003509e
push str.USER32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x10035090
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.AllowSetForegroundWindow
push eax
call edi
push str.EnumDisplayMonitors
mov dword [esi + 4], eax
push dword [esi + 0x14]
call edi
push str.MonitorFromWindow
mov dword [esi], eax
push dword [esi + 0x14]
call edi
push str.MonitorFromRect
mov dword [esi + 8], eax
push dword [esi + 0x14]
call edi
push str.GetMonitorInfoA
mov dword [esi + 0xc], eax
push dword [esi + 0x14]
call edi
mov dword [esi + 0x10], eax
jmp 0x1003509e
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret
Function at 0x1003785d
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
mov esi, ecx
je 0x100378c5
mov ecx, dword [esi + 0x18]
mov eax, ecx
test eax, eax
je 0x1003787d
cmp eax, ebp
je 0x100378d7
mov eax, dword [eax + 4]
jmp 0x10037870
test ecx, ecx
jne 0x100378ce
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0
push 0x10037962
push 2
call ebx
test eax, eax
mov dword [esi + 0x10], eax
je 0x100378b7
call edi
push eax
push 0
push 0x10037926
push 7
call ebx
test eax, eax
mov dword [esi + 0x14], eax
jne 0x100378ce
mov esi, dword [esi + 0x10]
test esi, esi
je 0x100378c5
push esi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esi + 0x18]
mov dword [ebp + 4], eax
mov dword [esi + 0x18], ebp
push 1
pop eax
jmp 0x100378c7
Function at 0x10038bd7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
jne 0x10038c9f
push str.ADVAPI32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [esi + 0x24], eax
je 0x10038c85
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptAcquireContextA
push eax
call edi
push str.CryptCreateHash
mov dword [esi], eax
push dword [esi + 0x24]
call edi
push str.CryptDestroyHash
mov dword [esi + 4], eax
push dword [esi + 0x24]
call edi
push str.CryptDestroyKey
mov dword [esi + 8], eax
push dword [esi + 0x24]
call edi
push str.CryptGetHashParam
mov dword [esi + 0xc], eax
push dword [esi + 0x24]
call edi
push str.CryptHashData
mov dword [esi + 0x10], eax
push dword [esi + 0x24]
call edi
push str.CryptImportKey
mov dword [esi + 0x14], eax
push dword [esi + 0x24]
call edi
push str.CryptReleaseContext
mov dword [esi + 0x18], eax
push dword [esi + 0x24]
call edi
push str.CryptVerifySignatureA
mov dword [esi + 0x1c], eax
push dword [esi + 0x24]
call edi
mov dword [esi + 0x20], eax
jmp 0x10038c9f
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
ret

Function at 0x10038f64
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0x80
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret
Function at 0x100390db
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea eax, [ebp - 0x10]
push esi
push eax
mov esi, 0x104
push dword [ebp + 0x10]
and dword [ebp - 0x10], 0
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jbe 0x1003910f
mov al, 1
jmp 0x1003920b
push esi
lea ecx, [ebp - 0xc]
call fcn.1003920e
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
push dword [ebp + 8]
call fcn.10038a92
lea ecx, [ebp - 0xc]
call fcn.10039233
cmp al, 0x5c
je 0x1003913e
push 0x10041064
lea ecx, [ebp - 0xc]
call fcn.10038b3f
mov esi, dword [ebp - 8]
test esi, esi
jne 0x10039149
xor eax, eax
jmp 0x10039150
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
push edi
lea edi, [eax + esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1004396c
push edi
call esi
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003917e
xor bl, bl
jmp 0x100391f8
and byte [ebp + 0xb], 0
test byte [ebp - 0x150], 0x10
je 0x100391d6
lea eax, [ebp - 0x124]
push 0x100429b8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100391d6
lea eax, [ebp - 0x124]
push 0x100429b4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100391d6
lea eax, [ebp - 0x124]
push eax
push edi
call esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.100390db
add esp, 0xc
test al, al
jne 0x100391ea
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x100391ee
jmp 0x10039182
mov byte [ebp + 0xb], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, byte [ebp + 0xb]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1003d504
call fcn.10038b24
mov al, bl
pop edi
pop ebx
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x354b2dd3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x57f5a4c
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x44b92d5f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x6e0a4c69
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219