joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed8d
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0042ec12
add esp, 4
test eax, eax
je 0x42ee24
mov eax, dword [0x45bd14]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x42edee
push 3
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42ed25
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042f097
add esp, 8
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42ed7e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 8], 1
jmp 0x42ed88
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
jmp case.0x42edfb.2
xor eax, eax
mov ax, word [0x45baca]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42edb6
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
xor eax, eax
mov ax, word [0x45bac8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42ede4
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
cmp dword [ebp - 0x10], 4
ja case.0x42edfb.2
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x42ee02]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
jmp 0x42ee2c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42edbb
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0042ec12
add esp, 4
test eax, eax
je 0x42ee24
mov eax, dword [0x45bd14]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jmp 0x42edee
push 3
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42ed25
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042f097
add esp, 8
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42ed7e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 8], 1
jmp 0x42ed88
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], 0
jmp case.0x42edfb.2
xor eax, eax
mov ax, word [0x45baca]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42edb6
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
xor eax, eax
mov ax, word [0x45bac8]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x42ede4
mov dword [ebp - 8], 1
jmp case.0x42edfb.2
cmp dword [ebp - 0x10], 4
ja case.0x42edfb.2
mov eax, dword [ebp - 0x10]
jmp dword [eax*4 + 0x42ee02]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
jmp 0x42ee2c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x430c43
lea eax, [ebp - 0x100]
push eax
push 0x60
call fcn.00427680
add esp, 8
push 1
lea eax, [ebp - 0x100]
push eax
call fcn.00418544
add esp, 8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448dd3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.00446929
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
call fcn.004462e3
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, 0x45bae0
add eax, 0x1c
lea ecx, [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jg 0x448e40
mov eax, ecx
mov word [ebp - 0x1a], ax
movsx eax, word [ebp - 0x1a]
movsx ecx, word [ebp - 0x12]
add eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, 4
cmp eax, ecx
jl 0x448e6c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
movsx ecx, word [ebp - 0x12]
sub eax, ecx
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x10]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
cmp eax, ecx
jg 0x448e81
mov eax, ecx
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 8]
sub eax, 4
movsx ecx, word [ebp - 0x14]
sub eax, ecx
movsx ecx, word [ebp - 0x1c]
cmp eax, ecx
jl 0x448e9f
mov eax, ecx
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 0xc]
movsx eax, word [eax + 8]
movsx ecx, word [ebp - 0x1c]
cmp eax, ecx
jl 0x448eb8
mov eax, ecx
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1a]
mov dword [ebp - 0x18], eax
push 0x10
movsx eax, word [ebp - 0x12]
add eax, 3
push eax
movsx eax, word [ebp - 0x14]
add eax, 3
push eax
movsx eax, word [ebp - 0x1a]
push eax
movsx eax, word [ebp - 0x1c]
inc eax
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x448f09
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
mov ax, word [0x457e88]
push eax
mov eax, dword [ebp + 8]
add eax, 0x54
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x54]
call dword [eax + 0x40]
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1a]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00425b4b
test eax, eax
je 0x448f55
mov eax, dword [0x45bd14]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x56e6cc]
push 5
push 0x65
push edi
mov ebx, ecx
mov dword [ebp - 0x830], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x44366b
xor esi, esi
jmp 0x443676
mov edx, eax
mov ecx, edi
call fcn.00457480
mov esi, eax
lea eax, [ebp - 0x830]
push eax
push 0x442f80
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov edi, eax
test esi, esi
je 0x443698
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
cmp edi, 1
jne 0x4437ab
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00518020
add esp, 0xc
push 0x56e260
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
je 0x4436ef
push 0x56e260
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x3c
lea eax, [ebp - 0x86c]
push 0
push eax
call fcn.00518020
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x858], eax
lea eax, [ebp - 0x210]
add esp, 0xc
mov ecx, 0x56e260
mov dword [ebp - 0x86c], 0x3c
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], ebx
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x854], eax
mov dword [ebp - 0x850], 1
call fcn.004560c0
test eax, eax
je 0x44377e
push 0x104
lea edx, [ebp - 0x418]
mov ecx, 0x56e260
call fcn.00456130
add esp, 4
test eax, eax
jne 0x44378c
push 0x56e260
lea eax, [ebp - 0x418]
push eax
call esi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x445ff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x565908
push 0
push edi
push 0x40800c
mov esi, 0x7e
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov dword [ebp - 0x408], eax
call ebx
test eax, eax
jle 0x44605e
cmp dword [ebp - 0x408], 1
jne 0x44605e
mov eax, dword [ebp + 8]
sub eax, 2
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffffb
pop esi
add eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
push 0x200
lea eax, [ebp - 0x404]
push eax
push dword [ebp + 0x10]
push dword [0x56e6cc]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x446091
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
push 0x800
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push eax
mov dword [ebp - 0x414], eax
call dword [sym.imp.USER32.dll_wvsprintfW]
push 0x565908
mov dword [ebp - 0x410], edi
call ebx
test eax, eax
je 0x4460e1
push edi
call ebx
test eax, eax
je 0x4460e1
cmp dword [ebp - 0x408], 2
mov dword [ebp - 0x40c], 0
jne 0x4460eb
mov dword [ebp - 0x40c], 1
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x4460f8
lea esi, [eax + 0x7d]
jmp 0x446100
cmp eax, 8
jne 0x446100
lea esi, [eax + 0x78]
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
test edi, edi
jne 0x446112
mov edi, dword [0x56e928]
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov ebx, dword [0x56e6cc]
movzx eax, si
push 5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x446135
xor esi, esi
jmp 0x446140
mov edx, eax
mov ecx, ebx
call fcn.00457480
mov esi, eax
lea eax, [ebp - 0x414]
push eax
push 0x445ec0
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov edi, eax
test esi, esi
je 0x446162
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x446180
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x22c
push 0x40
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
push 0x408034
push ebx
mov dword [ebp - 0x2bc], esi
call dword [sym.imp.USER32.dll_SetPropW]
push 0x407d38
lea eax, [esi + 0x10]
push eax
mov dword [esi], ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x407ff4
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x1003
push ebx
call esi
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x407ff4
call edi
push eax
push 0
push 0x1003
push ebx
call esi
mov edi, dword [ebp - 0x2bc]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0x218], 0
mov dword [edi + 0x21c], 0
call esi
push 0
push 1
push 1
push 0
mov dword [edi + 0x224], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 0x228], eax
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret

Function at 0x446300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push 0x408034
push esi
call dword [sym.imp.USER32.dll_GetPropW]
mov ecx, esi
mov edi, eax
call fcn.00446350
push dword [edi + 0x224]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x4467f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4475a0
Capabilities:
Get graphical window text
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push 0xd
mov ebx, ecx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x447728
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x447728
push esi
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x859
push ebx
mov edi, eax
call esi
push 0
push 0
push 0x7ee
push ebx
mov dword [ebp - 8], eax
call esi
mov esi, dword [ebp - 4]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x10], eax
lea eax, [edi + 1]
push eax
push esi
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [eax - 1]
lea eax, [ebx + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
je 0x447661
push 0
push 0
lea eax, [ebx + 1]
push eax
push edi
push dword [ebp - 0xc]
push esi
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebx*2 + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x447710
mov ecx, edi
xor edi, edi
mov esi, eax
test ebx, ebx
jle 0x4476e1
lea edx, [edi + 1]
lea esp, [esp]
mov al, byte [ecx]
test al, al
je 0x4476e1
cmp al, 0xa
je 0x4476a3
cmp al, 0xd
je 0x4476a3
mov byte [esi], al
inc esi
jmp 0x4476da
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x4476b1
mov byte [esi], 0xd
inc esi
jmp 0x4476c4
cmp eax, 2
jne 0x4476bc
mov byte [esi], 0xa
inc esi
jmp 0x4476c4
mov word [esi], 0xa0d
add esi, 2
cmp byte [ecx], 0xd
jne 0x4476da
cmp edx, ebx
jge 0x4476da
cmp byte [ecx + 1], 0xa
lea eax, [ecx + 1]
jne 0x4476da
inc edi
inc edx
mov ecx, eax
inc edi
inc ecx
inc edx
cmp edi, ebx
jl 0x447690
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
mov byte [esi], 0
call edi
mov ebx, dword [ebp - 0xc]
sub esi, ebx
inc esi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push ebx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call edi
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f100
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push dword [ebp + 8]
mov edi, ecx
push 0x876
mov esi, edx
push edi
mov dword [ebp - 8], esi
call ebx
push 0
push esi
push 0x876
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [0x56e1a4]
push 0
mov edx, dword [ecx]
mov esi, eax
push esi
push 0x8b8
call dword [edx + 0xcc]
mov edx, dword [ebp - 4]
cmp esi, edx
je 0x44f166
mov ecx, dword [0x56e1a4]
push 0
mov eax, dword [ecx]
push edx
push 0x8b8
call dword [eax + 0xcc]
push 0x32
push 0xd
push 0x962
push edi
call ebx
push 5
push 0xd
push 0x963
push edi
call ebx
push dword [ebp + 8]
push dword [ebp - 8]
push 0x870
push edi
call ebx
push 0x32
push 9
push 0x962
push edi
call ebx
push 0
push 8
push 0x963
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455010
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
test edx, edx
je 0x45509d
push edi
push 0x409c2c
push 0x409c48
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45509a
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x565908
push 0x4b
push 0x409c58
push 0x408a0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, eax
test ecx, ecx
js 0x455073
cmp ecx, 0x64
jle 0x455078
mov ecx, 0x4b
imul ecx, ecx, 0xff
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push 2
movzx eax, al
push eax
push 0
push esi
call edi
pop edi
pop esi
ret
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
ret
Function at 0x455d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
neg esi
push 0x104
sbb esi, esi
lea eax, [ebp - 0x61c]
push eax
and esi, 0xfffffff0
push 0
mov dword [ebp - 0xa30], edx
mov edi, ecx
add esi, 0x10
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x104
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp dword [ebp + 0x14], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
je 0x455e48
push edi
call eax
test eax, eax
jne 0x455e43
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsPrefixW]
test eax, eax
jne 0x455e43
push edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsPrefixW]
test eax, eax
je 0x455e43
push esi
push edi
push 0x10
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
test eax, eax
je 0x455e43
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x409c98
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
jmp 0x455e93
mov eax, dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
push edi
call eax
test eax, eax
jne 0x455e84
push eax
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCommonPrefixW]
test eax, eax
jne 0x455e84
push esi
push edi
push 0x10
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
test eax, eax
jne 0x455e93
push 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0x104
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnExpandEnvStringsW]
test eax, eax
jne 0x455ec5
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
call ebx
mov eax, dword [ebp - 0xa30]
test eax, eax
je 0x455ef3
cmp edi, eax
je 0x455ef3
push 0x104
lea ecx, [ebp - 0x824]
push ecx
push eax
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x824]
push eax
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
Function at 0x455f20
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x13
mov edi, ecx
push 0x409c98
push edi
mov ebx, edx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
test eax, eax
lea eax, [ebp - 0x414]
jne 0x455f7a
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [edi + 0x26]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x455f83
push 0x104
push edi
push eax
call esi
push 0x138
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x455fb5
push 0x104
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
push 0x104
test eax, eax
je 0x455ffd
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x45600d
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
je 0x456039
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
je 0x45605a
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
test ebx, ebx
je 0x45608a
cmp edi, ebx
je 0x45608a
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45606e
mov eax, 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
jne 0x456096
mov eax, 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret