joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x466f44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x468454
mov dword [esp + 0x40], 3
call fcn.00453aa0
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.00458510
xor ebx, ebx
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x453628
mov edi, dword [esi + 0x4c]
add edi, 4
dec eax
cmp eax, ebx
mov dword [esi + 0x4c], edi
mov ecx, edi
mov dword [esi + 0x6c], eax
je 0x45358c
cmp ecx, dword [esi + 0x48]
jne 0x45361d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.00458510
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x4535ee
lea ecx, [esp + 0x18]
call fcn.00454d50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x44]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00458510
add esp, 4
jmp 0x45361d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.00454dc0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x453570
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.00458510
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
add esi, 4
add esp, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x40], 4
je 0x453668
mov ecx, edi
call fcn.0043f810
add edi, 4
cmp edi, ebp
jne 0x45365a
mov eax, dword [esi + 0x14]
push eax
call fcn.00458510
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x4536a1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x453698
cmp al, 0xff
je 0x453698
dec al
mov byte [ecx], al
jmp 0x4536a1
push ecx
call fcn.00458510
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x457020
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
test eax, eax
push edi
mov edi, ecx
jbe 0x457165
fldln2
push ebx
push ebp
push esi
fld qword [0x468348]
fyl2x
fldln2
fld qword [0x468368]
fyl2x
fdivp st(1)
call fcn.00458eac
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xfffffffc
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xc]
add eax, ecx
lea ebp, [edi + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov ebx, dword [esi]
push edx
mov ecx, edi
call fcn.00457240
push eax
lea eax, [ebx + ebx + 1]
imul eax, ebx
push eax
mov ecx, edi
call fcn.00457270
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00457240
lea edx, [ebx + ebx + 1]
push eax
imul edx, ebx
push edx
mov ecx, edi
call fcn.00457270
mov ebx, eax
mov ecx, edi
push ebx
call fcn.00457240
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi - 4]
xor eax, ecx
mov ecx, edi
push eax
call fcn.00457270
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esi - 4], eax
call fcn.00457240
mov ecx, dword [esi + 4]
push eax
xor ebx, ecx
mov ecx, edi
push ebx
call fcn.00457270
mov edx, dword [ebp]
add ebp, 8
add eax, edx
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov dword [esi - 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
dec eax
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
jne 0x457085
mov eax, dword [edi + 0x90]
mov ebx, dword [esi - 4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esi - 4], ebx
mov ecx, dword [edi + 0x94]
add edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
add esi, 0x10
add edx, esi
cmp edx, eax
jb 0x457066
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x457170
Capabilities:
Encrypt data using rc6

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, eax
mov ecx, eax
mov edx, eax
and ebx, 0x1000
and eax, 1
shr ecx, 0x10
shl edx, 0x10
or ebx, ecx
or edx, eax
shr ebx, 8
shl edx, 8
push edi
or ebx, edx
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
mov ecx, 0x23
mov edx, dword [eax - 4]
add eax, 4
sub edx, 0x61c88647
dec ecx
mov dword [eax - 4], edx
jne 0x4571ab
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x6c
push 3
mov ecx, esi
call fcn.00457240
push eax
mov eax, dword [esp + 0x1c]
add eax, ebp
mov ebp, dword [esi + edi*4 + 8]
add eax, ebp
mov ecx, esi
push eax
call fcn.00457270
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [esi + edi*4 + 8], eax
lea eax, [ecx + ebp]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.00457240
mov edx, dword [esp + 0x18]
push eax
add edx, ebx
mov ecx, esi
push edx
call fcn.00457270
mov ebx, eax
lea eax, [edi + 1]
xor edx, edx
mov ecx, 0x24
div ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
dec eax
mov dword [esp + 0x10], eax
mov edi, edx
jne 0x4571cd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x457370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x60
mov ecx, 8
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
lea edi, [esp + 0x10]
push 0x30
push 0x4783c0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00457290
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
add esp, 0xc
xor eax, eax
sub esi, ecx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, 0x30
jl 0x4573a9
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
lea ecx, [esp + 0x45]
lea esi, [ebp + 2]
movsx eax, byte [ecx - 5]
movsx edx, byte [ecx]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 4]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 3]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 2]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 1]
lea eax, [edx + eax*2]
lea edi, [ebx + eax]
mov eax, dword [edi*4 + 0x478500]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx eax, al
and eax, 0x80000001
jns 0x457415
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi - 2], al
mov eax, dword [edi*4 + 0x478500]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsx edx, al
and edx, 0x80000001
jns 0x457438
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi - 1], dl
mov eax, dword [edi*4 + 0x478500]
cdq
sub eax, edx
sar eax, 1
movsx eax, al
and eax, 0x80000001
jns 0x457456
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi], al
movsx edx, byte [edi*4 + 0x478500]
and edx, 0x80000001
jns 0x45746d
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi + 1], dl
add ebx, 0x40
add ecx, 6
add esi, 4
cmp ebx, 0x200
jl 0x4573cd
push 0x20
push 0x478480
push ebp
call fcn.00457290
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x4574a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50c
mov ecx, dword [esp + 0x514]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x520]
sub ecx, edi
lea ebp, [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 8
jmp 0x4574d0
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + edi]
mov dl, byte [edi]
mov byte [esp + 0x13], cl
mov esi, ebp
lea ecx, [esp + 0x5c]
xor eax, eax
mov byte [esp + 0x12], dl
mov edx, 7
sub esi, ecx
mov bl, byte [esp + 0x13]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
mov byte [esp + ecx + 0x5c], bl
mov bl, byte [esp + 0x12]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
inc eax
dec edx
cmp eax, 8
mov byte [esp + ecx + 0x1c], bl
jl 0x4574ec
mov eax, dword [esp + 0x14]
inc edi
add ebp, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x4574cc
push 0x40
lea edx, [esp + 0x20]
push 0x477fe0
push edx
call fcn.00457290
push 0x38
lea eax, [esp + 0x6c]
push str.91__
push eax
call fcn.00457290
add esp, 0x18
lea ebp, [esp + 0x11c]
mov ebx, 0x4782c0
mov ecx, dword [ebx]
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00457310
mov edi, ebp
add ebx, 4
add esp, 8
mov ecx, 0x10
lea esi, [esp + 0x5c]
add ebp, 0x40
cmp ebx, 0x478300
rep movsd dword es:[edi], dword [esi]
jl 0x457557
push 0x30
lea eax, [esp + 0x4e0]
push 0x478300
push eax
call fcn.00457290
mov ecx, 8
lea esi, [esp + 0x28]
lea edi, [esp + 0xe8]
lea edx, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x48]
lea edi, [esp + 0x28]
lea eax, [esp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.00457370
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov bl, byte [esp + eax + 0xdc]
xor cl, bl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x4575d6
lea ebx, [esp + 0x49c]
mov ebp, 0xf
mov ecx, 8
lea esi, [esp + 0x3c]
lea edi, [esp + 0xdc]
push 0x30
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x20]
lea edi, [esp + 0x40]
push 0x478300
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.00457290
lea edx, [esp + 0xa8]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
call fcn.00457370
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov dl, byte [esp + eax + 0xdc]
xor cl, dl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x457642
sub ebx, 0x40
dec ebp
jne 0x4575fc
push 0x40
lea edx, [esp + 0x20]
push 0x4780e0
push edx
call fcn.00457290
mov eax, dword [esp + 0x534]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004572d0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret
Function at 0x40ed86
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x40eae0
dec ecx
call fcn.0040eda8
dec ecx
xor dword [edi], edx
sub eax, ecx
inc edi
sub ecx, eax
or ecx, ecx
cmp edi, ebx
jne fcn.0040ed86
ret
Function at 0x40adb7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80cd18]
jne 0x40adc1
repz ret
jmp fcn.0040e23c

Function at 0x40ca42
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80cd18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406aa4
and dword [ebp - 0x14], 0
cmp dword [0x80eb04], 0
mov dword [ebp - 0x18], eax
jne 0x40caf5
push 0x404450
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cb9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404444
push ebx
call edi
test eax, eax
je 0x40cb9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404434
push ebx
mov dword [0x80eb04], eax
call edi
push eax
call esi
push 0x404420
push ebx
mov dword [0x80eb08], eax
call edi
push eax
call esi
push 0x404404
push ebx
mov dword [0x80eb0c], eax
call edi
push eax
call esi
mov dword [0x80eb14], eax
test eax, eax
je 0x40caf5
push 0x4043ec
push ebx
call edi
push eax
call esi
mov dword [0x80eb10], eax
mov eax, dword [0x80eb10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cb4e
cmp dword [0x80eb14], ecx
je 0x40cb4e
push eax
call esi
push dword [0x80eb14]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cb4e
test ebx, ebx
je 0x40cb4e
call edi
test eax, eax
je 0x40cb45
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cb45
test byte [ebp - 8], 1
jne 0x40cb4e
or dword [ebp + 0x10], 0x200000
jmp 0x40cb81
mov eax, dword [0x80eb08]
cmp eax, dword [ebp - 0x18]
je 0x40cb81
push eax
call esi
test eax, eax
je 0x40cb81
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cb81
mov eax, dword [0x80eb0c]
cmp eax, dword [ebp - 0x18]
je 0x40cb81
push eax
call esi
test eax, eax
je 0x40cb81
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80eb04]
call esi
test eax, eax
je 0x40cb9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cb9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040adb7
leave
ret
Function at 0x808ed0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer
Read file on windows
Set console window title

Disassembly:
mov eax, 0x1864
call fcn.0040e390
cmp dword [0xb92b8c], 0x37
jne 0x808fc2
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x404798
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea edx, [esp + 0xc68]
push edx
push 0x4047ac
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0x4047bc
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea eax, [esp + 8]
push eax
push 0x4047d4
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0x4047f8
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0
lea ecx, [esp + 0x468]
push ecx
push 0
push 0x404838
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
lea edx, [esp + 0x1064]
push edx
push 0
push 0x404860
push 0x404880
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 0
push 0
push 0x4048a4
push 0x4048d4
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0xb93b80]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x813bdc]
mov byte [eax + esi], dl
add esp, 0x1864
ret
Function at 0x809160
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb92b8c]
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, dword [0x813bdc]
shr eax, 3
push edi
test eax, eax
je 0x80930f
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x809194
mov esi, dword [esp + 0x18]
cmp dword [0xb92b8c], 0x1c
jne 0x8091b1
lea eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x80d310]
mov ecx, dword [0x80d314]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [0x80d318]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x80d31c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x8091f5
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x2c]
shl ecx, 4
add ecx, dword [esp + 0x24]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0xb92afc], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0xb92b8c], 0x1be
lea ebp, [ebx + edi]
jne 0x80924a
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0xb92b8c], 0x979
mov dword [0xb92b00], 0xff6b3619
mov dword [0xb92b04], 0xffffffff
jne 0x809286
lea eax, [esp + 0x98]
push eax
push 0x404528
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov eax, dword [0xb92b8c]
cmp eax, 0x93
je 0x8092a6
add ebx, 0x61c88647
dec dword [esp + 0x1c]
jne 0x8091f1
cmp eax, 0x8d4
jne 0x8092c2
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0xb92b8c], 0x17
jne 0x8092fe
push 0
push 0
push 0
push 0x404600
push 0x4046a0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x809190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2dc
ret
Function at 0x409f20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e62b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00462d90
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409fa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460b3d
mov eax, dword [eax]
push 0x48d1d0
push eax
call fcn.00452fc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046301b
test bl, bl
je 0x409fa2
push 0x48d1d0
lea ecx, [esp + 0xc]
call fcn.004633ab
push 0x490d4c
lea ecx, [esp + 0xc]
call fcn.004633ab
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x409fde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046301b
jmp 0x40a0a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40a062
lea edx, [esp + 0x7c]
push 0x490d48
push edx
call fcn.00452fc4
add esp, 8
test eax, eax
je 0x40a062
lea eax, [esp + 0x7c]
push 0x490d44
push eax
call fcn.00452fc4
add esp, 8
test eax, eax
je 0x40a062
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409ff2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046301b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40a8a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a902
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40a910
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e6ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x497ad4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40aa48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a976
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046301b
xor eax, eax
jmp 0x40aabf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00463158
push esi
lea ecx, [esp + 0xc]
call fcn.004633e7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40aa9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a8a0
test eax, eax
jne 0x40aa9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040a8a0
test eax, eax
jne 0x40aa9d
lea eax, [esp + 0x14]
push 0x490d60
push eax
call fcn.00454000
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa7c
lea ecx, [esp + 0x14]
push 0x490d5c
push ecx
call fcn.00453f80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40aa7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40aa7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00463108
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a98e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046301b
xor eax, eax
jmp 0x40aabf
mov byte [esi], 0
push 0x490d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046301b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4