joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ab86
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp byte [edi], 0
push ebx
jne 0x40abb1
cmp byte [edi + 1], 0
jne 0x40abb1
cmp byte [edi + 2], 0
jne 0x40abb1
cmp byte [edi + 3], 0
jne 0x40abb1
cmp byte [edi + 4], 0
je 0x40adb4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40acd5
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x40acd5
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
cmp byte [edi], 0
mov al, 0x80
je 0x40abe8
or byte [ebp - 0xf8], al
or byte [ebp - 0x68], al
cmp byte [edi + 1], 0
je 0x40abf7
or byte [ebp - 0xf8], al
or byte [ebp - 0x67], al
cmp byte [edi + 2], 0
je 0x40ac03
or byte [ebp - 0xf7], al
cmp byte [edi + 3], 0
je 0x40ac0f
or byte [ebp - 0xf6], al
cmp byte [edi + 4], 0
je 0x40ac1b
or byte [ebp - 0xad], al
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x40ac39
cmp byte [edi + 1], 0
je 0x40ac50
movzx eax, byte [esi + 0x26]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push 0x100
push dword [esi + 0x20]
call ebx
cmp byte [edi + 2], 0
je 0x40ac6d
movzx eax, byte [esi + 0x24]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push dword [esi + 0x20]
call ebx
mov al, byte [edi + 3]
test al, al
je 0x40acb1
cmp byte [edi + 2], 0
jne 0x40ac96
cmp byte [esi + 0x1c], 0
jne 0x40ac96
movzx eax, byte [esi + 0x25]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x40acac
test al, al
je 0x40acb1
movzx eax, byte [esi + 0x25]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push 0x100
push dword [esi + 0x20]
call ebx
cmp byte [edi + 4], 0
je 0x40adad
movzx eax, byte [esi + 0x29]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push 0x100
push dword [esi + 0x20]
jmp 0x40adab
cmp byte [edi], 0
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
je 0x40ad06
test byte [esi + 0xc], 4
mov al, byte [esi + 0x27]
mov byte [ebp - 4], al
push 0
je 0x40acfa
push dword [ebp - 4]
mov cl, 0xa0
call fcn.0040b2cb
jmp 0x40ad06
push 0
push dword [ebp - 4]
push 0xa0
call ebx
cmp byte [edi + 1], 0
je 0x40ad32
test byte [esi + 0xc], 4
mov al, byte [esi + 0x28]
mov byte [ebp - 4], al
push 0
je 0x40ad26
push dword [ebp - 4]
mov cl, 0xa1
call fcn.0040b2cb
jmp 0x40ad32
push 0
push dword [ebp - 4]
push 0xa1
call ebx
cmp byte [edi + 2], 0
je 0x40ad5b
test byte [esi + 0xc], 4
mov al, byte [esi + 0x24]
mov byte [ebp - 4], al
push 0
je 0x40ad52
push dword [ebp - 4]
mov cl, 0x11
call fcn.0040b2cb
jmp 0x40ad5b
push 0
push dword [ebp - 4]
push 0x11
call ebx
cmp byte [edi + 3], 0
je 0x40ad84
test byte [esi + 0xc], 4
mov al, byte [esi + 0x25]
mov byte [ebp - 4], al
push 0
je 0x40ad7b
push dword [ebp - 4]
mov cl, 0x12
call fcn.0040b2cb
jmp 0x40ad84
push 0
push dword [ebp - 4]
push 0x12
call ebx
cmp byte [edi + 4], 0
je 0x40adad
test byte [esi + 0xc], 4
mov al, byte [esi + 0x29]
mov byte [ebp - 4], al
push 0
je 0x40ada4
push dword [ebp - 4]
mov cl, 0x5b
call fcn.0040b2cb
jmp 0x40adad
push 0
push dword [ebp - 4]
push 0x5b
call ebx
mov ecx, esi
call fcn.0040b2a9
pop ebx
leave
ret
Function at 0x40affa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov al, byte [esi]
mov cl, byte [esi + 7]
mov edx, dword [edi + 0x20]
push ebx
mov bl, al
mov byte [ebp - 4], cl
movzx ecx, word [esi + 8]
mov byte [ebp - 8], bl
test edx, edx
je 0x40b0c9
cmp bl, 0x14
je 0x40b0c9
cmp bl, 0x90
je 0x40b0c9
cmp bl, 0x91
je 0x40b0c9
cmp al, 0xff
je 0x40b0b8
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx ebx, bl
or byte [ebp + ebx - 0x128], 0x80
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx ecx, byte [ebp - 4]
shl ecx, 0x10
mov eax, esi
or ecx, 1
call fcn.00409e21
cmp al, 1
jne 0x40b07f
or ecx, 0x1000000
cmp byte [edi + 0x17], 0
jne 0x40b091
cmp byte [edi + 0x1d], 0
jne 0x40b091
cmp byte [ebp - 8], 0x12
jne 0x40b0ac
cmp byte [edi + 0x16], 0
jne 0x40b0ac
cmp byte [edi + 0x1c], 0
jne 0x40b0ac
or ecx, 0x20000000
push ecx
push ebx
push 0x104
jmp 0x40b0b3
push ecx
push ebx
push 0x100
push dword [edi + 0x20]
jmp 0x40b0c1
push 1
push ecx
push 0x102
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x40b138
cmp al, 0xff
je 0x40b10c
mov eax, esi
call fcn.00409e21
cmp al, 1
jne 0x40b0e8
test byte [edi + 0xc], 4
je 0x40b0e2
push 1
jmp 0x40b0f0
push 0
push 1
jmp 0x40b0fe
test byte [edi + 0xc], 4
push 0
je 0x40b0fc
push dword [ebp - 4]
mov cl, bl
call fcn.0040b2cb
jmp 0x40b138
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x40b138
xor eax, eax
and dword [ebp - 0x18], eax
and dword [ebp - 0x14], eax
mov word [ebp - 0x20], ax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push 1
mov dword [ebp - 0x24], 1
mov word [ebp - 0x1e], cx
mov dword [ebp - 0x1c], 4
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, edi
call fcn.0040b2a9
pop ebx
leave
ret
Function at 0x40b4c3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov edi, eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], 1
mov dword [ebp - 0x10], ebx
cmp dword [edi + 4], ebx
jne 0x40b4e6
xor al, al
jmp 0x40b66b
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov byte [eax], bl
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
mov dword [esi], ebx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00403f7b
movzx eax, word [eax]
cmp eax, 0x2b
je 0x40b525
cmp eax, 0x5e
je 0x40b520
cmp eax, 0x21
je 0x40b520
cmp eax, 0x23
jne 0x40b54e
cmp eax, 0x2b
jne 0x40b52a
mov eax, dword [ebp + 0xc]
jmp 0x40b546
cmp eax, 0x5e
jne 0x40b534
mov eax, dword [ebp + 0x10]
jmp 0x40b546
cmp eax, 0x21
jne 0x40b53e
mov eax, dword [ebp + 0x14]
jmp 0x40b546
cmp eax, 0x23
jne 0x40b549
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
inc dword [ebp - 0xc]
jmp 0x40b4ff
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov eax, edi
call fcn.00403f7b
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x40b628
push pe_nt_image_headers32
pop eax
lea esi, [ebp - 0x20]
call fcn.0040414e
push edi
push 0x7d
lea edi, [ebp - 0xc]
mov eax, esi
call fcn.0040b305
test al, al
je 0x40b60a
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
push dword [esi*4 + 0x47b968]
call fcn.0045553b
pop ecx
pop ecx
test eax, eax
je 0x40b5a8
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x62
jl 0x40b587
cmp esi, 0x62
jne 0x40b602
xor edi, edi
lea eax, [ebp - 0x20]
call fcn.0040202d
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [ebp + 8]
cwde
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x40b5d9
lea ecx, [ebp - 0x20]
call fcn.00401a04
jmp 0x40b4df
test eax, 0x200
je 0x40b5e6
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test eax, 0x400
je 0x40b5f3
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x100
je 0x40b61b
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x40b61b
cmp byte [esi + 0x47baf0], bl
je 0x40b60f
mov byte [ebp - 5], bl
jmp 0x40b61b
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
call fcn.00401a04
mov esi, dword [ebp + 8]
jmp 0x40b662
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40b4df
test eax, 0x200
je 0x40b648
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test eax, 0x400
je 0x40b655
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 1
test eax, 0x100
je 0x40b662
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
and dword [esi], 0xff
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40f19d
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push dword [ebp + 8]
lea eax, [ebp - 0x22c]
call fcn.0040e67c
pop ecx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40f1cb
test al, 0x10
jne 0x40f1cf
xor al, al
leave
ret
push ebx
xor ebx, ebx
lea eax, [ebp - 0x22c]
push eax
cmp byte [ebp + 0xc], bl
jne 0x40f1eb
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x40f233
call fcn.00455251
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x18], eax
mov eax, 0x614
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop ebx
leave
ret

Function at 0x40f30a
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
push esi
mov esi, eax
lea eax, [ebp - 0x29c]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x40f3cf
push 0x100
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x40f3cf
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x40f367
mov ecx, eax
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x40f35e
cmp esi, edx
jle 0x40f37c
push str.0.0.0.0
push dword [ebp + 8]
call fcn.004555f7
pop ecx
pop ecx
jmp 0x40f3c7
push 4
push dword [eax + esi*4 - 4]
lea eax, [ebp - 8]
push eax
call fcn.00454ef0
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004576e0
lea eax, [ebp - 0x10c]
push eax
or eax, 0xffffffff
call fcn.00410101
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.004555f7
push esi
call fcn.0045526c
add esp, 0x18
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x40f3de
push 0x46df88
push dword [ebp + 8]
call fcn.004555f7
pop ecx
pop ecx
pop esi
leave
ret
Function at 0x436363
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004019d1
xor ebx, ebx
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
call fcn.00456fd0
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
cmp word [eax], bx
je 0x4363c4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov edi, eax
cmp dword [ebp + 0x10], 3
jb 0x4363e0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
call fcn.00412bb1
push eax
call fcn.0040f873
pop ecx
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x10], 4
jb 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
call fcn.00412bb1
cmp word [eax], bx
je 0x43641f
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
call fcn.0041d49c
test al, al
jne 0x43641f
mov eax, dword [esp + 0x18]
call fcn.00412bcc
lea ecx, [esp + 0x1c]
cmp ecx, eax
je 0x43641f
call fcn.00401b3c
cmp dword [ebp + 0x10], 5
jb 0x436437
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
call fcn.00412c92
movzx eax, ax
mov dword [esp + 0x14], eax
push 0x3c
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.00456fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], 0x3c
mov dword [esp + 0x3c], pe_nt_image_headers32
mov dword [esp + 0x40], ebx
mov eax, dword [eax]
add esp, 0xc
call fcn.00412bb1
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esp + 0x18], eax
cmp edi, ebx
je 0x43649f
push edi
call fcn.0045526c
pop ecx
cmp esi, ebx
je 0x4364aa
push esi
call fcn.0045526c
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x4364df
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
add esi, ecx
lea eax, [esi + 4]
call fcn.00418aa2
mov dword [eax + 0x14], 1
lea eax, [esi + 4]
call fcn.00418aa2
mov esi, dword [ebp + 0x14]
push ebx
mov byte [eax + 0x18], bl
call fcn.004131a1
jmp 0x43650d
cmp byte [ebp + 0xc], bl
je 0x4364f3
mov eax, dword [esp + 0x64]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x450], eax
jmp 0x43650d
mov esi, dword [ebp + 0x14]
push 1
call fcn.004131a1
cmp dword [esp + 0x64], ebx
je 0x43650d
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x1c]
call fcn.00401a04
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
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.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [section..data]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4052f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x405301
pop dword [ebp - 0x3c]
mov eax, 0x405301
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xb10f726e
add dword [ebp - 0x4c], 0x9d42d2dd
mov dword [ebp - 0x48], 0x2180c226
sub dword [ebp - 0x48], 0xef4d75e1
mov dword [ebp - 0x44], 0x6b6fe266
sub dword [ebp - 0x44], 0x1f239e38
mov dword [ebp - 0x40], 0x1a70a634
add dword [ebp - 0x40], 0xe58f59cc
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xf7843f94
add eax, 0x8bc90c0
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x4ff15357
sub dword [ebp - 0x4c], 0xdb7eea01
mov dword [ebp - 0x48], 0x14beba10
add dword [ebp - 0x48], 0x2cada765
mov dword [ebp - 0x44], 0xe6a9a0e3
sub dword [ebp - 0x44], 0x833a3477
mov dword [ebp - 0x40], 0x55472356
add dword [ebp - 0x40], 0xaab8dcaa
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x998f3225
add eax, 0x66b19e27
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39ffa
push 0
call eax
mov ecx, 0x856be88a
sub ecx, 0x856b9eb3
xor edi, edi
add edi, eax
mov edx, 0xfe301c8b
add edx, 0x2119375
add edx, dword [ebp - 0x3c]
mov esi, 0x715d2d9c
xor dword [ebp - 0x34], 0x31917fbe
mov ebx, dword [edx]
sub dword [ebp - 0x14], 0xe222b1ae
xor ebx, esi
sub dword [ebp - 0x10], 0xeaf8fb44
mov dword [edi], ebx
add edi, 4
add edx, 4
loop 0x40541a
add eax, 0x5a9111bb
sub eax, 0x5a8ff78c
xor ebx, ebx
add ebx, eax
add eax, 0x58cb1fd5
add eax, 0xa734e030
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10025290
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a37e1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100bf008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [esi + 4], 1
xorps xmm0, xmm0
mov dword [esi + 8], 1
mov dword [esi], 0x100af6e0
mov eax, dword [eax]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0
movups xmmword [ecx + 0x88], xmm0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 0xf
mov dword [ebp - 0x10], ecx
mov byte [ecx + 0x88], 0
mov dword [ebp - 4], 0
movups xmmword [ecx + 0xa0], xmm0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xb4], 0xf
mov byte [ecx + 0xa0], 0
mov byte [ebp - 4], 1
mov word [ecx + 0xb9], 0
mov byte [ecx + 0xbb], 0
push eax
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0x3f8], 0
mov dword [ecx + 0x3fc], 0
mov dword [ecx + 0x400], 0
mov byte [ecx + 0x408], 0
mov dword [ecx + 0x40c], 0
mov byte [ecx + 0x410], 0
mov dword [ecx + 0x414], 0
mov dword [ecx + 0x418], 0
mov dword [ecx + 0x41c], 0
mov dword [ecx + 0x420], 0
mov dword [ecx + 0x424], 0
mov dword [ecx + 0x428], 0
mov byte [ecx + 0x439], 0
mov byte [ecx + 0x444], 0
mov byte [ecx + 0x734], 0
mov dword [ecx + 0x738], 0
mov dword [ecx + 0x73c], 0
mov dword [ecx + 0x740], 0
mov dword [ecx + 0x744], 0
mov dword [ecx + 0x748], 0
mov byte [ecx + 0x750], 0
mov dword [ecx + 0x760], 0
call fcn.1001cbc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002c4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bf008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002c56c
cmp byte [esi + 0x3d], 0
je 0x1002c56c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002c55a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002c521
sub eax, 1
je 0x1002c525
sub eax, 2
jne 0x1002c55a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a127a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002c543
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002c55a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a127a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a127a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100a127a
mov esp, ebp
pop ebp
ret
Function at 0x1002eb50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100d04a8], 0
push ebx
push esi
push edi
je 0x1002ecde
mov ecx, dword [0x1011a5b8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002ecde
mov ecx, dword [0x1011a640]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002ecde
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002ebb0
xor edx, edx
test ecx, ecx
je 0x1002ebd9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ebc0
cmp edi, 0x5ff56dc5
je 0x1002ebe8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002ecde
mov ecx, dword [ebp - 4]
jmp 0x1002eb94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002ecde
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002ecde
movss xmm1, dword [0x100b5370]
xor ebx, ebx
cmp edx, 4
jl 0x1002ecab
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ec4c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ec67
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ec82
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ec95
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x1002ec31
cmp ebx, edx
jl 0x1002ecaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002ecde
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002ecd3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x1002ecc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret