joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d6e6
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and dword [eax], 0
mov eax, dword [ebp - 8]
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 4
mov eax, dword [ebp - 4]
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 1
mov eax, dword [ebp - 4]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
and dword [eax + 0x10], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffff
jne 0x1000d745
call fcn.10007648
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1000d9c1
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 8], 0
jle 0x1000d9e8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jl 0x1000d9f9
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1000da51
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000da21
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
je 0x1000da21
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 8]
jl 0x1000da32
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1000da51
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0xc]
leave
ret 4
Function at 0x1000e2a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10066608]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000e2ed
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000e2eb
push str.SetDefaultDllDirectories
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x10066608], eax
jmp 0x1000e2f9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000e314
push 0x800
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x1000e39b
push 0x105
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000e338
cmp dword [ebp - 8], 0x105
jb 0x1000e33c
xor eax, eax
jmp 0x1000e39b
mov eax, dword [ebp - 8]
movzx eax, word [ebp + eax*2 - 0x21a]
cmp eax, 0x5c
je 0x1000e36e
push str.__b
push 0x105
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
test eax, eax
je 0x1000e36e
xor eax, eax
jmp 0x1000e39b
push dword [ebp + 8]
push 0x105
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.msvcrt.dll_wcscat_s]
add esp, 0xc
test eax, eax
je 0x1000e38e
xor eax, eax
jmp 0x1000e39b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret

Function at 0x100109d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.100241e2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100109f3
and dword [ebp - 0xc], 0
jmp 0x100109fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10010a17
push 0
push 0
push 0x401
mov eax, dword [ebp - 4]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x10010a49
cmp dword [ebp - 8], 0
je 0x10010a49
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jl 0x10010a49
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 0x1a0]
leave
ret 4
Function at 0x10015100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10015161
call fcn.10024159
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
push 0xf0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10015161
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10015155
xor eax, eax
jmp 0x10015172
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
push dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
call fcn.1000b4ab
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
leave
ret 4

Function at 0x10015ef4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x10015f09
and dword [ebp - 0x18], 0
jmp 0x10015f12
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10015f40
cmp dword [ebp - 4], 0
jne 0x10015f24
and dword [ebp - 0x1c], 0
jmp 0x10015f2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10015f40
cmp dword [ebp + 8], 0
jne 0x10015f47
xor eax, eax
jmp 0x10015fd7
and dword [ebp - 0x20], 0
and dword [ebp - 0x14], 0
and dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x10015fb2
call fcn.10024159
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], eax
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10015fb2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10015fa6
xor eax, eax
jmp 0x10015fd7
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.10030671
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10015fd4
mov ecx, dword [ebp - 4]
call fcn.10015d91
mov eax, dword [ebp - 0x24]
leave
ret 4
Function at 0x1001a103
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001a15c
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1001a12d
xor eax, eax
inc eax
jmp 0x1001a176
push str.RegDeleteKeyTransactedW
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001a15a
push 0
mov eax, dword [ebp - 4]
push dword [eax]
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0xc]
jmp 0x1001a176
jmp 0x1001a173
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1001a173
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1001a176
xor eax, eax
inc eax
leave
ret 8

Function at 0x1001bf7e
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, 0x126
push ebx
call fcn.1001c2a3
mov edx, eax
pop ecx
test edx, edx
jne 0x1001bf93
pop ebx
ret
push esi
push edi
mov edi, 0x10063610
xor esi, esi
sub edi, edx
mov eax, esi
lea ecx, [esi + edx]
and eax, 0xf
mov al, byte [eax + str._Dej_bu._P3J_b]
xor al, byte [edi + ecx]
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x1001bf9e
pop edi
pop esi
mov eax, edx
pop ebx
ret

Function at 0x1001c13a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, edx
push esi
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0x5a
push edi
mov edi, ebx
cmp ebx, eax
jae 0x1001c181
mov ecx, eax
xor edx, edx
mov eax, edi
push 0x5a
pop ebx
div ebx
mov ebx, dword [ebp + 8]
mov al, byte [edx + ebx]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
cmp al, byte [edi + edx]
je 0x1001c17d
inc edi
cmp edi, ecx
jb 0x1001c15c
jmp 0x1001c181
mov esi, edi
sub esi, ebx
test esi, esi
je 0x1001c1c4
lea eax, [esi + 1]
push eax
call fcn.1001c2a3
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
test ecx, ecx
jne 0x1001c19f
mov eax, 0x10065efa
jmp 0x1001c1cb
mov edi, ecx
mov ecx, dword [ebp - 4]
sub edi, ebx
xor edx, edx
mov eax, ebx
div dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
xor al, byte [ebx + ecx]
mov byte [edi + ebx], al
inc ebx
sub esi, 1
jne 0x1001c1a6
mov ecx, dword [ebp + 0x10]
jmp 0x1001c1c9
mov ecx, 0x10065efa
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001c1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, edx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov esi, ebx
cmp ebx, eax
jae 0x1001c213
mov ecx, eax
xor edx, edx
mov eax, esi
push 0x5a
pop ebx
div ebx
mov ebx, dword [ebp + 8]
mov al, byte [edx + ebx]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
cmp al, byte [esi + edx]
je 0x1001c20f
inc esi
cmp esi, ecx
jb 0x1001c1ee
jmp 0x1001c213
mov edi, esi
sub edi, ebx
lea eax, [edi*2 + 2]
push eax
call fcn.1001c2a3
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x1001c22e
mov eax, 0x100663d0
jmp 0x1001c25c
test edi, edi
je 0x1001c25a
push 0x5a
pop esi
xor edx, edx
mov eax, ebx
div esi
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
mov edx, dword [ebp - 4]
xor al, byte [ebx + edx]
mov edx, dword [ebp - 8]
movzx eax, al
mov word [ecx + edx*2], ax
inc edx
inc ebx
mov dword [ebp - 8], edx
cmp edx, edi
jb 0x1001c235
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001da78
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
inc eax
push eax
call fcn.1001c2a3
mov edx, eax
pop ecx
test edx, edx
je 0x1001daa9
xor ecx, ecx
cmp dword [esi], ecx
jbe 0x1001daa9
mov eax, ecx
and eax, 3
mov al, byte [eax + esi + 0x108]
xor al, byte [esi + ecx + 4]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi]
jb 0x1001da91
mov eax, edx
pop esi
ret
Function at 0x1001f157
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 0x1005be50
push ebx
call fcn.1001d0db
add esp, 0xc
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1001f28f
lea ecx, [ebp - 0x25c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001f282
lea ecx, [ebp - 0x230]
call fcn.1001f12f
test eax, eax
jne 0x1001f263
mov eax, dword [ebp - 0x25c]
test al, 0x10
jne 0x1001f207
xor esi, esi
push dword [esi + 0x100663f8]
lea eax, [ebp - 0x230]
push eax
mov eax, dword [0x1006406c]
call dword [eax + 0x18]
test eax, eax
je 0x1001f1f5
push dword [ebp + 0x14]
lea eax, [ebp - 0x25c]
push eax
push ebx
call fcn.10023443
add esp, 0xc
test eax, eax
je 0x1001f1fd
mov eax, dword [0x10064060]
push 1
call dword [eax + 0xbc]
add esi, 4
cmp esi, 4
jb 0x1001f1b8
mov eax, dword [ebp - 0x25c]
test al, 0x10
je 0x1001f263
push 0
lea eax, [ebp - 0x230]
push eax
push str.__b
push ebx
call fcn.1001d0db
mov esi, eax
add esp, 0x10
mov dword [ebp - 8], esi
test esi, esi
je 0x1001f263
mov ecx, dword [0x10064060]
push 1
call dword [ecx + 0xbc]
push 1
push 1
push 0
push dword [ebp + 0x14]
mov edx, 0x100663f8
mov ecx, esi
push fcn.10023443
push 5
push 1
call fcn.1001f157
add esp, 0x1c
lea eax, [ebp - 8]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
pop ecx
pop ecx
lea eax, [ebp - 0x25c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001f199
mov eax, dword [0x10064060]
push edi
call dword [eax + 0x7c]
lea eax, [ebp - 0xc]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001f360
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov eax, edx
xor edi, edi
push edi
push eax
mov dword [ebp - 4], eax
mov ebx, ecx
mov eax, dword [0x10064060]
push ebx
call dword [eax + 0x118]
test eax, eax
jne 0x1001f41f
push 0x208
lea eax, [ebp - 0x210]
push edi
push eax
call sub.msvcrt.dll_memset
push 0xc6b
call fcn.1001d42d
mov esi, eax
mov eax, dword [0x10064064]
push 0xf4240
add eax, 0x648
mov dword [ebp - 8], esi
push 1
push eax
call fcn.100393c6
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x210]
push esi
push 0x103
push eax
call fcn.1001d48c
lea eax, [ebp - 8]
push eax
call fcn.1001c274
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x210]
add esp, 0x34
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1001f40c
mov eax, dword [0x10064060]
push edi
push esi
push ebx
call dword [eax + 0x118]
test eax, eax
jne 0x1001f411
or edi, 0xffffffff
jmp 0x1001f42c
mov eax, dword [0x10064060]
push ebx
call dword [eax + 0x114]
jmp 0x1001f42c
mov ecx, dword [0x10064060]
push ebx
call dword [ecx + 0x114]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001f433
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
mov esi, ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, 0x200
lea eax, [ebp - 0x244]
push edi
push 0
push eax
call fcn.1001c3ee
push edi
lea eax, [ebp - 0x244]
push eax
push esi
call fcn.1001e901
mov eax, dword [0x10064060]
add esp, 0x18
push esi
call dword [eax + 0x114]
test eax, eax
je 0x1001f486
xor eax, eax
inc eax
jmp 0x1001f4e7
mov eax, dword [0x10064064]
push 0xffffffffffffffff
add eax, 0x648
push 0xf0000000
push eax
call fcn.100393c6
push eax
push 0x1005be58
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.1001d48c
push 0
lea eax, [ebp - 0x44]
push eax
push 0x1005be44
push esi
call fcn.1001d0db
add esp, 0x2c
mov dword [ebp - 4], eax
test eax, eax
je 0x1001f4e5
mov edx, eax
mov ecx, esi
call fcn.1001f360
mov esi, eax
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.1001c2b9
pop ecx
pop ecx
test esi, esi
jns 0x1001f481
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10021724
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not esi
push edi
mov edi, ecx
test edx, edx
jne 0x10021738
xor eax, eax
jmp 0x1002176b
xor ecx, ecx
test edx, edx
je 0x10021767
movzx eax, byte [ecx + edi]
xor esi, eax
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x10050268]
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x10050268]
inc ecx
cmp ecx, edx
jb 0x1002173e
not esi
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x1002185f
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 8]
push eax
push 0x10043d40
push 1
push edi
push 0x10043d30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100218f3
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 8]
lea esi, [ebp - 4]
push esi
push edi
push edi
mov edx, dword [ecx]
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
js 0x100218f3
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100218f3
push 8
call fcn.1001c2a3
pop ecx
test eax, eax
je 0x100218f3
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x1002190f
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x10021900
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1002190d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100222e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebx + edi + 0x78]
test eax, eax
je 0x1002235a
lea ecx, [eax + edi]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x14], eax
add edx, edi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
add eax, edi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1002235a
mov esi, dword [edx + eax*4]
add esi, edi
push 0
push esi
call fcn.10020662
pop ecx
mov edx, eax
mov ecx, esi
call fcn.10021724
xor eax, 0x218fe95b
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop ecx
je 0x10022361
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0xc]
jb 0x10022329
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebx + edi + 0x78]
add ecx, edi
mov esi, dword [esi + eax*4]
add esi, edi
cmp esi, ecx
jb 0x100223ce
mov eax, dword [ebx + edi + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x100223ce
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, 0x2e
je 0x1002239c
test cl, cl
je 0x1002239c
mov byte [ebp + eax - 0x58], cl
inc eax
cmp eax, 0x40
jb 0x10022386
cmp byte [eax + esi], 0
mov dword [ebp + eax - 0x58], 0x6c6c642e
mov byte [ebp + eax - 0x54], 0
je 0x100223b2
inc esi
add esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1002235a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002235a
jmp 0x1002235c
mov eax, esi
jmp 0x1002235c

Function at 0x100223d2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x10022427
mov edx, dword [eax + esi + 0x20]
xor edi, edi
mov ebx, dword [eax + esi + 0x24]
add edx, esi
mov ecx, dword [eax + esi + 0x1c]
add ebx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x10022427
mov edx, dword [edx + edi*4]
mov ecx, dword [ebp + 0xc]
add edx, esi
call fcn.1001d6de
test eax, eax
je 0x1002242e
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 8]
jb 0x1002240d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx eax, word [ebx + edi*2]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x10022429
Function at 0x100236dc
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10019929
test eax, eax
je 0x100236f9
mov dword [ebp - 0x14], 1
jmp 0x100236fd
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002370e
call fcn.10007648
xor eax, eax
jne 0x100236e2
mov dword [ebp - 0x10], 0x811c9dc5
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov ax, word [eax]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x1002372c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
push 0xa
pop ecx
div ecx
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1002376b
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jae 0x1002378b
imul eax, dword [ebp - 0x10], 0x1000193
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
movzx ecx, word [edx + ecx*2]
xor eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x10023762
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x10028346
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
cmp dword [ebp + 8], 0
je 0x1002835e
mov dword [ebp - 0xc], 1
jmp 0x10028362
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10028373
call fcn.10007648
xor eax, eax
jne 0x1002834f
cmp dword [ebp + 0xc], 0
je 0x10028386
mov dword [ebp - 0x10], 1
jmp 0x1002838a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002839b
call fcn.10007648
xor eax, eax
jne 0x10028377
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov ax, word [eax]
mov word [ebp - 6], ax
add dword [ebp - 4], 2
cmp word [ebp - 6], 0
jne 0x100283ae
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x20]
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ax, word [0x10053348]
mov word [ebp - 0x224], ax
push 0x1fe
push 0
lea eax, [ebp - 0x222]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 0x14], 0x100
ja 0x1002842e
push 0x100
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, dword [ebp - 0x14]
jne 0x1002842e
push dword [ebp + 0xc]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1002843a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
leave
ret 8