joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d6047
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [ebx], 0x4da020
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
lea esi, [ebx + 0x24]
push ecx
push eax
push eax
mov dword [esp + 0x34], 4
call fcn.0047c100
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00464e50
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x3c]
lea edi, [ebx + 0x34]
push ecx
push eax
push eax
call fcn.0047c100
add esp, 0xc
mov ebp, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push ebp
call fcn.00464e50
lea ecx, [ebx + 0x44]
mov dword [edi + 8], ebp
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.0047c090
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x5c]
lea ebp, [ebx + 0x54]
push ecx
push eax
push eax
call fcn.0047c100
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [esp + 0x14], eax
push ecx
push eax
mov ecx, ebp
call fcn.00464e50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [ebp + 8], eax
lea eax, [ebx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47b78a
mov edx, dword [eax + 8]
sub edx, ecx
mov ecx, dword [esp + 0x14]
sar edx, 2
cmp ecx, edx
jae 0x47b78a
mov edx, dword [ebx + 8]
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x47b784
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
jmp 0x47b758
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push ecx
call fcn.0047c100
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov ebx, eax
mov eax, dword [ecx + 8]
push eax
push ebx
call fcn.00464e50
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], ebx
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x18], eax
call fcn.004d0de9
xor ebx, ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x20], eax
call fcn.004d0de9
add esp, 8
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00464e50
mov eax, dword [edi + 4]
push eax
call fcn.004d0de9
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00464e50
mov eax, dword [esi + 4]
push eax
call fcn.004d0de9
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.0044a720
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x47cfd0
Capabilities:
Move file
Read file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov esi, dword [esp + 0x224]
xor ebp, ebp
push edi
push ebp
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call fcn.00433030
add esp, 8
test eax, eax
jne 0x47d052
mov ecx, 0x81
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s.tmp
lea eax, [esp + 0x20]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x28]
push ebp
push ecx
call fcn.00433030
add esp, 0x18
test eax, eax
je 0x47d052
lea edx, [esp + 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [esp + 0x22c]
cmp ebx, 2
jne 0x47d059
mov ebx, 1
jmp 0x47d059
mov ebx, dword [esp + 0x22c]
push 0x214
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x10], edi
jne 0x47d081
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret
mov ecx, 0x85
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
mov dword [eax + 0x208], ebx
call edi
add esp, 4
cmp eax, 0x103
jbe 0x47d0ae
mov eax, 0x103
jmp 0x47d0b4
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp dword [edx + 0x208], 2
jne 0x47d0f4
push 0x4f6d1c
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x22c]
add esp, 8
mov dword [eax], ecx
jmp 0x47d1b2
push 0x4f6d14
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x47d113
mov dword [esp + 0x14], 1
jmp 0x47d189
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push ebx
mov ebp, eax
call esi
add esp, 0x1c
test ebp, ebp
jle 0x47d1a3
lea edi, [ebp + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x47d187
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push 1
push ebp
push esi
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.0047ccb0
mov edi, eax
push esi
mov dword [esp + 0x30], edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0x1c
test edi, edi
je 0x47d1a3
xor ebp, ebp
cmp dword [esp + 0x10], ebp
je 0x47d1b2
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.0047d1d0
add esp, 8
mov dword [esp + 0x10], ebp
jmp 0x47d1b2
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov dword [edx], eax
cmp ebx, ebp
je 0x47d1c0
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x47d940
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [esp + 0x21c]
push edi
test esi, esi
jne 0x47d960
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
mov dword [esp + 0xc], ebx
je 0x47d97e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x210
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x224]
push esi
test eax, eax
je 0x47d9ba
push str._s.tmp
lea eax, [esp + 0x1c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x47d9de
push 0x4e923c
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x14]
push 0x4f6d1c
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
test edi, edi
jne 0x47da01
pop edi
pop esi
pop ebx
add esp, 0x210
ret
push ebp
push edi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
mov dword [esp + 0x24], 0xfeff
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ebp, dword [esi + 0x20c]
add esp, 0x10
test ebp, ebp
je 0x47da6a
mov ebx, dword [sym.imp.MSVCRT.dll_fwprintf]
mov ecx, dword [ebp]
push ecx
push str._r_n_s_r_n
push edi
call ebx
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x47da58
mov edx, dword [esi]
push edx
push 0x4f60f8
push edi
call ebx
mov esi, dword [esi + 4]
add esp, 0xc
test esi, esi
jne 0x47da43
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x47da2d
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x224]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x22c]
add esp, 4
test eax, eax
pop ebp
je 0x47daa1
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea eax, [esp + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret
Function at 0x47e380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d6156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], 0x4da0c4
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x24]
push eax
mov dword [esp + 0x30], 1
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0044ab60
mov eax, dword [esi + 4]
push eax
call fcn.004d0de9
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
xor ebx, ebx
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x5dacd4]
dec eax
mov dword [0x5dacd4], eax
jne 0x47e401
mov esi, dword [0x503fd8]
mov dword [0x503fd8], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x47e418
push esi
call fcn.004d0de9
add esp, 4
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x14]
push eax
mov byte [esp + 0x30], bl
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0044af00
mov eax, dword [esi + 4]
push eax
call fcn.004d0de9
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x5dacd0]
dec eax
mov dword [0x5dacd0], eax
jne 0x47e465
mov esi, dword [0x5daccc]
mov dword [0x5daccc], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x47e47c
push esi
call fcn.004d0de9
add esp, 4
mov ecx, dword [edi + 0x10]
lea esi, [edi + 4]
cmp ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
je 0x47e4d0
mov ecx, eax
cmp eax, ecx
jne 0x47e4d0
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.0044bec0
mov eax, dword [esi + 4]
mov ecx, dword [0x503fd8]
lea edx, [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.0044b6f0
jmp 0x47e4f8
cmp eax, edi
je 0x47e4f8
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0044a660
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0044ba30
cmp dword [esp + 0x10], edi
jne 0x47e4d4
mov eax, dword [esi + 4]
push eax
call fcn.004d0de9
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x14]
xor esi, esi
call ebp
mov eax, dword [0x5dacd4]
dec eax
mov dword [0x5dacd4], eax
jne 0x47e52b
mov esi, dword [0x503fd8]
mov dword [0x503fd8], ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x47e542
push esi
call fcn.004d0de9
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x47fe20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
and ecx, 0xffff
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x47fe72
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x47fe72
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x47fe66
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
pop ebp
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x47fe80
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.0047fe20
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x47fea5
pop edi
ret
mov ecx, dword [esp + 0xc]
push esi
push 0x4f6d1c
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x47fed8
mov edx, dword [esp + 0x18]
push esi
push 1
push edx
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
mov eax, 1
pop edi
ret

Function at 0x480280
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
cmp eax, 0x104
push esi
ja 0x48038a
je 0x4802dd
sub eax, 0x100
je 0x4802dd
sub eax, 2
jne case.0x4802f7.12
mov eax, dword [esp + 0x18]
cmp eax, 0xd
jne 0x4802c1
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], 1
xor eax, eax
add esp, 8
ret 0x14
cmp eax, 9
jne case.0x4802f7.12
mov ecx, dword [esp + 0x20]
xor eax, eax
pop esi
mov dword [ecx], 1
add esp, 8
ret 0x14
mov esi, dword [esp + 0x18]
lea eax, [esi - 9]
cmp eax, 0xb2
ja case.0x4802f7.12
xor edx, edx
mov dl, byte [eax + 0x4803dc]
jmp dword [edx*4 + 0x4803cc]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4802f7.12
mov eax, dword [esp + 0x20]
pop esi
mov dword [eax], 1
xor eax, eax
add esp, 8
ret 0x14
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je case.0x4802f7.12
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00480490
mov edx, dword [esp + 0x24]
add esp, 4
xor eax, eax
mov dword [edx], 1
pop esi
add esp, 8
ret 0x14
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne case.0x4802f7.12
mov eax, dword [esp + 0x10]
push eax
push esi
push 0x4401
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
add esp, 8
ret 0x14
cmp eax, 0x205
jne case.0x4802f7.12
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je case.0x4802f7.12
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 0x437
push ecx
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
add esp, 8
ret 0x14
Function at 0x4806e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d621f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cf270
lea ebp, [esi + 0x24]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004bfa60
lea ecx, [esi + 0x98]
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], 0x4d8b64
call fcn.004792a0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
call fcn.004792a0
push edi
lea ecx, [esi + 0x1130]
mov byte [esp + 0x1c], 3
call fcn.004af1a0
mov dword [esi + 0xc8], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x1128], edi
mov dword [esi + 0x112c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4da0dc
mov dword [ebp], 0x4da0d8
mov dword [esi + 0x28], 0x4da0c8
mov dword [esi + 0xdc], 3
mov dword [esi + 0x94], 3
mov dword [esi + 0x90], 0xa8a8a8
mov dword [esi + 0xd4], 5
mov dword [esi + 0x74], 0x12
mov dword [esi + 0x78], 1
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0xe0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4806f7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d621f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cf270
lea ebp, [esi + 0x24]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.004bfa60
lea ecx, [esi + 0x98]
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], 0x4d8b64
call fcn.004792a0
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
call fcn.004792a0
push edi
lea ecx, [esi + 0x1130]
mov byte [esp + 0x1c], 3
call fcn.004af1a0
mov dword [esi + 0xc8], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x1128], edi
mov dword [esi + 0x112c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], edi
mov ecx, 0xa
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x4da0dc
mov dword [ebp], 0x4da0d8
mov dword [esi + 0x28], 0x4da0c8
mov dword [esi + 0xdc], 3
mov dword [esi + 0x94], 3
mov dword [esi + 0x90], 0xa8a8a8
mov dword [esi + 0xd4], 5
mov dword [esi + 0x74], 0x12
mov dword [esi + 0x78], 1
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0xe0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x481250
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
cmp word [esi + 0x30], 0
je 0x4812d9
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4812d9
mov edx, dword [esi + 0x6c]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push 0x103
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x18], 0
pop edi
push 1
jne 0x4812ba
mov eax, dword [esi + 4]
push 0
push eax
call fcn.004cf770
add esp, 0xc
pop esi
add esp, 0x218
ret
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004808d0
mov eax, dword [esi + 4]
lea edx, [esp + 4]
push 1
push edx
push eax
call fcn.004cf770
add esp, 0xc
pop esi
add esp, 0x218
ret
Function at 0x484ff0
Capabilities:
Create process on windows
Create process suspended
Schedule task via at
Self delete

Disassembly:
mov eax, 0x12a4
call fcn.004d0e10
mov ax, word [0x503fd0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x21c]
mov edx, dword [esp + 0x12cc]
stosw word es:[edi], ax
push ecx
mov ecx, dword [0x5def58]
lea eax, [esi + 0x14]
push str._tmp:
push eax
xor eax, eax
mov ah, byte [esi + 0x10]
mov ebp, dword [esp + 0x12d4]
mov al, byte [esi + 0xc]
push 0x4f6ee8
push ecx
mov ecx, dword [esp + 0x12d0]
push str._mw:
push eax
mov eax, dword [esp + 0x12dc]
push 0x4e9838
mov ebx, edx
push edx
and dl, 2
and ebx, 0x20
push 0x4e9654
push ebp
neg dl
push 0x4e978c
push ecx
mov ecx, dword [esp + 0x12ec]
push 0x4e9828
sbb edx, edx
push eax
and edx, 5
push 0x4e9820
push ecx
inc edx
push 0x4e9830
push edx
push str._tp:
push 0x504044
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea edx, [esp + 0xbc]
push 0x927
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x84]
add esp, 0x60
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
push eax
mov eax, ebx
mov dword [esp + 0x30], 0x44
neg eax
sbb eax, eax
mov dword [esp + 0x5c], 0x80
and eax, 0x40
push eax
push 1
push 0
lea ecx, [esp + 0x80]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x485139
mov eax, dword [esp + 0x14]
test eax, eax
je 0x485139
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ebp, 1
mov ebp, dword [esp + 0x18]
jne 0x485169
xor eax, eax
mov dword [esi + 0x424], edx
test ebx, ebx
sete al
mov dword [esi + 0x430], eax
mov dword [esi + 0x428], ebp
mov dword [esi + 0x42c], ecx
mov eax, dword [esp + 0x12c4]
test eax, eax
je 0x485183
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12a4
ret 0x18

Function at 0x485760
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push 1
call fcn.0040b810
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x14], 1
jne 0x485789
mov dword [0x5e408c], 0
push esi
mov esi, str.CloseToOrder
mov ecx, dword [esi + 0x20]
push ecx
push esi
push 0x4e9380
call fcn.0040ba60
add esi, 0x34
add esp, 0xc
cmp esi, 0x5012ac
jb 0x48578f
mov esi, 0x5012cc
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
lea ecx, [esi - 0x20]
push eax
push ecx
push 0x4e9380
call fcn.0040b990
add esi, 0x34
add esp, 0x10
cmp esi, 0x501368
jb 0x4857b1
call fcn.004cf0c0
call fcn.00485910
pop esi
add esp, 0x24
ret
Function at 0x4857f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov ecx, 0x503fe0
push ebx
push esi
push edi
call fcn.0040aaf0
test eax, eax
je 0x48585b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
mov edi, 0x5e7668
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0xc]
push ecx
push str.Medias
push 0x103
push 0x5e7668
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [0x5007a4]
mov ebx, dword [esp + 0x218]
xor edi, edi
test eax, eax
jbe 0x48589e
mov esi, 0x4fec24
test ebx, ebx
je 0x48587d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x485891
mov edx, dword [esi]
lea eax, [esi - 0x20]
push edx
push eax
push 0x4e9380
call fcn.0040ba60
add esp, 0xc
mov eax, dword [0x5007a4]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x485872
mov eax, dword [0x5007a8]
xor edi, edi
test eax, eax
jbe 0x4858de
mov esi, 0x5002b8
test ebx, ebx
je 0x4858b9
mov eax, dword [esi + 8]
test eax, eax
je 0x4858d1
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push ecx
lea eax, [esi - 0x24]
push edx
push eax
push 0x4e9380
call fcn.0040b990
add esp, 0x10
mov eax, dword [0x5007a8]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x4858ae
push section..kbrowse
call fcn.00485d10
add esp, 4
call fcn.00487b50
call fcn.00487ce0
mov ecx, 0x5dcda8
call fcn.0046f380
call fcn.00485910
pop edi
pop esi
pop ebx
add esp, 0x208
ret