joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x42b6b5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 8]
mov dword [ebx + 4], edi
cmp eax, edi
je 0x42b6d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x42b7ee
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42b7ee
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x42b7ee
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebp
mov dword [ebx + 8], eax
je 0x42b7ee
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x42b7e1
mov ecx, edi
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x20], ebp
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42b7d7
mov edi, dword [esp + 0x18]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x42b79e
lea edx, [esp + 0x14]
mov dword [esi], 0x541fc8
push edx
push edi
mov dword [esp + 0x1c], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
jmp 0x42b7a0
xor esi, esi
mov eax, dword [esp + 0x18]
mov dword [ebx + 4], esi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x42b7d7
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebp
cmp ecx, ebp
jne 0x42b7c7
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
mov ecx, dword [ebx + 4]
cmp ecx, ebp
je 0x42b7d4
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebx + 4], ebp
mov eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 8], ebp
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc
Function at 0x42f190
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55f48c]
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
push 0
push eax
push 0
push ebp
push 0x10
push 0xb4
push 0
push 0
push ecx
push 0
push 0x5483a0
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [0x556508]
test eax, eax
jne 0x42f216
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
push ecx
mov byte [esp + 0x37], 1
mov byte [esp + 0x3a], 2
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x556508], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push esi
call edi
push 0x100010
push 0
push 0x420
push esi
call edi
mov eax, dword [esp + 0x88]
test eax, eax
je 0x42f2aa
push eax
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov edi, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
push edx
push edi
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0xc]
push ecx
push ebp
call edi
lea edx, [esp + 0x14]
push edx
push ebp
call edi
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0
sub ecx, eax
push 0x10
push ecx
push edx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x6c
ret
Function at 0x438890
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov ebx, ebp
and ebx, 0x10
je 0x4388bc
push 0
push 0x42000000
push 3
push 0
push 0
push 0x100
jmp 0x4388da
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x438915
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x43890c
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43890c
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x254
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x43893e
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [0x547574]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x438961
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x438961
push esi
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x254
Function at 0x438f80
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa68
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x2ca0]
push ebp
xor ebp, ebp
push esi
cmp ecx, ebp
push edi
je 0x438fae
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa68
ret 4
lea esi, [eax + 0x2800]
mov ecx, 0x94
lea edi, [esp + 0x28]
lea eax, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x27c]
push str.Signatur:_s
push ecx
call fcn.00532b29
mov eax, dword [ebx + 0x240]
add esp, 0xc
lea edx, [esp + 0x278]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.00482040
push ebp
push 0x80
push 3
push ebp
push ebp
lea ecx, [esp + 0x68]
push SHChangeNotifyRegister
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4390e1
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
xor eax, eax
xor esi, esi
xor ebx, ebx
or eax, edx
or ecx, esi
ja 0x439040
test eax, eax
jbe 0x4390bb
push 0
push 0xb
push ecx
push eax
call fcn.005338a0
mov esi, dword [esp + 0xa7c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], 0
lea eax, [esp + 0x18]
push 0
push eax
push ebx
push edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x10]
push 0
push ecx
push 0x400
push esi
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x10], 0x400
jne 0x4390bb
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add ebx, eax
mov eax, dword [esp + 0x14]
adc ebp, edx
inc eax
add esi, 0x400
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x439062
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xa7c]
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [edx + 0x2ca0], eax
pop ebx
add esp, 0xa68
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa68
ret 4
Function at 0x43a650
Capabilities:
Delete directory

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [ecx + 0x2a0]
push esi
mov esi, dword [0x547570]
dec ebp
mov dword [esp + 0x14], esi
js 0x43a783
add ecx, 0x294
push ebx
push edi
mov dword [esp + 0x18], ecx
mov eax, dword [0x547570]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebp
call fcn.00405440
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004350e0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004f7560
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
mov eax, dword [esi + 0x10]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x43a6e9
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a73c
mov eax, dword [0x547570]
mov dword [esp + 0x10], eax
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x43a6fd
xor ebx, ebx
jmp 0x43a706
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00405660
test eax, eax
je 0x43a73c
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a776
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a776
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
dec ebp
jns 0x43a678
mov esi, dword [esp + 0x1c]
pop edi
pop ebx
mov ecx, dword [0x547574]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x43a7a7
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a7a7
push esi
call fcn.00532222
add esp, 4
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret
Function at 0x43aab0
Capabilities:
Delete file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
mov ebx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
lea esi, [ebx + 1]
jg 0x43aad7
cmp esi, dword [eax - 4]
jle 0x43ab52
cmp esi, ebx
jge 0x43aadd
mov esi, ebx
test esi, esi
jne 0x43aae8
mov eax, dword [0x547570]
jmp 0x43ab0f
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43ab54
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], dx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
lea ecx, [ebx + ebx + 2]
mov dword [edi], eax
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov dword [ecx - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43ab4e
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ab4e
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
test ebx, ebx
jle 0x43ab6d
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43ab67
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43ab5c
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
mov word [edx + ebx*2], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], 3
mov ecx, dword [eax + 4]
push edx
mov dword [esp + 0x18], ecx
mov word [esp + 0x28], 0x40
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x43abc0
Capabilities:
Copy file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
mov ebx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
lea esi, [ebx + 2]
jg 0x43abe7
cmp esi, dword [eax - 4]
jle 0x43ac3d
cmp esi, ebx
jge 0x43abed
mov esi, ebx
test esi, esi
jne 0x43ac9c
mov eax, dword [0x547570]
lea ecx, [ebx + ebx + 2]
mov dword [edi], eax
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov dword [ecx - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43ac39
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ac39
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [esp + 0x38], edx
mov ecx, edx
test ebx, ebx
jle 0x43ac5e
mov eax, ecx
mov edx, ebx
cmp word [eax], 0xa
jne 0x43ac58
mov word [eax], 0
add eax, 2
dec edx
jne 0x43ac4d
mov edi, dword [esp + 0x3c]
mov word [ecx + ebx*2], 0
mov word [ecx + ebx*2 + 2], 0
mov eax, dword [edi]
mov ebx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
lea esi, [ebx + 2]
jg 0x43ac8b
cmp esi, dword [eax - 4]
jle 0x43ad3b
cmp esi, ebx
jge 0x43ac91
mov esi, ebx
test esi, esi
jne 0x43acd1
mov eax, dword [0x547570]
jmp 0x43acf8
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x43acc8
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], cx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x43abfa
mov dword [esp + 0x38], ecx
jmp 0x43ac45
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43ad3d
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], dx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
lea ecx, [ebx + ebx + 2]
mov dword [edi], eax
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov dword [ecx - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43ad37
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ad37
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
test ebx, ebx
jle 0x43ad56
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43ad50
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43ad45
mov word [edx + ebx*2], 0
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
mov word [edx + ebx*2 + 2], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 2
mov dword [esp + 0x20], edx
mov word [esp + 0x24], 0xc1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x43add0
Capabilities:
Move file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov eax, dword [edi]
mov ebx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
lea esi, [ebx + 2]
jg 0x43adf7
cmp esi, dword [eax - 4]
jle 0x43ae4d
cmp esi, ebx
jge 0x43adfd
mov esi, ebx
test esi, esi
jne 0x43aeac
mov eax, dword [0x547570]
lea ecx, [ebx + ebx + 2]
mov dword [edi], eax
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov dword [ecx - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43ae49
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43ae49
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [esp + 0x38], edx
mov ecx, edx
test ebx, ebx
jle 0x43ae6e
mov eax, ecx
mov edx, ebx
cmp word [eax], 0xa
jne 0x43ae68
mov word [eax], 0
add eax, 2
dec edx
jne 0x43ae5d
mov edi, dword [esp + 0x3c]
mov word [ecx + ebx*2], 0
mov word [ecx + ebx*2 + 2], 0
mov eax, dword [edi]
mov ebx, dword [eax - 8]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
lea esi, [ebx + 2]
jg 0x43ae9b
cmp esi, dword [eax - 4]
jle 0x43af4b
cmp esi, ebx
jge 0x43aea1
mov esi, ebx
test esi, esi
jne 0x43aee1
mov eax, dword [0x547570]
jmp 0x43af08
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x43aed8
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], cx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x43ae0a
mov dword [esp + 0x38], ecx
jmp 0x43ae55
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43af4d
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], dx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
lea ecx, [ebx + ebx + 2]
mov dword [edi], eax
mov edx, ecx
lea esi, [ebp + 0xc]
mov edi, eax
mov eax, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov dword [ecx - 8], ebx
mov eax, dword [0x547574]
cmp ebp, eax
je 0x43af47
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43af47
push ebp
call fcn.00532222
add esp, 4
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
test ebx, ebx
jle 0x43af66
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43af60
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43af55
mov word [edx + ebx*2], 0
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
mov word [edx + ebx*2 + 2], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], edx
mov word [esp + 0x24], 0xc1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x43be00
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
call fcn.0043c250
mov ecx, dword [esp + 4]
mov edx, dword [esi + 4]
push 3
push 0
push 0
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 4]
mov edx, dword [0x547574]
pop esi
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43be55
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43be55
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
pop ecx
ret 0x10

Function at 0x43be05
Capabilities:
Create process on windows

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
call fcn.0043c250
mov ecx, dword [esp + 4]
mov edx, dword [esi + 4]
push 3
push 0
push 0
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 4]
mov edx, dword [0x547574]
pop esi
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43be55
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43be55
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
xor eax, eax
pop ecx
ret 0x10
Function at 0x43c080
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
mov ecx, dword [ecx + 0x48]
mov eax, dword [0x547570]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0x407
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov esi, 0xff
mov ecx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp ecx, 1
jg 0x43c0c0
cmp dword [eax - 4], esi
jge 0x43c106
mov ebp, dword [eax - 8]
cmp ebp, esi
jle 0x43c197
test ebp, ebp
mov esi, ebp
jne 0x43c197
mov eax, dword [0x547570]
lea ecx, [ebp + ebp + 2]
lea esi, [ebx + 0xc]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x10], eax
push ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0xff
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x43c15c
lea ecx, [esp + 0x10]
call fcn.004124c0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.00405530
test eax, eax
je 0x43c15c
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x43c1ca
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43c210
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00532695
add esp, 4
test eax, eax
je 0x43c1c3
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x43c0da
xor eax, eax
jmp 0x43c106
mov ecx, dword [0x547570]
mov esi, eax
test eax, eax
mov dword [ebx], ecx
jne 0x43c1dc
xor ebp, ebp
jmp 0x43c1e1
push eax
call edi
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00405660
test eax, eax
je 0x43c210
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43c23f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c23f
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret 4