joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004abe6
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x1013b8e0
call fcn.101018b2
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1004ac32
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1019a028]
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push 0xf5
lea ecx, [ebp + 8]
call fcn.1000201d
push dword [ebp + 8]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 8]
jmp 0x1004ac8c
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], eax
push 0xf6
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000201d
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.100020c6
add esp, 0xc
push dword [ebp - 0x14]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
call fcn.1010198a
ret 4
Function at 0x1004bf05
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
and dword [eax], 0
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1004bf29
push 0
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x155
push dword [esi + 4]
call edi
push 0x153
push dword [esi + 4]
mov ebx, eax
call edi
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
test eax, eax
setg cl
push ecx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10

Function at 0x1004c5ec
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x1013bb0b
call fcn.101018b2
mov edi, ecx
lea ebx, [edi + 4]
push 0
mov ecx, ebx
call fcn.1000bbaa
lea ecx, [edi + 0x7c]
push 1
call fcn.10049b3d
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call esi
push eax
push 0xf
call esi
push eax
push 0
lea ecx, [edi + 0x7c]
call fcn.1004928e
push 0x154
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x7c]
call fcn.10049a91
push 0xf
call esi
push eax
push 0xf
call esi
push eax
push 0xff
lea ecx, [edi + 0x24]
call fcn.1004928e
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x157
push dword [ebx]
call esi
push eax
lea ecx, [edi + 0x24]
call fcn.10049a91
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x156
push dword [ebx]
call esi
mov ebx, eax
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0xfb
lea ecx, [ebp - 0x10]
call fcn.1000201d
push dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edi, 0x143
push edi
push ebx
call esi
push 0xfc
lea ecx, [ebp - 0x10]
call fcn.1000201d
push dword [ebp - 0x10]
push 0
push edi
push ebx
call esi
push 0xfd
lea ecx, [ebp - 0x10]
call fcn.1000201d
push dword [ebp - 0x10]
push 0
push edi
push ebx
call esi
push 0
push 0
push 0x14e
push ebx
call esi
lea ecx, [ebp - 0x10]
call fcn.100015d9
xor eax, eax
call fcn.1010198a
ret 0x10
Function at 0x1004d971
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0xc
mov eax, 0x1013bdff
call fcn.101018b2
mov eax, dword [ebp + 0x47c]
xor ebx, ebx
mov dword [eax], ebx
call fcn.1004d8b2
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.100de6a3
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10005459
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.100015d9
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10001c5b
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1001dab5
cmp eax, 0xffffffff
lea ecx, [ebp - 0x10]
je 0x1004db1b
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000e702
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10005459
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.100015d9
push str.space_
lea ecx, [ebp - 0x10]
call fcn.1001c185
mov word [ebp + 0x458], 0x5c
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
push 0x10159b64
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.100058db
push dword [eax]
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.1004883e
lea ecx, [ebp - 0x14]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.100015d9
cmp esi, ebx
je 0x1004daff
lea ecx, [ebp]
call fcn.10048801
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x1004daf3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp]
call fcn.1004a79b
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
call fcn.1000c751
push dword [eax]
call esi
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x18]
jmp 0x1004daea
lea ecx, [ebp]
call fcn.10048801
test eax, eax
jne 0x1004daf3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.1004a79b
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.1000c751
push dword [eax]
call esi
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.100015d9
lea ecx, [ebp]
call fcn.1004832c
test eax, eax
jne 0x1004dab1
lea ecx, [ebp]
call fcn.10048353
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.10048353
lea ecx, [ebp - 0x10]
call fcn.100015d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x468
leave
ret 0x10
Function at 0x1004db47
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x1013be57
call fcn.101018b2
mov esi, ecx
cmp dword [esi + 0x20], 0
je 0x1004dd56
movzx eax, word [ebp + 0xc]
dec eax
dec eax
je 0x1004dd4b
sub eax, 0x151
jne 0x1004dd56
mov eax, dword [0x1019a028]
mov dword [ebp + 0xc], eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 4], 0
mov edi, 0x155
push edi
push dword [esi + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], eax
call fcn.10001a82
push dword [ebp - 0x14]
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.10001c5b
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.1000584b
mov ecx, dword [esi + 0x20]
call fcn.1004a689
test eax, eax
je 0x1004dc08
push 5
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 4]
call ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x14]
call fcn.100172f7
jmp 0x1004dd41
push 0x156
push dword [esi + 4]
call ebx
push 0x101562dc
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.1000587e
xor ebx, ebx
push ebx
push ebx
push 0x147
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 0x20]
add eax, 0x24
push eax
mov ecx, esi
call fcn.1004d3f0
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], bl
call fcn.100015d9
cmp edi, 0xffffffff
je 0x1004dcef
cmp edi, ebx
je 0x1004dc95
cmp edi, 1
jne 0x1004dd41
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xd4]
call fcn.10005459
mov ecx, dword [esi + 0x20]
call fcn.1004d8b2
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x1004dd41
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
push 0xea
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000201d
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
push 0xe4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000201d
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x14]
jmp 0x1004dd3c
mov eax, dword [0x1019a028]
mov dword [ebp - 0x10], eax
push 0xeb
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000201d
mov eax, dword [0x1019a028]
mov dword [ebp - 0x14], eax
push 0xe4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000201d
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp + 0xc]
call fcn.100015d9
jmp 0x1004dd56
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
call fcn.1010198a
ret 0x10
Function at 0x1004f46b
Capabilities:
Check if file exists
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
push dword [esi + 4]
xor ebp, ebp
mov dword [esp + 0xc], ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004f4f5
push ebx
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi + 4], ebp
jle 0x1004f4be
push ebx
mov ecx, edi
call fcn.1001be44
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004f4b8
push ebx
mov ecx, edi
call fcn.1001be44
push eax
lea ecx, [esi + 0x1e0]
call fcn.10028ff4
inc ebx
cmp ebx, dword [edi + 4]
jl 0x1004f490
lea ecx, [esi + 0x1e0]
call fcn.10002742
test eax, eax
pop edi
pop ebx
je 0x1004f4f5
push ebp
push ebp
push esi
push 0x1004efa9
push ebp
push ebp
mov dword [esp + 0x20], 1
call fcn.1010370a
add esp, 0x18
push dword [esi + 0x188]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 8]
pop esi
pop ebp
pop ecx
ret 4

Function at 0x1004fa14
Capabilities:
Delete file
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
mov dword [esi], 0x1015a460
je 0x1004fa36
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
push dword [esi + 0x30]
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
pop edi
je 0x1004fa55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x58]
call fcn.100015d9
lea ecx, [esi + 0x54]
call fcn.100015d9
lea ecx, [esi + 0x50]
call fcn.100015d9
lea ecx, [esi + 0x4c]
call fcn.100015d9
lea ecx, [esi + 0x48]
call fcn.100015d9
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1004fa8b
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea ecx, [esi + 0x3c]
call fcn.100015d9
lea ecx, [esi + 0x38]
call fcn.100015d9
lea ecx, [esi + 0x34]
call fcn.100015d9
lea ecx, [esi + 0x24]
call fcn.1004f9f1
mov esi, dword [esi + 0x14]
test esi, esi
je 0x1004fab8
push esi
call fcn.100ffb54
pop esi
ret
Function at 0x1004fddb
Capabilities:
Create thread
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x1013c25f
call fcn.101018b2
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.1000bbaa
mov eax, dword [esi + 0x50]
cmp dword [eax - 8], ebx
je 0x1004fe32
lea eax, [ebp - 0x10]
push str.bdbar
push eax
call fcn.100dfa91
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.10005459
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea eax, [esi + 0x50]
push eax
lea ecx, [esi + 0x24]
call fcn.10005459
lea eax, [ebp - 0x14]
push str.bdbar
push eax
call fcn.100dfa91
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.10005459
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea eax, [esi + 0x58]
push eax
lea ecx, [esi + 0x2c]
call fcn.10005459
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [esi + 0x24]
push eax
push 0x1004fd4f
push ebx
push ebx
mov dword [ebp - 0x18], ebx
call fcn.1010370a
add esp, 0x18
push ebx
push 0x64
push 1
push dword [edi]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x10a
push dword [edi]
call esi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xe5
push dword [edi]
call esi
push 0
push eax
call ebx
push 0xe4
push dword [edi]
call esi
push 0
push eax
call ebx
push 1
push dword [edi]
call esi
push 0
push eax
call ebx
xor eax, eax
call fcn.1010198a
ret 0x10
Function at 0x100565d4
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x100565ec
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x97
inc ecx
cmp ecx, dword [esp + 8]
jb 0x100565dc
xor eax, eax
ret

Function at 0x10056674
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.10103ee5
or edi, 0xffffffff
cmp eax, edi
pop ecx
pop ecx
jne 0x100566aa
mov eax, edi
jmp 0x100566e2
push esi
mov esi, dword [ebp - 0x34]
push 0x10153bc8
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100566df
cmp dword [ebp - 0x1c], eax
je 0x100566df
push esi
call fcn.10100af4
mov ebx, eax
test ebx, ebx
pop ecx
push dword [ebp - 0x1c]
jne 0x100566f0
call fcn.10103005
pop ecx
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.101018a3
leave
ret
push esi
push 1
push ebx
call fcn.101034cc
add esp, 0x10
cmp eax, esi
je 0x10056711
push ebx
call fcn.10101095
push dword [ebp - 0x1c]
call fcn.10103005
pop ecx
jmp 0x100566de
push dword [ebp - 0x1c]
call fcn.10103005
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp], str.89F3CC4B_0091_49B0_81A6_188CFF582735
stosw word es:[edi], ax
push 0x10153b9c
push 0xffffffffffffffff
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.1010314f
push 0xa0
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
call fcn.100565f8
and dword [ebp - 0x20], 0
push 0x1015a88c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.101035c0
add esp, 0x30
test eax, eax
jne 0x100567ae
cmp dword [ebp - 0x20], eax
je 0x100567ae
push dword [ebp - 0x20]
push esi
push 1
push ebx
call fcn.10103ca7
add esp, 0x10
cmp eax, esi
je 0x10056797
push ebx
call fcn.10101095
push dword [ebp - 0x20]
call fcn.10103005
pop ecx
jmp 0x100567b4
push dword [ebp - 0x20]
call fcn.10103005
push ebx
call fcn.10101095
pop ecx
pop ecx
xor eax, eax
jmp 0x100566e1
push ebx
call fcn.10101095
pop ecx
or eax, 0xffffffff
jmp 0x100566e1
Function at 0x10056839
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.10103ee5
or edi, 0xffffffff
cmp eax, edi
pop ecx
pop ecx
jne 0x1005686f
mov eax, edi
jmp 0x100568a7
push esi
mov esi, dword [ebp - 0x34]
push 0x10153bc8
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.101035c0
add esp, 0xc
test eax, eax
jne 0x100568a4
cmp dword [ebp - 0x1c], eax
je 0x100568a4
push esi
call fcn.10100af4
mov ebx, eax
test ebx, ebx
pop ecx
push dword [ebp - 0x1c]
jne 0x100568b5
call fcn.10103005
pop ecx
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.101018a3
leave
ret
push esi
push 1
push ebx
call fcn.101034cc
add esp, 0x10
cmp eax, esi
je 0x100568d6
push ebx
call fcn.10101095
push dword [ebp - 0x1c]
call fcn.10103005
pop ecx
jmp 0x100568a3
push dword [ebp - 0x1c]
call fcn.10103005
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp], str.89F3CC4B_0091_49B0_81A6_188CFF582735
stosw word es:[edi], ax
push 0x10153b9c
push 0xffffffffffffffff
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.1010314f
push 0xa0
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
call fcn.100567bd
and dword [ebp - 0x20], 0
push 0x1015a88c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.101035c0
add esp, 0x30
test eax, eax
jne 0x1005696c
cmp dword [ebp - 0x20], eax
je 0x1005696c
push dword [ebp - 0x20]
push esi
push 1
push ebx
call fcn.10103ca7
add esp, 0x10
cmp eax, esi
je 0x1005695c
push ebx
call fcn.10100bb6
push dword [ebp - 0x20]
call fcn.10103005
pop ecx
jmp 0x10056972
push dword [ebp - 0x20]
call fcn.10103005
pop ecx
xor eax, eax
jmp 0x100568a6
push ebx
call fcn.10101095
pop ecx
or eax, 0xffffffff
jmp 0x100568a6
Function at 0x10057b74
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10057c11
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
mov dword [ebp - 0x1c], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
pop edi
jne 0x10057bb9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10057c11
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x10], eax
jne 0x10057c02
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x10057c02
push dword [ebp - 0x14]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10057c10
cmp dword [ebp + 8], 0
push esi
je 0x10057bf5
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x10057bfb
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10057bba
pop esi
pop ebx
leave
ret 4

Function at 0x10057ca2
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [0x1019e58c]
mov edi, ecx
push 0
mov ecx, 0x1019ee80
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10057ce8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10057ce1
lea ecx, [edi + 0x70]
call fcn.10057c51
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret

Function at 0x10057d64
Capabilities:
Read file via mapping

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x10057d72
xor eax, eax
jmp 0x10057dc7
push edi
call fcn.10057c51
push dword [esp + 0xc]
mov edi, 0xb08
push edi
push 0
push 4
lea ecx, [esi + 0x10]
call fcn.1001018e
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 4], eax
je 0x10057dbc
push edi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x10057dc0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10057dc6
xor eax, eax
inc eax
mov dword [esi + 0xc], eax
pop edi
pop esi
ret 4
Function at 0x1005b340
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0
push 4
push 0
push 0x1005ae6f
push 0
push 0
call fcn.1010370a
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1005b37d
push 0x4000
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
ret

Function at 0x1006436f
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xfdc]
mov eax, 0x105c
call fcn.10102790
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0xfd8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfe4]
mov esi, ecx
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], ebx
call fcn.10020ba7
call fcn.100dd09a
push 0x1048
test eax, eax
push ebx
lea eax, [ebp - 0x72]
push eax
je 0x10064403
call fcn.101027c0
mov eax, dword [esi + 0x38]
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
push ebx
push 0xc4
push eax
mov word [ebp - 0x74], 0x824
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
lea eax, [ebp - 0x74]
je 0x100643eb
mov ecx, edi
jmp 0x1006446c
mov esi, dword [esi + 0x38]
push 0x824
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x10064479
mov ecx, edi
jmp 0x10064469
mov word [ebp - 0x74], bx
call fcn.101027c0
mov eax, dword [esi + 0x38]
add esp, 0xc
push 0xffffffffffffffe8
push eax
call dword [sym.imp.USER32.dll_GetClassLongW]
cmp eax, ebx
mov dword [ebp - 0x7c], eax
je 0x10064479
mov eax, dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_CallWindowProcW]
lea ecx, [ebp - 0x74]
push ecx
push ebx
push 0xc4
push eax
push dword [ebp - 0x7c]
mov word [ebp - 0x74], 0x824
call edi
test eax, eax
lea eax, [ebp - 0x74]
push eax
je 0x1006444e
mov ecx, dword [ebp - 0x80]
jmp 0x1006446d
mov esi, dword [esi + 0x38]
push 0x824
push 0xd
push esi
push dword [ebp - 0x7c]
mov word [ebp - 0x74], bx
call edi
test eax, eax
je 0x10064479
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call fcn.10001cbf
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0xfd8]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101018a3
add ebp, 0xfdc
leave
ret 4