joyce8/EMBER2024-capa huggingface dataset:
Function at 0x516714
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0052eeea
call fcn.0042e2f5
cmp dword [eax + 0x14], 0
jne 0x516731
mov ecx, esi
pop esi
jmp fcn.00516219
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0048f207
call fcn.0042e2f5
cmp dword [eax + 0x14], 0
jne 0x5197c9
mov ecx, esi
pop esi
jmp fcn.0051917f
pop esi
ret

Function at 0x538195
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b81f0]
jne 0x53819f
repz ret
jmp fcn.00542e8c

Function at 0x54a776
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b81f0]
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.00540fa3
and dword [ebp - 0x14], 0
cmp dword [0x5c0008], 0
mov dword [ebp - 0x18], eax
jne 0x54a829
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x54a8d1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x54a8d1
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x58d714
push ebx
mov dword [0x5c0008], eax
call edi
push eax
call esi
push 0x58d700
push ebx
mov dword [0x5c000c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5c0010], eax
call edi
push eax
call esi
mov dword [0x5c0018], eax
test eax, eax
je 0x54a829
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5c0014], eax
mov eax, dword [0x5c0014]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x54a882
cmp dword [0x5c0018], ecx
je 0x54a882
push eax
call esi
push dword [0x5c0018]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x54a882
test ebx, ebx
je 0x54a882
call edi
test eax, eax
je 0x54a879
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54a879
test byte [ebp - 8], 1
jne 0x54a882
or dword [ebp + 0x10], 0x200000
jmp 0x54a8b5
mov eax, dword [0x5c000c]
cmp eax, dword [ebp - 0x18]
je 0x54a8b5
push eax
call esi
test eax, eax
je 0x54a8b5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x54a8b5
mov eax, dword [0x5c0010]
cmp eax, dword [ebp - 0x18]
je 0x54a8b5
push eax
call esi
test eax, eax
je 0x54a8b5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5c0008]
call esi
test eax, eax
je 0x54a8d1
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x54a8d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00538195
leave
ret
Function at 0x40a37e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x40a39b
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x40a3a0
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x40a3e0
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x40a41e
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x40a426
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.0040a44c
pop ecx
test eax, eax
pop ecx
jne 0x40a414
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x40a3ed
jmp 0x40a426
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x40a444
cmp dword [ebp - 4], esi
jbe 0x40a444
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x40a444
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x40a447
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a476
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x40a482
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x40a48d
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433004]
jne 0x401010
repz ret
jmp fcn.0040176d

Function at 0x40655b
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.004032f4
and dword [ebp - 4], 0
cmp dword [0x4350dc], 0
mov ebx, eax
jne 0x40660c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4066bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4066bd
push eax
call fcn.00403282
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4350dc], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4350e0], eax
call esi
push eax
call fcn.00403282
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4350e4], eax
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4350ec], eax
test eax, eax
je 0x40660c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403282
pop ecx
mov dword [0x4350e8], eax
mov eax, dword [0x4350e8]
cmp eax, ebx
je 0x406664
cmp dword [0x4350ec], ebx
je 0x406664
push eax
call fcn.004032fd
push dword [0x4350ec]
mov esi, eax
call fcn.004032fd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406664
test edi, edi
je 0x406664
call esi
test eax, eax
je 0x40665b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40665b
test byte [ebp - 0xc], 1
jne 0x406664
or dword [ebp + 0x10], 0x200000
jmp 0x40669d
mov eax, dword [0x4350e0]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40669d
mov eax, dword [0x4350e4]
cmp eax, ebx
je 0x40669d
push eax
call fcn.004032fd
pop ecx
test eax, eax
je 0x40669d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4350dc]
call fcn.004032fd
pop ecx
test eax, eax
je 0x4066bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4066bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c971
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x443044]
push dword [0x442d60]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x42ca00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x42ca2a
push esi
and dword [ebp - 4], 0
lea esi, [ebp - 4]
call fcn.0042c9f5
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x42ca0d
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
jne 0x42ca42
or dword [0x443054], 0xffffffff
mov dword [0x443050], 0xa62e7790
leave
ret
Function at 0x5604f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf5000]
push edi
jmp 0x56050a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x560511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560500
mov eax, 1
add ebx, ebx
jne 0x560523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x560534
jne 0x560553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560553
dec eax
add ebx, ebx
jne 0x560540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x560518
add ebx, ebx
jne 0x56054f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5605a5
xor ecx, ecx
sub eax, 3
jb 0x56056b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5605da
sar eax, 1
mov ebp, eax
jmp 0x560576
add ebx, ebx
jne 0x560576
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560544
inc ecx
add ebx, ebx
jne 0x560584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560544
add ebx, ebx
jne 0x560591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x560586
jne 0x5605a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x560586
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5605c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5605b6
jmp 0x560506
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5605c4
add edi, ecx
jmp 0x560506
pop esi
mov edi, esi
mov ecx, 0x43df
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5605e2
cmp byte [edi], 0x24
jne 0x5605e2
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 0x5605e7
lea edi, [esi + 0x15d000]
mov eax, dword [edi]
or eax, eax
je 0x56065f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1652a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1653c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x560614
mov ecx, edi
jns 0x560643
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 + 0x1653d0]
or eax, eax
je 0x560659
mov dword [ebx], eax
add ebx, 4
jmp 0x560631
call dword [esi + 0x1653cc]
mov ebp, dword [esi + 0x1653d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x560693
sub esp, 0xffffff80
jmp 0x49f626
Function at 0x4047f0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x834
cmp dword [0x5ea658], 0x400
push ebx
push esi
push edi
jne 0x4048a6
push 0
lea eax, [esp + 0x44]
push eax
push 0x403e60
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0
call fcn.00405853
add esp, 4
push 0
call fcn.00405819
add esp, 4
push 0
push 0
call fcn.00405e07
push 0
push 0
call fcn.00405bac
push 0
call fcn.00406078
add esp, 0x14
push 0
push 0
push 0
call fcn.00405f3e
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.00405200
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004056f0
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.00405ac0
fstp st(0)
push 0
call fcn.004060ec
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
mov edi, edi
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x4f45cc2
jg 0x4048cb
inc esi
cmp esi, 0x33cd5b9
jl 0x4048b0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
call ebx
cmp esi, 0x12e8236
jg 0x4048f5
inc esi
cmp esi, 0x2ff8d
jl 0x4048e0
mov ecx, dword [0x446ce4]
mov dword [0x5ea658], ecx
call fcn.004044a0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5ea658], ebx
jne 0x404927
lea edx, [esp + 0x40]
push edx
push 0
call esi
dec edi
jne 0x404916
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40af99
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x443490]
jne 0x40afa3
repz ret
jmp fcn.0040f605
Function at 0x40c0fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x443490]
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.00409b5d
and dword [ebp - 0x14], 0
cmp dword [0x45b598], 0
mov dword [ebp - 0x18], eax
jne 0x40c1af
push 0x402cc4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c257
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402cb8
push ebx
call edi
test eax, eax
je 0x40c257
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ca8
push ebx
mov dword [0x45b598], eax
call edi
push eax
call esi
push 0x402c94
push ebx
mov dword [0x45b59c], eax
call edi
push eax
call esi
push 0x402c78
push ebx
mov dword [0x45b5a0], eax
call edi
push eax
call esi
mov dword [0x45b5a8], eax
test eax, eax
je 0x40c1af
push 0x402c60
push ebx
call edi
push eax
call esi
mov dword [0x45b5a4], eax
mov eax, dword [0x45b5a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c208
cmp dword [0x45b5a8], ecx
je 0x40c208
push eax
call esi
push dword [0x45b5a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c208
test ebx, ebx
je 0x40c208
call edi
test eax, eax
je 0x40c1ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c1ff
test byte [ebp - 8], 1
jne 0x40c208
or dword [ebp + 0x10], 0x200000
jmp 0x40c23b
mov eax, dword [0x45b59c]
cmp eax, dword [ebp - 0x18]
je 0x40c23b
push eax
call esi
test eax, eax
je 0x40c23b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c23b
mov eax, dword [0x45b5a0]
cmp eax, dword [ebp - 0x18]
je 0x40c23b
push eax
call esi
test eax, eax
je 0x40c23b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45b598]
call esi
test eax, eax
je 0x40c257
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c259
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040af99
leave
ret
Function at 0xac9190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4ca000]
push edi
jmp 0xac91aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xac91b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xac91a0
mov eax, 1
add ebx, ebx
jne 0xac91c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xac91d4
jne 0xac91f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xac91f3
dec eax
add ebx, ebx
jne 0xac91e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xac91b8
add ebx, ebx
jne 0xac91ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xac9245
xor ecx, ecx
sub eax, 3
jb 0xac920b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xac927a
sar eax, 1
mov ebp, eax
jmp 0xac9216
add ebx, ebx
jne 0xac9216
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xac91e4
inc ecx
add ebx, ebx
jne 0xac9224
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xac91e4
add ebx, ebx
jne 0xac9231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xac9226
jne 0xac9242
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xac9226
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xac9264
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xac9256
jmp 0xac91a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xac9264
add edi, ecx
jmp 0xac91a6
pop esi
mov edi, esi
mov ecx, 0x2c953
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xac9282
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xac9287
lea edi, [esi + 0x6c4000]
mov eax, dword [edi]
or eax, eax
je 0xac92f8
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6d8e00]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6d8fcc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xac92ad
mov ecx, edi
jns 0xac92dc
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 + 0x6d8fd0]
or eax, eax
je 0xac92f2
mov dword [ebx], eax
add ebx, 4
jmp 0xac92ca
call dword [esi + 0x6d8fe0]
mov ebp, dword [esi + 0x6d8fd4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0xac932c
sub esp, 0xffffff80
jmp 0x6fe74f
Function at 0x406760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406784
xor eax, eax
test eax, eax
je 0x406797
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406797
xor ecx, ecx
jmp 0x40679a
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dac], 0
push esi
jne 0x4068f4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068ce
mov dword [ecx*4 + 0x427da8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406925
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427da8]
xor eax, esi
inc ecx
dec edx
jne 0x406907
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x781378ea
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x13cf4b87
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4012e0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401326
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x401322
push 8
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401320
xor eax, eax
jmp 0x40132b
jmp 0x401326
xor eax, eax
jmp 0x40132b
mov eax, 1
pop ebp
ret

Function at 0x401510
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.00404935
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00404360
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
lea edx, [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 1
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4015ba
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0040491a
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor eax, eax
jmp 0x4015bf
mov eax, 1
mov esp, ebp
pop ebp
ret