joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40155d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x458040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x218], eax
test esi, esi
je 0x401687
xor eax, eax
cmp word [esi], ax
je 0x401687
push edi
push 4
push 0x416d7c
push esi
call fcn.00406dc4
test eax, eax
lea edi, [esi + 8]
push 2
cmovne edi, esi
push 0x416d88
push edi
call fcn.00406dc4
push 0x20a
mov esi, eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00405310
test esi, esi
lea ecx, [edi + 4]
push 0x104
cmovne ecx, edi
lea eax, [ebp - 0x210]
push ecx
push 0x105
push eax
call fcn.00406ecc
lea eax, [ebp - 0x210]
push 0x2e
push eax
call fcn.00404a19
add esp, 0x3c
mov esi, eax
pop edi
test esi, esi
je 0x40163a
xor eax, eax
mov word [esi], ax
inc esi
add esi, 1
je 0x40163a
push str.HTML
push esi
call fcn.00406c32
pop ecx
pop ecx
test eax, eax
je 0x40163a
push 0x416d9c
push esi
call fcn.00406c32
pop ecx
pop ecx
test eax, eax
je 0x40163a
push esi
jmp 0x40163c
push 0x17
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x401687
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401687
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x214]
mov dword [ecx], eax
test eax, eax
je 0x401687
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x218]
mov dword [ecx], eax
test eax, eax
je 0x401687
mov al, 1
jmp 0x401689
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403630
leave
ret

Function at 0x4022cd
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x410233
call fcn.00403d38
mov edi, ecx
push 8
xor ebx, ebx
call fcn.0040371e
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi], ebx
mov ecx, dword [ecx]
test ecx, ecx
je 0x402305
mov dword [esi], ecx
add ecx, 4
push ecx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
pop ecx
mov dword [esi + 4], 0x4020fc
mov dword [ebp + 0xc], esi
xor eax, eax
mov dword [ebp - 4], 1
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x40247f
push eax
push eax
call fcn.00407066
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x40233d
mov eax, edi
call fcn.00403d15
ret 8
and dword [ebx], 0
push 6
call fcn.00403235
int3

Function at 0x40424a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404289
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404289
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404289
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404289
cmp dword [ecx + 0x74], 0xe
jbe 0x404289
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40933d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413fa0
push 0x413f98
push str.FlsAlloc
push 0x1f
call fcn.00409238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409371
push dword [ebp + 8]
mov ecx, esi
call dword [0x411148]
call esi
jmp 0x409377
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4093bb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413fb0
push 0x413fa8
push str.FlsGetValue
push 0x21
call fcn.00409238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093f2
push dword [ebp + 8]
mov ecx, esi
call dword [0x411148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4093fa
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x413fb8
push 0x413fb0
push str.FlsSetValue
push 0x22
call fcn.00409238
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409434
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x411148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40a157
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x458040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40a1a2
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040a2f2
test al, al
jne 0x40a19c
sub edx, 2
cmp edx, edi
jne 0x40a182
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40a1c4
lea eax, [edi + 2]
cmp edx, eax
je 0x40a1c4
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040a0a3
add esp, 0x10
jmp 0x40a2be
push esi
lea ecx, [ebp - 0x255]
call fcn.0040a2f2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a207
push dword [ebp - 0x25c]
jmp 0x40a1b4
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40a244
cmp word [ebp - 0x226], 0
je 0x40a265
cmp word [ebp - 0x226], ax
jne 0x40a244
cmp word [ebp - 0x224], 0
je 0x40a265
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040a0a3
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40a2b1
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40a21e
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40a299
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40a2be
push 0x409ed3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040d030
add esp, 0x10
jmp 0x40a28e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403630
leave
ret
Function at 0x40fdb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40fddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40fddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459030]
jne 0x40107a
repz ret
jmp fcn.00401ac1

Function at 0x409195
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.00404bf5
and dword [ebp - 4], 0
cmp dword [0x45b794], 0
mov ebx, eax
jne 0x409246
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4092f7
push eax
call fcn.00404b83
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b794], eax
call esi
push eax
call fcn.00404b83
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b798], eax
call esi
push eax
call fcn.00404b83
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b79c], eax
call esi
push eax
call fcn.00404b83
pop ecx
mov dword [0x45b7a4], eax
test eax, eax
je 0x409246
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b83
pop ecx
mov dword [0x45b7a0], eax
mov eax, dword [0x45b7a0]
cmp eax, ebx
je 0x40929e
cmp dword [0x45b7a4], ebx
je 0x40929e
push eax
call fcn.00404bfe
push dword [0x45b7a4]
mov esi, eax
call fcn.00404bfe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40929e
test edi, edi
je 0x40929e
call esi
test eax, eax
je 0x409295
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409295
test byte [ebp - 0xc], 1
jne 0x40929e
or dword [ebp + 0x10], 0x200000
jmp 0x4092d7
mov eax, dword [0x45b798]
cmp eax, ebx
je 0x4092d7
push eax
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092d7
mov eax, dword [0x45b79c]
cmp eax, ebx
je 0x4092d7
push eax
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b794]
call fcn.00404bfe
pop ecx
test eax, eax
je 0x4092f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b010
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x2c3901c]
sub esp, 0x1c
push ebx
mov ebx, dword [0x2c38e68]
push esi
mov esi, dword [0x459f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b040
push 0x457790
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2c3901c]
mov dword [0x45b8f4], esi
cmp eax, 0x114e
jne 0x40b06e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
lea eax, [esp + 0xc]
push eax
push str.liyezejozonoduhu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2c3901c]
cmp eax, 0x2f
jne 0x40b08b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
call fcn.0040af50
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x485b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0
push 7
push dword [ebp + 0x18]
push esi
call fcn.005c3920
mov ebx, dword [ebp + 0xc]
lea ecx, [eax*8]
sub ecx, eax
sub esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ecx
test ecx, ecx
jg 0x485c36
jl 0x485b93
cmp ebx, 0xffffffff
ja 0x485c36
mov ecx, dword [ebp + 8]
cmp ebx, 7
jb 0x485c08
test esi, esi
je 0x485bb1
mov edx, dword [ebp + 0x1c]
mov al, byte [esi + edx]
dec ebx
xor byte [ecx], al
inc esi
inc ecx
cmp esi, 7
jl 0x485ba2
xor esi, esi
cmp ebx, 7
jb 0x485c08
mov eax, 0x24924925
mov edi, ebx
mul ebx
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 2
imul eax, edi, 0xfffffff9
mov dword [ebp - 8], edi
add ebx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ebx
mov edx, dword [eax]
movzx edi, word [eax + 4]
mov dword [ebp - 4], edx
mov dl, byte [eax + 6]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov byte [ebp + 0x1b], dl
mov edx, dword [ebp - 4]
mov bl, byte [ebp + 0x1b]
xor dword [ecx], edx
xor word [ecx + 4], ax
xor byte [ecx + 6], bl
add ecx, 7
sub edi, 1
jne 0x485bf4
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1c]
test ebx, ebx
je 0x485d0b
mov al, byte [esi + eax]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
lea eax, [esi + 1]
xor esi, esi
cmp eax, 7
cmovne esi, eax
mov eax, dword [ebp + 0x1c]
sub ebx, 1
jne 0x485c13
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
test ecx, ecx
jl 0x485cd7
jg 0x485c4c
cmp ebx, 7
jb 0x485cd7
test esi, esi
je 0x485c6d
mov edx, dword [ebp + 0x1c]
mov al, byte [esi + edx]
inc esi
xor byte [edi], al
inc edi
add ebx, 0xffffffff
adc ecx, 0xffffffff
cmp esi, 7
jl 0x485c53
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
test ecx, ecx
jl 0x485cd7
jg 0x485c78
cmp ebx, 7
jb 0x485cd7
push 0
push 7
push ecx
push ebx
call fcn.005c3920
mov edx, eax
mov eax, dword [ebp + 0x1c]
lea ecx, [edx*8]
sub ecx, edx
sub ebx, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x10], ebx
sbb ecx, 0
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
movzx ecx, word [eax + 4]
mov dword [ebp - 0x10], ecx
mov cl, byte [eax + 6]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov byte [ebp + 0x1b], cl
mov ecx, dword [ebp - 4]
mov bl, byte [ebp + 0x1b]
nop dword [eax]
xor dword [edi], eax
xor word [edi + 4], si
xor byte [edi + 6], bl
add edi, 7
sub edx, 1
jne 0x485cc0
mov esi, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x1c]
test ecx, ecx
jl 0x485d0b
jg 0x485ce4
test ebx, ebx
je 0x485d0b
mov al, byte [esi + eax]
lea edi, [edi + 1]
xor byte [edi - 1], al
add ebx, 0xffffffff
lea eax, [esi + 1]
adc ecx, 0xffffffff
xor esi, esi
cmp eax, 7
cmovne esi, eax
mov eax, dword [ebp + 0x1c]
test ecx, ecx
jg 0x485ce4
jl 0x485d0b
test ebx, ebx
jne 0x485ce4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4887f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
or eax, 0xffffffff
cmp dword [0xa61628], 0
push edi
jne 0x4888b8
xor esi, esi
mov edx, esi
mov ecx, esi
shr edx, 1
mov ebx, edx
xor ebx, 0xedb88320
and cl, 1
cmove ebx, edx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov ecx, ebx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and bl, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov ebx, ecx
xor ebx, 0xedb88320
and dl, 1
cmove ebx, ecx
mov edx, ebx
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
and bl, 1
cmove ecx, edx
mov dword [esi*4 + 0xa61228], ecx
inc esi
cmp esi, 0x100
jb 0x488808
mov dword [0xa61628], 1
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x4888dc
mov ebx, dword [ebp + 8]
movzx edx, byte [esi + ebx]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0xa61228]
cmp esi, edi
jb 0x4888c4
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x489030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x48904c
sub eax, 1
je 0x489046
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004ca3d0
pop ebp
jmp fcn.004f7e50

Function at 0x489260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x48927c
sub eax, 1
je 0x489276
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004bf790
pop ebp
jmp fcn.004ebe10

Function at 0x489470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x48948c
sub eax, 1
je 0x489486
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004c3970
pop ebp
jmp fcn.004f1150

Function at 0x4894a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x4894bc
sub eax, 1
je 0x4894b6
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004c4030
pop ebp
jmp fcn.004f19b0

Function at 0x4894d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x4894ec
sub eax, 1
je 0x4894e6
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004c4510
pop ebp
jmp fcn.004f2060
Function at 0x49e140
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x10000
cdq
inc edi
idiv edi
mov ebx, 0x100
xor esi, esi
add eax, 0x100
xor ecx, ecx
imul eax, dword [ebp + 8]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
sub ebx, eax
test ebx, ebx
jle 0x49e1a6
mov eax, ecx
lea esi, [esi + 1]
cdq
idiv edi
mov edx, 0xff
add eax, ebx
cmp eax, 0xff
cmovg eax, edx
add ecx, 0x100
mov byte [esi + 0xd38187], al
cmp ecx, 0x10000
jl 0x49e176
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, ecx
cdq
idiv edi
add eax, ebx
cmp eax, 0xff
jle 0x49e1bb
mov eax, 0xff
jmp 0x49e1c2
xor edx, edx
test eax, eax
cmovs eax, edx
mov byte [esi + 0xd38188], al
add ecx, 0x100
inc esi
cmp ecx, 0x10000
jl 0x49e1a6
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4fdee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x4fdf07
sub eax, 1
je 0x4fdf01
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00517f80
pop ebp
jmp fcn.00513b00

Function at 0x4fdf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa6163c]
sub eax, 1
je 0x4fdf5c
sub eax, 1
je 0x4fdf56
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.005184e0
pop ebp
jmp fcn.00514270
Function at 0x526a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, 0xea4fa0
nop dword [eax + eax]
mov eax, ecx
imul ecx, ecx, 0x10dcd
and eax, 0xffff0000
mov dword [edx], eax
inc ecx
mov eax, ecx
imul ecx, ecx, 0x10dcd
shr eax, 0x10
or dword [edx], eax
add edx, 4
inc ecx
cmp edx, 0xea5960
jl 0x526aa0
mov dword [0xea5964], 0
xor eax, eax
mov dword [0xea4f9c], 1
nop
mov edx, dword [eax*4 + 0xea4fa4]
xor edx, dword [eax*4 + 0xea4fa0]
and edx, 0x7fffffff
xor edx, dword [eax*4 + 0xea4fa0]
mov ecx, edx
shr edx, 1
and ecx, 1
xor edx, dword [ecx*4 + 0x93aa78]
xor edx, dword [eax*4 + 0xea55d4]
mov dword [eax*4 + 0xea4fa0], edx
inc eax
cmp eax, 0xe3
jl 0x526ae0
mov ecx, dword [0xea4fa0]
mov dword [0xea5960], ecx
cmp eax, 0x270
jge 0x526b71
push esi
lea esi, [eax*4 + 0xea4fa0]
nop word [eax + eax]
mov ecx, dword [esi]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x93aa78]
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0xea5960
jl 0x526b40
pop esi
movaps xmm3, xmmword [0x6ec5e0]
mov eax, 0xb
movaps xmm5, xmmword [0x6ec5f0]
movd xmm2, eax
mov eax, 7
movd xmm4, eax
mov eax, 0xf
movd xmm6, eax
mov eax, 0x12
movd xmm7, eax
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0xea4fa0]
movaps xmm1, xmm0
psrld xmm1, xmm2
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm3
pslld xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm5
pslld xmm1, xmm6
pxor xmm1, xmm0
movaps xmm0, xmm1
psrld xmm0, xmm7
pxor xmm0, xmm1
movups xmmword [eax + 0xea5968], xmm0
movups xmm0, xmmword [eax + 0xea4fb0]
movaps xmm1, xmm0
psrld xmm1, xmm2
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm3
pslld xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm5
pslld xmm1, xmm6
pxor xmm1, xmm0
movaps xmm0, xmm1
psrld xmm0, xmm7
pxor xmm0, xmm1
movups xmmword [eax + 0xea5978], xmm0
add eax, 0x20
cmp eax, 0x9c0
jl 0x526bb0
mov dword [0xea4f98], 0
pop ebp
ret
Function at 0x528810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b6773
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x93d814]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.D_INonDelegatingUnknown.0
lock inc dword [0xea6354]
mov dword [edi + 4], edi
mov dword [edi + 8], 0
mov eax, dword [ebp + 0x1c]
lea esi, [edi + 0x34]
mov dword [edi + 0xc], vtable.D_IPin.0
mov dword [edi + 0x10], vtable.D_IQualityControl.0
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x10]
push 0x48
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
push 0
push esi
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov word [edi + 0x24], 0
mov byte [edi + 0x26], 0
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 1
call fcn.00497290
add esp, 0xc
mov dword [esi + 0x28], 1
mov dword [esi + 0x20], 1
movsd xmm0, qword [0x6b8538]
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0x7fffffff
movsd qword [edi + 0x90], xmm0
cmp dword [0xa3b8f8], 0
mov byte [ebp - 4], 1
jne 0x528914
call fcn.0047ded0
mov eax, dword [0xa3becc]
test eax, eax
je 0x528914
push 1
call eax
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x528954
push esi
call fcn.004822b0
xor ecx, ecx
mov edx, 2
lea ebx, [eax + 1]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005c3f40
add esp, 4
mov dword [edi + 0x14], eax
test eax, eax
je 0x528954
lea ecx, [ebx + ebx]
push ecx
push esi
push eax
call fcn.00497210
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x55f980
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x55f9a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x55f9a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x55f9a1
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x56bef0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056bf00

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056c190

Function at 0x571300
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x571332
push esi
call fcn.005773e0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x57132b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
push edi
cmp eax, 0xcb
jne 0x5713be
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x5713a8
nop dword [eax]
mov eax, dword [esi + 8]
test eax, eax
je 0x57135f
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x5713a2
cmp eax, 2
je 0x5713a8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x571350
cmp eax, 3
je 0x571387
cmp eax, 1
jne 0x571350
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x571350
mov eax, dword [esi + 0x128]
add eax, edi
mov dword [edx + 8], eax
jmp 0x571350
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00571680
add esp, 4
pop edi
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x5713e0
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.00571680
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x571680
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 0xcc
je 0x5716ae
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x571732
lea ebx, [esi + 0x78]
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x571706
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5716e5
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x19c]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x571749
cmp eax, dword [esi + 0x60]
jb 0x5716c7
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
jne 0x5716c0
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret