joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d2d8ef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x6d2d8f07
pop dword [ebp - 0x48]
mov eax, 0x315eafd8
sub eax, 0xc43120d1
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xafbef76e
add dword [ebp - 0x58], 0x9e934ddd
mov dword [ebp - 0x54], 0xf50bb7cb
sub dword [ebp - 0x54], 0xc2d86b86
mov dword [ebp - 0x50], 0x78c61b81
add dword [ebp - 0x50], 0xd38628ad
mov dword [ebp - 0x4c], 0x14d956cb
sub dword [ebp - 0x4c], 0x14d956cb
lea eax, [ebp - 0x58]
push eax
mov eax, 0x7294fc43
sub eax, 0x5674c27
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x4d9431b5
add dword [ebp - 0x58], 0x26de37a1
mov dword [ebp - 0x54], 0xaef389ea
add dword [ebp - 0x54], 0x9278d78b
mov dword [ebp - 0x50], 0xeee7081
sub dword [ebp - 0x50], 0xab7f0415
mov dword [ebp - 0x4c], 0x815e7926
add dword [ebp - 0x4c], 0x7ea186da
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x202fc653
add eax, 0x4cfde9c5
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3938c
push 0
call eax
mov ecx, 0x51e7
xor ebx, ebx
add ebx, eax
mov edx, 0x76e4a612
add edx, 0xf64a81ee
add edx, dword [ebp - 0x48]
mov edi, 0x414653dc
xor dword [ebp - 0x44], 0x94677a79
mov esi, dword [edx]
sub dword [ebp - 0x1c], eax
xor esi, edi
sub dword [ebp - 0x24], 0xfe5a599
mov dword [ebx], esi
add dword [ebp - 0x30], 0x7c8abc08
add ebx, 0x6e8c83a6
sub ebx, 0x6e8c83a2
add edx, 4
loop 0x6d2d901f
add eax, 0x13a6f
xor ebx, ebx
add ebx, eax
add eax, 0xd2988ff1
sub eax, 0xd2988fec
mov ecx, 0xb47ab039
add ecx, 0xb8b14fc7
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x6d2d932c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d2e54cc]
jne 0x6d2d9336
repz ret
jmp fcn.6d2d99bc
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x1000df50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000df5f
pop dword [ebp - 0x24]
mov eax, 0x1000df5f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x7fd136e2
sub dword [ebp - 0x34], 0x317ef197
mov dword [ebp - 0x30], 0x2cbc2ffd
add dword [ebp - 0x30], 0x5771c48
mov dword [ebp - 0x2c], 0x53f96986
add dword [ebp - 0x2c], 0xf852daa8
mov dword [ebp - 0x28], 0x9ea34db7
sub dword [ebp - 0x28], 0x9ea34db7
lea eax, [ebp - 0x34]
push eax
mov eax, 0x330e29fe
sub eax, 0x230cc99e
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x7dd9d8c9
add dword [ebp - 0x34], 0xf698908d
mov dword [ebp - 0x30], 0x4079d53e
add dword [ebp - 0x30], 0xf28c37
mov dword [ebp - 0x2c], 0x3afa83f5
sub dword [ebp - 0x2c], 0xd78b1789
mov dword [ebp - 0x28], 0x45e82c90
add dword [ebp - 0x28], 0xba17d370
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37631
push 0
call eax
mov ecx, 0x4731
mov esi, eax
mov edx, 0x10023600
add edx, dword [ebp - 0x24]
mov ebx, 0x1fde86bd
sub dword [ebp - 0xc], edi
mov edi, dword [edx]
add dword [ebp - 8], edi
sub edi, ebx
xor dword [ebp - 0x20], 0x2b40e774
mov dword [esi], edi
add esi, 0x85a6eb90
sub esi, 0x85a6eb8c
add edx, 4
loop 0x1000e065
add eax, 0xdf5982e0
sub eax, 0xdf587349
mov ebx, eax
add eax, 0xc12ecfdc
add eax, 0x3ed13029
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4a9293
Capabilities:
Encode data using xor

Disassembly:
pop esi
mov di, 0x70b9
push ebp
invalid
push ebp
pop es
fnsave dword [edi + eax*2 + 0x10]
or al, 0x40
wait
pop esp
cmp edx, dword [eax + 0x203ad14e]
sbb ebp, dword [edi]
jge 0x4a92c6
xor eax, 0xa07b214f
sbb al, bh
jl 0x4a931f
cmp dword [ecx + 0x5a0065dc], edx
lea esp, [ecx]
cmpsd dword [esi], dword es:[edi]
call 0x1bd80dbb
mov ebp, 0xea0b3512
loopne 0x4a9284
mov edi, 0x3b8026c2
in eax, 0x4f
invalid
ret 0x8026
push esp
std
mov edx, 0x6758ebe0
inc eax
les esi, [ebx]
push ds
push ecx
and byte [ecx + 0x70dae86c], dh
push esi
cmp byte [edx + 0x2966a2f], ah
sal byte [ebx - 0x7a366fb7], 0x2a
jne 0x4a92e7
invalid

Function at 0x4b93d1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c13d0
cmp edx, dword [eax]
je 0x4b93f3
add eax, 8
inc ecx
cmp eax, 0x4c1460
jl 0x4b93e4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c13d0]
jne 0x4b9521
mov eax, dword [0x4c5d5c]
cmp eax, 1
je 0x4b94fb
test eax, eax
jne 0x4b9424
cmp dword [0x4c12fc], 1
je 0x4b94fb
cmp edx, 0xfc
je 0x4b9521
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b945b
lea eax, [ebp - 0x1a4]
push 0x4be860
push eax
call fcn.004b9db0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba240
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b949e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba240
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be85c
push edi
call fcn.004bc110
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be840
push eax
call fcn.004b9db0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9dc0
lea eax, [ebp - 0xa0]
push 0x4be83c
push eax
call fcn.004b9dc0
push dword [esi + 0x4c13d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9dc0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be814
push eax
call fcn.004bc084
add esp, 0x2c
pop edi
jmp 0x4b9521
lea eax, [ebp + 8]
lea esi, [esi + 0x4c13d4]
push 0
push eax
push dword [esi]
call fcn.004ba240
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x348a68f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x348a6903
pop dword [ebp - 0x44]
mov eax, 0x95b77435
add eax, 0x9ed2f4ce
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x7224800f
add dword [ebp - 0x54], 0xdc2dc53c
mov dword [ebp - 0x50], 0x937b7f46
sub dword [ebp - 0x50], 0x61483301
mov dword [ebp - 0x4c], 0xb44198ec
add dword [ebp - 0x4c], 0x980aab42
mov dword [ebp - 0x48], 0x6341e5f6
sub dword [ebp - 0x48], 0x6341e5f6
lea eax, [ebp - 0x54]
push eax
mov eax, 0x9775c87e
sub eax, 0x62ecb76a
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x5a3c9d7f
add dword [ebp - 0x54], 0x1a35cbd7
mov dword [ebp - 0x50], 0x8c029e68
add dword [ebp - 0x50], 0xb569c30d
mov dword [ebp - 0x4c], 0x5f8af000
add dword [ebp - 0x4c], 0x3e47c6c
mov dword [ebp - 0x48], 0x58611e42
add dword [ebp - 0x48], 0xa79ee1be
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xee47ba27
sub eax, 0xb9bea873
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x48fec
push 0
call eax
mov ecx, 0x41f64c95
sub ecx, 0x41f60544
mov edx, eax
mov ebx, 0x6a5b5a8e
add ebx, 0xca33c572
add ebx, dword [ebp - 0x44]
mov edi, 0xb0f52677
add edi, 0x631c0d0d
add dword [ebp - 0x40], ecx
mov esi, dword [ebx]
mov dword [ebp - 0x20], 0x44c76fb4
xor esi, edi
sub dword [ebp - 0x30], 0xe227e4d0
mov dword [edx], esi
xor dword [ebp - 0x28], ecx
add edx, 0xc726c43f
sub edx, 0xc726c43b
add ebx, 0x804a4ba7
sub ebx, 0x804a4ba3
loop 0x348a6a25
add eax, 0x8dc79a48
add eax, 0x723975cf
xor ebx, ebx
add ebx, eax
add eax, 0xba7742af
add eax, 0x4588bd56
mov ecx, 0x34890000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4019dc
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ecx, 0x570ab0
jmp 0x4019d0
mov eax, 0x4c931a
call fcn.0049d040
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004188c2
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.00401ab1
push 1
lea ecx, [esi + 0x30]
pop ebx
mov byte [ebp - 4], bl
call fcn.0042b8ea
mov eax, dword [0x56c338]
lea ecx, [esi + 0x58]
mov dword [ecx], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x5c], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x70], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x78], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
mov edi, 0x570b34
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d2940
mov dword [esi + 0x14], 0x4d293c
mov dword [esi + 0x30], 0x4d2930
mov dword [esi + 0x50], ebx
call fcn.004b9ae1
push edi
lea ecx, [esi + 0x5c]
call fcn.004b9ae1
and dword [esi + 0x6c], 0
push edi
lea ecx, [esi + 0x70]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], 0x80
mov dword [esi + 0x68], 0x48
call fcn.004b9ae1
and dword [esi + 0x74], 0
push edi
lea ecx, [esi + 0x78]
call fcn.004b9ae1
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405427
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4c990c
call fcn.0049d040
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x570b34
lea ecx, [ebp - 0x10]
call fcn.004b99be
add esi, 0x200
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00406a39
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x4054ce
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00406a4d
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
cmp dword [eax + 0x74], 0x64
jne 0x4054c9
cmp dword [eax + 0x80], 0x64
jne 0x4054c9
push dword [eax + 0x5c8]
lea edi, [eax + 0x5c8]
call ebx
test eax, eax
je 0x4054c7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x4054a4
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
push edi
lea ecx, [ebp - 0x10]
call fcn.004b9d77
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9d3b
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x405457
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x405510
lea eax, [ebp - 0x14]
push eax
call fcn.0040206f
pop ecx
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x4054f5
push 5
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x405501
push 1
push edi
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.004b994a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x409067
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c9cc0
call fcn.0049d040
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
sub esp, 0x10
mov esi, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.00408fe3
mov eax, dword [esi]
push 0x404040
mov ecx, esi
call dword [eax + 0x30]
push dword [ebp + 0x10]
dec dword [ebx + 0xc]
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004b99be
mov eax, dword [eax]
mov edx, dword [esi]
and dword [ebp - 4], 0
push 0x8825
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004b994a
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4d39a8
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.0049d420
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040a638
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40aebc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.0049d420
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4
Function at 0x410e93
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca63c
call fcn.0049d040
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004b99be
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x410ecd
push eax
mov ecx, esi
call fcn.004bcf9e
or ebx, 0xffffffff
jmp 0x410f5f
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410f3f
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.004b6ff8
cmp dword [ebp - 0x10], edi
jge 0x410f29
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410f29
push edi
push 1
push dword [ebp + 8]
call fcn.004165c5
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x410f4d
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x411c2e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca70c
call fcn.0049d040
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004c049b
cmp dword [esi], 0
mov ebx, eax
je 0x411c7b
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.00417bd1
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x411cae
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.004179d8
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.004bfdb7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4126b1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4ca8ec
call fcn.0049d040
push ecx
mov eax, dword [0x56c338]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x56c338]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x24], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x28], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x2c], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x30], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x34], eax
mov eax, dword [0x56c338]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4d5a0c
mov dword [esi + 0xc], eax
call fcn.0041737f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4140d9
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x415976
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x60]
lea ebx, [esi + 4]
mov dword [ebp - 4], eax
push ebx
mov dword [eax], edi
lea eax, [esi + 0x14]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
mov dword [esi + 0x5c], edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4159ae
or eax, 0xffffffff
jmp 0x415a23
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x4159ea
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4159f4
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x4159bd
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x4159bd
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4159f4
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, edi
je 0x415a0b
cmp dword [eax], edi
je 0x415a0b
push 1
pop eax
jmp 0x415a23
mov esi, dword [ebp - 4]
push esi
push dword [ebx]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x415a2a
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x60]
lea edi, [esi + 4]
mov dword [ebp - 4], eax
push edi
mov dword [eax], ebx
lea eax, [esi + 0x14]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
mov dword [esi + 0x5c], ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415a62
or eax, 0xffffffff
jmp 0x415ada
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x415aa1
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415aab
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x415a71
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x415a71
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x415aab
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x5c], 0x64
cmp eax, ebx
je 0x415ac2
cmp dword [eax], ebx
je 0x415ac2
push 1
pop eax
jmp 0x415ada
mov esi, dword [ebp - 4]
push esi
push dword [edi]
mov dword [esi], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x415c35
Capabilities:
Copy file

Disassembly:
mov eax, 0x4cabcc
call fcn.0049d040
mov eax, 0x1024
call fcn.0049e2d0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004b99be
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x415c85
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00415efd
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b9a91
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.004b994a
push dword [ebp - 0x10]
call fcn.00416172
cmp eax, 0xffffffff
pop ecx
jne 0x415c9a
push 0xfffffffffffffffe
jmp 0x415d60
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.0049d654
lea eax, [ebp - 0x830]
push eax
call fcn.0049dae4
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.0049db01
add esp, 0x18
cmp eax, ebx
je 0x415ceb
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0049db01
pop ecx
pop ecx
jmp 0x415cd5
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.0049d654
lea eax, [ebp - 0x1030]
push eax
call fcn.0049dae4
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0049d420
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x415d59
or ebx, 0xffffffff
jmp 0x415d61
cmp dword [ebp - 0x1e], ebx
je 0x415d61
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x416242
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cac63
call fcn.0049d040
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b99be
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b5cc0
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.004b99be
mov eax, dword [0x56c338]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
mov edi, str._s_s._s
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5c21
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x4162c3
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b96b7
mov dword [ebp - 0x1c], ebx
jmp 0x416319
push ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
mov ebx, str._s___d_
lea eax, [ebp + 0x14]
push ebx
push eax
call fcn.004b5c21
add esp, 0x10
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
push eax
call fcn.004b5c21
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x416306
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x4162cf
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b96b7
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b994a
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004b994a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b994a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret