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

Disassembly:
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x421aac
push 0
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x421abb
push 0
push eax
call edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x421b4c
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub edx, eax
push 0xc
push edx
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push 0
mov ecx, dword [eax + 4]
push ecx
call edi
fild dword [esp + 0x1c]
push 0x31
fstp qword [esp + 0x10]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 8], eax
fild dword [esp + 8]
fmul qword [0x540e88]
fsubr qword [esp + 0xc]
call fcn.005327d8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub edx, ecx
push 4
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
sub eax, edx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push edx
mov ecx, dword [eax + 4]
push 0
push ecx
call edi
pop edi
pop esi
add esp, 0x1c
ret 4
Function at 0x423e90
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0xa0]
test esi, esi
push edi
je 0x423f85
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0xec]
push 5
push eax
call edi
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call edi
lea eax, [esi + 0x50]
sub esp, 8
test eax, eax
mov edi, esp
je 0x423ed4
add eax, 4
jmp 0x423ed6
xor eax, eax
push eax
lea ecx, [edi + 4]
call fcn.00406280
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [edi], 0x5409d8
call fcn.00420aa0
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0xec]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0xec]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call edi
mov eax, dword [esi + 0xec]
push 0
push 0
push 0xb7
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x64
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0xec]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 8]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x423f91
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x423f91
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, 1
pop edi
pop esi
pop ecx
ret
call fcn.00423cf0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x425310
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x547c78]
sub esp, 0x230
cmp eax, 0xffffffff
jne 0x4253db
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push edi
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0xc]
mov dword [0x547c78], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
call ebx
mov eax, dword [esp + 0x10]
mov esi, dword [0x546560]
cmp eax, 5
jb 0x42539d
mov ecx, 0x47
xor eax, eax
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x120]
mov dword [esp + 0x120], 0x11c
push ecx
call ebx
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp eax, 6
jb 0x4253ac
mov dword [0x547c78], 1
mov ecx, dword [0x546564]
mov edi, dword [0x547c78]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4253d6
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4253d6
push esi
call fcn.00531732
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x230
ret
Function at 0x426050
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x54]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, eax
mov eax, dword [esi + 0x54]
push 0
push 0
push 0x1304
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x54a304]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x54a304]
cmp ecx, 2
jne 0x4260b6
cmp eax, 1
jle 0x4260aa
test edi, edi
jne 0x4260c6
mov edx, dword [esi + 0x54]
push 5
push edx
jmp 0x4260c0
test edi, edi
je 0x4260c6
mov eax, dword [esi + 0x54]
push 0
push eax
jmp 0x4260c0
test edi, edi
jne 0x4260c6
mov ecx, dword [esi + 0x54]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00426190
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x42a510
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x3c
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x42a60b
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
mov dword [esp + 0xc], esi
je 0x42a60b
mov ecx, dword [edi + 4]
push ebx
lea eax, [esp + 0x14]
push ebp
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov ebp, ecx
sub ecx, dword [esp + 0x1c]
mov ebx, eax
sub eax, edx
mov dword [esp + 0x2c], edx
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x28]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov ecx, edi
call fcn.0042c2a0
mov eax, dword [edi + 0x48]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x42a5c0
mov edx, dword [esp + 0x10]
push esi
push edx
mov ecx, edi
call fcn.0042b7a0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x42a5a3
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_ReleaseDC]
push esi
push eax
call edi
mov ecx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
sub ebp, ecx
mov ecx, dword [esp + 0x20]
push esi
push ebp
sub ebx, dword [esp + 0x40]
push ebx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push 0
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
Function at 0x42b600
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 0x42b615
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebx + 8]
mov dword [ebx + 4], edi
cmp eax, edi
je 0x42b633
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 0x42b74e
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42b74e
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 0x42b74e
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebp
mov dword [ebx + 8], eax
je 0x42b74e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
je 0x42b741
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 0x42b737
mov edi, dword [esp + 0x18]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebp
je 0x42b6fe
lea edx, [esp + 0x14]
mov dword [esi], 0x540fc0
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 0x42b700
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 0x42b737
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebp
cmp ecx, ebp
jne 0x42b727
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
mov ecx, dword [ebx + 4]
cmp ecx, ebp
je 0x42b734
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 0x42f0e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55e3d4]
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 0x547390
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov eax, dword [0x555498]
test eax, eax
jne 0x42f166
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 [0x555498], 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 0x42f1fa
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 0x438740
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 0x43876c
push 0
push 0x42000000
push 3
push 0
push 0
push 0x100
jmp 0x43878a
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 0x4387c5
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x4387bc
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4387bc
push esi
call fcn.00531732
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 0x4387ee
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [0x546564]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x438811
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x438811
push esi
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x254
Function at 0x438e30
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 0x438e5e
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.00532039
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.00481770
push ebp
push 0x80
push 3
push ebp
push ebp
lea ecx, [esp + 0x68]
push SHChangeNotifyDeregister
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x438f91
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 0x438ef0
test eax, eax
jbe 0x438f6b
push 0
push 0xb
push ecx
push eax
call fcn.00532db0
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 0x438f6b
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 0x438f12
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 0x43a500
Capabilities:
Delete directory

Disassembly:
sub esp, 0x28
push ebp
mov ebp, dword [ecx + 0x2a0]
push esi
mov esi, dword [0x546560]
dec ebp
mov dword [esp + 0x14], esi
js 0x43a633
add ecx, 0x294
push ebx
push edi
mov dword [esp + 0x18], ecx
mov eax, dword [0x546560]
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.00434f80
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004aee90
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 0x43a599
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a5ec
mov eax, dword [0x546560]
mov dword [esp + 0x10], eax
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x43a5ad
xor ebx, ebx
jmp 0x43a5b6
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 0x43a5ec
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 [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a626
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a626
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
dec ebp
jns 0x43a528
mov esi, dword [esp + 0x1c]
pop edi
pop ebx
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x43a657
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a657
push esi
call fcn.00531732
add esp, 4
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret
Function at 0x43a960
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 0x43a987
cmp esi, dword [eax - 4]
jle 0x43aa02
cmp esi, ebx
jge 0x43a98d
mov esi, ebx
test esi, esi
jne 0x43a998
mov eax, dword [0x546560]
jmp 0x43a9bf
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43aa04
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 [0x546564]
cmp ebp, eax
je 0x43a9fe
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a9fe
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
test ebx, ebx
jle 0x43aa1d
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43aa17
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43aa0c
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 0x43aa70
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 0x43aa97
cmp esi, dword [eax - 4]
jle 0x43aaed
cmp esi, ebx
jge 0x43aa9d
mov esi, ebx
test esi, esi
jne 0x43ab4c
mov eax, dword [0x546560]
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 [0x546564]
cmp ebp, eax
je 0x43aae9
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43aae9
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [esp + 0x38], edx
mov ecx, edx
test ebx, ebx
jle 0x43ab0e
mov eax, ecx
mov edx, ebx
cmp word [eax], 0xa
jne 0x43ab08
mov word [eax], 0
add eax, 2
dec edx
jne 0x43aafd
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 0x43ab3b
cmp esi, dword [eax - 4]
jle 0x43abeb
cmp esi, ebx
jge 0x43ab41
mov esi, ebx
test esi, esi
jne 0x43ab81
mov eax, dword [0x546560]
jmp 0x43aba8
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x43ab78
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 0x43aaaa
mov dword [esp + 0x38], ecx
jmp 0x43aaf5
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43abed
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 [0x546564]
cmp ebp, eax
je 0x43abe7
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43abe7
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
test ebx, ebx
jle 0x43ac06
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43ac00
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43abf5
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 0x43ac80
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 0x43aca7
cmp esi, dword [eax - 4]
jle 0x43acfd
cmp esi, ebx
jge 0x43acad
mov esi, ebx
test esi, esi
jne 0x43ad5c
mov eax, dword [0x546560]
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 [0x546564]
cmp ebp, eax
je 0x43acf9
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43acf9
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x38]
mov edx, dword [edi]
mov dword [esp + 0x38], edx
mov ecx, edx
test ebx, ebx
jle 0x43ad1e
mov eax, ecx
mov edx, ebx
cmp word [eax], 0xa
jne 0x43ad18
mov word [eax], 0
add eax, 2
dec edx
jne 0x43ad0d
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 0x43ad4b
cmp esi, dword [eax - 4]
jle 0x43adfb
cmp esi, ebx
jge 0x43ad51
mov esi, ebx
test esi, esi
jne 0x43ad91
mov eax, dword [0x546560]
jmp 0x43adb8
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x43ad88
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 0x43acba
mov dword [esp + 0x38], ecx
jmp 0x43ad05
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
xor edx, edx
add esp, 4
cmp eax, edx
je 0x43adfd
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 [0x546564]
cmp ebp, eax
je 0x43adf7
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43adf7
push ebp
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x3c]
mov edx, dword [edi]
test ebx, ebx
jle 0x43ae16
mov eax, edx
mov ecx, ebx
cmp word [eax], 0xa
jne 0x43ae10
mov word [eax], 0
add eax, 2
dec ecx
jne 0x43ae05
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