joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414de8
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [edi + 4], 0x208
jne 0x414e0f
call fcn.00414f7c
test eax, eax
jne 0x414f5d
cmp dword [edi + 4], 0x100
jne 0x414f62
mov eax, dword [esi + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp + 8], eax
call ebx
cmp eax, dword [ebp + 8]
mov eax, dword [edi + 8]
jne 0x414f13
cmp eax, 0xd
jne 0x414ef0
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x414f62
push dword [edi + 0xc]
call fcn.0048f019
cmp al, 1
pop ecx
jne 0x414f62
and word [ebp - 0x808], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x808]
push 0x400
push eax
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x414eb9
push dword [esi + 4]
lea ecx, [ebp - 0x808]
push ecx
push 0xd22
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x414f5d
lea eax, [ebp - 0x808]
push 0
push eax
lea ecx, [ebp - 8]
call fcn.00489f86
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, esi
push dword [eax]
call fcn.00411a3a
mov ecx, esi
call fcn.004127ba
lea ecx, [ebp - 8]
call fcn.0048996a
jmp 0x414f5d
cmp eax, 0x1b
jne 0x414f62
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x414f62
mov ecx, esi
call fcn.004127ba
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x414f5d
cmp eax, 0x73
jne 0x414f62
mov eax, dword [esi + 0x38]
test eax, eax
je 0x414f62
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x414f62
mov eax, dword [esi + 0xe8]
mov dword [ebp + 8], eax
call ebx
cmp eax, dword [ebp + 8]
je 0x414f53
push dword [edi + 0xc]
call fcn.0048f019
cmp al, 1
pop ecx
jne 0x414f53
push dword [esi + 0x34]
mov ecx, esi
call fcn.0041251e
mov dword [esi + 0x100], 0x73
push 1
pop eax
jmp 0x414f75
mov esi, dword [esi + 0x38]
test esi, esi
je 0x414f73
push edi
mov ecx, esi
call fcn.00414d58
jmp 0x414f75
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x415dc2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4b1bc4]
cmp eax, 0xffffffff
jne 0x415e76
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
and dword [0x4b1bc4], 0
push 0x45
xor eax, eax
pop ecx
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call esi
mov eax, dword [0x4b0550]
cmp dword [ebp - 0x114], 5
mov dword [ebp - 4], eax
jb 0x415e51
push 0x47
xor eax, eax
pop ecx
lea edi, [ebp - 0x234]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x11c
push eax
call esi
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x114], 6
jb 0x415e64
mov dword [0x4b1bc4], 1
mov esi, dword [0x4b1bc4]
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x415e78
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x4b0550]
and byte [ebp - 0xa], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x3a
mov byte [ebp - 0x1b], 0x2f
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x77
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x77
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
call fcn.00403adc
cmp dword [0x4b412c], 0
jne 0x415f1e
push 0x4b1be0
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
jmp 0x415fa8
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
test eax, eax
je 0x415f89
cmp dword [ebp - 0xd0], 0xffffff10
jl 0x415f68
cmp dword [ebp - 0xd0], 0xf0
jg 0x415f68
push 0x4b1bdc
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
jmp 0x415fa8
push 0x4b1bd8
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
jmp 0x415fa8
push 0x4b1bd8
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 4]
call fcn.004038fb
call fcn.00415dc2
test eax, eax
jne 0x415ff0
push esi
push str.http
lea ecx, [ebp - 0x24]
call fcn.00403927
mov esi, dword [eax]
push str.https
lea ecx, [ebp - 4]
call fcn.00403927
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 8]
call fcn.004040f7
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
call fcn.004038b5
lea ecx, [ebp - 8]
call fcn.004038fb
mov eax, dword [ebp + 8]
leave
ret
Function at 0x416009
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push 0x4c4040
push ecx
mov ecx, esp
push str.auto_update_domain
call fcn.00403927
push ecx
mov ecx, esp
push 0x4b0ae4
call fcn.0040a4e8
call fcn.00435153
mov eax, dword [0x4b0550]
and byte [ebp - 0xa], 0
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 4]
push eax
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x74
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x70
mov byte [ebp - 0x1c], 0x3a
mov byte [ebp - 0x1b], 0x2f
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x77
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x77
mov byte [ebp - 0x10], 0x61
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
call fcn.00403adc
mov eax, dword [0x4c4040]
cmp eax, 1
jl 0x416168
cmp eax, 3
jg 0x416168
cmp eax, 1
jne 0x4160e4
push 0x4b1bd8
lea ecx, [ebp - 8]
call fcn.00403927
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 8]
jmp 0x41612e
cmp eax, 2
jne 0x41610a
push 0x4b1bdc
lea ecx, [ebp - 8]
call fcn.00403927
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 8]
jmp 0x41612e
cmp eax, 3
jne 0x416133
push 0x4b1be0
lea ecx, [ebp - 8]
call fcn.00403927
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 8]
call fcn.004038fb
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0xc]
jl 0x41614d
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41615c
mov eax, dword [0x4b0550]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.0040a70f
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, esi
jmp 0x41617c
push dword [ebp + 8]
call fcn.00415e78
pop ecx
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop esi
leave
ret
Function at 0x4181e4
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0x4c]
call ebx
push eax
mov ecx, esi
call fcn.00416df7
mov edi, eax
test edi, edi
je 0x418293
mov eax, dword [edi + 4]
lea ebp, [edi + 4]
cmp dword [eax - 8], 0
je 0x41824f
push ebp
lea ecx, [esp + 0x14]
call fcn.004038b5
push 0
push ebp
push 0xd25
push dword [esi + 0x58]
call ebx
test eax, eax
je 0x418299
push 0x4bd614
mov ecx, ebp
mov dword [edi], eax
call fcn.00403adc
lea ecx, [esp + 0x10]
call fcn.004038fb
mov eax, dword [esi + 0x40]
cmp eax, dword [edi]
je 0x418293
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x418265
push 0
push eax
call ebp
mov edi, dword [edi]
test edi, edi
mov dword [esi + 0x40], edi
je 0x418293
push 0
push edi
push 0xd23
push dword [esi + 0x58]
call ebx
mov eax, dword [esi + 0x40]
push 0
push 1
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004164f3
push 5
push dword [esi + 0x40]
call ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x3c]
cmp eax, 0xffffffff
je 0x4182ae
push 0
push eax
push 0x130c
push dword [esi + 0x4c]
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
jmp 0x418293
Function at 0x418bab
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x418bc5
cmp edi, 1
je 0x418bc5
cmp edi, 0xffffffff
je 0x418bfe
xor al, al
jmp 0x418c24
cmp edi, 0xffffffff
je 0x418bfe
push ebx
push dword [esi + edi*4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x418be5
push 5
push dword [esi + edi*4]
call ebx
xor eax, eax
push 0
test edi, edi
sete al
push dword [esi + eax*4]
call ebx
cmp dword [esi + 0x20], edi
pop ebx
je 0x418c18
mov dword [esi + 0x20], edi
jmp 0x418c18
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x418c18
xor ecx, ecx
push 5
test eax, eax
sete cl
push dword [esi + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 0x48], edi
call fcn.00418d3e
mov al, 1
pop edi
pop esi
ret 4
Function at 0x41ac8b
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
mov dword [ebp - 8], ecx
push 8
call fcn.0049c851
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x41acb5
push dword [ebp + 8]
mov ecx, eax
call fcn.0048994a
mov esi, eax
jmp 0x41acb7
xor esi, esi
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x4b0550]
mov ecx, 0xac
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ebx
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x2e0]
push 0x2b4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
je 0x41ad29
lea eax, [ebp - 0x2d4]
test eax, eax
je 0x41ad19
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2d4]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
mov eax, dword [ebp + 0xc]
push 1
mov ecx, esi
mov dword [ebp - 0x2c], 0x37
mov dword [ebp - 0x28], eax
call fcn.0048a159
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0x1c], eax
call fcn.00403c58
push 3
mov ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], esi
call fcn.0048a159
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push ebx
push 0x40b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
mov esi, eax
call fcn.004038fb
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e74b
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x10
mov dword [ebp - 8], eax
je 0x41e781
xor ebx, ebx
push ebx
push 0x42000000
push 3
push ebx
push ebx
push 0x100
jmp 0x41e79a
mov esi, 0x80
push esi
push dword [ebp + 8]
call edi
xor ebx, ebx
push ebx
push esi
push 3
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41e7d4
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
jne 0x41e7d1
push dword [ebp - 8]
push dword [ebp + 8]
call edi
push 1
pop ebx
lea ecx, [ebp + 8]
call fcn.004038fb
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x254

Function at 0x41eb36
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa78
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x2ca0], ebx
push edi
mov dword [ebp - 4], ecx
je 0x41eb5a
push 1
pop eax
jmp 0x41ec72
lea esi, [eax + 0x2800]
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x94
lea edi, [ebp - 0x278]
lea eax, [ebp - 0xa78]
push str.Signatur:_s
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0049d06e
add esp, 0xc
lea eax, [ebp - 0xa78]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.00443bdc
push ebx
push 0x80
push 3
push ebx
push ebx
lea eax, [ebp - 0x24c]
push SHChangeNotifyRegister
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41ec70
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
xor ecx, ecx
xor esi, esi
xor edi, edi
or ecx, edx
or eax, esi
mov dword [ebp - 0x28], ebx
ja 0x41ebf8
cmp ecx, ebx
jbe 0x41ec59
push ebx
push 0xb
push eax
push ecx
call fcn.0049ddd0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
mov esi, 0x400
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], esi
jne 0x41ec59
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x28], eax
adc edi, dword [ebp - 0x18]
inc dword [ebp - 8]
add dword [ebp - 0x10], esi
cmp dword [ebp - 8], 0xa
jl 0x41ec16
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 1
pop eax
mov dword [ecx + 0x2ca0], eax
jmp 0x41ec72
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f50f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 0x290]
test ebx, ebx
jne 0x41f52b
push 1
pop eax
jmp 0x41f645
mov eax, dword [0x4b0550]
and dword [ebp - 4], 0
push esi
mov dword [ebp - 0xc], eax
test ebx, ebx
mov esi, 0x4b06b4
jle 0x41f58d
push esi
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x284]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041ba99
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41f541
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0041f7c0
mov eax, dword [0x4b0550]
and dword [ebp - 4], 0
test ebx, ebx
mov dword [ebp - 8], eax
jle 0x41f60e
lea eax, [ebp - 4]
lea ecx, [edi + 0x284]
push eax
call fcn.0041ba99
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f603
push esi
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x284]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041ba99
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea ecx, [ebp - 8]
call fcn.0040aa07
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41f5a8
mov eax, dword [ebp - 8]
cmp dword [eax - 8], 0
jle 0x41f628
push 0
push 0x4bd5d8
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
xor esi, esi
cmp dword [eax - 8], esi
jg 0x41f632
push 1
pop esi
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x41f6a2
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b0550]
and dword [ebp - 8], 0
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x2b0]
mov dword [ebp - 0xc], eax
test ecx, ecx
mov dword [ebp - 0x18], ecx
jle 0x41f799
lea eax, [ebp - 8]
lea ecx, [ebx + 0x2a4]
push eax
call fcn.0041ba99
push eax
lea ecx, [ebp - 4]
call fcn.004038b5
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 4]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 8]
lea ecx, [ebx + 0x2c4]
push eax
call fcn.00420718
sub esp, 0x250
mov ecx, 0x94
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, ebx
call fcn.0041e74b
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.00460471
cmp eax, 2
pop ecx
je 0x41f77f
push 0x4b06b4
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x41f6ca
mov eax, dword [ebp - 0xc]
cmp dword [eax - 8], 0
jle 0x41f7b0
push 0
push 0x4bd5d8
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f7c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 1]
push eax
call fcn.00403c58
test esi, esi
mov edx, eax
jle 0x41f7f3
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f7ee
and word [eax], 0
inc eax
inc eax
dec ecx
jne 0x41f7e4
and word [edx + esi*2], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x10], 0x40
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f82b
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
xor edi, edi
mov ebx, eax
cmp esi, edi
jle 0x41f860
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f85b
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f852
mov ecx, dword [ebp + 0xc]
mov word [ebx + esi*2], di
mov word [ebx + esi*2 + 2], di
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
cmp esi, edi
mov edx, eax
jle 0x41f890
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f88b
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f882
mov word [edx + esi*2], di
push 7
mov word [edx + esi*2 + 2], di
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov word [ebp - 0x14], 0xc1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41f8d2
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
xor edi, edi
mov ebx, eax
cmp esi, edi
jle 0x41f907
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f902
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f8f9
mov ecx, dword [ebp + 0xc]
mov word [ebx + esi*2], di
mov word [ebx + esi*2 + 2], di
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
cmp esi, edi
mov edx, eax
jle 0x41f937
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f932
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f929
mov word [edx + esi*2], di
push 7
mov word [edx + esi*2 + 2], di
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov word [ebp - 0x14], 0xc1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41f979
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4bd5dc]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x21c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4b1e14
lea ecx, [ebp - 4]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040a961
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4b0efc
push 0x4b1aa4
lea ecx, [ebp - 8]
call fcn.004040f7
push 0x4b1e3c
lea ecx, [ebp - 4]
call fcn.00403927
push str.__select__
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
push 3
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
pop edi
pop esi
leave
ret 4
Function at 0x41ff53
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
mov esi, ecx
push eax
call fcn.0041ffe6
xor eax, eax
push 3
push eax
push eax
push dword [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
xor eax, eax
pop esi
leave
ret 0x10