joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4476fd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44779a
push ebx
push esi
call fcn.004476c6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00445a64
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x447747
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447799
push edi
push eax
call fcn.00445751
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x447767
call fcn.00445717
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x447798
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00445a64
add esp, 0x20
test eax, eax
jne 0x447786
push edi
call fcn.00445717
jmp 0x44778e
push ebx
call fcn.00445717
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10001094
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov eax, dword [0x100064e4]
mov ecx, dword [ebp - 0x68]
sub ecx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [0x1000672c]
cmp eax, 0
jge 0x100010dc
mov dword [0x100066f4], ecx
and edi, dword [0x10006534]
mov eax, dword [ebp - 0x24]
mov esi, 0x2b
mov esi, dword [ebp - 0x28]
mov ax, 0x10
mov dword [ebp - 0x3c], edi
mov dword [0x10006700], eax
mov dword [0x100065ec], eax
mov dword [ebp - 0x18], edx
mov dword [0x100063e0], edx
mov eax, dword [0x10006384]
mov ecx, dword [ebp - 0x7c]
sub eax, eax
mov eax, dword [ebp - 0x10]
mov eax, 0xd9
test eax, eax
jl 0x10001124
mov eax, dword [ebp - 0x4c]
mov dword [0x10006758], edx
mov eax, dword [0x1000659c]
mov eax, dword [ebp - 0x1c]
mov ax, 0x3f
dec dword [ebp - 0x30]
mov dword [0x100066d4], eax
mov dword [ebp - 0x14], eax
mov ecx, dword [0x10006684]
mov dword [0x10006778], edx
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x1c], esi
push eax
adc ecx, dword [ebp - 0x48]
push ecx
call sub.kernel32.dll_SetEndOfFile
mov edx, dword [0x10006678]
mov eax, dword [ebp - 0x44]
xor ecx, eax
mov edi, dword [ebp - 0x10]
mov eax, dword [0x10006384]
cmp edi, 0
jg 0x10001185
mov edx, dword [0x100064b8]
mov ecx, dword [0x1000662c]
mov eax, dword [ebp - 0x78]
mov esi, 0xba
mov eax, dword [ebp - 8]
mov esi, dword [0x10006540]
mov edi, 4
mov dword [ebp - 0x50], eax
mov dword [0x100066c8], eax
mov dword [ebp - 0x2c], eax
mov esi, dword [0x1000653c]
mov dword [ebp - 0x1c], eax
push edx
or dword [0x10006384], 0xffff
push dword [0x100066d0]
call sub.USER32.DLL_DefWindowProcA
and esi, dword [0x10006500]
mov ecx, dword [ebp - 0x6c]
mov edx, 0x80
sub eax, eax
cmp dword [ebp + 0x40], esi
jnp 0x100011d6
mov edi, dword [0x100065cc]
mov eax, dword [0x100063c8]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov eax, dword [0x10006460]
mov ecx, dword [ebp - 0x50]
add esi, eax
mov edi, dword [0x10006544]
sub eax, eax
cmp dword [ebp + 0x83], eax
jne 0x10001219
mov dword [0x10006618], eax
mov edi, dword [0x1000677c]
mov eax, dword [ebp - 0x2c]
add ecx, eax
invalid
add dword [eax], eax
Function at 0x100021d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff10
mov edi, dword [0x10006390]
mov edi, dword [ebp - 0x6c]
mov eax, 0xe7
xor eax, dword [ebp - 0xec]
cmp eax, dword [ebp + 0xb2]
je 0x1000221d
mov eax, dword [0x10006530]
add eax, dword [ebp - 0x9c]
mov ax, 0xf0
mov eax, dword [0x10006384]
mov dword [ebp - 0x2c], eax
mov dword [0x100065f8], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb4], edi
mov eax, dword [ebp - 0xac]
push edi
push dword [0x1000650c]
call sub.kernel32.dll_SetEndOfFile
mov edi, dword [0x1000675c]
mov edx, dword [ebp - 0x94]
add eax, edi
mov esi, dword [0x10006668]
sub eax, esi
cmp dword [0x10006560], 6
jge 0x1000227b
mov eax, dword [0x10006768]
sub dword [ebp - 0xc0], edi
mov esi, dword [0x10006704]
mov eax, dword [ebp - 0xc]
sub eax, esi
mov dword [ebp - 0x88], eax
mov dword [0x100064c4], eax
mov dword [ebp - 0xf0], edx
mov dword [0x100064a0], edx
push 2
mov ecx, dword [ebp - 0xec]
or ecx, esi
push ecx
call sub.kernel32.dll_SetErrorMode
mov edx, dword [0x10006764]
mov eax, dword [ebp - 0x1c]
add eax, eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [0x100063e0]
cmp dword [0x1000654c], 0xf4
jno 0x100022e2
mov dword [ebp - 0x7c], esi
mov eax, dword [0x100064e4]
mov eax, dword [ebp - 0xdc]
mov esi, 0xc2
mov eax, dword [0x10006700]
add eax, eax
mov dword [ebp - 0x80], eax
mov dword [0x100063c8], eax
mov dword [ebp - 8], eax
mov dword [0x10006414], edi
mov esi, dword [0x10006634]
mov eax, dword [ebp - 0x28]
mov ecx, dword [0x10006670]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [0x10006450]
mov edx, dword [ebp - 0x6c]
mov edi, 0x2a
cmp edx, dword [ebp + 0xcd]
jb 0x1000232e
sub dword [ebp - 0x70], 0x40
mov dword [0x10006744], eax
mov eax, dword [0x1000657c]
mov eax, dword [ebp - 0xf0]
sub eax, edi
mov dword [ebp - 0x64], eax
mov dword [0x10006690], ecx
mov dword [ebp - 0xd8], esi
mov eax, dword [0x10006534]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc8], edx
leave
ret 4
Function at 0x5adb70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x111000]
push edi
or ebp, 0xffffffff
jmp 0x5adb92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5adb99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5adb88
mov eax, 1
add ebx, ebx
jne 0x5adbab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5adbbc
jne 0x5adbdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5adbdb
dec eax
add ebx, ebx
jne 0x5adbc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5adba0
add ebx, ebx
jne 0x5adbd7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5adc2d
xor ecx, ecx
sub eax, 3
jb 0x5adbf3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5adc62
sar eax, 1
mov ebp, eax
jmp 0x5adbfe
add ebx, ebx
jne 0x5adbfe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5adbcc
inc ecx
add ebx, ebx
jne 0x5adc0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5adbcc
add ebx, ebx
jne 0x5adc19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5adc0e
jne 0x5adc2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5adc0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5adc4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5adc3e
jmp 0x5adb8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5adc4c
add edi, ecx
jmp 0x5adb8e
pop esi
mov edi, esi
mov ecx, 7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5adc6a
cmp byte [edi], 1
jne 0x5adc6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5adc6f
lea edi, [esi + 0x1ab000]
mov eax, dword [edi]
or eax, eax
je 0x5adce7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fe2ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fe33c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5adc9c
mov ecx, edi
jns 0x5adccb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fe340]
or eax, eax
je 0x5adce1
mov dword [ebx], eax
add ebx, 4
jmp 0x5adcb9
call dword [esi + 0x1fe350]
mov ebp, dword [esi + 0x1fe344]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5add1b
sub esp, 0xffffff80
jmp 0x401178
Function at 0x4019df
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov ecx, 0x56fd90
jmp 0x4019d3
mov eax, 0x4c8f4a
call fcn.0049cc64
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041859d
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.00401ab4
push 1
lea ecx, [esi + 0x30]
pop ebx
mov byte [ebp - 4], bl
call fcn.0042f383
mov eax, dword [0x56b620]
lea ecx, [esi + 0x58]
mov dword [ecx], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x5c], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x70], eax
mov eax, dword [0x56b620]
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, 0x56fe14
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x4d2950
mov dword [esi + 0x14], 0x4d294c
mov dword [esi + 0x30], 0x4d2940
mov dword [esi + 0x50], ebx
call fcn.004b9716
push edi
lea ecx, [esi + 0x5c]
call fcn.004b9716
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.004b9716
and dword [esi + 0x74], 0
push edi
lea ecx, [esi + 0x78]
call fcn.004b9716
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 0x405461
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x4c9548
call fcn.0049cc64
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x56fe14
lea ecx, [ebp - 0x10]
call fcn.004b95f3
add esi, 0x200
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00406a17
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x405505
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00406a2b
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0xc8]
cmp dword [eax + 0x6c], 0x64
jne 0x405500
cmp dword [eax + 0x74], 0x64
jne 0x405500
push dword [eax + 0x5a0]
lea edi, [eax + 0x5a0]
call ebx
test eax, eax
je 0x4054fe
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x4054db
push 0x4f4984
lea ecx, [ebp - 0x10]
call fcn.004b9970
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9970
push edi
lea ecx, [ebp - 0x10]
call fcn.004b99ac
push 0x4f4980
lea ecx, [ebp - 0x10]
call fcn.004b9970
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x405491
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x405547
lea eax, [ebp - 0x14]
push eax
call fcn.00402072
pop ecx
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x40552c
push 5
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x405538
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.004b957f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4083af
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4c9818
call fcn.0049cc64
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.0040832b
mov eax, dword [esi]
push fcn.00404040
mov ecx, esi
call dword [eax + 0x30]
push dword [ebp + 0x10]
dec dword [ebx + 0xc]
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004b95f3
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.004b957f
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 0x40a295
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, 0x4d39c0
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.0049d040
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.0040a623
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40ae99
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.0049d040
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 0x410b5d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca27c
call fcn.0049cc64
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004b95f3
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x410b97
push eax
mov ecx, esi
call fcn.004bcbd1
or ebx, 0xffffffff
jmp 0x410c29
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x410c09
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.004b6bb0
cmp dword [ebp - 0x10], edi
jge 0x410bf3
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410bf3
push edi
push 1
push dword [ebp + 8]
call fcn.00416293
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 0x410c17
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.004b957f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4118f8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4ca34c
call fcn.0049cc64
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004c00cb
cmp dword [esi], 0
mov ebx, eax
je 0x411945
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.004178a1
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x411978
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.004176a8
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.004bf9e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004b957f
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x412376
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4ca52c
call fcn.0049cc64
push ecx
mov eax, dword [0x56b620]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x56b620]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x24], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x28], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x2c], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x30], eax
mov eax, dword [0x56b620]
mov dword [esi + 0x34], eax
mov eax, dword [0x56b620]
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], 0x4d59d4
mov dword [esi + 0xc], eax
call fcn.0041704f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x413d9e
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 0x41563f
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 0x415677
or eax, 0xffffffff
jmp 0x4156ec
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x5c], 0xa
je 0x4156b3
mov dword [ebp + 8], edi
push 0x64
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4156bd
mov eax, dword [ebp + 0xc]
cmp dword [eax], edi
je 0x415686
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x415686
push 1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x4156bd
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 0x4156d4
cmp dword [eax], edi
je 0x4156d4
push 1
pop eax
jmp 0x4156ec
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 0x4156f3
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 0x41572b
or eax, 0xffffffff
jmp 0x4157a3
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x5c], 0xa
je 0x41576a
mov dword [ebp + 8], ebx
push 0x64
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x415774
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x41573a
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x58]
jl 0x41573a
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x415774
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 0x41578b
cmp dword [eax], ebx
je 0x41578b
push 1
pop eax
jmp 0x4157a3
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 0x415903
Capabilities:
Copy file

Disassembly:
mov eax, 0x4ca80c
call fcn.0049cc64
mov eax, 0x1024
call fcn.0049dee0
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.004b95f3
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x415953
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.00415bcb
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b96c6
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.004b957f
push dword [ebp - 0x10]
call fcn.00415e40
cmp eax, 0xffffffff
pop ecx
jne 0x415968
push 0xfffffffffffffffe
jmp 0x415a2e
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.0049d264
lea eax, [ebp - 0x830]
push eax
call fcn.0049d6fd
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.0049d71a
add esp, 0x18
cmp eax, ebx
je 0x4159b9
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.0049d71a
pop ecx
pop ecx
jmp 0x4159a3
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.0049d264
lea eax, [ebp - 0x1030]
push eax
call fcn.0049d6fd
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0049d040
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 0x415a27
or ebx, 0xffffffff
jmp 0x415a2f
cmp dword [ebp - 0x1e], ebx
je 0x415a2f
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b957f
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x415f10
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ca8a3
call fcn.0049cc64
sub esp, 0x10
and dword [ebp - 0x1c], 0
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.004b95f3
push 1
lea ecx, [ebp - 0x14]
pop ebx
push 0x2e
mov dword [ebp - 4], ebx
call fcn.004b58f0
push dword [ebp + 0x10]
lea ecx, [ebp + 0x14]
call fcn.004b95f3
mov eax, dword [0x56b620]
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.004b5851
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x415f91
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92ec
mov dword [ebp - 0x1c], ebx
jmp 0x415fe7
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.004b5851
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.004b5851
add esp, 0x14
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x415fd4
inc dword [ebp - 0x18]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
jmp 0x415f9d
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
call fcn.004b92ec
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004b957f
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004b957f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004b957f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret