joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5066c2
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebx + 0x9c], ecx
cmp dword [ebx + 0x90], ecx
je 0x506742
cmp dword [ebp + 0xc], ecx
jne 0x506742
cmp dword [ebx + 0x94], ecx
jne 0x506742
mov eax, dword [ebx + 0x20]
cmp eax, ecx
je 0x506738
cmp eax, 0xffffffff
je 0x506738
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xc8]
push dword [ebp - 8]
call fcn.00486f4d
mov dword [ebx + 0x9c], eax
test eax, eax
jne 0x506742
xor eax, eax
jmp 0x506882
mov dword [ebx + 0x9c], 1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
test eax, eax
je 0x50677d
cmp dword [ebp + 0xc], 0
jne 0x50677d
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call edi
push dword [ebp - 4]
lea ecx, [ebx + 0xd8]
push dword [ebp - 8]
call fcn.00486f4d
test eax, eax
jne 0x506731
xor ecx, ecx
cmp dword [ebx + 0x9c], ecx
jne 0x5067a3
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jbe 0x5067a3
cmp eax, 0xffffffff
je 0x5067a3
cmp dword [ebx + 0x90], ecx
jne 0x5067a3
cmp dword [ebx + 0xa8], ecx
je 0x506731
push dword [ebx + 0x6c]
push 0x627a58
call fcn.0048d0e0
lea esi, [ebx + 0x8c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x5067dc
mov dword [eax + 0xf8], edi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 4]
mov dword [esi], edi
cmp ecx, edi
je 0x506842
push edi
jmp 0x50683d
push dword [ebx + 0x6c]
push 0x627698
call fcn.0048d0e0
pop ecx
pop ecx
cmp dword [ebp + 0xc], edi
je 0x506808
cmp eax, edi
je 0x506808
cmp dword [0x62ec2c], edi
jne 0x506808
push 1
push ebx
mov ecx, eax
call 0x4eee5d
jmp 0x506835
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x506820
push edi
call fcn.004a6389
cmp eax, edi
je 0x506820
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test eax, eax
je 0x506731
mov ecx, dword [ebp - 4]
cmp ecx, edi
je 0x506842
push ebx
call fcn.004a9020
cmp dword [ebx + 0x6c], edi
je 0x50687f
lea esi, [ebx + 0x54]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00499550
mov eax, dword [eax + 0x94]
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0x401
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x6c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x51ad07
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x5ba5c4
call fcn.005828b6
xor edi, edi
cmp dword [0x627594], edi
je 0x51add0
cmp dword [0x6281f4], 0xfffffffe
jne 0x51adbd
cmp dword [ebp + 8], 0xffffffff
je 0x51add0
test byte [0x630730], 1
mov esi, 0x630710
jne 0x51ad66
or dword [0x630730], 1
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004b7b0b
push 0x5c4629
call fcn.0057a566
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, esi
call fcn.004b7b68
cmp dword [0x63070c], edi
je 0x51ad7a
call fcn.0047c28e
push edi
push edi
push 0x51acaf
call fcn.005842b0
add esp, 0xc
mov dword [0x63070c], eax
cmp eax, edi
jbe 0x51adaa
cmp eax, 0xffffffff
je 0x51adaa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp + 8]
mov dword [0x6281f4], eax
jmp 0x51adb0
mov dword [0x63070c], edi
push 0x630718
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x51add0
mov eax, dword [ebp + 8]
mov dword [0x6281f4], eax
cmp eax, 0xffffffff
jne 0x51add0
mov dword [0x63070c], edi
call fcn.0058298e
ret
Function at 0x55313d
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x5bc9e4
call fcn.0058291f
mov esi, ecx
mov dword [ebp - 0x22c], esi
call fcn.00558c6e
push 0x15c
call fcn.0047bb48
pop ecx
mov ecx, eax
mov dword [ebp - 0x228], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x553181
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0055a53c
jmp 0x553183
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.00558c40
call fcn.0047cd11
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
xor eax, eax
mov dword [ebp - 0x228], esi
mov word [ebp + esi*2 - 0x218], ax
mov dword [ebp - 0x224], ebx
cmp edi, ebx
je 0x553323
cmp dword [edi + 4], ebx
jle 0x553323
lea ecx, [ebp - 0x21c]
call fcn.004092d0
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x218]
push eax
push ebx
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x553307
lea ecx, [ebp - 0x220]
call fcn.004092d0
mov eax, dword [ebp - 0x224]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x553258
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__s
push eax
call fcn.0041d760
add esp, 0xc
jmp 0x55328a
jge 0x553278
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__s
push eax
call fcn.0041d760
add esp, 0x10
jmp 0x55328a
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00426780
push 0x15c
call fcn.0047bb48
pop ecx
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5532ae
mov ecx, eax
call fcn.0052beec
mov esi, eax
jmp 0x5532b0
xor esi, esi
push dword [ebp - 0x220]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0047fc27
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x22c]
push esi
call fcn.00558c40
mov ecx, dword [ebp - 0x220]
inc dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004013d0
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004013d0
inc ebx
cmp ebx, dword [edi + 4]
jl 0x5531f1
call fcn.005829a2
ret
Function at 0x557dd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x557de9
mov edi, dword [esi + 0xc]
jmp 0x557e29
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x557e02
call fcn.00483bae
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x557e17
call fcn.00483bae
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x557e29
call fcn.00483bae
call fcn.0047cd11
cmp dword [eax + 0x3c], 0
je 0x557e3e
push edi
mov ecx, ebx
call fcn.00556c22
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00557cf7
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x557e5c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x557e68
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x55f36f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x55f3b9
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x55f3b9
call fcn.0055ebfb
test eax, eax
je 0x55f3b9
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0041ba00
xor eax, eax
inc eax
jmp 0x55f5d1
cmp dword [ebx + 4], 0x100
push edi
jne 0x55f5c8
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x55f4b6
push 0x11
call edi
test ax, ax
jl 0x55f4b6
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x55f4b6
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x55f429
cmp eax, 0x20
jbe 0x55f4b6
cmp eax, 0x24
jbe 0x55f41c
cmp eax, 0x26
je 0x55f41c
cmp eax, 0x28
jne 0x55f4b6
call fcn.0055ebfb
test eax, eax
je 0x55f4b6
mov ecx, esi
call fcn.0047d947
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.0055ebfb
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x55f45e
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0041ba00
jmp 0x55f5c3
call fcn.0048a7ec
test eax, eax
je 0x55f5c3
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0048a824
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x55f48c
xor edi, edi
jmp 0x55f48f
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.0048a7ec
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x55f5c3
mov eax, dword [ebx + 8]
sub eax, 9
je 0x55f592
sub eax, 0x12
je 0x55f56a
sub eax, 0xb
je 0x55f4d8
dec eax
dec eax
jne 0x55f5c8
push 0x12
call edi
test ax, ax
jl 0x55f5c8
push 0x11
call edi
test ax, ax
jl 0x55f5c8
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x55f5c8
call fcn.0055ebfb
test eax, eax
jne 0x55f5c3
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.0055eb75
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0048917a
test eax, eax
je 0x55f5c3
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.0048917a
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x55f5c3
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x55f57e
push 0
call fcn.0055eb75
mov ecx, esi
call fcn.0048a2ba
test eax, eax
je 0x55f5c8
mov ecx, esi
call fcn.0048a2ba
jmp 0x55f5bc
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.0048917a
test eax, eax
je 0x55f5c8
push dword [esi + 0x20]
call edi
push eax
call fcn.0048917a
push 0
push esi
mov ecx, eax
call fcn.0048193b
mov ecx, eax
call fcn.0047d947
xor eax, eax
inc eax
jmp 0x55f5d0
push ebx
mov ecx, esi
call fcn.00486fc1
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x56c3a8
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x5b8d74
call fcn.005828b6
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x56c481
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x56c481
cmp ebx, 0x43
je 0x56c3ea
cmp ebx, 0x2d
jne 0x56c481
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x56c481
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.004092d0
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.0041d760
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
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.004013d0
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004edb94
call fcn.0058298e
ret 4

Function at 0x574585
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x5745ca
test edi, edi
jl 0x5745ca
cmp ax, 0x20
je 0x5745bf
cmp word [ebp + 8], 0x71
jne 0x5745ca
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x57976c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x629af0]
jne 0x579776
repz ret
jmp fcn.00585ea6

Function at 0x57a8c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x57a8f1
call fcn.0057e499
mov dword [eax], esi
call fcn.0057e486
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0057a7f5
add esp, 0x14
push 0x16
pop eax
jmp 0x57a946
test dword [ebp + 0xc], 0xfffffff9
jne 0x57a8cd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x57a91e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0057e4ac
pop ecx
call fcn.0057e486
mov eax, dword [eax]
jmp 0x57a946
test al, 0x10
jne 0x57a944
test al, 1
je 0x57a944
test byte [ebp + 0xc], 2
je 0x57a944
call fcn.0057e499
mov dword [eax], 5
call fcn.0057e486
mov dword [eax], 0xd
jmp 0x57a915
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5959e8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0058580a
and dword [ebp - 4], 0
cmp dword [0x6324d8], 0
mov ebx, eax
jne 0x595a99
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x595b4a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x595b4a
push eax
call fcn.00585798
mov dword [esp], 0x5f8250
push edi
mov dword [0x6324d8], eax
call esi
push eax
call fcn.00585798
mov dword [esp], 0x5f823c
push edi
mov dword [0x6324dc], eax
call esi
push eax
call fcn.00585798
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6324e0], eax
call esi
push eax
call fcn.00585798
pop ecx
mov dword [0x6324e8], eax
test eax, eax
je 0x595a99
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00585798
pop ecx
mov dword [0x6324e4], eax
mov eax, dword [0x6324e4]
cmp eax, ebx
je 0x595af1
cmp dword [0x6324e8], ebx
je 0x595af1
push eax
call fcn.00585813
push dword [0x6324e8]
mov esi, eax
call fcn.00585813
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x595af1
test edi, edi
je 0x595af1
call esi
test eax, eax
je 0x595ae8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x595ae8
test byte [ebp - 0xc], 1
jne 0x595af1
or dword [ebp + 0x10], 0x200000
jmp 0x595b2a
mov eax, dword [0x6324dc]
cmp eax, ebx
je 0x595b2a
push eax
call fcn.00585813
pop ecx
test eax, eax
je 0x595b2a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x595b2a
mov eax, dword [0x6324e0]
cmp eax, ebx
je 0x595b2a
push eax
call fcn.00585813
pop ecx
test eax, eax
je 0x595b2a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6324d8]
call fcn.00585813
pop ecx
test eax, eax
je 0x595b4a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x595b4c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4016bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push ebx
push str.LocalService
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40172a
cmp dword [ebp - 4], 1
je 0x4016ff
cmp dword [ebp - 4], 2
jne 0x40171a
mov ecx, dword [ebp - 8]
test esi, esi
je 0x401724
test ecx, ecx
je 0x40171f
test cl, 1
jne 0x40171a
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x401724
push 0xd
pop eax
jmp 0x40172a
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x403a7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
test dword [esi - 8], edi
invalid
jmp [0xf87f85c6]
invalid
push dword [ecx - 0x3a]
test dword [eax + 0x3bfffff8], eax
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00401ee1
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00401e42
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x403e49
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00401ed1
inc eax
test dword [edi - 1], ebx
mov ch, 0x60
cld
invalid
Function at 0x10001330
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x64]
mov esi, dword [eax + 0xc]
test byte [0x10006018], 8
jne 0x100013c8
movzx eax, byte [ebx + 0x25]
add esi, 8
mov dword [esp], eax
call sym._IoReleaseCancelSpinLock_4
lea eax, [ebp - 9]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._KeAcquireSpinLock_8
mov edx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
sub esp, 8
mov dword [edx + 4], eax
mov dword [eax], edx
movzx eax, byte [ebp - 9]
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x58], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._KeReleaseSpinLock_8
mov dword [ebx + 0x18], 0xc0000120
sub esp, 8
mov dword [ebx + 0x1c], 0
mov dword [esp], ebx
mov dword [esp + 4], 0
call sym._IoCompleteRequest_8
sub esp, 8
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.cancel__p_IRP_on_device__p_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.read_cancel_routine
mov dword [esp + 4], 0x10006018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000134a

Function at 0x10001400
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [esi + 0x10]
test byte [0x10006018], 8
jne 0x10001458
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [esi + 0xc]
sub dword [ebx + 0x1c], eax
mov dword [esp], ebx
mov dword [esp + 4], 0
call sym._IoCompleteRequest_8
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.device__p__irp__p__context__p_n
mov dword [esp + 8], str.xfer_completion
mov dword [esp + 4], 0x10006018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x1000141b
Function at 0x10001f50
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
mov ebx, dword [ebp + 8]
jmp 0x10001f7a
mov dword [eax + 0x18], 0xc0000056
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._IoCompleteRequest_8
sub esp, 8
mov eax, ebx
call sym._hid_queue_pop_irp
test eax, eax
jne 0x10001f60
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x10001ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x18
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventA]
sub esp, 0x10
mov dword [ebx + 0x44], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], sym._hid_device_thread_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [ebx + 0x48], eax
sub esp, 0x18
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x10002ba0
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x3f8]
test eax, eax
jne 0x10002bc0
leave
jmp sym._pdo_create_8
mov dword [edx + 0x18], 0xc0000001
mov dword [esp + 4], 0
mov dword [esp], edx
call sym._IoCompleteRequest_8
mov eax, 0xc0000001
sub esp, 8
leave
ret 8
Function at 0x10004720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10004778
cmp byte [esi + ebx - 1], 0xa
je 0x1000474c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000b084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10004da0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10004f78
mov edi, dword [0x1000b084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10004e87
test byte [0x1000604c], 8
jne 0x10004f20
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x1000605c], 8
jne 0x10004ee0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10004e29
cmp esi, 3
jbe 0x10004e98
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x10004e3a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100091a8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10004e29
mov dword [esp], 0x1000605c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10004e00
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10004e00
mov dword [esp], 0x1000604c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10004deb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10004df3
mov eax, 0xffffffff
jmp 0x10004e87