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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48ecb8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x439fb9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43a0cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x439fcd
mov eax, 0xffffffc7
jmp 0x43a0ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x439fde
cmp dword [esi + 8], eax
jne 0x439fcd
cmp dword [esi + 8], eax
jne 0x439ff7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439ff7
mov eax, 0xffffffc7
jmp 0x43a0ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43a00b
push eax
mov ecx, ebx
call fcn.004397b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040ac90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43a03c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040acb0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438f20
test eax, eax
mov dword [esp + 0x38], eax
je 0x43a06f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b7e60
call fcn.0040ae90
mov eax, dword [esp + 0x38]
jmp 0x43a0ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439de0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43a0b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439e00
mov esi, eax
test esi, esi
jne 0x43a0e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439de0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43a085
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b7e60
call fcn.0040ae90
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b7e60
call fcn.0040ae90
mov eax, esi
jmp 0x43a0ce

Function at 0x43eab0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43eb10
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43eb10
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43eb10
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43eb10
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43eb50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x44a630
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48e6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00471e2f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00449ff0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00471d5d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046e629
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046e629
push 1
push 0
push 0
mov ecx, esi
call fcn.0046e5d1
push 1
push 0
push 1
mov ecx, esi
call fcn.0046e5d1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00471ea1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44a7b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48e6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00471e2f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00449ff0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00471d5d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44a874
cmp dword [esp + 0x40], 1
jne 0x44a872
cmp ecx, eax
jge 0x44a874
mov eax, ecx
cmp eax, 0xc8
jge 0x44a880
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044a630
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00471ea1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44b030
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48f263
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.0046ca4a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004720d7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004735ea
test eax, eax
je 0x44b14c
mov ecx, dword [esp + 0x3c]
call fcn.00472104
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44b110
push edi
mov ecx, esi
call fcn.0046f774
mov ecx, esi
call fcn.0044b2f0
cmp dword [esp + 0x38], 1
jne 0x44b145
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046f8af
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44d270
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d2a3
push esi
call fcn.0045b5f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d29c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d329
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d312
mov eax, dword [esi + 8]
test eax, eax
je 0x44d2c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d30e
cmp eax, 2
je 0x44d312
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d2ba
cmp eax, 3
je 0x44d2ed
cmp eax, 1
jne 0x44d2ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d2ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d2ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044d350
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d338
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044d350
add esp, 4
pop esi
ret

Function at 0x44dbc0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44dbe1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44dbe1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44dbe1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x44e030
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x44e03b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x44e13e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4b9b30]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b9b30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b9b30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b9b30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b9b30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4b9b30]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4b9b30]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4b9b30]
xor eax, edx
inc ecx
dec edi
jne 0x44e056
pop edi
test esi, esi
je 0x44e160
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4b9b30]
xor eax, edx
inc ecx
dec esi
jne 0x44e142
pop esi
pop ebx
not eax
ret
Function at 0x46d83f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46d877
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046b8f7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b8cf
jmp 0x46d883
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ef31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ef73
call fcn.004749ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ef73
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ef6a
xor eax, eax
jmp 0x46ef7b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ef81
pop edi
pop esi
pop ebx
ret 4
Function at 0x488bc8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4dd8d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047d739
mov dword [ebp - 0x14], eax
cmp dword [0x4f0d1c], esi
jne 0x488cbb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x488c48
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x488d9b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x488d9b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x488d9b
push eax
call ebx
push 0x4c2d5c
push edi
mov dword [0x4f0d1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4c2d6c
push edi
mov dword [0x4f0d20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4f0d24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f0d2c], eax
test eax, eax
je 0x488cb8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f0d28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x488ce0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x488cd3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x488cf5
push 4
pop eax
jmp 0x488d9d
cmp dword [ebp - 0x14], esi
je 0x488cf5
push dword [0x4f0d1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x488cda
mov eax, dword [0x4f0d28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x488d53
cmp dword [0x4f0d2c], edi
je 0x488d53
push eax
call ebx
push dword [0x4f0d2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x488d53
test eax, eax
je 0x488d53
call ecx
test eax, eax
je 0x488d48
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x488d48
test byte [ebp - 8], 1
jne 0x488d53
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x488d83
mov eax, dword [0x4f0d20]
cmp eax, edi
je 0x488d80
push eax
call ebx
test eax, eax
je 0x488d80
call eax
mov esi, eax
test esi, esi
je 0x488d80
mov eax, dword [0x4f0d24]
cmp eax, edi
je 0x488d80
push eax
call ebx
test eax, eax
je 0x488d80
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4f0d1c]
call ebx
test eax, eax
je 0x488d9b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x488d9d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00480cb9
mov esp, ebp
pop ebp
ret
Function at 0x1019d280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x28]
je 0x10197858
sbb dh, al
shrd si, bx, 0xa
mov esi, dword [eax + 0x3c]
jmp 0x10197fab
Function at 0x4055f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405607
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405638
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x405634
cmp esi, eax
jae 0x405638
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x405624
cmp esi, eax
jb 0x40563e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x406180
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push esi
push 0x405f40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x14]
push str.btnClose
call fcn.004345a0
mov ecx, dword [esi + 0x14]
push str.openpath
mov dword [esi + 0x1a4], eax
call fcn.004345a0
mov ecx, dword [esi + 0x14]
push str.nomore
mov dword [esi + 0x1a8], eax
call fcn.004345a0
mov ecx, dword [esi + 0x14]
push str.cancel
mov dword [esi + 0x1ac], eax
call fcn.004345a0
mov ecx, dword [esi + 0x14]
push 0x47b708
mov dword [esi + 0x1b0], eax
call fcn.004345a0
mov dword [esi + 0x1b4], eax
pop ecx
ret

Function at 0x406214
Capabilities:
Create process on windows
Read .ini file
Self delete

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x214]
mov eax, dword [ecx]
cmp eax, 9
je 0x4062fc
test eax, eax
jne 0x4062fc
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x194]
je 0x4062f0
cmp eax, dword [esi + 0x198]
jne 0x4062bd
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.0045cac0
add esp, 0xc
lea ecx, [esi + 0x8c]
call fcn.00432050
push eax
push 0x104
lea edx, [esp + 0xc]
push edx
push 0x47b668
push str.mediapath
push str.QVODTERMINAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 1
push 0
push 0
lea eax, [esp + 0x10]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004599ea
add esp, 0x20c
ret 4
cmp eax, dword [esi + 0x19c]
jne 0x4062e8
lea ecx, [esi + 0x110]
call fcn.00432050
push eax
push 0x47b710
push 0x47b714
push str.memory
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4062f0
cmp eax, dword [esi + 0x1a0]
jne 0x4062fc
push 0
push 0
lea ecx, [esi - 0x10]
call fcn.00432550
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
call fcn.004599ea
add esp, 0x20c
ret 4
Function at 0x406320
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4730cb
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x168], eax
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
push 0xfffffffffffffff0
mov esi, ecx
call fcn.004484d0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
mov ecx, esi
call fcn.004484d0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004484d0
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0x20
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
push 0
mov ecx, esi
call fcn.004484d0
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
push eax
call fcn.00433800
push 0
lea ecx, [esp + 0x30]
call fcn.004404c0
mov dword [esp + 0x180], 0
mov ecx, dword [esi + 0x14]
push ecx
push 0
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x18]
mov dword [esp + 0x20], esp
mov dword [eax], str.filemanager.xml
call fcn.00432050
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], esp
call fcn.0043e230
mov ecx, dword [esi + 0x14]
push eax
call fcn.004383a0
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x10]
push eax
call fcn.00433c20
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x14]
push edx
call fcn.00433880
mov eax, dword [esp + 0x14]
test eax, eax
je 0x406461
mov ecx, dword [esp + 0x18]
push 6
push ecx
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.004484d0
push eax
call edi
call fcn.00406180
lea ecx, [esp + 0x2c]
mov dword [esp + 0x180], 0xffffffff
call fcn.0043f560
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.004599ea
add esp, 0x178
ret
Function at 0x406f70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x406fae
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
ret
Function at 0x408690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4086a0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4086b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x408be0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x408c5a
xor eax, eax
cmp ecx, ebp
je 0x408c42
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x408c68
cmp ecx, ebp
je 0x408cfb
push ecx
jmp 0x408cf5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x408cca
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00408be0
mov ebx, eax
cmp ebx, ebp
jne 0x408d18
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x408c90
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408cdd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00408d90
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408cfb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004599ea
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408d27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x408cfd