joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c77d9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x6c77ea
xor eax, eax
jmp 0x6c7806
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6c780b
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.00402cd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.006ce855
int3

Function at 0x6c787d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x78d9c4]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x6c78b0
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.00402cd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.006ce855
int3

Function at 0x6c7989
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x6c79b4
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6c79ba
cmp dword [ebp - 4], esi
jne 0x6c79d1
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.00402cd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.006ce855
lea ecx, [edi + 0xc]
call fcn.00402cd0
push eax
push 0xffffffffffffffff
push 0xd
call fcn.006ce4ab
int3

Function at 0x6ca0b3
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 0x6ca109
push 5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6ca0e2
call fcn.00620de5
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x6ca0f7
call fcn.00620de5
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x6ca109
call fcn.00620de5
call fcn.0062bd16
cmp dword [eax + 0x3c], 0
je 0x6ca11e
push esi
mov ecx, ebx
call fcn.006c97d9
mov esi, eax
push dword [ebp + 0xc]
push esi
call fcn.006ca308
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x6ca147
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x6ca153
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 0x6ceeab
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x7e3000]
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.007578b0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.0075de8e
push eax
call fcn.00402360
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x7a26f8]
je 0x6cf009
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 0x6cf01d
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x6cf01d
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 0x6cef67
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x6cef5b
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.006cec5c
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
jmp 0x6cef62
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6cef69
mov eax, edi
mov ecx, esi
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.006cf15c
test eax, eax
je 0x6cef90
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.006ceae3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x6cef94
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.006cf15c
test eax, eax
je 0x6cefbb
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.006ceae3
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x6cefbf
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.006cf15c
test eax, eax
je 0x6cefe7
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.006ceae3
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x6cefe9
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x6ceffb
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x6cf009
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.00755942
leave
ret 4
xor eax, eax
jmp 0x6cf00c
Function at 0x6dc636
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 0x6dc663
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x6dc678
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x6dc678
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.00625f42
jmp 0x6dc749
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00625f42
cmp eax, edi
jne 0x6dc753
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 0x6dc6e5
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 0x6dc729
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x6dc753
cmp eax, 0x205
je 0x6dc753
cmp eax, 0x201
je 0x6dc753
cmp eax, 0x204
je 0x6dc753
cmp eax, 0x100
jne 0x6dc711
cmp dword [ebp - 0x18], 0x1b
je 0x6dc753
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 0x6dc749
ja 0x6dc742
cmp eax, dword [0x7eb788]
jbe 0x6dc749
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x6dc69a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x6dd74c
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x6dd782
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.0060d29f
test eax, eax
je 0x6dd76a
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 0x6e4b61
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7e2828], 0
push esi
push edi
je 0x6e4be9
cmp dword [0x7e2978], 0xfffffffe
jne 0x6e4bd5
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x6e4be9
mov edi, 0x7eb7b8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x7eb7d0], 0
jne 0x6e4bed
push 0
push 0
push 0x6e4bf3
call fcn.0075ebc4
add esp, 0xc
mov dword [0x7eb7d0], eax
test eax, eax
je 0x6e4bc5
cmp eax, 0xffffffff
je 0x6e4bc5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x7e2978], esi
jmp 0x6e4bcc
and dword [0x7eb7d0], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x6e4be9
mov eax, dword [ebp + 8]
mov dword [0x7e2978], eax
cmp eax, 0xffffffff
jne 0x6e4be9
and dword [0x7eb7d0], 0
pop edi
pop esi
pop ebp
ret
call fcn.0060d0be
int3
Function at 0x6ec61a
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 0x6ec7a1
je 0x6ec7c8
sub eax, 0xa1
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
dec eax
sub eax, 1
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
dec eax
sub eax, 1
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
sub eax, 0x58
jne 0x6ec806
cmp dword [edi + 0xc0], 0xffffffff
je 0x6ec7c8
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x6ec7c8
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x6ec6f6
sub eax, 1
jne 0x6ec7c8
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x6ec6e5
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 [0x78d9c4]
mov ecx, edi
call esi
test eax, eax
jne 0x6ec742
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x6ec6bb
jmp 0x6ec820
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x6ec820
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 [0x78d9c4]
mov ecx, edi
call esi
test eax, eax
jne 0x6ec742
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x6ec70d
jmp 0x6ec820
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x78d9c4]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x78d9c4]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0062b7c2
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x78d9c4]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x6ec820
sub eax, 0x200
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
dec eax
sub eax, 1
je 0x6ec7c8
sub eax, 1
je 0x6ec7c8
dec eax
sub eax, 1
je 0x6ec7c8
sub eax, 1
jne 0x6ec806
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x6ec7e7
cmp dword [eax + 0x20], ebx
je 0x6ec7e7
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 0x6ec806
cmp dword [eax + 0x20], ebx
je 0x6ec806
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x6ec825
lea eax, [edi + 0x2250]
test eax, eax
je 0x6ec81c
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x6ec825
xor eax, eax
inc eax
jmp 0x6ec82d
push esi
mov ecx, edi
call fcn.0067dbcf
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x71743f
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x780872
call fcn.00755cb9
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x71752b
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x71752b
cmp esi, 0x43
je 0x717481
cmp esi, 0x2d
jne 0x71752b
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x71752b
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00402270
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 0x7ae638
push eax
call fcn.00402cb0
mov esi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [esi - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
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 0x717519
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x717519
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.00402910
push ebx
mov ecx, edi
call fcn.00623d5d
call fcn.00755c87
ret 4
Function at 0x71b18b
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x788bc4
call fcn.00755cec
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 0x71b31c
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x71b2ee
sub eax, 1
je 0x71b20a
sub eax, 1
je 0x71b1e2
sub eax, 1
je 0x71b20a
push 0x78e000
mov ecx, edi
call fcn.0060c58f
mov eax, edi
call fcn.00755c9b
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 0x71b1cc
lea eax, [ebp - 0x4e8]
push eax
jmp 0x71b1d1
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x71b1cc
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.006cf021
test eax, eax
je 0x71b1cc
lea ecx, [ebp - 0x700]
call fcn.00402270
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x71b2a4
test byte [ebp - 0x428], 0x18
jne 0x71b2c6
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 [0x78d9c4]
mov ecx, ebx
call esi
jmp 0x71b2c6
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 [0x78d9c4]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.0060dab8
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00402910
jmp 0x71b1d8
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 0x71b1cc
lea eax, [ebp - 0x6f0]
jmp 0x71b207
call fcn.0060d0be
int3

Function at 0x71b494
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00750f85
call fcn.0062bd6a
cmp dword [eax + 0x14], 0
jne 0x71b4af
mov ecx, esi
pop esi
jmp fcn.0071a798
pop esi
ret
Function at 0x71b5aa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0062aec6
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x71b5e6
call fcn.0071b7c7
mov dword [esi + 0xc], 1
jmp 0x71b5eb
call fcn.0071b7c7
cmp dword [esi], 0
je 0x71b636
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x71b611
push edi
call fcn.0061f3b9
lea ecx, [edi + 1]
push ecx
jmp 0x71b620
push 0xff
call fcn.00402a90
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0061bed1
pop edi
jmp 0x71b65a
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x71b65a
push dword [esi]
push dword [ebp - 4]
call fcn.0062f179
pop esi
leave
ret 0xc

Function at 0x71b71e
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.0071b7c7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x71b766
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0061f3b9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0061bed1
jmp 0x71b771
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0062f179
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x71bce8
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.007665b5
pop ecx
test eax, eax
jne 0x71bd2a
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.0061c194
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x71bcf0
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 0x72bedf
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x72c025
mov ecx, 0x7e2c80
call fcn.0062d46b
mov esi, eax
test esi, esi
je 0x72c01a
xor eax, eax
cmp word [esi + 8], ax
jne 0x72bfe4
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x72bfa0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x72bf66
push 0x7b1e2c
call fcn.0072c063
pop ecx
test eax, eax
je 0x72bf66
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 0x72bf81
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 0x72bfa0
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 0x72bfa6
push ebx
push edi
push eax
call fcn.006a71eb
add esp, 0xc
jmp 0x72bfa6
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.00620077
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 0x72c01f
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.0062ca56
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x72bfe7
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x72bff5
push edi
call fcn.0075de99
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.00402670
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.0060d0be
call fcn.0060d0d8
int3

Function at 0x74e4f9
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x7e3000]
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 0x74e563
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 0x74e548
lea eax, [ebp - 0x2ac]
push eax
jmp 0x74e54d
push 0x7b97e0
call fcn.0060c58f
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00755942
leave
ret 8
call fcn.0060d0be
int3

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

Disassembly:
push esi
mov esi, ecx
call fcn.00401e80
call fcn.0062bd6a
cmp dword [eax + 0x14], 0
jne 0x74ea63
mov ecx, esi
pop esi
jmp fcn.0074e2a3
pop esi
ret
Function at 0x756792
Capabilities:
Parse pe header

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

Function at 0x76778d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00755e40
mov eax, dword [0x7e3000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00766db5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x7677cf
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x76792b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00756460
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x7ec0d8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00771164
mov ecx, dword [esi*4 + 0x7ec0d8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x767924
cmp eax, dword [ecx + edi + 0x24]
jne 0x767924
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x767924
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00771164
add esp, 0x14
test edx, edx
jl 0x767924
jg 0x76789a
test eax, eax
jb 0x767924
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x767924
jl 0x7678b4
cmp dword [ebp - 0x1008], eax
ja 0x767924
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x7678d2
test ebx, ebx
je 0x76790b
cmp ecx, edi
jae 0x76790b
mov al, byte [ecx]
cmp al, 0xd
jne 0x7678ec
lea eax, [edi - 1]
cmp ecx, eax
jae 0x7678f8
cmp byte [ecx + 1], 0xa
jne 0x7678f8
inc ecx
jmp 0x7678f8
movzx eax, al
movsx eax, byte [eax + 0x7e3480]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x7678d2
cmp edx, ebx
jne 0x7678d2
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x767929
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00755942
leave
ret

Function at 0x76c80e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x7be688
push 0x7be680
push str.FlsAlloc
push 0x1f
call fcn.0076c639
mov esi, eax
add esp, 0x10
test esi, esi
je 0x76c842
push dword [ebp + 8]
mov ecx, esi
call dword [0x78d9c4]
call esi
jmp 0x76c848
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4