joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462449
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
mov dword [esi + 0x18], eax
jne 0x46248f
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x46243a
push 0
push 0
call fcn.004a895c
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
je 0x46248f
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor eax, eax
inc eax
jmp 0x462491
xor eax, eax
pop esi
ret 4

Function at 0x46252d
Capabilities:
Resume thread

Disassembly:
push dword [ecx + 0x10]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x46255b
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x4625a3
call fcn.0046252d
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push dword [esp + 8]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x462591
push 1
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
and dword [esi + 0x10], 0
xor eax, eax
inc eax
jmp 0x4625a5
xor eax, eax
pop esi
ret 4
Function at 0x464edf
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2b0
mov eax, 0x4af064
call fcn.00430415
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x2a0], ebx
call fcn.0045632c
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408320
push 0x4bb608
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004084d0
push 0x250
lea eax, [ebp - 0x298]
push ebx
push eax
call fcn.00430560
push 0x4bb604
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.0042f11f
add esp, 0x18
cmp dword [eax + 0x18], 8
jb 0x464f52
mov eax, dword [eax + 4]
jmp 0x464f55
add eax, 4
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2a0], eax
call fcn.00405110
test byte [ebp - 0x298], 0x10
je 0x46501a
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408320
push 0x4bb600
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044f4e5
test eax, eax
je 0x46500d
push 0x4bb5f8
lea ecx, [ebp - 0x48]
call fcn.0044f4e5
test eax, eax
je 0x46500d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004087f0
push 0x4bb580
lea ecx, [ebp - 0x2c]
call fcn.004084d0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x464fe3
lea eax, [ebp - 0x28]
push eax
call fcn.004a7675
pop ecx
push eax
mov ecx, esi
call fcn.00408320
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.00405110
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov eax, esi
jmp 0x4650b1
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00405110
mov esi, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
call esi
cmp eax, ebx
je 0x465091
test byte [ebp - 0x298], 0x10
je 0x46507e
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408320
push 0x4bb600
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0044f4e5
test eax, eax
je 0x465071
push 0x4bb5f8
lea ecx, [ebp - 0x48]
call fcn.0044f4e5
test eax, eax
jne 0x4650b9
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00405110
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
call esi
test eax, eax
jne 0x465033
mov ecx, dword [ebp - 0x29c]
push 0x4b16a0
call fcn.00408320
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00405110
mov eax, dword [ebp - 0x29c]
call fcn.00430498
ret 4
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004087f0
push 0x4bb580
lea ecx, [ebp - 0x2c]
call fcn.004084d0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4650e1
lea eax, [ebp - 0x28]
push eax
call fcn.004a7675
pop ecx
mov ecx, dword [ebp - 0x29c]
push eax
call fcn.00408320
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.00405110
jmp 0x4650a1
Function at 0x4656f8
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1b4
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
push 7
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xe1
lea eax, [ebp - 0x110]
push eax
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
jne 0x465742
mov eax, 0x4b16a0
jmp 0x465849
lea eax, [ebp - 0x110]
push eax
call sub.WS2_32.dll_gethostbyname
cmp eax, ebx
je 0x465738
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x465783
push 4
push dword [eax]
lea eax, [ebp - 0x114]
push eax
call fcn.004335c0
add esp, 0xc
push dword [ebp - 0x114]
call sub.WS2_32.dll_inet_ntoa
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.004a7ce0
pop ecx
pop ecx
lea eax, [ebp - 0x120]
push eax
call fcn.004a7624
push ebx
call fcn.004a7624
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x114], edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
add eax, esi
push eax
call fcn.004a8ab6
call fcn.004a8ac8
mov dword [ebp - 0x114], eax
fild dword [ebp - 0x114]
fmul qword [0x4bb7c8]
fmul qword [0x4bb7c0]
call fcn.004a7f10
push 0x7f
mov esi, eax
lea eax, [ebp - 0x2b]
push ebx
push eax
mov byte [ebp - 0x2c], bl
call fcn.00430560
push esi
push ebx
push dword [ebp - 0x120]
lea eax, [ebp + 0x54]
push eax
push str._s._d_d._d
lea eax, [ebp - 0x2c]
push 0x80
push eax
call fcn.004a846d
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x114], esp
push eax
call fcn.00404030
lea eax, [ebp - 0x13c]
push eax
call fcn.00450d86
add esp, 0x20
cmp dword [eax + 0x18], 8
jb 0x46582d
mov eax, dword [eax + 4]
jmp 0x465830
add eax, 4
push eax
call fcn.004a7675
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x13c]
mov esi, eax
call fcn.00405110
mov eax, esi
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043039d
add ebp, 0x78
leave
ret
Function at 0x466363
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
sub esp, 0x608
lea ebp, [esp - 4]
mov eax, dword [0x4d5784]
xor eax, ebp
mov dword [ebp + 0x608], eax
push 0x38
mov eax, 0x4af29b
call fcn.004303df
mov esi, dword [ebp + 0x614]
push esi
mov dword [ebp - 0x18], ecx
call fcn.0042f8e7
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042f8d1
mov ebx, eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00430560
push esi
call fcn.0042f8e7
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call fcn.004335c0
add esp, 0x24
lea eax, [ebp]
push eax
push 0x200
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
test eax, eax
jne 0x4663f9
push ebx
call fcn.00430546
pop ecx
or eax, 0xffffffff
jmp 0x4664e2
push 0x5c
push ebx
call fcn.004a8aea
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4663ea
xor eax, eax
mov word [esi], ax
push 0x206
push eax
mov word [ebp + 0x400], ax
lea eax, [ebp + 0x402]
push eax
call fcn.00430560
push ebx
lea eax, [ebp + 0x400]
push 0x4bbb54
push eax
call fcn.0044daaf
mov edi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
add esp, 0x18
push ebx
call edi
push 0x5c
test eax, eax
pop eax
mov word [esi], ax
je 0x4663ea
lea eax, [esi + 2]
mov esi, dword [ebp - 0x18]
add esi, 4
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00408320
lea eax, [ebp - 0x44]
push eax
call fcn.00450cc9
add esp, 0x20
cmp dword [eax + 0x18], 0x10
jb 0x46647e
mov eax, dword [eax + 4]
jmp 0x466481
add eax, 4
push eax
call fcn.004947cd
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
call fcn.004045c0
lea eax, [ebp]
push eax
call edi
push ebx
call fcn.00430546
xor edi, edi
pop ecx
cmp dword [ebp - 0x14], edi
je 0x4664cf
push dword [esi]
call fcn.0047f7d9
pop ecx
push edi
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.00465dc0
push 0x4d0c08
lea eax, [ebp - 0x28]
push eax
call fcn.0042f9db
mov ecx, dword [ebp - 0x18]
push str.JustASqlTestTable
mov dword [ebp - 4], edi
call fcn.0046630a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x608]
xor ecx, ebp
call fcn.0043039d
add ebp, 0x60c
leave
ret 8
Function at 0x466ef8
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x468ed7
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x468f00
push esi
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x4bccb0]
mov esi, eax
shl esi, 3
xor edx, esi
xor eax, edx
inc ecx
dec dword [esp + 8]
cmp dword [esp + 8], 0
jg 0x468ee0
pop esi
ret
Function at 0x47749e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x4774b0
xor eax, eax
jmp 0x4775ac
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.0046f93e
mov esi, eax
pop ecx
test esi, esi
je 0x4775ab
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.00472907
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.0047736a
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push eax
push dword [ebp + 8]
call fcn.0047cc61
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.00472907
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.0047cc61
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.00472907
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.0047749e
xor ebx, ebx
add esp, 0xc
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x477557
mov dword [eax + 0x20], esi
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x20], ebx
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.0047cc61
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.0047cc61
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x20
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4863ed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [edi + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, eax
mov dword [ebp - 4], ebx
cmp dword [edx], ebx
jne 0x486426
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
push edx
push ebx
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x4864f6
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x486460
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.00430750
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], eax
jmp 0x486460
xor ebx, ebx
cmp esi, ebx
je 0x4864f6
mov ebx, dword [esi + 0x10]
cmp ebx, dword [edi + 0x18]
ja 0x4864e9
test byte [esi + 0x18], 0x20
jne 0x4864e9
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.00430750
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp ebx, 1
jne 0x48649a
call fcn.0046abde
push dword [ebp - 0xc]
mov eax, dword [esi + 4]
push dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [edi + 0x80]
push eax
mov eax, dword [edi + 0x3c]
call fcn.00467e16
add esp, 0x10
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x4864d5
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.004335c0
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x4864dd
mov dword [edi + 0x20], ebx
push dword [esi + 4]
mov eax, dword [edi + 0x58]
call fcn.00480897
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
je 0x48645e
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x405c83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4345c0
call fcn.004339e0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407553
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405caf
push edi
call esi
cmp eax, 0xffffffff
jne 0x405cf1
test ebx, ebx
je 0x405cee
lea ecx, [ebp - 0x18]
call fcn.004028e9
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.0040765c
test al, al
push dword [ebp - 0x18]
je 0x405ce8
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401abd
pop ecx
mov eax, esi
jmp 0x405cf1
call fcn.00401abd
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406306
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434664
call fcn.004339e0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c900
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4063d4
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406342
mov eax, ebx
add eax, eax
push eax
call fcn.0040826a
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4063cd
cmp ebx, dword [ebp - 0x14]
ja 0x4063cd
lea ecx, [ebp - 0x2c]
call fcn.004028e9
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x4063b5
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x4063aa
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040826a
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406380
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401abd
push esi
call fcn.00401abd
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4063d6
push esi
call fcn.00401abd
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40826a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x408279
pop dword [ebp - 8]
mov eax, 0x408279
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3b931
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x7d21ccea
add ecx, 0x82de7eb5
xor ebx, ebx
add ebx, eax
mov esi, 0xb868b7de
sub esi, 0xb823f1de
add esi, dword [ebp - 8]
mov edx, 0x6fba9fb
mov dword [ebp - 4], 0x45a1a438
mov edi, dword [esi]
sub dword [ebp - 4], 0x61dd65bc
xor edi, edx
mov dword [ebp - 4], 0x3daff553
mov dword [ebx], edi
sub dword [ebp - 4], 0x609ab98
add ebx, 0xd8e3b3ae
add ebx, 0x271c4c56
add esi, 4
loop 0x4082ca
add eax, 0x1214f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428004]
jne 0x40100a
repz ret
jmp fcn.00401448

Function at 0x405615
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428004]
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.00403715
and dword [ebp - 0x14], 0
cmp dword [0x42ca1c], 0
mov dword [ebp - 0x18], eax
jne 0x4056c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405770
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405770
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ca1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ca20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ca24], eax
call edi
push eax
call esi
mov dword [0x42ca2c], eax
test eax, eax
je 0x4056c8
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ca28], eax
mov eax, dword [0x42ca28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405721
cmp dword [0x42ca2c], ecx
je 0x405721
push eax
call esi
push dword [0x42ca2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405721
test ebx, ebx
je 0x405721
call edi
test eax, eax
je 0x405718
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405718
test byte [ebp - 8], 1
jne 0x405721
or dword [ebp + 0x10], 0x200000
jmp 0x405754
mov eax, dword [0x42ca20]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405754
mov eax, dword [0x42ca24]
cmp eax, dword [ebp - 0x18]
je 0x405754
push eax
call esi
test eax, eax
je 0x405754
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ca1c]
call esi
test eax, eax
je 0x405770
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405772
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x424420
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x424445
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x80c], edx
cmp dword [ebp - 0x80c], 7
jg 0x4244e6
jl 0x424470
cmp dword [ebp - 0x810], 0x6f004e72
jae 0x4244e6
cmp dword [0x1eff15c], 0xa5f
jne 0x424486
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 4], 0x845275
jne 0x4244af
mov ecx, dword [0x42bcb0]
mov dword [0x1eff15c], ecx
mov edx, dword [0x1eff15c]
add edx, 0xa231
mov dword [0x1eff15c], edx
jmp 0x4244e6
cmp dword [0x1eff15c], 0x141
jne 0x4244e1
push str.viwesorihefukenapedumate_ronofo_virejesirahipuj_cafaloteceselu_dizupucucakixucafukiz
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42cf40], 0xec58acac
mov dword [0x42cf44], 0xffffffff
jmp 0x42443c
call fcn.004241b0
jmp dword [0x1efebc8]
Function at 0x100387a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ax, word [esp + 4]
test ax, ax
push ebp
jl 0x100387c3
cmp ax, 0x14
jg 0x100387c3
movsx ebp, ax
mov eax, dword [ebp*4 + 0x7584400]
test eax, eax
mov dword [esp + 8], ebp
jne 0x100387d3
mov dword [0x7584450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
push ebx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jne 0x100388ae
mov esi, dword [eax + 8]
mov ebx, 1
add esi, 0x14
cmp dword [eax + 0xc], ebx
jbe 0x100388a6
mov edi, dword [esp + 0x20]
add edi, 6
lea ecx, [ecx]
cmp dword [esp + 0x20], 0
je 0x10038852
mov dword [edi - 6], ebx
movzx eax, word [esi]
mov word [edi - 2], ax
movzx ecx, word [esi + 2]
mov word [edi], cx
movzx edx, word [esi + 4]
sub dx, word [esi]
mov word [edi + 2], dx
mov ax, word [esi + 6]
sub ax, word [esi + 2]
add eax, 1
mov word [edi + 4], ax
mov ecx, dword [esi + 0x10]
mov dword [edi + 6], ecx
movzx edx, word [esi + 0xa]
mov word [edi + 0xa], dx
movzx eax, byte [esi + 0xc]
mov word [edi + 0xc], ax
movzx ecx, byte [esi + 0xd]
mov word [edi + 0xe], cx
jmp 0x1003888d
movzx edx, byte [esi + 0xd]
movsx eax, word [esi + 2]
push edx
movzx edx, word [esi + 0xa]
movsx ecx, word [esi]
push edx
movzx edx, byte [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
push edx
movsx edx, word [esi + 6]
sub edx, eax
add edx, 1
push edx
movsx edx, word [esi + 4]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push 0x7580418
call fcn.100364c0
add esp, 0x28
mov eax, dword [ebp*4 + 0x7584400]
add ebx, 1
add edi, 0x18
add esi, 0x14
cmp ebx, dword [eax + 0xc]
jb 0x10038800
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
xor edi, edi
test esi, esi
jbe 0x100388a6
mov ebx, dword [esp + 0x20]
jmp 0x100388c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp*4 + 0x7584400]
mov edx, dword [ecx + edi*4]
cmp edx, dword [eax + 0xc]
ja 0x10038941
cmp dword [esp + 0x20], 0
mov eax, dword [eax + 8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
je 0x100388ec
mov ecx, ebx
call fcn.10037f20
jmp 0x1003892f
movzx ebp, byte [eax + 0xd]
movsx ecx, word [eax + 2]
movsx esi, word [eax]
push ebp
movzx ebp, word [eax + 0xa]
push ebp
movzx ebp, byte [eax + 0xc]
push ebp
mov ebp, dword [eax + 0x10]
push ebp
movsx ebp, word [eax + 6]
movsx eax, word [eax + 4]
sub ebp, ecx
add ebp, 1
push ebp
sub eax, esi
push eax
push ecx
push esi
push edx
push 0x7580418
call fcn.100364c0
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
add esp, 0x28
add edi, 1
add ebx, 0x18
cmp edi, esi
jb 0x100388c0
pop edi
pop esi
pop ebx
xor ax, ax
pop ebp
ret
pop edi
pop esi
pop ebx
mov dword [0x7584450], 0xfffff61e
or ax, 0xffff
pop ebp
ret
Function at 0x40df85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40df94
pop dword [ebp - 0x30]
mov eax, 0x745a587a
sub eax, 0x741978e6
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3c19c
push 0
mov eax, 0x2e4a77be
sub eax, 0x2e0885ae
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x49285127
sub ecx, 0x4928110f
xor edi, edi
add edi, eax
mov edx, 0x855667ae
add edx, 0x7aed1a52
add edx, dword [ebp - 0x30]
mov esi, 0x42c8ed7d
mov ebx, dword [edx]
sub dword [ebp - 0x10], eax
xor ebx, esi
xor dword [ebp - 4], edx
mov dword [edi], ebx
sub dword [ebp - 0xc], eax
add edi, 0x7d15af9b
sub edi, 0x7d15af97
add edx, 4
loop 0x40dfef
add eax, 0xcfe79c17
sub eax, 0xcfe6a8e4
mov ebx, eax
add eax, 0xc9276a9a
add eax, 0x36d8956b
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret