joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1f07
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov byte [esp + 6], dl
add esp, 4
jmp 0x4e20fa
mov dword [esp], ebp
lea esp, [esp + 1]
call fcn.004e1f7d
wait
adc eax, 0xd81fec85
or eax, dword [esi + reloc.Common.bpl__System_initialization_qqrv]
mov bh, 0x9e
jmp 0x9562ac75
lea edx, [edx*4]
lea edx, reloc.Common.bpl__System_initialization_qqrv
mov ebx, dword [edx]
pop edx
pushfd
jmp 0x4e1f4e
sub esp, 0x11
lea esp, [esp + 1]
push edx
mov edx, ebx
jmp 0x4e1f6a
lea esp, [esp + 0x38]
xor edi, dword [ebx*4 + reloc.Common.bpl__System_initialization_qqrv]
lea ebx, [ebx*4]
movzx ebx, byte [esi + 0xa]
jmp 0x4e1f9f

Function at 0x4e1f85
Capabilities:
Encrypt data using aes

Disassembly:
push dword [esp + 3]
push word [esp + 3]
jmp 0x4e1fab
push dword [esp]
lea esp, [esp + 2]
and edx, ecx
sub esp, 4
jmp 0x4e2029
mov edx, dword [edx*4 + reloc.Common.bpl__System_initialization_qqrv]
sub esp, 0x13
lea esp, [esp + 3]
and edx, ecx
pushfd

Function at 0x4e20b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 3]
and ebx, ecx
jmp 0x4e1fd6
sub esp, 8
pop word [esp + 2]
pop word [esp + 5]
jmp 0x4e2000
lea esp, [esp + 0x14]
xor edi, dword [ebx*4 + reloc.Common.bpl__System_initialization_qqrv]
movzx ebx, byte [esi + 0xd]
call fcn.004e1f85
cmc
jmp 0x4e2076
lea esp, [esp + 0x28]
xor edi, dword [edx*4 + reloc.Common.bpl__System_initialization_qqrv]
not edx
lea edx, [edx*4]
mov dh, byte [esp]
jmp 0x4e1fea
jmp 0x4e1fb9
mov edi, 0x8fe9817
mov edi, 0x9f31deca
lea esp, [esp + 3]
jmp 0x4e2094
mov edx, dword [eax]
pop eax
cmc
mov dword [esi + 8], edi
sub esp, 3
jmp 0x4e203f
push eax
mov eax, esi
lea eax, [eax + 0xc]
jmp 0x4e2055
lea edi, reloc.Common.bpl__System_initialization_qqrv
mov ebx, dword [edi]
pop edi
push esi
add edi, edi
jmp 0x4e20c7
push edi
mov edi, ebx
lea edi, [edi*4]
jmp 0x4e207e
shr edi, 0x18
mov edi, dword [edi*4 + reloc.Common.bpl__System_initialization_qqrv]
call 0x4e20b0
jg 0x4e203a
sbb al, 0x24
sub esp, 0x10
clc
jmp 0x4e20d5
push word [esp + 3]
lea esp, [esp + 2]
mov edi, edx
stc
jmp 0x4e20a0
and edi, ecx
push bp
add esp, 1
push edi
mov word [esp + 2], sp
jmp 0x4e269d
lea esp, [esp + 1]
mov edi, dword [edi*4 + reloc.Common.bpl__System_initialization_qqrv]
clc
clc
call fcn.004e2241

Function at 0x4e21de
Capabilities:
Encrypt data using aes

Disassembly:
mov word [esp + 1], di
mov dword [esi + 0xc], edi
pushfd
jmp 0x4e21ed
lea esp, [esp + 8]
jne 0x4b9e10
je 0x4b9e31
dec esp
retf
Function at 0x4e3fb1
Capabilities:
Encrypt data using speck

Disassembly:
call fcn.004e414b
sub al, 0xa0
push ecx
mov al, byte [0x4ddd5265]
adc al, 0xe7
daa
jmp 0x4e4125
call fcn.004e4181
xchg ebx, eax
push es
xchg esp, eax
push cs
mov al, 0x2f
mov ebx, 0x7abd4e2b
pop es
pushfd
xor dl, byte [ebp - 0x5c]
movsb byte es:[edi], byte [esi]
adc ebp, dword [ecx - 0x78]
sub ebp, eax
enter 8, 0
pop eax
rcl byte [esi + 0x31], 0xc0
ja 0x4e37b8
jge 0x4e37c1
je 0x4e375d
xor ah, cl
pop edi
cmpsb byte [esi], byte es:[edi]
rcl dword [eax - 0x75]
in al, dx
bsr ax, bx
mov ax, word [esp]
lea eax, reloc.Common.bpl__System_initialization_qqrv
jmp 0x4e37fd
movzx eax, byte [ecx]
call 0x4e3806
xchg dword [eax - 1], esp
je 0x4e382e
or ecx, ebp
imul eax, dword [ebx], reloc.Common.bpl__System_initialization_qqrv
and al, byte [ebp - 0x4c]
add esp, dword [ecx + edi*4]
sub dword [eax - 0x45], ecx
or eax, 0xe8527b18
invalid
call fcn.004e4014
ror dword [ebp - 0x23], cl
movsb byte es:[edi], byte [esi]
push edi
xchg esi, eax
inc ebx
fimul word [ebx + ebp - 0x1a]
push ecx
out 0x51, al
scasd eax, dword es:[edi]
mov dh, 0xa1
loopne 0x4e3858
push dword [ebx - 0x26]
lea esp, [esp + 8]
jne 0x4e372e
je 0x4e3fd3
pop ecx
rol dword [ebx + 0x26], cl
aad 0x11
salc
inc ecx
ret
push dword [esp + 3]
mov word [esp + 4], ax
jmp 0x4e3f9b
cmp ebx, 0x1a
pushfd
lea esp, [esp + 3]
call fcn.004e3fbc
lea esp, [esp + 4]
jae 0x4e381f
mov cx, word [esp]
mov cx, word [esp]
jmp 0x4e400c
lea ecx, [ebx + 0x41]
jmp 0x4e3796
mov byte [edx + 3], cl
jmp 0x4e37ac

Function at 0x4e414b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
mov byte [edx + 3], 0x3d
jmp 0x4e37ac
Function at 0x404c9b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x404ce0
call fcn.00417594
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404cdd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404d27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x404d03
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5789a0]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x404d24
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5789a0]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x411380
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4113d3
push esi
push dword [ebp + 8]
call fcn.00411569
mov edi, eax
test edi, edi
je 0x4113ce
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4113ce
mov eax, dword [ebp - 8]
jmp 0x4113e5
mov eax, dword [ebp + 0x10]
jmp 0x4113e5
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x41f0ce
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x568fd0
call fcn.0054b64a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41f0f4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41f14e
lea ecx, [ebp - 0x10]
call fcn.004021f0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5789a0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055387c
push eax
call fcn.004027d7
add esp, 0x14
test esi, esi
je 0x41f141
push esi
call fcn.00550017
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004037e2
mov eax, ebx
call fcn.0054b618
ret 8
Function at 0x42b089
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x42b0c8
call fcn.00417594
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42b0c8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42b0d0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004bbaf8
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42babf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x42bb4b
cmp dword [esi + 0x20], 0
je 0x42bb4b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42bb4b
cmp dword [ebp + 8], 0
je 0x42bb4b
xor edi, edi
mov ebx, edi
call fcn.00417594
push 0x57e0c0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x42bb2f
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42bb4b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004bc5f2
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42bb47
mov ecx, esi
call fcn.0042b85d
mov eax, edi
jmp 0x42bb4d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x433cbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x433cd7
call fcn.00417594
mov esi, dword [eax + 0xc]
push 0x57e240
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x433d19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x433d19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x433d19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00433d22
jmp 0x433d1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4bcc2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x4bcc55
cmp dword [edi + 0x80], 0
jne 0x4bcc55
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00417594
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004bcec8
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4bcc82
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00417594
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4bccb5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.004bccc8
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4beda6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4bedfc
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4bedd5
call fcn.0041c6e6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4bedea
call fcn.0041c6e6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4bedfc
call fcn.0041c6e6
call fcn.00417594
cmp dword [eax + 0x3c], 0
je 0x4bee11
push edi
mov ecx, ebx
call fcn.004be4c9
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004beff7
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4bee3a
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4bee46
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x50df9c
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00555aaf
pop ecx
test eax, eax
jne 0x50dfde
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00411964
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x50dfa4
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x51ef6e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041ecab
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x51efaa
call fcn.0051f18b
mov dword [esi + 0xc], 1
jmp 0x51efaf
call fcn.0051f18b
cmp dword [esi], 0
je 0x51effa
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x51efd5
push edi
call fcn.0041660d
lea ecx, [edi + 1]
push ecx
jmp 0x51efe4
push 0xff
call fcn.0040342d
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004116a5
pop edi
jmp 0x51f01e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x51f01e
push dword [esi]
push dword [ebp - 4]
call fcn.00418b51
pop esi
leave
ret 0xc

Function at 0x51f0e2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0051f18b
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x51f12a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041660d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004116a5
jmp 0x51f135
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00418b51
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x5451bf
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0054a82c
call fcn.004175e8
cmp dword [eax + 0x14], 0
jne 0x5451da
mov ecx, esi
pop esi
jmp fcn.005444e3
pop esi
ret

Function at 0x546091
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401cb0
call fcn.004175e8
cmp dword [eax + 0x14], 0
jne 0x5460ac
mov ecx, esi
pop esi
jmp fcn.005458ff
pop esi
ret

Function at 0x55c745
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x55c784
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x55c784
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x55c784
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x55c784
cmp dword [ecx + 0x74], 0xe
jbe 0x55c784
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x55edbd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a9b90
push 0x5a9b88
push str.FlsAlloc
push 0x1f
call fcn.0055ec3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x55edf1
push dword [ebp + 8]
mov ecx, esi
call dword [0x5789a0]
call esi
jmp 0x55edf7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x55ee3b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a9ba0
push 0x5a9b98
push str.FlsGetValue
push 0x21
call fcn.0055ec3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x55ee72
push dword [ebp + 8]
mov ecx, esi
call dword [0x5789a0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x55ee7a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a9ba8
push 0x5a9ba0
push str.FlsSetValue
push 0x22
call fcn.0055ec3c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x55eeb4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5789a0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5624e8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5ca004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x562533
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00562683
test al, al
jne 0x56252d
sub edx, 2
cmp edx, edi
jne 0x562513
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x562555
lea eax, [edi + 2]
cmp edx, eax
je 0x562555
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00562434
add esp, 0x10
jmp 0x56264f
push esi
lea ecx, [ebp - 0x255]
call fcn.00562683
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x562598
push dword [ebp - 0x25c]
jmp 0x562545
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x5625d5
cmp word [ebp - 0x226], 0
je 0x5625f6
cmp word [ebp - 0x226], ax
jne 0x5625d5
cmp word [ebp - 0x224], 0
je 0x5625f6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00562434
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x562642
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5625af
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x56262a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x56264f
push 0x562264
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00567890
add esp, 0x10
jmp 0x56261f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054b1a3
leave
ret

Function at 0x56310a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x56311b
pop esi
ret
push ebx
push edi
push esi
call fcn.005630d3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0055d092
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x563143
push ebx
push esi
push edi
call fcn.0054ca90
add esp, 0xc
push 0
call fcn.0055d058
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x563513
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00563158
Function at 0x404d50
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x46bbe7
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x48c74c]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c74c]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov ebp, eax
mov dword [esp + 0x28], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x404dbb
xor al, al
jmp 0x404f2d
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x404f1c
nop
cmp dword [esp + 0x28], ebp
je 0x404f08
xor eax, eax
push 0x206
push eax
mov word [esp + 0x45c], ax
lea eax, [esp + 0x45e]
push eax
call fcn.00451ce0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x464]
push 0x104
push eax
call fcn.0044c5e3
xor eax, eax
push 0x206
push eax
mov word [esp + 0x26c], ax
lea eax, [esp + 0x26e]
push eax
call fcn.00451ce0
push esi
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.0044c5e3
lea eax, [esp + 0x27c]
push eax
call fcn.00467e3c
mov esi, eax
lea eax, [esp + 0x488]
push eax
call fcn.00467e3c
add esp, 0x38
lea ecx, [ecx]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x404e86
test cx, cx
je 0x404e82
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x404e86
add eax, 4
add esi, 4
test cx, cx
jne 0x404e60
xor eax, eax
jmp 0x404e8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404f04
mov eax, dword [edi + 4]
lea ecx, [esp + 0x28]
cmp ecx, eax
jae 0x404ee6
mov ecx, dword [edi]
lea edx, [esp + 0x28]
cmp ecx, edx
ja 0x404ee6
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [edi + 8]
jne 0x404eb8
push ecx
mov ecx, edi
call fcn.00405120
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x668], 0
test ecx, ecx
je 0x404ed9
mov eax, dword [eax + esi*4]
mov dword [ecx], eax
mov dword [esp + 0x668], 0xffffffff
jmp 0x404f00
cmp eax, dword [edi + 8]
jne 0x404ef3
push ecx
mov ecx, edi
call fcn.00405120
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x404f00
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
add dword [edi + 4], 4
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404dd0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
xor eax, eax
cmp ecx, dword [edi + 4]
setne al
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.0044b7e1
add esp, 0x658
ret