joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409700
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.0040480a
and dword [ebp - 4], 0
cmp dword [0x42f32c], 0
mov ebx, eax
jne 0x4097b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409862
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409862
push eax
call fcn.00404798
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f32c], eax
call esi
push eax
call fcn.00404798
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f330], eax
call esi
push eax
call fcn.00404798
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f334], eax
call esi
push eax
call fcn.00404798
pop ecx
mov dword [0x42f33c], eax
test eax, eax
je 0x4097b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404798
pop ecx
mov dword [0x42f338], eax
mov eax, dword [0x42f338]
cmp eax, ebx
je 0x409809
cmp dword [0x42f33c], ebx
je 0x409809
push eax
call fcn.00404813
push dword [0x42f33c]
mov esi, eax
call fcn.00404813
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409809
test edi, edi
je 0x409809
call esi
test eax, eax
je 0x409800
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409800
test byte [ebp - 0xc], 1
jne 0x409809
or dword [ebp + 0x10], 0x200000
jmp 0x409842
mov eax, dword [0x42f330]
cmp eax, ebx
je 0x409842
push eax
call fcn.00404813
pop ecx
test eax, eax
je 0x409842
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409842
mov eax, dword [0x42f334]
cmp eax, ebx
je 0x409842
push eax
call fcn.00404813
pop ecx
test eax, eax
je 0x409842
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f32c]
call fcn.00404813
pop ecx
test eax, eax
je 0x409862
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409864
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x14b513b7
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x22158f9
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.1001b3ed
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1001b3ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001b3fc
pop dword [ebp - 0x28]
mov eax, 0x1001b3fc
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x44571
push 0
mov eax, 0x9683c521
add eax, 0x7989cb07
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x49cd
mov esi, eax
mov edi, 0xc9d892b0
add edi, 0x46398b50
add edi, dword [ebp - 0x28]
mov edx, 0x67b9f3dd
add edx, 0x100b47e3
xor dword [ebp - 0x10], edi
mov ebx, dword [edi]
sub ebx, edx
mov dword [ebp - 0x24], 0x3614f52f
mov dword [esi], ebx
add esi, 0x605d8ddb
add esi, 0x9fa27229
add edi, 4
loop 0x1001b450
add eax, 0x11a07
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x74602a08
sub ecx, 0x64602a08
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x404aa3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov dword [ebp - 4], 0x7f83677c
sub dword [ebp - 4], 0x1715
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mul dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov word [ebp - 0x10], 0
jmp 0x404bc4
mov eax, ebx
add eax, esi
push eax
call fcn.0040423c
pop ecx
mov edx, eax
mov byte [ebp - 5], dl
mov eax, dword [ebp - 4]
mov edx, eax
add edx, eax
mov dword [ebp - 4], edx
cmp byte [ebp - 5], 0
jne 0x404b09
mov byte [ebp - 6], 0
jmp 0x404b33
call 0x409b00
mov dword [ebp - 0x20], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 5]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 6], dl
mov al, byte [esi + ebx]
cmp al, 0x70
jb 0x404b4e
cmp al, 0x7f
ja 0x404b4e
mov eax, ebx
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 6]
sub edx, ecx
mov byte [eax], dl
movzx eax, byte [esi + ebx]
cmp eax, 0xe2
jne 0x404b69
mov eax, ebx
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 6]
sub edx, ecx
mov byte [eax], dl
mov eax, 0x3e96
mul dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
push 8
push 0x90
lea eax, [ebp - 0xe]
push eax
call 0x409adc
movzx eax, byte [ebp - 5]
push eax
mov eax, ebx
add eax, esi
push eax
lea eax, [ebp - 0xe]
movzx edx, byte [ebp - 6]
add eax, edx
push eax
call 0x409ad0
push 6
lea eax, [ebp - 0xe]
push eax
mov eax, ebx
add eax, esi
push eax
call 0x409ad0
add esp, 0x24
mov eax, dword [ebp - 4]
mov edx, eax
xor edx, eax
mov dword [ebp - 4], edx
add esi, 6
inc word [ebp - 0x10]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x404ae3
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x731b4ab5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x22986a87
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40127c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bd008]
jne 0x401286
repz ret
jmp fcn.00402124

Function at 0x413b08
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.00409aa1
and dword [ebp - 4], 0
cmp dword [0x4bfd9c], 0
mov ebx, eax
jne 0x413bb9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413c6a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413c6a
push eax
call fcn.00409a2f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4bfd9c], eax
call esi
push eax
call fcn.00409a2f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4bfda0], eax
call esi
push eax
call fcn.00409a2f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4bfda4], eax
call esi
push eax
call fcn.00409a2f
pop ecx
mov dword [0x4bfdac], eax
test eax, eax
je 0x413bb9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00409a2f
pop ecx
mov dword [0x4bfda8], eax
mov eax, dword [0x4bfda8]
cmp eax, ebx
je 0x413c11
cmp dword [0x4bfdac], ebx
je 0x413c11
push eax
call fcn.00409aaa
push dword [0x4bfdac]
mov esi, eax
call fcn.00409aaa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c11
test edi, edi
je 0x413c11
call esi
test eax, eax
je 0x413c08
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c08
test byte [ebp - 0xc], 1
jne 0x413c11
or dword [ebp + 0x10], 0x200000
jmp 0x413c4a
mov eax, dword [0x4bfda0]
cmp eax, ebx
je 0x413c4a
push eax
call fcn.00409aaa
pop ecx
test eax, eax
je 0x413c4a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413c4a
mov eax, dword [0x4bfda4]
cmp eax, ebx
je 0x413c4a
push eax
call fcn.00409aaa
pop ecx
test eax, eax
je 0x413c4a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bfd9c]
call fcn.00409aaa
pop ecx
test eax, eax
je 0x413c6a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413c6c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b0110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x808
mov eax, dword [0x4bd008]
xor eax, esp
mov dword [esp + 0x804], eax
cmp dword [0x4c1678], 0xfc7
mov dword [esp], 0x343f0
jne 0x4b0146
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
add dword [esp + 4], 0xd
mov ecx, dword [0x4c037c]
imul ecx, dword [esp + 4]
add ecx, 0x269ec3
cmp dword [0x4c1678], 0x1381
mov dword [0x4c037c], ecx
movzx esi, word [0x4c037e]
jne 0x4b0180
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
and eax, 0x7fff
call fcn.0040127c
add esp, 0x808
ret

Function at 0x4b01a0
Capabilities:
Get file attributes

Disassembly:
cmp dword [0x4c1678], 0x930
jne 0x4b01c0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
push 0
call esi
push 0
push 0
call esi
pop esi
cmp dword [0x4c1678], 0x114e
mov eax, dword [esp + 4]
mov dword [0x4c037c], eax
jne 0x4b01e0
push str.ficujivusabut
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret
Function at 0x401000
Capabilities:
Enumerate gui resources
Get graphical window text
Read file on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403060], eax
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push str.TargetWindow.exe
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x40106d
mov dword [0x40306c], eax
push 0
push 0x403070
push dword [0x40305c]
push dword [0x403076]
push dword [0x40306c]
call sub.kernel32.dll_ReadFile
push dword [0x40306c]
push fcn.00401087
call fcn.004010d6
push dword [0x40306c]
call sub.kernel32.dll_CloseHandle
jmp fcn.00401087
push 0
push str.Error_
push str.Cant_Find_TargetWindow.exe__
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.kernel32.dll_ExitProcess
Function at 0x40115a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439008]
jne 0x401164
repz ret
jmp fcn.00401f7a

Function at 0x413649
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.00409429
and dword [ebp - 4], 0
cmp dword [0x43bd7c], 0
mov ebx, eax
jne 0x4136fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4137ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4137ab
push eax
call fcn.004093b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43bd7c], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43bd80], eax
call esi
push eax
call fcn.004093b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43bd84], eax
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd8c], eax
test eax, eax
je 0x4136fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004093b7
pop ecx
mov dword [0x43bd88], eax
mov eax, dword [0x43bd88]
cmp eax, ebx
je 0x413752
cmp dword [0x43bd8c], ebx
je 0x413752
push eax
call fcn.00409432
push dword [0x43bd8c]
mov esi, eax
call fcn.00409432
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413752
test edi, edi
je 0x413752
call esi
test eax, eax
je 0x413749
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413749
test byte [ebp - 0xc], 1
jne 0x413752
or dword [ebp + 0x10], 0x200000
jmp 0x41378b
mov eax, dword [0x43bd80]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41378b
mov eax, dword [0x43bd84]
cmp eax, ebx
je 0x41378b
push eax
call fcn.00409432
pop ecx
test eax, eax
je 0x41378b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43bd7c]
call fcn.00409432
pop ecx
test eax, eax
je 0x4137ab
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4137ad
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c310
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov dword [esp], 0x20
add dword [esp], 0x20
mov al, 0x65
mov byte [0x43be69], al
mov byte [0x43be6c], al
mov al, 0x6c
push 0x43be68
mov byte [0x43be68], 0x6b
mov byte [0x43be6a], 0x72
mov byte [0x43be6b], 0x6e
mov byte [0x43be6d], al
mov byte [0x43be6e], 0x33
mov byte [0x43be6f], 0x32
mov byte [0x43be70], 0x2e
mov byte [0x43be71], 0x64
mov byte [0x43be72], al
mov byte [0x43be73], al
mov byte [0x43be74], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x43d650]
mov edx, dword [0x43c368]
lea eax, [esp + 4]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
ret
Function at 0x42c4a0
Capabilities:
Get file attributes

Disassembly:
cmp dword [0x43d650], 0x930
jne 0x42c4c6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push str.Bezematevaneri_fedilovewe
push 0
call esi
push str.Gosituya
push 0
call esi
pop esi
cmp dword [0x43d650], 0x114e
mov eax, dword [esp + 4]
mov dword [0x43c35c], eax
jne 0x42c4e6
push str.dimamehay
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret
Function at 0x40adc0
Capabilities:
Clear file content

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x37740fa6
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4419192a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407d20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48360f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7e8
mov eax, dword [0x4a57cc]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x7e4], ecx
cmp dword [ebp + 8], 0x12101
jne 0x407ee9
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x407dfb
mov ecx, dword [0x4a3584]
push ecx
lea ecx, [ebp - 0x750]
call fcn.00403be0
mov dword [ebp - 0x7e8], eax
mov edx, dword [ebp - 0x7e8]
mov dword [ebp - 0x7ec], edx
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp - 0x7ec]
call fcn.00420d30
push eax
push 0
lea ecx, [ebp - 0x48c]
call fcn.00404760
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x750]
call fcn.00414cd0
lea ecx, [ebp - 0x48c]
call fcn.00474f05
mov dword [ebp - 0x754], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48c]
call fcn.00404810
mov eax, dword [ebp - 0x754]
jmp 0x407f41
push str.d3d9.dll
lea eax, [ebp - 0x224]
push eax
push 0x48925c
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00463edd
add esp, 0x10
mov ecx, 0x50
xor eax, eax
lea edi, [ebp - 0x364]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x364]
push edx
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0xffffffff
jne 0x407ed5
mov ecx, dword [0x4a3588]
push ecx
lea ecx, [ebp - 0x7d8]
call fcn.00403be0
mov dword [ebp - 0x7f0], eax
mov edx, dword [ebp - 0x7f0]
mov dword [ebp - 0x7f4], edx
mov dword [ebp - 4], 3
push 1
mov ecx, dword [ebp - 0x7f4]
call fcn.00420d30
push eax
push 0
lea ecx, [ebp - 0x5ac]
call fcn.00404760
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x7d8]
call fcn.00414cd0
lea ecx, [ebp - 0x5ac]
call fcn.00474f05
mov dword [ebp - 0x7dc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5ac]
call fcn.00404810
mov eax, dword [ebp - 0x7dc]
jmp 0x407f41
mov eax, dword [ebp - 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x407f41
cmp dword [ebp + 8], 0xc0000
jne 0x407f3c
push 1
push str.http:__qplay.nexon.com8
push 0
lea ecx, [ebp - 0x6cc]
call fcn.00404760
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x6cc]
call fcn.00474f05
mov dword [ebp - 0x7e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6cc]
call fcn.00404810
mov eax, dword [ebp - 0x7e0]
jmp 0x407f41
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004635af
pop edi
mov esp, ebp
pop ebp
ret 4