joyce8/EMBER2024-capa huggingface dataset:
Function at 0x76b15f92
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp dword [0x76b30d04], ebx
je 0x76b1697d
mov eax, dword [0x76b30d10]
pop ebx
leave
ret
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x76b1ab00
mov eax, dword [ebp - 0x28]
cmp eax, 4
jne 0x76b1ab1d
mov dword [0x76b30d10], esi
mov dword [0x76b30d04], esi
cmp dword [0x76b30d04], ebx
je 0x76b1aac6
pop edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [0x76b30d10]
pop esi
jmp 0x76b15fae
push esi
xor esi, esi
inc esi
push esi
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x76b1b0df
push 5
push 0x76b169cc
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x76b1ab12
cmp dword [0x76b30d04], ebx
mov dword [ebp - 4], ebx
jne 0x76b16805
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x76b167cb
mov eax, dword [ebp - 4]
imul eax, eax, 0x7d0
cmp eax, 0x1d4c0
jg 0x76b1ab07
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [0x76b30d04], ebx
je 0x76b167cb
jmp 0x76b16804
cmp eax, 2
je 0x76b167f8
jmp 0x76b1ab07
call edi
jmp 0x76b167f2
mov dword [0x76b30d04], esi
jmp 0x76b16804
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x76b1680e
cmp eax, 5
je 0x76b167ec
cmp eax, 6
je 0x76b167ec
cmp eax, 7
je 0x76b167ec
cmp eax, esi
jne 0x76b1aaf5
cmp dword [ebp - 0x20], 0x435
jne 0x76b1ab07
cmp dword [ebp - 4], ebx
jne 0x76b167f8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x76b1ab6c
call edi
cmp eax, 0x7a
jne 0x76b1b0fd
push dword [ebp - 0xc]
push ebx
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x76b1abb3
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x76b1b0ec
cmp dword [esi + 4], 2
jne 0x76b1b0ee
push esi
push ebx
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
inc esi
jmp 0x76b167f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x76b1681c
call edi
mov dword [0x76b30d04], 1
jmp 0x76b1aba5
call edi
jmp 0x76b1ab07
Function at 0x76b16528
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x76b165a9
cmp dword [ebp - 8], 1
jne 0x76b1cefc
push dword [ebp - 4]
push edi
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x76b1cef8
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x76b1cee3
cmp dword [ebp - 8], 1
jne 0x76b1cee0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
push 2
pop ebx
push dword [ebp - 0xc]
push edi
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x76b165a9
push 0xe
jmp 0x76b1cefe
push 2
pop ebx
jmp 0x76b165a9
Function at 0x76b17e94
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x76b1ca9d
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push ebx
call fcn.76b12ab0
test eax, eax
je 0x76b1caa4
cmp dword [ebp + 8], 0xffff
je 0x76b1caac
push esi
call fcn.76b14566
push dword [ebp + 8]
mov esi, 0x76b303a0
push esi
call fcn.76b17fc4
test eax, eax
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], eax
je 0x76b1cab5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
and dword [ebp + 0x10], 0
push 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push esi
call fcn.76b150db
test eax, eax
jne 0x76b17f29
mov eax, dword [ebp + 0x10]
push 0x76b304a0
add eax, 0xe8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x76b1cac0
call fcn.76b14f5c
push 1
push dword [ebp + 8]
call fcn.76b14f6f
test eax, eax
jne 0x76b1cae8
call fcn.76b14f4b
push dword [0x76b30398]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [ebp + 8], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, eax
je 0x76b17f70
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x76b17f70
test byte [eax + 0x4c], 4
jne 0x76b1cac8
test ebx, ebx
jne 0x76b1cad9
push dword [ebp + 0xc]
push dword [ebp - 4]
push 4
push dword [ebp + 8]
push dword [0x76b300ec]
push esi
call fcn.76b16162
push ebx
push dword [0x76b30398]
mov esi, eax
call edi
cmp dword [ebp + 0x10], 0
je 0x76b17fa8
push dword [ebp + 0x10]
call fcn.76b14fc9
cmp dword [ebp - 8], 0
je 0x76b17fb6
push dword [ebp - 8]
call fcn.76b17aca
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret 0xc
xor eax, eax
jmp 0x76b17fba
push 0xb
pop eax
jmp 0x76b17fb9
or dword [ebp + 8], 0xffffffff
jmp 0x76b17ec8
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], edi
jmp 0x76b17ef6
push 6
pop esi
jmp 0x76b17f9a
lea eax, [ebx + 1]
push eax
push dword [0x76b30398]
call edi
jmp 0x76b17f70
mov dword [0x76b30f98], 1
jmp 0x76b17f78
push dword [ebp + 0xc]
push dword [ebp - 4]
push 4
push dword [ebp + 8]
call fcn.76b15562
mov esi, eax
jmp 0x76b17f9a

Function at 0x76b184ea
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x76b1852d
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x76b1852d
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
pop esi
pop ebp
ret 0x18
Function at 0x76b1a8b3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x76b30340]
and dword [ebp - 0x210], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push 0x76b14d40
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ntdll.dll_wcslen]
mov ecx, 0x103
sub ecx, eax
push ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call dword [sym.imp.ntdll.dll_wcsncat]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.76b1a988
mov esi, eax
test esi, esi
je 0x76b1a96e
test ebx, ebx
lea eax, [ebp - 0x218]
je 0x76b1b16e
push ebx
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ntdll.dll_NtSetValueKey]
xor ecx, ecx
test eax, eax
setge cl
push esi
mov dword [ebp - 0x210], ecx
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0xc
push 0x76b14c90
jmp 0x76b1a934

Function at 0x76b1abc0
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x76b1ac28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x20], eax
jne 0x76b1ac20
lea eax, [ebp - 8]
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x76b1ac20
add ebx, 0x24
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x76b1ac20
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x76b1df41
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
push esi
push esi
push 1
push esi
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
cmp dword [ebp - 4], esi
jne 0x76b1df72
xor al, al
jmp 0x76b1dfa3
push 0x76b1dfc4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x76b1dfa8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x76b1df6e
push esi
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 4]
call eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtResumeThread]
mov al, 1
pop esi
leave
ret 4
Function at 0x76b1e56e
Capabilities:
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x76b30340]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x76b1e598
xor eax, eax
inc eax
jmp 0x76b1e65d
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
xor esi, esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x76b1e5c2
xor eax, eax
jmp 0x76b1e65c
push esi
push esi
push 3
push esi
push 1
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x76b1e5bb
push edi
push 0x1000000
push 2
push esi
push esi
push 0xf001f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jl 0x76b1e653
push 2
push esi
push 1
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x210]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
jl 0x76b1e647
push dword [ebp - 0x214]
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ntdll.dll_NtClose]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.76b128c0
leave
ret 4
Function at 0x76b23595
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call fcn.76b14a36
test eax, eax
jne 0x76b235ae
mov eax, 0x115
jmp 0x76b23644
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
call ebx
test eax, eax
jne 0x76b235c6
mov eax, 0x133
jmp 0x76b23643
inc eax
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [eax + eax + 0x18]
push eax
call fcn.76b2b29d
mov esi, eax
test esi, esi
je 0x76b2363a
lea edi, [esi + 0x18]
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x76b23624
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push 0
push 0x3ca
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
push dword [0x76b30100]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
jmp 0x76b23629
mov edi, 0x133
push esi
push 0
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x76b2363f
mov edi, 0x108
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x76b23858
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0x803
push ebx
push esi
push edi
je 0x76b239bd
dec eax
je 0x76b2392e
sub eax, 0xc
je 0x76b23919
dec eax
je 0x76b23909
dec eax
je 0x76b238b9
test byte [ebp + 0x10], 2
mov esi, dword [ebp + 0x18]
je 0x76b238a3
cmp dword [esi + 0x14], 0x76b26742
jne 0x76b238a3
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x38]
call sym.WINMM.dll_SendDriverMessage
jmp 0x76b239cb
test byte [ebp + 0x11], 1
mov edi, dword [ebp + 0x14]
je 0x76b238c7
mov eax, dword [edi + 4]
jmp 0x76b238cc
mov eax, 0x76b239dc
mov ecx, dword [ebp + 0x10]
shr ecx, 1
not ecx
and ecx, 1
or ecx, 0x10000
push ecx
push 0
push eax
call sym.WINMM.dll_PlaySoundW
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffefa
add esi, 0x106
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
push esi
call fcn.76b231e8
jmp 0x76b239cd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.76b2321a
jmp 0x76b23927
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.76b25b08
push dword [ebp + 0x14]
mov esi, eax
jmp 0x76b238f8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 0x18]
cmp eax, dword [ebx + 0x30]
je 0x76b239ab
cmp dword [ebp + 0x1c], 0
jne 0x76b2394c
mov esi, 0x12f
jmp 0x76b239cd
push dword [ebx]
call dword [sym.imp.ntdll.dll_wcslen]
pop ecx
lea eax, [eax + eax + 0xe]
push eax
call fcn.76b2b29d
mov edi, eax
test edi, edi
jne 0x76b2396c
mov eax, 0x108
jmp 0x76b239cf
push 0x76b3129c
push edi
call dword [sym.imp.ntdll.dll_wcscpy]
mov esi, dword [sym.imp.ntdll.dll_wcscat]
push 0x76b239d8
push edi
call esi
push dword [ebx]
push edi
call esi
add esp, 0x18
xor ebx, ebx
push ebx
push ebx
push ebx
push edi
call fcn.76b23595
push edi
push ebx
push dword [0x76b300c8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x76b239cd
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.76b264bf
jmp 0x76b239cb
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.76b26cf8
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
Function at 0x76b24ed7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x76b302c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
cmp esi, dword [0x76b316c8]
jb 0x76b24f16
xor ebx, ebx
cmp esi, ebx
jne 0x76b24f8b
push ebx
push 0xc8
push dword [0x76b300c0]
call sym.WINMM.dll_mciLoadCommandResource
cmp eax, 0xffffffff
je 0x76b24f8b
lea esi, [esi + esi*4]
shl esi, 2
push dword [esi + 0x76b31a80]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 8], eax
jne 0x76b24f33
xor ebx, ebx
jmp 0x76b24f8b
push edi
mov edi, dword [esi + 0x76b31a8c]
test edi, edi
je 0x76b24f88
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x76b24f88
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
lea ebx, [eax + ecx]
push 0
lea eax, [ebp - 4]
push eax
push ebx
add edi, 4
call fcn.76b249ed
cmp word [ebp - 8], 0
je 0x76b24f78
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jmp 0x76b24f7f
movzx eax, word [ebp + 0xc]
cmp dword [ebp - 4], eax
je 0x76b24f9e
mov eax, dword [edi]
cmp eax, 0xffffffff
jne 0x76b24f4e
xor ebx, ebx
pop edi
push 0x76b302c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 8]
mov dword [esi + 0x76b31a90], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x76b24f8a
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x76b24f8a
Function at 0x76b25f24
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0xc8
mov dword [ebp - 8], 0x64
call fcn.76b2b29d
mov ebx, eax
test ebx, ebx
mov dword [ebp - 4], ebx
je 0x76b25f9d
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, 0x76b1d7b0
push esi
push dword [ebp - 8]
push ebx
push 0x76b30638
push 0
push 0x76b16a40
call edi
cmp word [ebx], 0
je 0x76b25fa7
mov ecx, dword [ebp - 8]
lea edx, [ecx - 2]
cmp eax, edx
jne 0x76b25fc0
push ebx
push 0
push dword [0x76b300c8]
lea esi, [ecx + ecx]
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [esi + esi]
push eax
call fcn.76b2b29d
mov ebx, eax
test ebx, ebx
mov dword [ebp - 4], ebx
jne 0x76b25f4e
mov eax, 0x108
jmp 0x76b26106
push ebx
push 0
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x132
jmp 0x76b26106
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.ntdll.dll_wcslen]
cmp eax, 0x50
pop ecx
jae 0x76b260d7
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push esi
push 0x76b30638
push ebx
push 0x76b16a40
call edi
xor eax, eax
jmp 0x76b260b7
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], edx
mov ecx, esi
jmp 0x76b26015
cmp ax, 0x20
je 0x76b2601a
inc ecx
inc ecx
mov ax, word [ecx]
test ax, ax
jne 0x76b2600a
dec ecx
dec ecx
jmp 0x76b26030
cmp ax, 0x2f
je 0x76b26039
cmp ax, 0x3a
je 0x76b26039
dec ecx
dec ecx
cmp ecx, esi
jb 0x76b26039
mov ax, word [ecx]
cmp ax, 0x5c
jne 0x76b2601e
inc ecx
inc ecx
cmp word [edx], 0
je 0x76b26077
mov eax, ecx
sub eax, esi
mov bx, word [ecx]
mov edx, dword [ebp + 8]
mov dx, word [edx]
add dword [ebp + 8], 2
inc ecx
inc ecx
inc eax
inc eax
cmp dx, bx
mov dword [ebp + 0x10], eax
jne 0x76b26072
mov edx, eax
sar edx, 1
cmp edx, dword [ebp + 0x14]
jae 0x76b26072
mov edx, dword [ebp + 8]
cmp word [edx], 0
je 0x76b26074
jmp 0x76b26045
dec ecx
dec ecx
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp word [eax], 0
jne 0x76b2608f
mov cx, word [ecx]
cmp cx, 0x20
je 0x76b260ca
cmp cx, 0x2e
je 0x76b260ca
mov ax, word [ebx]
inc ebx
inc ebx
test ax, ax
jne 0x76b2608f
cmp word [ebx], ax
mov dword [ebp - 4], ebx
je 0x76b260ee
push 0x76b1d7b0
push dword [ebp + 0x14]
push esi
push 0x76b30638
push ebx
push 0x76b16a40
call edi
mov ax, word [esi]
test ax, ax
jne 0x76b26000
mov esi, 0x10a
jmp 0x76b260f3
push ebx
call dword [sym.imp.ntdll.dll_wcslen]
cmp eax, 0x50
pop ecx
jb 0x76b260de
mov esi, 0x136
jmp 0x76b260f3
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ntdll.dll_wcscpy]
pop ecx
pop ecx
xor esi, esi
jmp 0x76b260f3
mov esi, 0x107
push dword [ebp - 8]
push 0
push dword [0x76b300c8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x76b26112
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x76b30340]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0x21
push edi
mov dword [ebp - 0x4c], eax
call dword [sym.imp.ntdll.dll_wcschr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
mov ebx, 0x76b30638
je 0x76b2616d
cmp esi, edi
je 0x76b2616d
and word [esi], 0
push 0x76b1d7b0
push 0x21
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push 0x76b16a40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
mov word [esi], 0x21
jne 0x76b261a8
push edi
call dword [sym.imp.ntdll.dll_wcslen]
lea eax, [edi + eax*2]
pop ecx
mov ecx, eax
sub ecx, edi
and ecx, 0xfffffffe
cmp ecx, 4
jl 0x76b261a8
xor edx, edx
inc edx
dec eax
dec eax
mov cx, word [eax]
cmp cx, 0x2f
je 0x76b261a8
cmp cx, 0x5c
je 0x76b261a8
cmp cx, 0x2e
je 0x76b261b9
cmp eax, edi
je 0x76b261a8
inc edx
cmp edx, 0x20
jle 0x76b26187
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76b128c0
leave
ret 0xc
cmp edx, 1
je 0x76b261a8
push dword [ebp + 0x10]
add eax, 2
push dword [ebp - 0x4c]
push ebx
push eax
push 0x76b31314
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
neg eax
sbb eax, eax
neg eax
jmp 0x76b261aa
Function at 0x76b2af09
Capabilities:
Create thread

Disassembly:
call fcn.76b2a9ea
test eax, eax
jne 0x76b2af13
ret
push esi
xor esi, esi
push esi
push 1
push esi
push 0x1f0003
push section..data
call dword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jge 0x76b2af32
xor eax, eax
pop esi
ret
push esi
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, esi
mov dword [0x76b30010], eax
jne 0x76b2af55
push dword [section..data]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x76b2af95
push 0x76b31a64
push 0x20
push esi
push 0x76b2aeaf
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x76b31a60], eax
jne 0x76b2af9d
push dword [0x76b30010]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [section..data]
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x76b30010], esi
mov dword [section..data], esi
jmp 0x76b2af2e
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
inc eax
pop esi
ret

Function at 0x76b2b168
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0xc
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x76b2b187
push 2
pop eax
jmp 0x76b2b1fb
cmp dword [ebp + 0xc], edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
je 0x76b2b1b1
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi], eax
jne 0x76b2b1b1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x76b2b182
push ebx
mov ebx, dword [esi]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x76b2b128
push 0x200
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x76b2b1e3
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x76b2b1d8
mov dword [ecx], ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x76b2b1fa
cmp dword [ebp + 0xc], edi
je 0x76b2b1f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 2
pop eax
pop ebx
pop edi
pop esi
leave
ret 0xc