joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ed8a
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov dword [ebx], 1
mov esi, ecx
test byte [0x4c26d0], 1
jne 0x43edc6
mov eax, dword [0x4af550]
or byte [0x4c26d0], 1
push 0x43ef3c
mov dword [0x4c26cc], eax
call fcn.0049ce21
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.0043ef1d
lea eax, [ebp - 0xe8]
lea edi, [esi + 0x6b6c]
push eax
mov ecx, edi
movzx eax, word [ebp + 0xc]
push eax
call fcn.00487d70
test eax, eax
je 0x43ef13
lea eax, [ebp - 0xe8]
mov ecx, edi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00487db5
mov edi, 0x4c26cc
push eax
mov ecx, edi
call fcn.00403a8c
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [0x4c26cc]
cmp dword [eax - 8], 0
je 0x43ef13
push 0x11
mov dword [ebx], 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test ebx, eax
je 0x43ee65
push edi
lea ecx, [esi + 0x958]
call fcn.00403a8c
push 0
push 0x12c
push 0x2711
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x43ef13
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ebx, eax
je 0x43eec4
push ecx
mov ecx, esp
push edi
call fcn.004038b5
lea eax, [ebp + 0x14]
push eax
call fcn.004600c4
pop ecx
mov ecx, esp
push edi
call fcn.004038b5
lea eax, [ebp + 0xc]
push eax
call fcn.00460122
pop ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004038b5
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, esi
call fcn.0043773e
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
push 0x2e
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ebx, eax
je 0x43eee5
push ecx
mov ecx, esp
push edi
call fcn.004038b5
push dword [esi + 4]
call fcn.0043ef46
pop ecx
pop ecx
jmp 0x43ef13
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x314]
call ebx
push 1
push 1
push ecx
mov ecx, esp
push edi
call fcn.004038b5
mov ecx, esi
call fcn.0044112c
push 5
push dword [esi + 0x314]
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x43ef46
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, dword [eax - 8]
lea ecx, [ebp + 0xc]
lea eax, [esi + 1]
push eax
call fcn.00403c58
push 0
push 0xa
lea ecx, [ebp + 0xc]
mov ebx, eax
call fcn.0043efc5
and word [ebx + esi*2], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
push 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setge cl
dec ecx
lea eax, [ebp - 0x20]
and ecx, 0xffffffc0
push eax
add ecx, 0x40
mov word [ebp - 0x10], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp + 0xc]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4430ce
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 1
pop ebx
mov dword [0x4b312c], ebx
call edi
mov si, ax
and esi, 0x3ff
call edi
push 7
pop edi
shr ax, 0xa
cmp si, di
jne 0x443105
and dword [0x4b312c], 0
jmp 0x4432e7
push 9
pop ecx
cmp si, cx
jne 0x443118
mov dword [0x4b312c], ebx
jmp 0x4432e7
cmp si, 0xc
jne 0x44312d
mov dword [0x4b312c], 2
jmp 0x4432e7
cmp si, 0x10
jne 0x443142
mov dword [0x4b312c], 3
jmp 0x4432e7
push 0xa
pop edx
cmp si, dx
jne 0x44316d
cmp ax, 0xb
mov dword [0x4b312c], 4
jne 0x4432e7
mov dword [0x4b312c], 0xe
jmp 0x4432e7
cmp si, 4
jne 0x443191
cmp ax, bx
mov dword [0x4b312c], ecx
jne 0x4432e7
mov dword [0x4b312c], 5
jmp 0x4432e7
cmp si, 0x11
jne 0x4431a6
mov dword [0x4b312c], 6
jmp 0x4432e7
push 0x12
pop eax
cmp si, ax
jne 0x4431b9
mov dword [0x4b312c], edi
jmp 0x4432e7
cmp si, 0x15
jne 0x4431ce
mov dword [0x4b312c], 8
jmp 0x4432e7
cmp si, 0x19
jne 0x4431df
mov dword [0x4b312c], edx
jmp 0x4432e7
push 0x13
pop ecx
cmp si, cx
jne 0x4431f6
mov dword [0x4b312c], 0xb
jmp 0x4432e7
cmp si, 0x1f
jne 0x44320b
mov dword [0x4b312c], 0xc
jmp 0x4432e7
cmp si, 8
jne 0x443220
mov dword [0x4b312c], 0xd
jmp 0x4432e7
push 0x1b
pop edi
cmp si, di
jne 0x443237
mov dword [0x4b312c], 0xf
jmp 0x4432e7
cmp si, 5
jne 0x44324c
mov dword [0x4b312c], 0x10
jmp 0x4432e7
cmp si, 6
jne 0x443261
mov dword [0x4b312c], 0x11
jmp 0x4432e7
push 0x16
pop edx
cmp si, dx
jne 0x443270
mov dword [0x4b312c], eax
jmp 0x4432e7
push 0x18
pop eax
cmp si, ax
jne 0x443280
mov dword [0x4b312c], ecx
jmp 0x4432e7
push 0x1a
pop ecx
cmp si, cx
jne 0x443294
mov dword [0x4b312c], 0x17
jmp 0x4432e7
cmp si, 0x24
je 0x443269
cmp si, 0xb
jne 0x4432ac
mov dword [0x4b312c], 0x15
jmp 0x4432e7
cmp si, bx
jne 0x4432bd
mov dword [0x4b312c], 0x19
jmp 0x4432e7
cmp si, 0xe
je 0x4431d4
cmp si, 0x22
je 0x443278
cmp si, 0x25
je 0x4431ae
cmp si, 0x14
jne 0x4432e7
mov dword [0x4b312c], 0x1d
pop edi
pop esi
pop ebx
ret
Function at 0x4443ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
push 0x4bc550
lea ecx, [ebp - 4]
call fcn.00403927
push str.VerionChk
lea ecx, [ebp - 0xc]
call fcn.00403927
push str.Download
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0xc]
push 0x4c5708
push eax
lea eax, [ebp - 8]
push 0x4c5710
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045e79a
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push 5
push 0
push 0
push dword [eax]
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
xor eax, eax
pop esi
leave
ret

Function at 0x445fac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push edi
lea eax, [ebp - 0x248]
push 0x104
push eax
push dword [0x4c69a8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x248]
lea ecx, [ebp - 4]
push eax
mov dword [ebp - 0x40], 0x3c
call fcn.0040a529
and dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 4]
call fcn.00403c58
and dword [ebp - 0x18], 0
and dword [ebp - 0x38], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
mov dword [ebp - 0x24], 1
and eax, 0x4b0138
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x44603d
push 0xfefe
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
leave
ret
Function at 0x44621f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
push 0xb
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
mov ebx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x30], 0x2c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
push 1
push ebx
mov dword [ebp - 8], 0x100
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x3f
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov edi, dword [ebp + 0x14]
mov ecx, dword [0x4af550]
push edi
push ebx
mov dword [ebp - 4], eax
push eax
lea eax, [ebp + 0x10]
push str.GetMenuItemInfo_Ret:_d_n
push eax
mov dword [ebp + 0x10], ecx
call fcn.00403d66
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x14
push dword [ebp + 0x10]
call esi
cmp dword [ebp - 4], 0
je 0x4462f6
push edi
push ebx
lea eax, [ebp + 0x10]
push str.From:_d___InsertAfter:_d__n
push eax
call fcn.00403d66
add esp, 0x10
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0x230]
mov esi, 0x400
push eax
push dword [ebp - 0x20]
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InsertMenuW]
test eax, eax
je 0x4462f6
lea eax, [ebp - 0x30]
push eax
push 1
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
jne 0x4462ed
cmp ebx, edi
jbe 0x4462ed
inc ebx
push esi
push ebx
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
lea ecx, [ebp + 0x10]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x449df8
Capabilities:
Create thread

Disassembly:
lea eax, [ecx + 0x28]
xor edx, edx
push eax
push edx
push ecx
push 0x449e10
push edx
push edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x44a1de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd7060
call fcn.0049c210
push ebx
push esi
push edi
lea ecx, [ebp - 0x6b830]
call fcn.0044a0bb
lea ecx, [ebp - 0xd7060]
call fcn.0044a0bb
mov esi, dword [0x4c6a7c]
push 0x4b5240
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov esi, ebx
mov edx, ecx
lea edi, [ebp - 0xd704c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push dword [0x4b4ebc]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xd7054], eax
mov dword [ebp - 0x6b824], 0x6b800
call fcn.00446cb5
push 0
lea eax, [ebp - 0xd7060]
push dword [0x4b4eb8]
push eax
lea eax, [ebp - 0x6b830]
push eax
call fcn.0044829c
call fcn.00446c98
mov eax, dword [ebp - 0x6b830]
push 0
lea ecx, [ebp - 0x6b830]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebp - 0x6b830]
call fcn.0044a1a7
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403cd2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x6b848]
call fcn.004038fb
lea ecx, [ebp - 0x6b84c]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a9d1
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [0x4c55b8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, dword [0x4af550]
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x4b0ab0
push eax
call fcn.00403d66
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0044aadb
push dword [ebp - 8]
call fcn.0049c2d8
add esp, 0x20
cmp dword [ebp + 0x18], 0xffffffff
mov esi, eax
je 0x44aa40
cmp dword [ebp + 0x14], 0xffffffff
je 0x44aa40
cmp esi, dword [ebp + 0x18]
jle 0x44aa38
mov esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x14]
jge 0x44aa40
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret
Function at 0x44ab4f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [0x4c55c8], esi
jne 0x44abfe
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [ebp - 8], esi
call fcn.0044b032
mov eax, dword [eax]
push 0x20019
push eax
push SHChangeNotifyRegister
lea ecx, [ebp - 8]
call fcn.00405c3a
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov ecx, dword [0x4af550]
mov edi, dword [ebp + 8]
mov eax, 0x400
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.00403c58
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00403cd2
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
je 0x44abe2
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
cmp dword [ebp - 8], esi
je 0x44abfb
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], esi
mov esi, edi
pop edi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret 8

Function at 0x44ac0d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x4c55c8], esi
jne 0x44ac90
push ebx
lea eax, [ebp - 8]
push edi
push eax
xor ebx, ebx
call fcn.0044b032
lea ecx, [ebp - 0xc]
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SHChangeNotifyRegister
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x44ac54
mov ebx, dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.004038fb
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 8]
push 1
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp ebx, esi
mov edi, eax
je 0x44ac8c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
pop edi
pop ebx
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret 8
Function at 0x44af45
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4af550]
push ebx
push esi
push edi
push 0x20004
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00403c58
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [0x4af550]
push 0x10000
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov esi, eax
mov eax, dword [0x4af550]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [esi + esi + 4]
push eax
call fcn.00403c58
test esi, esi
mov ebx, eax
jle 0x44aff6
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x4afcdc
mov ecx, dword [ebp - 8]
mov cx, word [ecx]
test cx, cx
je 0x44afbf
mov word [eax], cx
inc eax
inc eax
jmp 0x44afed
and word [eax], 0
test ebx, ebx
jne 0x44afcb
xor eax, eax
jmp 0x44afce
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, edi
test eax, eax
je 0x44afe1
push edi
call esi
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, ebx
add dword [ebp - 8], 2
dec dword [ebp - 0xc]
jne 0x44afad
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x10]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44b792
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x44b7c0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
and dword [esi + 0x20], 0
test eax, eax
je 0x44b7bc
cmp eax, 0xffffffff
je 0x44b7bc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x24], 0
pop esi
ret

Function at 0x44b7e2
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x4c55cc], ebx
push esi
mov esi, ecx
je 0x44b84c
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x34], eax
lea edi, [esi + 0x3c]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00403a8c
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
call fcn.0044b792
mov edi, dword [edi]
cmp dword [edi - 8], ebx
je 0x44b848
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44b848
test al, 0x10
je 0x44b848
lea eax, [esi + 0x28]
push eax
push ebx
push esi
push 0x44b85c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
push 1
pop ebx
pop edi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x44bcf1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.0049c210
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call ebx
lea edx, [esi + eax*2]
mov eax, dword [0x4bc51c]
mov dword [ebp - 0x1218], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1214]
cmp esi, edx
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
jae 0x44be0a
cmp word [esi], 0x25
jne 0x44bdc8
mov dword [ebp - 0x10], esi
inc esi
inc esi
cmp esi, edx
mov dword [ebp - 0xc], esi
jae 0x44bde7
cmp word [esi], 0x25
jne 0x44bd95
and word [esi], 0
mov eax, dword [0x4bc51c]
mov dword [ebp - 0x218], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x44bd9e
mov word [esi], 0x25
inc esi
inc esi
cmp esi, dword [ebp - 4]
jb 0x44bd53
jmp 0x44bde7
mov eax, dword [ebp - 0x10]
mov word [eax], 0x25
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 8], 1
mov word [esi], 0x25
jmp 0x44bde7
lea eax, [ebp - 0x1218]
push eax
call ebx
mov cx, word [esi]
add eax, eax
mov word [ebp + eax - 0x1218], cx
and word [ebp + eax - 0x1216], 0
mov edx, dword [ebp - 4]
inc esi
inc esi
cmp esi, edx
jb 0x44bd39
cmp dword [ebp - 8], 0
je 0x44be0a
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x44be11
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44be3e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x44be3a
call esi
cmp eax, 3
je 0x44be3a
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret
push 0
test al, 0x10
pop eax
pop esi
setne al
inc eax
ret
Function at 0x44be85
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
mov edx, dword [ebp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov ecx, 0x1ff
or ah, 2
lea edi, [ebp - 0x838]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4bc51c]
mov dword [ebp - 0x83c], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push edx
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x83c]
push 0x2e
push eax
call fcn.0049ce62
pop ecx
pop ecx
pop edi
test eax, eax
je 0x44befc
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4c55d4]
cmp dword [eax - 8], 0
je 0x44bf16
push 0
mov ecx, 0x4c55d4
call fcn.00403c58
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x44f37d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea edx, [ebp - 4]
xor eax, eax
push edx
push eax
push ecx
push 0x44f39b
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret
Function at 0x453e5d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp dword [0x4c56a8], ebx
push esi
push edi
mov esi, ecx
je 0x453e79
xor eax, eax
jmp 0x453fbd
lea eax, [ebp + 8]
lea ecx, [esi + 0x1e0]
push eax
mov dword [0x4c56a8], 1
call fcn.0045a61e
mov edi, eax
neg eax
lea ecx, [edi + 4]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.004042a3
lea eax, [edi + 0x24]
mov dword [ebp - 0x14], 0x4a9988
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x168]
cmp eax, dword [edi + 0x1c]
mov dword [ebp - 8], ebx
jne 0x453f37
mov eax, dword [esi + 0x15c]
cmp eax, dword [edi + 0x10]
jne 0x453f37
mov eax, dword [esi + 0x160]
cmp eax, dword [edi + 0x14]
jne 0x453f37
mov eax, dword [esi + 0x164]
cmp eax, dword [edi + 0x18]
jne 0x453f37
push 0x4bc550
lea ecx, [ebp - 4]
call fcn.00403927
mov ebx, 0x800
lea ecx, [ebp - 4]
push ebx
call fcn.00403c58
push ebx
push eax
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
push dword [edi + 0x20]
push dword [ebp - 4]
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
jne 0x453f2d
mov dword [ebp - 8], 1
lea ecx, [ebp - 4]
call fcn.004038fb
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x180], eax
cmp dword [0x4b7224], ebx
je 0x453f53
add edi, 0x2c
mov dword [esi + 0x184], edi
jmp 0x453f59
mov dword [esi + 0x184], ebx
push ebx
push ebx
push 1
push ecx
mov dword [esi + 0xc0], eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00417128
mov ecx, esi
call fcn.004501d2
mov eax, dword [ebp + 8]
or dword [esi + 0x180], 0xffffffff
mov dword [esi + 0x158], eax
mov dword [esi + 0x184], ebx
cmp dword [0x4b7220], ebx
je 0x453fa4
cmp dword [ebp - 8], ebx
je 0x453fa4
push dword [ebp - 0xc]
mov ecx, esi
call fcn.00454161
push ebx
mov ecx, esi
call fcn.004516e0
lea ecx, [ebp - 0x14]
mov dword [0x4c56a8], ebx
call fcn.004893ad
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x454c5a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x13c], 1
jne 0x454cf9
lea eax, [ebp - 4]
lea ecx, [esi + 0x1c8]
push eax
mov dword [ebp - 8], ecx
call fcn.00489a02
mov eax, dword [ebp - 4]
xor edi, edi
cmp dword [eax - 8], edi
je 0x454c97
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x454cab
lea ecx, [ebp - 4]
mov dword [esi + 0x13c], 0xfffffffe
call fcn.004038fb
jmp 0x454cf9
push ebx
lea ebx, [esi + 0xe8]
mov ecx, ebx
mov dword [esi + 0x13c], edi
call fcn.0047af3d
test eax, eax
je 0x454cc9
mov dword [esi + 0x104], edi
push edi
push 0x4b17b4
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_FindWindowExW]
push ecx
mov ecx, dword [ebp - 8]
push esp
mov dword [esi + 0x150], eax
call fcn.00489a02
mov ecx, ebx
call fcn.0047ad0f
lea ecx, [ebp - 4]
call fcn.004038fb
pop ebx
pop edi
pop esi
leave
ret