joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4086b0
Capabilities:
Delete directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x4086db
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xd
jae 0x4086f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*4 + 0x49d034]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00408830
jmp 0x4086d2
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.0045c360
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
call fcn.00401930
add esp, 4
lea eax, [ebp - 0x22c]
push eax
call fcn.00407390
mov ecx, eax
call fcn.0040acb0
lea ecx, [ebp - 0x22c]
call fcn.004046c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
test eax, eax
je 0x408813
mov byte [ebp - 0x330], 0
push 0x103
push 0
lea eax, [ebp - 0x32f]
push eax
call fcn.0045c360
add esp, 0xc
mov byte [ebp - 0x434], 0
push 0x103
push 0
lea eax, [ebp - 0x433]
push eax
call fcn.0045c360
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.004046c0
push eax
push 0x47a8d8
push 0x104
lea eax, [ebp - 0x330]
push eax
call fcn.00408a20
add esp, 0x10
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [ebp - 0x330]
push eax
push 0x104
lea ecx, [ebp - 0x434]
push ecx
call fcn.00463c91
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x22c]
call fcn.00404950
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret

Function at 0x40b9b0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov byte [ebp - 5], 0
lea eax, [ebp - 5]
push eax
push str.PhotoViewer.exe
call fcn.00401ef0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ba08
movzx eax, byte [ebp - 5]
test eax, eax
je 0x40ba08
push 4
push 0x47b540
push str._N_vz
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x40ba08
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x40ba30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ca20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476b82
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xbc], 0
lea ecx, [ebp - 0x1c]
call fcn.00406c30
mov dword [ebp - 4], 0
push 0x47a730
lea ecx, [ebp - 0xac]
call fcn.00404fe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xac]
push edx
call fcn.00401d40
add esp, 8
movzx eax, al
test eax, eax
je 0x40cabf
lea ecx, [ebp - 0x1c]
call fcn.004076e0
test eax, eax
jbe 0x40cabf
mov dword [ebp - 0xc0], 1
jmp 0x40cac9
mov dword [ebp - 0xc0], 0
mov cl, byte [ebp - 0xc0]
mov byte [ebp - 0x91], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xbc]
and edx, 1
je 0x40caf9
and dword [ebp - 0xbc], 0xfffffffe
lea ecx, [ebp - 0xac]
call fcn.00404950
movzx eax, byte [ebp - 0x91]
test eax, eax
je 0x40cc4c
push 0
push 0x47b84c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x20], eax
push 0
push str.HEINOTE_MAIN_WND_U
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
push 0
push str.HEINOTE_MAIN_WND_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x28], eax
push 0
push str.HEINOTE_MAIN_WND_U_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0
jne 0x40cb64
cmp dword [ebp - 0x24], 0
jne 0x40cb64
cmp dword [ebp - 0x28], 0
jne 0x40cb64
cmp dword [ebp - 0x2c], 0
je 0x40cc4c
push 0x47b8ec
lea ecx, [ebp - 0x44]
call fcn.00404fe0
mov byte [ebp - 4], 2
push 0x47b908
lea ecx, [ebp - 0x44]
call fcn.004030d0
push 0x47b910
lea ecx, [ebp - 0x44]
call fcn.004030d0
push 4
push 0x47b948
lea ecx, [ebp - 0x44]
call fcn.004046c0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 6
jne 0x40cc16
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407530
jmp 0x40cbcf
push 0
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406e60
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407680
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406da0
movzx ecx, al
test ecx, ecx
je 0x40cc14
lea ecx, [ebp - 0x4c]
call fcn.00406e10
mov eax, dword [eax]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x50], eax
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40cbbe
jmp 0x40cc40
mov byte [ebp - 0xb5], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406d10
mov al, byte [ebp - 0xb5]
jmp 0x40cc68
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00404950
mov byte [ebp - 0xb6], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406d10
mov al, byte [ebp - 0xb6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret
Function at 0x40cd60
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 1
push 0x64
push 0
push str.http_shellopencommand
push SysReAllocString
lea eax, [ebp - 0x2c]
push eax
call fcn.00402890
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x492914
lea ecx, [ebp - 0x2c]
call fcn.00402f30
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
call fcn.00402ff0
sub eax, dword [ebp - 0x30]
sub eax, 1
push eax
mov eax, dword [ebp - 0x30]
add eax, 1
push eax
lea ecx, [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402ef0
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403110
lea ecx, [ebp - 0x32c]
call fcn.00404950
push 0
push 0x492914
lea ecx, [ebp - 0x2c]
call fcn.00402f30
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402ef0
mov dword [ebp - 0x348], eax
mov edx, dword [ebp - 0x348]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403110
lea ecx, [ebp - 0x344]
call fcn.00404950
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x2c]
call fcn.004046c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40ceae
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x47b96c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40ce9b
cmp dword [ebp - 0x38], 0x20
ja 0x40ce9b
mov dword [ebp - 0x348], 0
jmp 0x40cea5
mov dword [ebp - 0x348], 1
mov al, byte [ebp - 0x348]
mov byte [ebp - 0x31], al
movzx eax, byte [ebp - 0x31]
test eax, eax
jne 0x40cf63
push 0x44
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.0045c360
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0x44
xor eax, eax
mov word [ebp - 0x294], ax
push 0x206
push 0
lea eax, [ebp - 0x292]
push eax
call fcn.0045c360
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea ecx, [ebp - 0x294]
push ecx
call fcn.0040cfc0
add esp, 0xc
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x294]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40cf63
mov eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret 4
Function at 0x40d1c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476c2b
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0041bbd0
add esp, 4
push 4
call fcn.0041be45
add esp, 4
lea eax, [ebp - 0x98]
push eax
call fcn.0041795a
add esp, 4
mov dword [ebp - 4], 0
call fcn.00417aa4
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
je 0x40d23f
cmp dword [ebp - 0xf0], 4
je 0x40d268
jmp 0x40d324
push str..._skinUninst_
lea ecx, [ebp - 0x98]
call fcn.0040e399
lea ecx, [ebp - 0x98]
call fcn.0040e338
push eax
call fcn.0041bdfc
add esp, 4
jmp 0x40d324
call fcn.00417954
mov dword [ebp - 0x9c], eax
push str.ZIPRES
push str.SKINDATA
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x40d324
mov dword [ebp - 0xa4], 0
call fcn.00417a8f
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x40d317
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jbe 0x40d317
push 0
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0041be52
add esp, 0xc
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.0040e22e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret 4
Function at 0x417ef2
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x417f15
or esi, 1
push 1
call edi
test ax, ax
jns 0x417f21
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x417f2d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x417f39
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x41aa49
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x29c]
call fcn.00442ae3
mov edi, dword [ebp + 8]
test eax, eax
jle 0x41aa9f
push ebx
lea ecx, [esi + 0x29c]
mov byte [ebp + 0xb], 0
call fcn.0040e329
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x41aaff
lea ecx, [esi + 0x29c]
inc ebx
call fcn.00442ae3
cmp ebx, eax
jl 0x41aa68
sub edi, 0x100
je 0x41ab65
sub edi, 4
je 0x41ab03
dec edi
sub edi, 1
jne 0x41ab5a
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004696c9
pop ecx
mov ecx, dword [esi + 0x1e8]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x41c3ae
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x41ab5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x41ab5c
cmp dword [esi + 0x1ec], 0
je 0x41ab5a
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x1fc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x200]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00417ef2
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x1ec]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41ab5a
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x41abbe
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x41abbe
mov ecx, dword [esi + 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x41abbe
mov ecx, dword [esi + 0x1ec]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0045bb50
pop ecx
pop ecx
test eax, eax
je 0x41abbe
mov ecx, dword [esi + 0x1ec]
call fcn.00439495
test al, al
jne 0x41ab5a
mov ecx, dword [esi + 0x1ec]
test ecx, ecx
je 0x41ac06
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x41ac06
mov ecx, dword [esi + 0x1ec]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x41ac06
mov ecx, dword [esi + 0x1ec]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0045bb50
pop ecx
pop ecx
test eax, eax
jne 0x41ab5a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0041bca6
jmp 0x41aaff
Function at 0x41b991
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebx + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x41b9bd
cmp esi, dword [ebx + 0x1ec]
je 0x41b9bd
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x1ec]
cmp esi, eax
je 0x41ba94
push edi
test eax, eax
je 0x41ba1c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x1ec]
call fcn.0041b544
mov dword [ebx + 0x1ec], edi
test esi, esi
je 0x41ba93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x41ba93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x41ba93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x41ba93
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x1ec], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1ec]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x1ec]
call fcn.0041b544
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41ca9b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41cacd
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x41e98e
Capabilities:
Terminate process

Disassembly:
push 0x2f0
mov eax, 0x4777b7
call fcn.0045af9c
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00442ae3
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00442ae3
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00442ae3
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
xor esi, esi
sub eax, dword [ebp - 0x1c]
mov ecx, edi
push 0x20
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push esi
call fcn.00442ae3
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
mov ecx, edi
call dword [eax + 0x2c]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.00417b21
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.00416f10
lea ecx, [ebp - 0x2f8]
call fcn.0041cc53
mov eax, dword [edi]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x24]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.0040e92d
lea ecx, [ebp - 0xa4]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x41eab5
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e338
push eax
call fcn.00464999
pop ecx
lea ecx, [ebp - 0xa4]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.0040e22e
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x128]
call fcn.0040e338
push eax
push esi
lea ecx, [ebp - 0x2f8]
call fcn.0041dc35
mov esi, eax
jmp 0x41eaf3
call dword [eax + 0x28]
mov edx, edi
mov byte [ebp - 4], 3
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.0040e338
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2f8]
call fcn.0041dc35
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0040e22e
test esi, esi
jne 0x41eb5c
push 0xffffffffffffffff
push 0x47f264
lea ecx, [ebp - 0xa4]
call fcn.0040e12c
mov eax, dword [edi]
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x28]
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.0040e37c
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 4
call fcn.0040e22e
push 0x10
push str.Duilib
lea ecx, [ebp - 0xa4]
call fcn.0040e338
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.00416fba
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.00416def
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x128]
call fcn.0040e22e
lea ecx, [ebp - 0x2f8]
call fcn.00414dfe
xor eax, eax
call fcn.0045af57
ret 0x10
Function at 0x42d041
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x42d065
cmp dword [esi + 8], edi
jge 0x42d05d
push esi
call fcn.0042899b
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x42d08e
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x42d071
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x42d0a8
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x42d099
xor dl, dl
jmp 0x42d09e
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x42d090
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x42d0dd
push str.zlib_corrupt
call fcn.004288c4
add esp, 4
jmp 0x42d11d
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42d0ed
push str.read_past_buffer
jmp 0x42d0d3
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x42d107
push edi
push ecx
push esi
call fcn.0042fc0a
add esp, 0xc
test eax, eax
je 0x42d11d
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0045bde0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x431e40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x431e74
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431e74
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x431f26
push esi
mov esi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x431e91
cmp ax, 0x5c
jne 0x431e93
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x431e85
cmp esi, ebx
je 0x431ed9
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.0045bde0
add esp, 0xc
cmp esi, 0x208
jae 0x431f36
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.00431e40
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x431ef6
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004697e2
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00469771
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x431f26
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0045a746
mov esp, ebp
pop ebp
ret
call fcn.0045a66a
int3
Function at 0x43255c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x432608
cmp dword [esi + 4], 0xffffffff
jne 0x432608
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00469804
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x4325af
cmp eax, 0x2f
je 0x4325af
push 0x47af08
push edi
call fcn.00469771
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x4325d1
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4325d1
mov eax, 0x2000000
jmp 0x43260d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00434c86
add esp, 0x10
test eax, eax
jne 0x4325ef
mov eax, dword [ebp - 4]
jmp 0x43260d
push eax
call fcn.00435356
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x43260d
mov eax, 0x1000000
pop esi
mov esp, ebp
pop ebp
ret 0xc