joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8b905d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.008b9106
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x8b90a5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00811a26
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0080d80e
jmp 0x8b90b0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0081fb1d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x8bc393
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
test byte [edi + 4], 1
mov esi, dword [edi + 0xc]
jne 0x8bc3e9
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x8bc3c2
call fcn.00812411
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x8bc3d7
call fcn.00812411
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x8bc3e9
call fcn.00812411
call fcn.0081579a
cmp dword [eax + 0x3c], 0
je 0x8bc3fe
push esi
mov ecx, ebx
call fcn.008bbaaf
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.008bc5e8
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x8bc427
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x8bc433
mov esi, ebx
mov dword [eax + 0x88], ebx
or dword [edi + 4], 1
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x8c0cf5
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x9c9000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.00949c60
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00950c98
push eax
call fcn.007fd480
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x98a510]
je 0x8c0e56
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x8c0e6a
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x8c0e6a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
je 0x8c0db1
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x8c0da5
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.008c0aa6
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x8c0dac
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x8c0db3
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.008c0fac
test eax, eax
je 0x8c0ddf
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.008c092d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x8c0de4
mov dword [esi], edi
mov dword [esi + 4], edi
lea eax, [ebp - 0x40]
push eax
call fcn.008c0fac
test eax, eax
je 0x8c0e0c
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.008c092d
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
jmp 0x8c0e12
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea eax, [ebp - 0x48]
push eax
call fcn.008c0fac
test eax, eax
je 0x8c0e34
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.008c092d
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x8c0e36
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x8c0e48
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x8c0e56
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00947c3a
leave
ret 4
xor eax, eax
jmp 0x8c0e59
Function at 0x8cf110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x8cf13d
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x8cf152
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x8cf152
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00817d47
jmp 0x8cf223
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00817d47
cmp eax, edi
jne 0x8cf22d
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x8cf1bf
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x8cf203
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x8cf22d
cmp eax, 0x205
je 0x8cf22d
cmp eax, 0x201
je 0x8cf22d
cmp eax, 0x204
je 0x8cf22d
cmp eax, 0x100
jne 0x8cf1eb
cmp dword [ebp - 0x18], 0x1b
je 0x8cf22d
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x8cf223
ja 0x8cf21c
cmp eax, dword [0x9d1404]
jbe 0x8cf223
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x8cf174
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x8d0226
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x8d025c
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.007fe9ef
test eax, eax
je 0x8d0244
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x8d7777
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x9c8828], 0
push esi
push edi
je 0x8d77ff
cmp dword [0x9c8948], 0xfffffffe
jne 0x8d77eb
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x8d77ff
mov edi, 0x9d1434
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x9d144c], 0
jne 0x8d7803
push 0
push 0
push 0x8d7809
call fcn.00950ea4
add esp, 0xc
mov dword [0x9d144c], eax
test eax, eax
je 0x8d77db
cmp eax, 0xffffffff
je 0x8d77db
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x9c8948], esi
jmp 0x8d77e2
and dword [0x9d144c], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x8d77ff
mov eax, dword [ebp + 8]
mov dword [0x9c8948], eax
cmp eax, 0xffffffff
jne 0x8d77ff
and dword [0x9d144c], 0
pop edi
pop esi
pop ebp
ret
call fcn.0081130b
int3
Function at 0x8df1b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x8df33f
je 0x8df366
sub eax, 0xa1
je 0x8df366
sub eax, 1
je 0x8df366
dec eax
sub eax, 1
je 0x8df366
sub eax, 1
je 0x8df366
dec eax
sub eax, 1
je 0x8df366
sub eax, 1
je 0x8df366
sub eax, 0x58
jne 0x8df3a4
cmp dword [edi + 0xc0], 0xffffffff
je 0x8df366
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x8df366
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x8df294
sub eax, 1
jne 0x8df366
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x8df283
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
test eax, eax
jne 0x8df2e0
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x8df259
jmp 0x8df3be
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x8df3be
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
test eax, eax
jne 0x8df2e0
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x8df2ab
jmp 0x8df3be
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0081d5ca
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x9769a4]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x8df3be
sub eax, 0x200
je 0x8df366
sub eax, 1
je 0x8df366
sub eax, 1
je 0x8df366
dec eax
sub eax, 1
je 0x8df366
sub eax, 1
je 0x8df366
dec eax
sub eax, 1
je 0x8df366
sub eax, 1
jne 0x8df3a4
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x8df385
cmp dword [eax + 0x20], ebx
je 0x8df385
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x8df3a4
cmp dword [eax + 0x20], ebx
je 0x8df3a4
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x8df3c3
lea eax, [edi + 0x2250]
test eax, eax
je 0x8df3ba
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x8df3c3
xor eax, eax
inc eax
jmp 0x8df3cb
push esi
mov ecx, edi
call fcn.0086e873
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x90a443
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x966395
call fcn.00947fb1
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x90a52a
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x90a52a
cmp esi, 0x43
je 0x90a485
cmp esi, 0x2d
jne 0x90a52a
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x90a52a
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.007fd390
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.007fddf0
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x90a518
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x90a518
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.007fda30
push ebx
mov ecx, edi
call fcn.008153ac
call fcn.00947f7f
ret 4
Function at 0x90db29
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x9719b1
call fcn.00947fe4
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x90dcba
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x90dc8c
sub eax, 1
je 0x90dba8
sub eax, 1
je 0x90db80
sub eax, 1
je 0x90dba8
push 0x976df8
mov ecx, edi
call fcn.007feb39
mov eax, edi
call fcn.00947f93
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x90db6a
lea eax, [ebp - 0x4e8]
push eax
jmp 0x90db6f
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x90db6a
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.008c0e6e
test eax, eax
je 0x90db6a
lea ecx, [ebp - 0x700]
call fcn.007fd390
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x90dc42
test byte [ebp - 0x428], 0x18
jne 0x90dc64
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x9769a4]
mov ecx, ebx
call esi
jmp 0x90dc64
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x9769a4]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.007ff331
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.007fda30
jmp 0x90db76
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x90db6a
lea eax, [ebp - 0x6f0]
jmp 0x90dba5
call fcn.0081130b
int3

Function at 0x90de32
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0094327d
call fcn.008157ee
cmp dword [eax + 0x14], 0
jne 0x90de4d
mov ecx, esi
pop esi
jmp fcn.0090d13b
pop esi
ret

Function at 0x90df22
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00958894
pop ecx
test eax, eax
jne 0x90df64
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0080dad2
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x90df2a
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x9298af
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x9c9000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x929919
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x9298fe
lea eax, [ebp - 0x2ac]
push eax
jmp 0x929903
push 0x99ca50
call fcn.007feb39
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00947c3a
leave
ret 8
call fcn.0081130b
int3

Function at 0x929dfe
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.007fc8d0
call fcn.008157ee
cmp dword [eax + 0x14], 0
jne 0x929e19
mov ecx, esi
pop esi
jmp fcn.00929659
pop esi
ret

Function at 0x92d6c8
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x92d80e
mov ecx, 0x9c8c98
call fcn.0081e504
mov esi, eax
test esi, esi
je 0x92d803
xor eax, eax
cmp word [esi + 8], ax
jne 0x92d7cd
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x92d789
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x92d74f
push 0x99d89c
call fcn.0092d84c
pop ecx
test eax, eax
je 0x92d74f
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x92d76a
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x92d789
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x92d78f
push ebx
push edi
push eax
call fcn.00898171
add esp, 0xc
jmp 0x92d78f
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 2
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.00811670
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x92d808
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.0081ee27
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x92d7d0
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x92d7de
push edi
call fcn.0094fe94
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.007fd790
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0081130b
call fcn.00811325
int3
Function at 0x948a82
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x948ac1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x948ac1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x948ac1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x948ac1
cmp dword [ecx + 0x74], 0xe
jbe 0x948ac1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x95c1b7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x9a7a08
push 0x9a7a00
push str.FlsAlloc
push 0x1f
call fcn.0095c036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x95c1eb
push dword [ebp + 8]
mov ecx, esi
call dword [0x9769a4]
call esi
jmp 0x95c1f1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x95c235
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x9a7a18
push 0x9a7a10
push str.FlsGetValue
push 0x21
call fcn.0095c036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x95c26c
push dword [ebp + 8]
mov ecx, esi
call dword [0x9769a4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x95c274
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x9a7a20
push 0x9a7a18
push str.FlsSetValue
push 0x22
call fcn.0095c036
mov esi, eax
add esp, 0x10
test esi, esi
je 0x95c2ae
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x9769a4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x95f778
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x9c9000]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x95f7c3
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0095f913
test al, al
jne 0x95f7bd
sub edx, 2
cmp edx, edi
jne 0x95f7a3
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x95f7e5
lea eax, [edi + 2]
cmp edx, eax
je 0x95f7e5
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0095f6c4
add esp, 0x10
jmp 0x95f8df
push esi
lea ecx, [ebp - 0x255]
call fcn.0095f913
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x95f828
push dword [ebp - 0x25c]
jmp 0x95f7d5
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x95f865
cmp word [ebp - 0x226], 0
je 0x95f886
cmp word [ebp - 0x226], ax
jne 0x95f865
cmp word [ebp - 0x224], 0
je 0x95f886
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0095f6c4
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x95f8d2
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x95f83f
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x95f8ba
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x95f8df
push 0x95f4f4
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00964af0
add esp, 0x10
jmp 0x95f8af
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00947c3a
leave
ret

Function at 0x96039a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x9603ab
pop esi
ret
push ebx
push edi
push esi
call fcn.00960363
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0095aa51
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x9603d3
push ebx
push esi
push edi
call fcn.009496e0
add esp, 0xc
push 0
call fcn.0095aa17
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x9607a3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009603e8
Function at 0x965c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x965c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x965c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219