joyce8/EMBER2024-capa huggingface dataset:
Function at 0x804058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008041a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x80407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80406a
add dl, dl
jne 0x804089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8040dc
xor eax, eax
add dl, dl
jne 0x804096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x80417d
add dl, dl
jne 0x8040a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8040b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8040bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8040c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8040d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x804075
mov eax, 1
add dl, dl
jne 0x8040ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8040f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8040e1
sub eax, ebx
mov ebx, 1
jne 0x804128
mov ecx, 1
add dl, dl
jne 0x80410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x804119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x804105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x804075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x80413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x80414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x804136
cmp eax, 0x7d00
jae 0x80416d
cmp eax, 0x500
jb 0x804168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x804075
cmp eax, 0x7f
ja 0x804170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x804075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x80419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x804075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40c94d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42b368
cmp edx, dword [eax]
je 0x40c96f
add eax, 8
inc ecx
cmp eax, 0x42b3f8
jl 0x40c960
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42b368]
jne 0x40ca9d
mov eax, dword [0x42e1bc]
cmp eax, 1
je 0x40ca77
test eax, eax
jne 0x40c9a0
cmp dword [0x42af44], 1
je 0x40ca77
cmp edx, 0xfc
je 0x40ca9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c9d7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040cbd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040ccc0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40ca1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040ccc0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x423cd4
push edi
call fcn.0040eef0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040cbd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040cbe0
lea eax, [ebp - 0xa0]
push 0x423cb4
push eax
call fcn.0040cbe0
push dword [esi + 0x42b36c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040cbe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ee67
add esp, 0x2c
pop edi
jmp 0x40ca9d
lea eax, [ebp + 8]
lea esi, [esi + 0x42b36c]
push 0
push eax
push dword [esi]
call fcn.0040ccc0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x414690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040a370
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41475b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41475b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41470e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x414719
or bh, 8
and edi, 0x8000000
je 0x414734
mov eax, dword [0x42f95c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41475b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x414b5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x414b7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x414b9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x418e26
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 0x418e68
call fcn.0041d63a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x418e68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x418e5f
xor eax, eax
jmp 0x418e70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00418e76
pop edi
pop esi
pop ebx
ret 4

Function at 0x41ddf3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41de21
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41de3f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041dd59
jmp 0x41de3f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41de3f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041dd59
test edi, edi
mov eax, edi
jne 0x41de29
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4018a4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov eax, 0x4c9234
call fcn.004b9d54
mov word [ebp - 0x14], 0xc
mov edx, dword [ebp + 8]
add edx, 8
push edx
call fcn.004018ec
pop ecx
inc dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
call fcn.00401938
pop ecx
add dword [ebp - 8], 2
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x40bcfc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.0040214c
pop ecx
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x2c]
mov edx, dword [ebp + 8]
push dword [edx + 0x28]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_GetPrivateProfileStringA
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x40bd38
cmp dword [ebp + 0x10], 0
je 0x40bd38
inc dword [ebp - 4]
jmp 0x40bd3c
add dword [ebp - 4], 2
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x2c]
jb 0x40bd65
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
add ecx, ecx
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x2c]
push dword [ebp + 8]
call fcn.0040be34
add esp, 8
jmp 0x40bd00
mov edx, dword [ebp + 8]
push dword [edx + 0x28]
push dword [ebp + 0x18]
call fcn.00402bd4
add esp, 8
pop ecx
pop ebp
ret

Function at 0x40bd7c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40bd85
mov eax, dword [ebp - 4]
add esp, 0xffffffdc
push esi
push edi
mov eax, 0x4cf804
call fcn.004b9d54
mov esi, 0x4cb320
lea edi, [ebp - 0x2028]
mov ecx, 0x800
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x14], 0xc
push dword [ebp + 8]
push 0x1000
lea eax, [ebp - 0x2028]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.KERNEL32.DLL_GetPrivateProfileStringW
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x2028]
push edx
push dword [ebp + 0x18]
call fcn.0040bdfc
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413fb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov eax, 0x4d1610
call fcn.004b9d54
mov word [ebp - 0x6c], 0xc
mov word [ebp - 0x6c], 0x18
lea edx, [ebp - 0x28]
push edx
call fcn.004018ec
pop ecx
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 0x24
mov word [ebp - 0x6c], 0x30
lea eax, [ebp - 0x2c]
call fcn.00406534
mov edx, eax
inc dword [ebp - 0x60]
mov eax, 0x4d149c
call fcn.00444274
mov word [ebp - 0x6c], 0x24
lea edx, [ebp - 0x28]
push edx
add esp, 0xffffffd8
lea eax, [ebp - 0x2c]
call fcn.0040ba88
push eax
lea edx, [esp + 4]
push edx
call fcn.00402448
add esp, 8
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 0x48
mov word [ebp - 0x6c], 0x3c
dec dword [ebp - 0x60]
call fcn.00414128
add esp, 0x2c
lea ecx, [ebp - 0x28]
push ecx
push 0x4d14bc
call fcn.0040d360
add esp, 8
mov word [ebp - 0x6c], 0x54
lea eax, [ebp - 0x54]
push eax
call fcn.004018ec
pop ecx
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 0x24
mov word [ebp - 0x6c], 0x60
lea eax, [ebp - 0x58]
call fcn.00406534
mov edx, eax
inc dword [ebp - 0x60]
mov eax, 0x4d14ac
call fcn.00444274
mov word [ebp - 0x6c], 0x24
lea edx, [ebp - 0x54]
push edx
add esp, 0xffffffd8
lea eax, [ebp - 0x58]
call fcn.0040ba88
push eax
lea edx, [esp + 4]
push edx
call fcn.00402448
add esp, 8
inc dword [ebp - 0x60]
mov word [ebp - 0x6c], 0x78
mov word [ebp - 0x6c], 0x6c
dec dword [ebp - 0x60]
call fcn.00414128
add esp, 0x2c
lea ecx, [ebp - 0x54]
push ecx
push 0x4d14e8
call fcn.0040d360
add esp, 8
dec dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004c7828
dec dword [ebp - 0x60]
push 2
lea ecx, [ebp - 0x54]
push ecx
call fcn.00401a2c
add esp, 8
dec dword [ebp - 0x60]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004c7828
dec dword [ebp - 0x60]
push 2
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401a2c
add esp, 8
mov word [ebp - 0x6c], 0xc
mov eax, dword [ebp - 0x7c]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4149e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
mov eax, 0x4d187c
call fcn.004b9d54
push 0
push 0x23
lea edx, [ebp - 0x150]
push edx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
test eax, eax
jge 0x414a4e
push 0x85
push str.RegUnInstall.cpp
push 0x4d145b
call fcn.004c3638
add esp, 0xc
mov word [ebp - 0x3c], 0xc
push 0x4d146e
push dword [ebp + 8]
call fcn.00401bdc
add esp, 8
inc dword [ebp - 0x30]
mov eax, dword [ebp + 8]
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x414ae4
lea ecx, [ebp - 0x150]
push ecx
call sub.SHLWAPI.DLL_PathAddBackslashA
mov word [ebp - 0x3c], 0x24
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00401bdc
add esp, 8
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
push 0x4d146f
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402838
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.0040214c
pop ecx
push eax
call sub.IMAGEHLP.DLL_MakeSureDirectoryPathExists
mov word [ebp - 0x3c], 0x30
lea edx, [ebp - 0x28]
push edx
push dword [ebp + 8]
call fcn.004027cc
add esp, 8
inc dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x3c
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00401a2c
add esp, 8
pop eax
mov word [ebp - 0x3c], 0x30
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x41be14
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov eax, 0x4d49b8
call fcn.004b9d54
xor edx, edx
mov dword [ebp - 0x60], edx
lea ecx, [ebp - 0x60]
push ecx
push 0
push dword [ebp + 8]
push 0x41bf38
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov edx, dword [ebp + 8]
mov dword [edx + 0x418], eax
mov word [ebp - 0x4c], 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.0042a9c8
pop ecx
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 0x18
push 0
push 1
push 0x4d3779
push SysStringLen
lea ecx, [ebp - 0x10]
push ecx
call fcn.0042ab08
add esp, 0x14
test al, al
jne 0x41be9d
dec dword [ebp - 0x40]
push 2
lea eax, [ebp - 0x10]
push eax
call fcn.0042aa28
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword fs:[0], edx
jmp 0x41bf02
mov word [ebp - 0x4c], 0x24
push 0x4d379c
lea ecx, [ebp - 0x38]
push ecx
call fcn.00401bdc
add esp, 8
inc dword [ebp - 0x40]
lea eax, [ebp - 0x38]
push eax
push str.ExeName
lea edx, [ebp - 0x10]
push edx
call fcn.0042ac90
add esp, 0xc
dec dword [ebp - 0x40]
push 2
lea ecx, [ebp - 0x38]
push ecx
call fcn.00401a2c
add esp, 8
lea eax, [ebp - 0x10]
push eax
call fcn.0042ac2c
pop ecx
dec dword [ebp - 0x40]
push 2
lea edx, [ebp - 0x10]
push edx
call fcn.0042aa28
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41bf08
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x41bf28
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
pop ecx
pop ebp
ret
Function at 0x41cba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x41cbc0
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
pop ecx
pop ebp
ret

Function at 0x41d0e4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push str.SendMessage_Handle__WM_SETUP_COMPELETE__0__0___
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
push 0
push 0x414
mov eax, dword [ebp + 8]
call fcn.0049b05c
push eax
call sub.USER32.DLL_SendMessageA
pop ebp
ret
Function at 0x41d4dc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41d4fa
xor eax, eax
jmp 0x41d533
lea edx, [ebp - 8]
push edx
push dword [ebp - 4]
call sub.USER32.DLL_GetWindowThreadProcessId
push dword [ebp - 8]
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41d51f
xor eax, eax
jmp 0x41d533
push 9
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_TerminateProcess
push dword [ebp - 0xc]
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x41e380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
mov eax, 0x4d53a8
call fcn.004b9d54
push 0
push 0x23
lea edx, [ebp - 0x150]
push edx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
test eax, eax
jge 0x41e3ee
push 0x547
push str.Main.cpp
push 0x4d3cfd
call fcn.004c3638
add esp, 0xc
mov word [ebp - 0x3c], 0xc
push 0x4d3d08
push dword [ebp + 8]
call fcn.00401bdc
add esp, 8
inc dword [ebp - 0x30]
mov eax, dword [ebp + 8]
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41e484
lea ecx, [ebp - 0x150]
push ecx
call sub.SHLWAPI.DLL_PathAddBackslashA
mov word [ebp - 0x3c], 0x24
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00401bdc
add esp, 8
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
push 0x4d3d09
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402838
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.0040214c
pop ecx
push eax
call sub.IMAGEHLP.DLL_MakeSureDirectoryPathExists
mov word [ebp - 0x3c], 0x30
lea edx, [ebp - 0x28]
push edx
push dword [ebp + 8]
call fcn.004027cc
add esp, 8
inc dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x3c
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00401a2c
add esp, 8
pop eax
mov word [ebp - 0x3c], 0x30
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret
Function at 0x41e488
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffdb0
push esi
push edi
mov eax, 0x4d53f0
call fcn.004b9d54
push str.AISuiteIIIMatrix
push 0x4d3d1c
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41e4ea
push 0
push 0
push 0x401
push dword [ebp - 0x28]
call sub.USER32.DLL_PostMessageA
jmp 0x41e4e0
push 0xbb8
call sub.KERNEL32.DLL_Sleep
push str.EPUShortCut
push 0x4d3d37
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41e530
push 0
push 0
push 0x7e9
push dword [ebp - 0x28]
call sub.USER32.DLL_PostMessageA
jmp 0x41e526
push 0xbb8
call sub.KERNEL32.DLL_Sleep
push str.Splash
push str.TMainForm
call sub.USER32.DLL_FindWindowA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41e576
push 0
push 0
push 0x7e8
push dword [ebp - 0x28]
call sub.USER32.DLL_PostMessageA
jmp 0x41e56c
push 0xbb8
call sub.KERNEL32.DLL_Sleep
mov eax, dword [ebp + 8]
call fcn.0041d538
lea edx, [ebp - 0x2c]
push edx
push 0x1000
lea ecx, [ebp - 0x1048]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41e5a8
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x41e6d7
mov ecx, dword [ebp - 0x2c]
shr ecx, 2
mov dword [ebp - 0x30], ecx
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x41e6bf
mov edx, dword [ebp - 0x34]
cmp dword [ebp + edx*4 - 0x1048], 0
je 0x41e6bc
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp + ecx*4 - 0x1048]
mov dword [ebp - 0x38], eax
mov esi, str._unknown_
lea edi, [ebp - 0x1250]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x14], 0xc
push dword [ebp - 0x38]
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x41e6bc
lea eax, [ebp - 0x44]
push eax
push 4
lea edx, [ebp - 0x40]
push edx
push dword [ebp - 0x3c]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41e63a
push 0x104
lea ecx, [ebp - 0x1250]
push ecx
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call sub.PSAPI.DLL_GetModuleBaseNameW
push 0x4d3d5e
lea eax, [ebp - 0x1250]
push eax
call fcn.004b9cf8
add esp, 8
test eax, eax
jne 0x41e680
push 0x2710
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x41e6ae
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x41e6d7
push str.EPUShortcut.exe
lea ecx, [ebp - 0x1250]
push ecx
call fcn.004b9cf8
add esp, 8
test eax, eax
jne 0x41e6ae
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x41e6d7
push dword [ebp - 0x3c]
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x14], 0
inc dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jb 0x41e5bb
mov al, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e7c8
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov eax, 0x4d54ac
call fcn.004b9d54
push dword [ebp + 8]
call fcn.0041e750
pop ecx
test al, al
je 0x41e7f6
mov al, 1
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41e8b7
mov word [ebp - 0x3c], 0x18
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
call fcn.0041e6e0
add esp, 8
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0xc
push 0x4d3d9d
lea eax, [ebp - 0x28]
push eax
call fcn.0040214c
pop ecx
push eax
call fcn.004bbb74
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41e856
xor eax, eax
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00401a2c
add esp, 8
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41e8b7
push dword [ebp - 0x50]
call fcn.004bb7d8
pop ecx
push 4
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040214c
pop ecx
push eax
call sub.KERNEL32.DLL_MoveFileExA
test eax, eax
jne 0x41e898
xor eax, eax
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00401a2c
add esp, 8
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x41e8b7
mov al, 1
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00401a2c
add esp, 8
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x42121c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, 0x4d8498
call fcn.004b9d54
mov word [ebp - 0x3c], 0x18
push dword [ebp + 0xc]
lea edx, [ebp - 0x28]
push edx
call fcn.00402448
add esp, 8
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0xc
xor ecx, ecx
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00402628
pop ecx
push eax
call sub.SHLWAPI.DLL_PathFileExistsW
test eax, eax
jne 0x421284
mov al, 1
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00402370
add esp, 8
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
jmp 0x4212b9
inc dword [ebp - 0x50]
push 0x3e8
call sub.KERNEL32.DLL_Sleep
cmp dword [ebp - 0x50], 0x12c
jl 0x42124f
xor eax, eax
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.00402370
add esp, 8
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret