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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], eax
movups xmmword [eax], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x485a79
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004a9060
add esp, 8
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2d
call esi
mov ebx, dword [ebp - 0x50]
push 0x2d
mov dword [ebx], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 4], eax
call esi
push 0x2e
mov dword [ebx + 8], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push 0xd
push dword [ebp - 8]
mov dword [ebx + 0xc], eax
call esi
add dword [ebx], eax
push 0x60
push 6
push dword [ebp - 0xc]
call esi
add dword [ebx + 4], eax
push 0x60
push 0xd
push dword [ebp - 8]
call esi
add dword [ebx + 8], eax
push 0x60
push 6
push dword [ebp - 0xc]
call esi
add dword [ebx + 0xc], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x488840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add eax, eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x48888f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
or dword [edi], eax
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x488a30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x488a69
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x488a40
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret
Function at 0x489720
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 0x14]
test ebx, ebx
jne 0x48975a
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
lea eax, [edi + 4]
push esi
push eax
call fcn.004e6b5b
mov esi, eax
add esp, 4
test esi, esi
jne 0x48977e
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
test edi, edi
je 0x489797
push edi
push dword [ebp - 0xc]
lea eax, [esi + 4]
push eax
call fcn.00509100
add esp, 0xc
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x1c]
lea eax, [edi + 4]
push dword [ebp - 0x10]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
mov ecx, 1
mov ebx, 0
cmovne ebx, ecx
push esi
call fcn.004e6b64
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, ebx
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x48bc90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x48bcd5
push 0x54c0c0
call fcn.0048a190
add esp, 4
jmp 0x48bdad
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
ja 0x48bdad
sub eax, ecx
push edi
mov edi, dword [ebp + 0x10]
cmp eax, edi
cmovb edi, eax
test edi, edi
je 0x48bd96
push 0
push 0
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x48bd10
push 0x54c0d8
jmp 0x48bda4
push 0x8000
call fcn.004e6b5b
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x48bd2f
push str.could_not_allocate_file_copy_buffer
call fcn.0048a0f0
jmp 0x48bda9
push 0x8000
lea eax, [edi + 0x7fff]
mov ecx, esi
and eax, 0xffff8000
push eax
push 0
call fcn.00461c00
nop dword [eax]
mov ecx, esi
call fcn.00461e00
mov ecx, esi
call fcn.00461780
test eax, eax
je 0x48bdac
mov esi, 0x8000
lea eax, [ebp - 8]
push 0
cmp edi, esi
push eax
cmovb esi, edi
push esi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48bd9f
mov ecx, dword [ebp - 0x14]
push esi
push ebx
call fcn.0048dd90
test eax, eax
je 0x48bdac
sub edi, esi
mov esi, dword [ebp - 0x18]
jne 0x48bd50
mov dword [ebp - 0xc], 1
jmp 0x48bdac
push 0x54d094
call fcn.0048a190
add esp, 4
pop edi
push 1
push ebx
call fcn.00507268
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0xc]
xor ecx, ebp
pop esi
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48c120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push edi
mov dword [ebp - 0x20c], eax
mov edi, dword [eax + 0x234]
test edi, edi
jne 0x48c158
lea eax, [edi + 1]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ebx, dword [eax + 0x224]
push esi
mov esi, dword [0x58c100]
cmp edi, esi
jb 0x48c1a1
push 0
lea edx, [ebp - 0x208]
push edx
push esi
push ebx
push dword [eax + 0x20c]
call ecx
test eax, eax
je 0x48c1bc
mov eax, dword [ebp - 0x20c]
add ebx, esi
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
sub edi, esi
mov esi, dword [0x58c100]
cmp edi, esi
jae 0x48c170
test edi, edi
je 0x48c1f8
push 0
lea edx, [ebp - 0x208]
push edx
push edi
push ebx
push dword [eax + 0x20c]
call ecx
test eax, eax
jne 0x48c1f8
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0048a250
push eax
mov eax, dword [ebp - 0x20c]
add eax, 4
push eax
push 0x2f69
call fcn.00489f40
add esp, 0x14
xor eax, eax
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20c]
push 0
add ecx, 0x21c
call fcn.004984c0
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x48c3d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [edi], 0xffffffff
mov eax, dword [esi + 0x20c]
cmp eax, 0xffffffff
jne 0x48c422
add esi, 4
cmp word [esi], 0
je 0x48c457
push 1
push edi
push esi
call fcn.0048eda0
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [edi], ecx
cmp ecx, 0xffffffff
jne 0x48c46b
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0048a250
push eax
lea eax, [esi + 4]
push eax
push 0x2f64
call fcn.00489f40
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x218], 0
je 0x48c47e
mov eax, dword [esi + 0x234]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
Function at 0x48c4a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov eax, dword [edi + 0x20c]
cmp eax, 0xffffffff
jne 0x48c4f9
add edi, 4
cmp word [edi], 0
je 0x48c53b
push 1
push esi
push edi
call fcn.0048ee30
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
cmp edx, 0xffffffff
jne 0x48c54f
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0048a250
push eax
lea eax, [edi + 4]
push eax
push 0x2f64
call fcn.00489f40
add esp, 0x14
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x208]
xor eax, eax
or eax, edx
mov dword [esi + 4], ecx
mov dword [esi], eax
cmp dword [edi + 0x218], 0
je 0x48c573
mov eax, dword [edi + 0x234]
add dword [esi], eax
adc dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret 4

Function at 0x48d060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
je 0x48d0ec
cmp dword [esi + 0x218], 0
je 0x48d098
call fcn.0048c120
mov dword [esi + 0x218], 0
push 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 0xc]
push ebx
push dword [esi + 0x20c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48d0ec
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0048a250
push eax
lea eax, [esi + 4]
push eax
push 0x2f62
call fcn.00489f40
add esp, 0x14
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00507257
mov esp, ebp
pop ebp
ret 8

Function at 0x48dc10
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
call fcn.0048c120
test eax, eax
je 0x48dc39
push dword [esi + 0x20c]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x48dc3d
push 0x54c0f8
call fcn.0048a190
add esp, 4
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x48dd90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x218], ecx
test edi, edi
jne 0x48ddcc
lea eax, [edi + 1]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x218], 0
push ebx
je 0x48df24
mov eax, dword [esi + 0x234]
mov ebx, dword [0x58c0fc]
add eax, edi
cmp eax, ebx
jae 0x48de60
push edi
push ecx
lea ecx, [esi + 0x21c]
call fcn.004985f0
mov eax, 8
cmp edi, eax
mov ebx, eax
cmovb ebx, edi
sub eax, ebx
mov dword [ebp - 0x214], eax
je 0x48de2e
push eax
lea eax, [esi + 0x254]
add eax, ebx
push eax
lea eax, [esi + 0x254]
push eax
call fcn.005087b0
mov eax, dword [ebp - 0x214]
add esp, 0xc
sub edi, ebx
add eax, 0x254
add edi, dword [ebp - 0x218]
add eax, esi
push ebx
push edi
push eax
call fcn.00509100
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x234], 0
mov edx, ecx
mov eax, edi
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x210], eax
je 0x48decb
mov eax, dword [esi + 0x234]
cmp eax, ebx
jae 0x48deaa
sub ebx, eax
push ebx
push ecx
lea ecx, [esi + 0x21c]
call fcn.004985f0
mov eax, dword [ebp - 0x218]
add eax, ebx
mov dword [ebp - 0x20c], eax
mov eax, edi
sub eax, ebx
mov dword [ebp - 0x210], eax
mov ecx, esi
call fcn.0048c120
test eax, eax
je 0x48df66
mov ebx, dword [0x58c0fc]
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x20c]
cmp eax, ebx
jb 0x48df15
xor edx, edx
lea ecx, [ebp - 0x208]
div ebx
push 0
imul eax, ebx
push ecx
push eax
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x20c]
push eax
push dword [esi + 0x20c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48df43
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
add edx, dword [ebp - 0x214]
sub eax, dword [ebp - 0x214]
test eax, eax
je 0x48ddf9
push eax
push edx
jmp 0x48ddee
push 0
lea eax, [ebp - 0x208]
push eax
push edi
push ecx
push dword [esi + 0x20c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48ddf9
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0048a250
push eax
lea eax, [esi + 4]
push eax
push 0x2f69
call fcn.00489f40
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret 8
Function at 0x48eed0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi], 0
mov dword [esi + 4], 0
cmp eax, 0xffffffff
jne 0x48ef0a
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
je 0x48ef34
mov ecx, dword [ebp - 8]
or eax, edx
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x48ef70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x210], eax
test edi, edi
jne 0x48efa5
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov word [edi], cx
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00414af0
add esp, 8
test eax, eax
je 0x48ef94
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
mov esi, edi
sub esi, eax
nop dword [eax]
lea ecx, [ebp - 0x20c]
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x48efe0
push edi
call fcn.0048ecd0
add esp, 4
mov edx, eax
cmp word [ebx], 0x2e
je 0x48f00c
mov eax, 0x2e
mov word [edx], ax
add edx, 2
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x48f010
push 0
push edi
call fcn.00415760
add esp, 8
test eax, eax
lea eax, [ebp - 0x20c]
je 0x48f06c
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [esi + eax - 2], cx
test cx, cx
jne 0x48f035
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.00414af0
push 1
push edi
call fcn.00415fb0
add esp, 0x10
xor eax, eax
mov word [edi], ax
jmp 0x48efd0
push edi
push eax
call fcn.005173b9
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 1
pop esi
pop ebx
pop edi
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x495f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ccfb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x38
mov dword [ebp - 0x2b4], eax
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x2b0]
call fcn.00467c80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push 0x38
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x278]
call fcn.004674b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2b0]
push 0x54fa40
push dword [0x58c10c]
xor edi, edi
push 0x549d10
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00468080
add esp, 0x14
test eax, eax
je 0x496195
cmp dword [ebp - 0x26c], edi
je 0x496195
xorps xmm0, xmm0
lea ecx, [ebp - 0x240]
push edi
movups xmmword [ebp - 0x240], xmm0
movups xmmword [ebp - 0x230], xmm0
movq qword [ebp - 0x220], xmm0
call fcn.00465d10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
push esi
call fcn.00465f30
mov esi, eax
test esi, esi
je 0x49611a
nop dword [eax]
push 0x590260
push dword [esi + 4]
call fcn.0050d5a0
add esp, 8
test eax, eax
je 0x4960a7
lea ecx, [ebp - 0x240]
call fcn.00465f80
mov esi, eax
test esi, esi
jne 0x496080
jmp 0x49611a
mov esi, dword [esi + 0x1c]
cmp word [esi], 0
je 0x49611a
push esi
call fcn.00491bc0
add esp, 4
test eax, eax
je 0x4960f4
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x2b4]
call fcn.0048f340
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004961f0
add esp, 0x1c
add edi, eax
mov eax, esi
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x496100
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], cx
jne 0x4960b0
cmp dword [0x58f684], 0
je 0x49616c
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x550944]
push eax
call fcn.0048f340
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004961f0
add esp, 0x1c
add edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], 0x548fb4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0x546fe8
call fcn.00497e20
jmp 0x496197
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x278], 0x54dcb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00467ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.00467ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret
Function at 0x4984f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x498516
push 0x547108
call fcn.0048a190
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 8
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x498524
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [esi + 4], edi
je 0x498562
mov ecx, esi
call fcn.004985d0
push dword [esi + 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x49854e
mov ecx, esi
call fcn.00497d80
mov edi, 1
jmp 0x498562
push 0x550714
call fcn.0048a190
add esp, 4
mov ecx, esi
call fcn.00497fc0
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x498579
push 0x550738
call fcn.0048a190
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x4a1a40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x7fff
mov esi, 0xfffe
cmp dword [0x58f680], 0
je 0x4a1a63
cmp esi, 0x1fffe
ja 0x4a1aab
push 0
push 2
push esi
lea ecx, [ebx + 0x20c]
call fcn.00497c80
test eax, eax
je 0x4a1ac5
lea eax, [ebx + 4]
push eax
push edi
push dword [ebx + 0x214]
push 0x546e38
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4a1ac5
lea ecx, [edi - 2]
cmp eax, ecx
jb 0x4a1aab
add edi, 0x7fff
add esi, 0xfffe
jmp 0x4a1a52
mov eax, dword [ebx + 0x214]
mov ecx, ebx
mov dword [ebx + 0x228], eax
call fcn.004a1af0
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4

Function at 0x4a1b30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x7fff
cmp dword [0x58f680], 0
mov edx, 2
je 0x4a1b53
cmp esi, 0xffff
ja 0x4a1b9c
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e6b5b
mov edi, eax
add esp, 4
test edi, edi
je 0x4a1bbb
lea ecx, [ebx + 4]
push ecx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x4a1ba7
lea ecx, [esi - 2]
cmp eax, ecx
jb 0x4a1b9e
push 2
push edi
call fcn.00507268
add esp, 8
add esi, 0x7fff
jmp 0x4a1b3d
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 2
push edi
call fcn.00507268
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x5559c8
call fcn.0048a0f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4a1ff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53da26
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], eax
call fcn.004f1c8e
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
push 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 0x546fe8
call fcn.00497c10
mov dword [ebp - 4], 0
mov edi, 0x7fff
mov esi, 0xfffe
nop dword [eax]
cmp dword [0x58f680], 0
je 0x4a2081
cmp esi, 0x1fffe
ja 0x4a20de
push 0
push 2
push esi
lea ecx, [ebp - 0x2c]
call fcn.00497c80
test eax, eax
je 0x4a20e6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
add eax, 4
push eax
push edi
push ecx
push 0x546e38
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4a20e6
lea ecx, [edi - 2]
cmp eax, ecx
jb 0x4a20ca
add edi, 0x7fff
add esi, 0xfffe
jmp 0x4a2070
mov esi, dword [ebp - 0x30]
push esi
push dword [ebp - 0x3c]
call fcn.0049c110
mov esi, dword [esi + 8]
add esp, 8
jmp 0x4a20e8
mov esi, dword [ebp - 0x30]
mov esi, dword [esi + 8]
jmp 0x4a20e8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x546fe8
call fcn.00497e20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 8

Function at 0x4a2570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53db4f
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x21c], edi
lea ecx, [edi + 4]
mov dword [ebp - 0x220], edi
mov dword [edi], 0x54fa3c
call fcn.004a1780
mov dword [ebp - 4], 0
lea ecx, [edi + 0x25c]
call fcn.00467c80
mov byte [ebp - 4], 1
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.wininit.ini
push eax
call fcn.0048f340
lea ecx, [ebp - 0x218]
add esp, 0x10
lea esi, [edi + 8]
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
movzx edx, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], dx
test dx, dx
jne 0x4a2610
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret

Function at 0x4a2650
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x58f680], 0
je 0x4a2662
pop ebp
jmp fcn.004a2ab0
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop ebp
ret 4