joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b474
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x462bb0]
cmp byte [eax + 0xa5], 0
jne 0x45b4eb
cmp dword [0x462bc8], 0
jne 0x45b4a9
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b430
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x462bc8], eax
cmp dword [0x462bc4], 0
jne 0x45b4c4
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x462bc4], eax
cmp dword [0x462bcc], 0
jne 0x45b4eb
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x45b3d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x462bcc], eax
pop ecx
pop ebp
ret

Function at 0x45b5b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0045b54c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45b5d5
xor eax, eax
call fcn.0045b584
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x45b5ef
mov al, 1
call fcn.0045b584
mov esp, ebp
pop ebp
ret

Function at 0x45bcb4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x462bb0]
cmp dword [eax + 0x30], 0
je 0x45bd7e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45bd75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x45bc34
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45bd75
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45bd2f
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x45bd75
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00414bd8
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45bd44
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45ca98
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x45cadd
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00403f68
jmp 0x45caee
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00403ecc
mov esp, ebp
pop ebp
ret
Function at 0x45de94
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x45dee7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043f0ac
test al, al
je 0x45dee7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043ebdc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45dee7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0043ebdc
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x45ec08
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
mov edi, dword [ebx]
cmp edi, 0xffffffff
jae 0x45ec66
push 0
lea eax, [esp + 4]
push eax
push esi
push ebp
push edi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x45ec37
call sub.kernel32.dll_GetLastError
mov dword [ebx + 0x40], eax
jmp 0x45ec3c
xor eax, eax
mov dword [ebx + 0x40], eax
mov edi, dword [esp]
mov eax, dword [ebx + 0x44]
call fcn.00427ff4
mov eax, dword [esp]
xor edx, edx
add dword [ebx + 0x20], eax
adc dword [ebx + 0x24], edx
mov eax, esi
xor edx, edx
add dword [ebx + 0x28], eax
adc dword [ebx + 0x2c], edx
mov eax, dword [ebx + 0x44]
call fcn.00428008
jmp 0x45ec89
mov eax, dword [ebx + 0x44]
call fcn.00427ff4
mov eax, esi
xor edx, edx
add dword [ebx + 0x28], eax
adc dword [ebx + 0x2c], edx
mov eax, dword [ebx + 0x44]
call fcn.00428008
mov dword [ebx + 0x40], 0xffffffff
xor edi, edi
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45ed08
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov ebp, edx
mov ebx, eax
mov edi, dword [ebx]
cmp edi, 0xffffffff
jae 0x45ed66
push 0
lea eax, [esp + 4]
push eax
push esi
push ebp
push edi
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x45ed37
call sub.kernel32.dll_GetLastError
mov dword [ebx + 0x40], eax
jmp 0x45ed3c
xor eax, eax
mov dword [ebx + 0x40], eax
mov edi, dword [esp]
mov eax, dword [ebx + 0x44]
call fcn.00427ff4
mov eax, dword [esp]
xor edx, edx
add dword [ebx + 0x30], eax
adc dword [ebx + 0x34], edx
mov eax, esi
xor edx, edx
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x44]
call fcn.00428008
jmp 0x45ed89
mov eax, dword [ebx + 0x44]
call fcn.00427ff4
mov eax, esi
xor edx, edx
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x44]
call fcn.00428008
mov dword [ebx + 0x40], 0xffffffff
xor edi, edi
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x506740
Capabilities:
Parse pe header

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

Function at 0x434080
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x434098
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x434176
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00434a50
add esp, 8
sar eax, 0xc
cmp eax, 3
jne 0x434171
mov dword [ebp - 0x10], 0xfff
mov dword [ebp - 0xc], 0x9922c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00434a50
add esp, 8
and eax, dword [ebp - 0x10]
add eax, 0x8702
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
mov dword [ebp - 0xc], 0x9922c
cmp dword [ebp - 4], 0
jne 0x43414a
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x43414a
xor eax, eax
jmp 0x434176
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx - 0x8702]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx - 0x8702], eax
jmp 0x43408f
mov esp, ebp
pop ebp
ret

Function at 0x434a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x240be8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x240be8
push 0x15b9
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x434a85
xor eax, eax
jmp 0x434a8f
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, word [eax + edx*2]
mov esp, ebp
pop ebp
ret
Function at 0x401330
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push 0x41f23c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
push 0x40
push 0x1000
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 0x10]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x12
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e578
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4254e4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x44], 0
je 0x404170
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x40417c
mov al, 1
jmp 0x40431f
mov dword [ebp - 0x10], 8
call fcn.00401c80
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00401c80
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401c60
add esp, 8
movzx eax, al
test eax, eax
je 0x4041bf
xor al, al
jmp 0x40431f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00403430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.004035e0
mov ecx, eax
call fcn.00404790
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004046b0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.004035e0
mov ecx, eax
call fcn.00404790
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x4c
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x44]
call fcn.00404ea0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40423a
cmp dword [ebp - 0x5c], 1
je 0x404241
cmp dword [ebp - 0x5c], 3
je 0x4042db
jmp 0x4042f3
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x49], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004035e0
mov ecx, eax
call fcn.00404790
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4042a4
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004035e0
mov ecx, eax
call fcn.00404790
push eax
call fcn.0040a7ad
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4042a4
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004029d0
mov al, byte [ebp - 0x51]
jmp 0x40431f
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x49]
test edx, edx
jne 0x4042c7
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004029d0
mov al, byte [ebp - 0x52]
jmp 0x40431f
cmp dword [ebp - 0x38], 0
jne 0x4042d9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004034b0
jmp 0x40430b
mov byte [ebp - 0x53], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004029d0
mov al, byte [ebp - 0x53]
jmp 0x40431f
mov byte [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004029d0
mov al, byte [ebp - 0x54]
jmp 0x40431f
jmp 0x4041d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00409a32
mov esp, ebp
pop ebp
ret

Function at 0x409a32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4254e4]
jne 0x409a3c
repz ret
jmp fcn.0040e543
Function at 0x41a229
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4254e4]
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.0040e649
and dword [ebp - 0x14], 0
cmp dword [0x42792c], 0
mov dword [ebp - 0x18], eax
jne 0x41a2dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41a384
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41a384
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42792c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427930], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427934], eax
call edi
push eax
call esi
mov dword [0x42793c], eax
test eax, eax
je 0x41a2dc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427938], eax
mov eax, dword [0x427938]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41a335
cmp dword [0x42793c], ecx
je 0x41a335
push eax
call esi
push dword [0x42793c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41a335
test ebx, ebx
je 0x41a335
call edi
test eax, eax
je 0x41a32c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41a32c
test byte [ebp - 8], 1
jne 0x41a335
or dword [ebp + 0x10], 0x200000
jmp 0x41a368
mov eax, dword [0x427930]
cmp eax, dword [ebp - 0x18]
je 0x41a368
push eax
call esi
test eax, eax
je 0x41a368
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41a368
mov eax, dword [0x427934]
cmp eax, dword [ebp - 0x18]
je 0x41a368
push eax
call esi
test eax, eax
je 0x41a368
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42792c]
call esi
test eax, eax
je 0x41a384
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41a386
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409a32
leave
ret
Function at 0x41d57e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, ebp
add eax, 0xd4bf4746
dec dh
inc ecx
imul ecx, edi
mov edx, 0xd32a4622
mov eax, 0x4907a37f
xchg edx, esi
imul esi, edi
xor edi, ebx
movsx ebp, bh
add al, 0x89
sbb esi, esi
mov ecx, 0x205b2a32
xchg ch, cl
sub eax, 0x6740243d
push 0x496ca7
push 0xa03ada
jae 0x41d547
imul esi, eax
imul esi, edi
mov edi, edi
test bl, 0xed
lea ebx, [0xa4f75877]
mov al, 0xed
sbb eax, 0x9a045b35
call 0x41d57e
mov al, cl
mov ebp, 0xb629c8d0
mov esi, eax
sub al, 5
mov bl, 0x63
mov edi, ebp
test ebx, 0x2a8f4a25
lea esi, [0xba63b073]
xchg cl, dh
pop ecx
imul esi, ebp, 0xf38dd77f
mov ebx, 0x40f8c38
movzx edi, dx
test dl, dh
xchg al, al
movsx edi, ah
xor al, bh
mov edi, 0x30b040cd
adc eax, 0x4f5bd7cc
add edx, ebp
xchg ebx, eax
lea edx, [0xaf486718]
mov eax, 0
imul ebp, ebx, 0x32f04868
add edx, ebp
and ebx, eax
inc edx
mov dh, 0x31
add eax, 0x30625
mov ebx, ecx
sbb edi, eax
mov bh, 0x76
sub eax, 0x30624
mov edi, 0x2df674d3
mov bl, dh
and bl, 0xe4
or edi, 0xdb7ec2ab
lea ebp, [0x7e1e9cde]
xchg edi, esi
cmp eax, 0x256
jl 0x41d5b3
mov ebp, 0x9ac6392f
add dl, cl
mov bh, 0xfc
push 0xe0ce86
push ebp
jo 0x41d60f
mov edi, edi
cmp edx, ebx
mov bl, 0x8c
cmp eax, 0x4fbeca3f
movzx edi, bh
lea ebp, [0xf01e13e3]
imul ebx, ebp, 0x8bd9f032
adc bh, al
dec eax
mov eax, esi
cmp esi, 0xeaf7bf86
add ecx, 0x1f29
jmp 0x41d640
add ecx, 0xc1e
movzx edx, di
dec edi
sub eax, 0x74adc2ca
lea esi, [0xfa870e99]
add ah, ah
mov dh, 0xf3
cmp ebp, 0xdf29
mov eax, edi
test al, 0x9d
add al, dl
test eax, 0x2938e616
jno 0x41d677
dec esi
sbb bl, 0x9b
inc ebp
inc ebp
push ecx
push 0
pop edi
xchg dl, dh
dec eax
jne 0x41d68a
lea esi, [0x4b87b6e0]
mov edx, ecx
inc bh
inc bh
test ah, 0x30
mov bh, bl
add edi, 0xfffffe4e
movzx edx, ah
sub al, 0xd0
add edi, 0x1b3
test eax, esi
ja 0x41d6ad
mov ebp, 0xd5d976ff
dec ebp
xchg bh, dl
test bh, 0x62
adc dh, bl
lea edx, [0x5aa5b70b]
sbb ebx, 0xf1ea178e
cmp edi, 0x956
jb 0x41d67c
test ebx, 0xa858e791
movzx ebx, dl
ret

Function at 0xe8b1a4
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe8b1ae
pushal
call 0xe8b1b4
pop ebp
sub ebp, 0x10
sub ebp, 0xa8b1a4
jmp 0xe8b1ca
mov eax, 0xa8b1a4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x711bbe
xor byte [eax], dl
inc eax
dec ecx
jne 0xe8b1e1
jmp 0xe8b1f4
xor eax, 0x82373573
mov esi, 0x7f3fbebe
inc esi
mov esi, 0x73bdbebe
push es
mov ebx, 0x4bebebe
xchg esi, eax
mov esi, 0x5c49bebe
mov ebp, 0xb23f3576
mov esi, 0x7bbdbebe
xor ebx, edx
lcall 0xd6ee, 0x9aba3742
rol byte [ebx - 0x79294162], cl
retf 0xbe36
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x43eb2a67
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x68734306
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6ce811c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x3c
test eax, eax
je 0x6ce81268
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1c], edx
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6ce81268
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
mov edx, dword [ebp - 0x1c]
call edx
sub esp, 0x18
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6ce815a0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test ebx, ebx
je 0x6ce815d1
mov eax, ebx
call dbg.strdupAW
mov ebx, eax
test eax, eax
je 0x6ce816b4
test esi, esi
je 0x6ce815e6
mov eax, esi
call dbg.strdupAW
mov esi, eax
test eax, eax
je 0x6ce81690
test byte [0x6ce83018], 1
jne 0x6ce81640
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x1c], eax
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x18], edi
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str.__s___s___Ix__n
mov dword [esp + 8], 0x6ce85084
mov dword [esp + 4], 0x6ce83018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x6ce815ef
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, 0xe
jmp 0x6ce81632
Function at 0x6ce81730
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test ebx, ebx
je 0x6ce81759
mov eax, ebx
call dbg.strdupAW
mov ebx, eax
test eax, eax
je 0x6ce817d0
test byte [0x6ce83018], 1
jne 0x6ce81798
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___d_:_stub_n
mov dword [esp + 8], str.LoadPerfCounterTextStringsW
mov dword [esp + 4], 0x6ce83018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x6ce81762
mov eax, 0xe
jmp 0x6ce81788

Function at 0x6ce81840
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test ebx, ebx
je 0x6ce81869
mov eax, ebx
call dbg.strdupAW
mov ebx, eax
test eax, eax
je 0x6ce818e0
test byte [0x6ce83018], 1
jne 0x6ce818a8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___d_:_stub_n
mov dword [esp + 8], str.UnloadPerfCounterTextStringsW
mov dword [esp + 4], 0x6ce83018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x6ce81872
mov eax, 0xe
jmp 0x6ce81898

Function at 0x6ce819e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6ce81a3b
cmp byte [esi + ebx - 1], 0xa
je 0x6ce81a0f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6ce86084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret