joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409d7a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x43f5de], 0
mov eax, dword [ebp + 0xc]
mov dword [0x43f5d0], eax
mov eax, dword [ebp + 0x10]
mov dword [0x43f5d4], eax
mov eax, dword [ebp + 0x14]
mov dword [0x43f5c8], eax
je 0x409daa
xor eax, eax
inc eax
jmp 0x409dd3
cmp byte [0x43f5df], 0
je 0x409db8
push 2
pop eax
jmp 0x409dd3
push dword [ebp + 8]
push 0x409595
push dword [0x43f5f0]
push str.REPLACEFILEDLG
push dword [0x43f5cc]
call esi
dec eax
je 0x409e25
dec eax
je 0x409e37
dec eax
je 0x409e1e
dec eax
jne 0x409e02
push dword [ebp + 8]
push 0x408aa6
push dword [0x43f5f0]
push str.RENAMEDLG
push dword [0x43f5cc]
call esi
test eax, eax
je 0x409d84
mov al, 0x52
jmp 0x409e32
dec eax
je 0x409e13
dec eax
mov al, 0x4e
jne 0x409e32
mov byte [0x43f5df], 1
jmp 0x409e32
mov byte [0x43f5e2], 1
mov al, 0x43
jmp 0x409e32
mov byte [0x43f5de], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x409e32
Function at 0x40bb9f
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x434514]
mov ecx, eax
xor ecx, dword [esp + 4]
shr eax, 8
mov edx, 0xff
and ecx, edx
xor eax, dword [ecx*4 + 0x44cd10]
mov ecx, dword [0x43451c]
mov dword [0x434514], eax
movzx eax, al
add eax, dword [0x434518]
imul eax, eax, 0x8088405
inc eax
mov dword [0x434518], eax
shr eax, 0x18
xor eax, ecx
and eax, edx
shr ecx, 8
xor ecx, dword [eax*4 + 0x44cd10]
mov eax, dword [esp + 4]
mov dword [0x43451c], ecx
ret 4

Function at 0x40bc3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040bbf9
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040dc60
add esp, 0xc
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040bb7f
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040bb9f
inc esi
cmp esi, 0xc
jl 0x40bc5e
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x4233b0]
test byte [eax + 0x40], 2
movzx eax, byte [0x43342f]
jne 0x40bc99
movzx eax, byte [0x433437]
movzx ecx, cx
cmp ecx, eax
je 0x40bca5
or eax, 0xffffffff
jmp 0x40bcea
mov ecx, dword [0x4333c8]
mov eax, ecx
cdq
cmp edx, dword [0x42218c]
push edi
jl 0x40bcc7
mov edx, dword [0x422188]
jg 0x40bcc3
cmp eax, edx
jbe 0x40bcc7
mov edi, edx
jmp 0x40bcc9
mov edi, ecx
mov esi, dword [0x4333c0]
jmp 0x40bce3
dec edi
call fcn.0040bb7f
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040bb9f
inc esi
test edi, edi
jne 0x40bcd1
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x40c6a9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0x48]
test eax, eax
jl 0x40c6db
cmp dword [ebp - 4], edi
jne 0x40c71c
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x2710
ja 0x40c71c
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40c6c8
push edi
push edi
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40c6c8
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0x48]
mov esi, eax
cmp esi, edi
jl 0x40c772
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x41ae30
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x40c769
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, edi
jl 0x40c760
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
cmp esi, edi
pop edi
pop esi
setge al
pop ebx
leave
ret 8
Function at 0x40cf30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
push 0
push dword [ebp + 0xc]
mov esi, ecx
mov byte [esi + 0x21], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.0040cec9
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x40cf97
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0xc], edi
jne 0x40d019
cmp dword [ebp + 0xc], edi
je 0x40d03c
cmp dword [esi + 0x14], edi
jne 0x40d03c
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x40d03c
push eax
mov ecx, esi
call fcn.0040cba4
mov esi, eax
cmp esi, edi
je 0x40d03c
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0040d55b
pop ecx
jmp 0x40d03c
cmp eax, edi
je 0x40d02f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x1c], 0x64
jbe 0x40d03c
mov ecx, esi
call fcn.0040c8ae
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40d1e9
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x41ae20
push 1
xor ebx, ebx
push ebx
push 0x41aed0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40d2ba
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x41aec0
push eax
call dword [ecx]
test eax, eax
jl 0x40d2b1
cmp byte [ebp + 8], bl
je 0x40d23c
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40d259
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x40d26b
push 0x41a684
jmp 0x40d26e
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x40d283
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x40d294
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40d2a8
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x40d2d4
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x412635
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f3dc]
jne 0x41263f
repz ret
jmp fcn.00416765
Function at 0x417da7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004126b6
and dword [ebp - 4], 0
cmp dword [0x44dbf4], 0
mov ebx, eax
jne 0x417e58
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417f09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x417f09
push eax
call fcn.00412644
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44dbf4], eax
call esi
push eax
call fcn.00412644
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44dbf8], eax
call esi
push eax
call fcn.00412644
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44dbfc], eax
call esi
push eax
call fcn.00412644
pop ecx
mov dword [0x44dc04], eax
test eax, eax
je 0x417e58
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412644
pop ecx
mov dword [0x44dc00], eax
mov eax, dword [0x44dc00]
cmp eax, ebx
je 0x417eb0
cmp dword [0x44dc04], ebx
je 0x417eb0
push eax
call fcn.004126bf
push dword [0x44dc04]
mov esi, eax
call fcn.004126bf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x417eb0
test edi, edi
je 0x417eb0
call esi
test eax, eax
je 0x417ea7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x417ea7
test byte [ebp - 0xc], 1
jne 0x417eb0
or dword [ebp + 0x10], 0x200000
jmp 0x417ee9
mov eax, dword [0x44dbf8]
cmp eax, ebx
je 0x417ee9
push eax
call fcn.004126bf
pop ecx
test eax, eax
je 0x417ee9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417ee9
mov eax, dword [0x44dbfc]
cmp eax, ebx
je 0x417ee9
push eax
call fcn.004126bf
pop ecx
test eax, eax
je 0x417ee9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44dbf4]
call fcn.004126bf
pop ecx
test eax, eax
je 0x417f09
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417f0b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000725d
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor al, 0x69
cmp byte [ebp - 0x53], cl
and dh, ch
mov dword [edi], esp
lodsd eax, dword [esi]
aas
popfd
xor al, 0xe1
mov eax, 0x37b7ad12
dec ebp
mov cl, 0x9c
mov esi, 0xb8299574
fsubr qword [edx]
mov dword [ecx - 7], edx
test eax, 0x1d4a399d
lodsb al, byte [esi]
mov bh, 0x4c
cld
in eax, dx
add al, 0x72
std
popfd
mov ah, 0x89
sub al, 0x62
mov ebp, 0xa82901e4
or edx, dword [edi - 0x46764b62]
adc ecx, edi
adc al, 0xf9
mov eax, dword [0xe6345cb7]
mov esp, 0x329ea20c
sal dword [eax], 0xb7
dec esp
xor al, 0x18
mov ecx, 0x37ef78b4
jns 0x10007267
outsb dx, byte [esi]
movsb byte es:[edi], byte [esi]
or eax, 0x52e7a66b
sub al, 0x9d
mov ch, 0xfd
les eax, [ebx]
inc eax
xchg esp, eax
sub al, 0x60
mov bh, 0x80
push 0xffffffffffffff9e
movsb byte es:[edi], byte [esi]
mov ch, byte [ecx - 0x75f540ef]
popfd
les ecx, [ecx - 0x74835f57]
invalid
Function at 0xa53a50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0xae6d50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], 8
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], edi
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
jae 0xa53a97
lea eax, [ebp + 8]
push 0xac3130
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.00a9fd24
add esp, 0xc
test eax, eax
je 0xa53ace
sub esp, 0x1c
mov edi, esp
mov ecx, 7
lea esi, [ebp + 8]
push 0xac3138
rep movsd dword es:[edi], dword [esi]
call fcn.00a9fd6b
add esp, 0x20
jmp 0xa53b35
mov ecx, dword [ebp - 0x408]
push ecx
push 0x400
lea edx, [ebp - 0x404]
push 1
push edx
call fcn.00aa0072
add esp, 0x10
cmp eax, edi
je 0xa53b1f
nop
lea ecx, [ebp - 0x404]
push ecx
mov esi, ebx
call fcn.00a538b0
mov edx, dword [ebp - 0x408]
push edx
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00aa0072
add esp, 0x10
cmp eax, edi
jne 0xa53af0
mov ecx, ebx
call fcn.00a53960
mov ecx, dword [ebp - 0x408]
push ecx
call fcn.00aa00fc
add esp, 4
cmp dword [ebp + 0x1c], 8
jb 0xa53b47
mov edx, dword [ebp + 8]
push edx
call fcn.00a9e60d
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
lea eax, [ebx + 0x68]
xor ecx, ebp
pop ebx
call fcn.00a9e488
mov esp, ebp
pop ebp
ret 0x1c
Function at 0xa57be0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabc149
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0xae6d50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
xor edx, edx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
mov byte [ebp - 4], 2
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0xa57c54
lea eax, [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push 0x100
lea ecx, [ebp - 0x21c]
push ecx
push 3
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.00aa0207
add esp, 0x24
push ebx
push 0xac3064
lea ecx, [ebp - 0x238]
call fcn.00a51740
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xa57c90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x1c]
lea esi, [ebp - 0x238]
call fcn.00a62040
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0xa57cb7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x238]
call fcn.00a62040
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0xa57ce4
lea eax, [ebp + 8]
lea ecx, [ebp - 0x4c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0xa57dc2
mov ecx, 0xac46a0
lea eax, [ebp - 0x498]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xa57d2e
cmp dx, bx
je 0xa57d2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xa57d2e
add eax, 4
add ecx, 4
cmp dx, bx
jne 0xa57d08
xor eax, eax
jmp 0xa57d33
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0xa57dc2
mov ecx, 0xac46a4
lea eax, [ebp - 0x498]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xa57d6c
cmp dx, bx
je 0xa57d68
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xa57d6c
add eax, 4
add ecx, 4
cmp dx, bx
jne 0xa57d46
xor eax, eax
jmp 0xa57d71
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0xa57dc2
test byte [ebp - 0x4c4], 0x10
je 0xa57dc2
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.00a64c90
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00a5ebb0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x25c], 8
jb 0xa57dc2
mov edx, dword [ebp - 0x270]
push edx
call fcn.00a9e60d
add esp, 4
lea eax, [ebp - 0x4c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xa57cf4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0xa57dfb
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00a9e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
cmp dword [ebp + 0x1c], esi
jb 0xa57e25
mov eax, dword [ebp + 8]
push eax
call fcn.00a9e60d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00a9e488
mov esp, ebp
pop ebp
ret
Function at 0xa60c30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabb338
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0xae6d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x54], 0
jne 0xa60d23
mov eax, dword [ebp + 8]
push 0x40
push eax
push ecx
call fcn.00a8e00c
add esp, 0xc
test eax, eax
je 0xa60d23
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov byte [esi + 0x50], 1
mov byte [esi + 0x4a], 0
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
lea ecx, [esi + 0xc]
mov dword [esi + 0x14], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [ecx], 0
mov ecx, dword [esi + 0x24]
mov dword [ecx], 0
mov edx, dword [esi + 0x34]
mov dword [edx], 0
mov ecx, dword [esi + 0x10]
mov dword [ecx], 0
mov edx, dword [esi + 0x20]
mov dword [edx], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [esi + 0x54], eax
mov edx, dword [0xaebecc]
lea edi, [ebp + 8]
mov eax, esi
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], 0
call fcn.00a61ec0
push eax
mov dword [ebp - 4], 0
call fcn.00a655b0
add esp, 4
push eax
mov ecx, esi
call fcn.00a60f20
mov ecx, edi
call fcn.00a51f70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0xa60dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabaf78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0xae6d50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0xa60efc
cmp byte [edi + 0x4a], bl
je 0xa60efc
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0xa60ef0
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0xa60e50
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0xa60e68
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
mov edx, dword [esi + 0x18]
push eax
lea eax, [edi + 0x4c]
push eax
call edx
sub eax, 0
je 0xa60e91
dec eax
je 0xa60e95
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0xa60eeb
jmp 0xa60ef7
mov byte [edi + 0x4a], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0xa60ea5
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0xa60ece
cmp ebx, 0x10
jae 0xa60eb4
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00aa09aa
add esp, 0x10
cmp esi, eax
jne 0xa60ee8
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0xa60ef4
test esi, esi
jne 0xa60e5c
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00a602f0
jmp 0xa60e56
lea ecx, [ebp - 0x2c]
call fcn.00a5e0d0
xor al, al
jmp 0xa60efe
lea ecx, [ebp - 0x2c]
call fcn.00a5e0d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a9e488
mov esp, ebp
pop ebp
ret
Function at 0xa61dd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xababfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0xae6d50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00a8df02
push 4
mov dword [ebp - 4], 0
call fcn.00a9e9d2
mov edi, eax
add esp, 4
test edi, edi
je 0xa61e50
call fcn.00a8a1b1
mov dword [edi], eax
call fcn.00a8a06b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00a89fa0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0xa61e46
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00a89fc8
jmp 0xa61e52
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa69680
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xae6d50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0xa696be
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9e488
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push 0x20119
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0xa696eb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a9e488
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
lea edi, [esi + eax*2]
je 0xa6970d
mov ecx, 0x5c
mov word [edi], cx
add edi, 2
xor edx, edx
mov word [edi], dx
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x214]
push 0
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0
push eax
mov dword [ebp - 0x218], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0xa697a3
jmp 0xa69750
lea edx, [ebp - 0x210]
mov ecx, edi
call fcn.00a69630
push esi
push ebx
call fcn.00a69680
add esp, 8
test eax, eax
je 0xa697a3
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x214]
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
push ecx
mov dword [ebp - 0x218], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0xa69750
xor edx, edx
mov word [edi - 2], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00a9e488
mov esp, ebp
pop ebp
ret