joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003df0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10016098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
cmp ebx, 0x40
jl 0x10003e9e
mov eax, ebx
shr eax, 6
mov dword [ebp - 0x4c], eax
neg eax
shl eax, 6
add ebx, eax
lea ebx, [ebx]
mov esi, dword [ebp - 0x48]
mov ecx, 0x10
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x43]
mov esi, 0x10
movzx edx, byte [eax + 2]
mov cl, byte [eax - 1]
mov byte [eax - 1], dl
movzx edx, byte [eax + 1]
mov byte [eax + 2], cl
mov cl, byte [eax]
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec esi
jne 0x10003e65
add dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.10003930
add esp, 4
dec dword [ebp - 0x4c]
jne 0x10003e50
mov esi, dword [ebp - 0x64]
push 0x40
lea ecx, [ebp - 0x44]
push 0
push ecx
call fcn.10005710
mov edx, dword [ebp - 0x48]
push ebx
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.10006500
add esp, 0x18
mov byte [ebp + ebx - 0x44], 0x80
lea eax, [ebp - 0x43]
mov edi, 0x10
lea esp, [esp]
movzx edx, byte [eax + 2]
mov cl, byte [eax - 1]
mov byte [eax - 1], dl
movzx edx, byte [eax + 1]
mov byte [eax + 2], cl
mov cl, byte [eax]
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec edi
jne 0x10003ed0
inc ebx
cmp ebx, 0x38
jle 0x10003f0f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x60]
call fcn.10003930
push 0x40
lea ecx, [ebp - 0x44]
push edi
push ecx
call fcn.10005710
add esp, 0x10
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x44]
lea eax, [edx*8]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 8], eax
call fcn.10003930
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esi], edx
mov edx, dword [ebp - 0x54]
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
lea eax, [esi + 1]
add esp, 4
mov esi, 5
movzx edx, byte [eax + 2]
mov cl, byte [eax - 1]
mov byte [eax - 1], dl
movzx edx, byte [eax + 1]
mov byte [eax + 2], cl
mov cl, byte [eax]
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 4
dec esi
jne 0x10003f50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042c1
mov esp, ebp
pop ebp
ret

Function at 0x100092f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000932d
cmp dword [ebp - 0x398], 0
je 0x100094f7
cmp dword [ebp + 0xc], 1
je 0x100094f7
cmp dword [ebp + 0xc], 8
jne 0x100094bf
invalid
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
Function at 0x1000bdaf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10016098]
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.1000727e
and dword [ebp - 0x14], 0
cmp dword [0x10017f98], 0
mov dword [ebp - 0x18], eax
jne 0x1000be62
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000bf0a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000bf0a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10017f98], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10017f9c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10017fa0], eax
call edi
push eax
call esi
mov dword [0x10017fa8], eax
test eax, eax
je 0x1000be62
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10017fa4], eax
mov eax, dword [0x10017fa4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000bebb
cmp dword [0x10017fa8], ecx
je 0x1000bebb
push eax
call esi
push dword [0x10017fa8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000bebb
test ebx, ebx
je 0x1000bebb
call edi
test eax, eax
je 0x1000beb2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000beb2
test byte [ebp - 8], 1
jne 0x1000bebb
or dword [ebp + 0x10], 0x200000
jmp 0x1000beee
mov eax, dword [0x10017f9c]
cmp eax, dword [ebp - 0x18]
je 0x1000beee
push eax
call esi
test eax, eax
je 0x1000beee
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000beee
mov eax, dword [0x10017fa0]
cmp eax, dword [ebp - 0x18]
je 0x1000beee
push eax
call esi
test eax, eax
je 0x1000beee
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10017f98]
call esi
test eax, eax
je 0x1000bf0a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000bf0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042c1
leave
ret
Function at 0x40e840
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5779a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.cG9n6NSMAFAUEHWDhVQnLD8k2dAAfANEEfRHQI
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.SzNvydxtwVLgc72YBsY5OVY
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042d600
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x14]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40e92b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40e95c
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x5904f4
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40e992
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40e9c8
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9dd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00552a0f
int3
Function at 0x41ef00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.ckhyBRCEn6FDAF2KQAhqLhgxKBQI4EITAdKOhc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.ZFpT7RRcuCMjERRKQ
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41efee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41f04f
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41f040
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41f08e
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41f0c4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f0ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f0d9
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3
Function at 0x425760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4257bd
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x425870
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x425843
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x42582b
cmp eax, 4
je 0x42582b
cmp eax, 0xb
jne 0x425843
cmp dword [ebp + 0xc], 4
jne 0x425843
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x42585b
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.RXJz2TTcXiFCQ2vBgE0GZQUSFPmUceHDll9HQMoEKxcX
lea ecx, [ebp - 0x38]
call fcn.0042ed90
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp + 0xc]
call fcn.00445090
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405750
push 0x5bf210
lea eax, [ebp - 0x20]
push eax
call fcn.0054fa3a
int3

Function at 0x429a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579f5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00537e15
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x429acb
push eax
push esi
call fcn.00537c57
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00537549
int3
Function at 0x458e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c0a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.RXZX8UxYZ2MScypFyU2IGSYUIEjUGvBCcqOBDI
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.Z3dQTZRQDJMRESIBA
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x458f1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x458f7c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x458f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x458fb2
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x458fe8
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3
Function at 0x4599a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d195
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x459bbe
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x459bbe
lea esi, [edi + 1]
test esi, esi
js 0x459b70
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x459a10
push esi
lea ecx, [ebp + 8]
call fcn.0042f4e0
mov eax, dword [ebp + 8]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 8]
jg 0x459b70
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
lea ecx, [ebp + 8]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.0042dcc0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x459a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x459b7a
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459a7d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042f560
push str.YXJanMyIAjP1IVvFx5aSExc5nRw4A0I2wHFEzNfRBBY
lea ecx, [ebp - 0x18]
call fcn.0042f690
push esi
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x38]
push eax
call fcn.0054fa3a
push str.NWd5ebVwJ3DwxZ5Dh0y7RQYLTDFgCbDQhHGFA
lea ecx, [ebp - 0x18]
call fcn.0042f690
push 2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x44]
push eax
call fcn.0054fa3a
int3
Function at 0x463a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x59f30c
push dword [esp + 0x18]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0054f360
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0xc]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x463aeb
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x1c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStreamICM]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ecx
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x466a30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.QUp2ORjQksHSguUPRg
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0042f250
test al, al
jne 0x466a95
push 0x13
push str.QUp2ORjQksHSguUPRg
lea ecx, [ebp - 0x14]
call fcn.0042f580
mov dword [ebp - 4], 1
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c11
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x594764
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042f250
test al, al
jne 0x466ada
push 0
push 0x594764
lea ecx, [ebp - 0x10]
call fcn.0042f580
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x466b5d
push 0x228
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 0x22c
push 0
push eax
call fcn.0054f8e0
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x466b56
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x248], edi
je 0x466b48
lea eax, [ebp - 0x250]
push eax
push esi
call ebx
test eax, eax
jne 0x466b30
jmp 0x466b56
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x10]
call fcn.004668d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x466bb2
mov ebx, dword [ebp - 0x14]
push ecx
add ebx, 0xfffffff0
mov edi, esp
mov ecx, ebx
mov dword [ebp - 0x1c], edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edi], eax
call fcn.00445470
lea edx, [esi - 0x10]
add esp, 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466ba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [ebx]
push ebx
jmp 0x466bee
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
or esi, 0xffffffff
mov dword [ecx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x466bdb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f560
push 0x80004005
call fcn.0042f560
int3