joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219

Function at 0x421850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x421872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421868
mov eax, 1
add ebx, ebx
jne 0x42188b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421880
jne 0x42189c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421880
xor ecx, ecx
sub eax, 3
jb 0x4218b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421922
mov ebp, eax
add ebx, ebx
jne 0x4218bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4218c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4218ec
inc ecx
add ebx, ebx
jne 0x4218d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4218cd
jne 0x4218e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4218cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42190c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4218fd
jmp 0x42186e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42190c
add edi, ecx
jmp 0x42186e
pop esi
mov edi, esi
mov ecx, 0x663
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42192a
cmp byte [edi], 7
jne 0x42192a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42192f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4219a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21bf0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42195c
mov ecx, edi
jns 0x42198b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21bf4]
or eax, eax
je 0x4219a1
mov dword [ebx], eax
add ebx, 4
jmp 0x421979
call dword [esi + 0x21bf8]
popal
jmp 0x40325c
Function at 0x2481130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
mov edi, dword [0x2493cc8]
test ebp, ebp
je 0x2481198
cmp dword [esp + 0x10], 0
je 0x2481198
push esi
push 2
push 0x65
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x248115f
pop esi
pop edi
xor al, al
pop ebp
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebx, ebx
je 0x2481191
test eax, eax
je 0x2481191
mov ecx, dword [esp + 0x18]
mov dword [ebp], ebx
pop ebx
pop esi
pop edi
mov dword [ecx], eax
mov al, 1
pop ebp
ret
pop ebx
pop esi
pop edi
xor al, al
pop ebp
ret
pop edi
xor al, al
pop ebp
ret
Function at 0x2481fc0
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x2482057
test ebp, ebp
je 0x2482057
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2481fe0
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.02482b4f
mov esi, eax
add esp, 4
test esi, esi
je 0x2482052
push edi
push 0
push esi
call fcn.02485770
push esi
push ebp
mov eax, ebx
call fcn.024814d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x248202b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x2482023
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
mov bl, 1
call fcn.02484b4e
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x2482900
Capabilities:
Read file on windows
Read pipe

Disassembly:
sub esp, 8
cmp dword [esp + 0xc], 0
push esi
push edi
mov esi, eax
je 0x24829df
cmp dword [esp + 0x18], 0
je 0x24829df
call fcn.02482870
test al, al
je 0x24829df
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
xor eax, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x10], eax
xor edi, edi
test eax, eax
ja 0x248296b
mov ecx, dword [esi + 0x20c]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push ecx
call ebx
push 0x3e8
call ebp
mov eax, dword [esp + 0x10]
inc edi
cmp edi, 0x14
jl 0x2482940
pop ebp
pop ebx
test eax, eax
je 0x24829df
push eax
call fcn.02482b4f
mov edi, eax
add esp, 4
test edi, edi
je 0x24829df
mov edx, dword [esp + 8]
push edx
push 0
push edi
call fcn.02485770
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x20c]
add esp, 0xc
push 0
lea eax, [esp + 0x10]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x24829d6
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 8]
jne 0x24829d6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx], edi
pop edi
mov dword [edx], eax
mov al, 1
pop esi
add esp, 8
ret 8
push edi
call fcn.02484b4e
add esp, 4
mov eax, dword [esi + 0x20c]
cmp eax, 0xffffffff
je 0x24829fb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20c], 0xffffffff
pop edi
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x2484512
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2492060]
jne 0x248451c
repz ret
jmp fcn.0248607c
Function at 0x248e0e9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.02486f6e
and dword [ebp - 4], 0
cmp dword [0x2493be0], 0
mov ebx, eax
jne 0x248e19a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x248e24b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x248e24b
push eax
call fcn.02486efc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x2493be0], eax
call esi
push eax
call fcn.02486efc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x2493be4], eax
call esi
push eax
call fcn.02486efc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x2493be8], eax
call esi
push eax
call fcn.02486efc
pop ecx
mov dword [0x2493bf0], eax
test eax, eax
je 0x248e19a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.02486efc
pop ecx
mov dword [0x2493bec], eax
mov eax, dword [0x2493bec]
cmp eax, ebx
je 0x248e1f2
cmp dword [0x2493bf0], ebx
je 0x248e1f2
push eax
call fcn.02486f77
push dword [0x2493bf0]
mov esi, eax
call fcn.02486f77
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x248e1f2
test edi, edi
je 0x248e1f2
call esi
test eax, eax
je 0x248e1e9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x248e1e9
test byte [ebp - 0xc], 1
jne 0x248e1f2
or dword [ebp + 0x10], 0x200000
jmp 0x248e22b
mov eax, dword [0x2493be4]
cmp eax, ebx
je 0x248e22b
push eax
call fcn.02486f77
pop ecx
test eax, eax
je 0x248e22b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x248e22b
mov eax, dword [0x2493be8]
cmp eax, ebx
je 0x248e22b
push eax
call fcn.02486f77
pop ecx
test eax, eax
je 0x248e22b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2493be0]
call fcn.02486f77
pop ecx
test eax, eax
je 0x248e24b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x248e24d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401460
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x43fb10]
sub esp, 0x2c
test eax, eax
jne 0x401376
mov eax, dword [0x441208]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0
push eax
mov dword [0x43fb10], 1
call esi
mov ecx, dword [0x440534]
push 0
push ecx
call esi
mov edx, dword [0x440530]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x43fb40], eax
mov eax, dword [0x440530]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [0x440530]
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0x43fb14
push ecx
call esi
mov edx, dword [0x440530]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
push eax
mov eax, dword [0x440530]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x440530]
lea ecx, [esp + 8]
push ecx
push edx
call esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
push 0
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [0x440530]
mov esi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push ecx
call esi
mov eax, dword [0x440530]
mov edi, dword [sym.imp.USER32.dll_SetWindowPlacement]
lea edx, [esp + 8]
mov dword [esp + 0x10], 9
push edx
push eax
call edi
mov edx, dword [0x440530]
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x18], 3
call edi
push 0
call esi
mov eax, dword [0x440530]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x440530]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
add esp, 0x2c
ret
mov eax, dword [0x43f62c]
test eax, eax
je 0x40147c
mov eax, dword [0x43fb10]
test eax, eax
jne 0x401477
jmp 0x401250
jmp fcn.00401380
ret
Function at 0x401710
Capabilities:
Create directory
Get common file path
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x504
push esi
push 1
push 0x23
push 0x43fb50
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4017d6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
mov edi, dword [esp + 0x514]
lea eax, [esp + 0x110]
push 0x400
push eax
push edi
call ebx
lea ecx, [esp + 0x110]
push 0x5c
push ecx
call fcn.0041d120
lea edx, [esp + 0x118]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0041d120
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x10
push eax
push 0x43fb50
call esi
push 0
push 0x43fb50
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0xc]
push 0x104
push eax
push edi
call ebx
lea ecx, [esp + 0xc]
push 0x2e
push ecx
call fcn.0041d120
lea edx, [esp + 0x14]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0041d120
add esp, 0x10
push eax
push 0x43fb50
call esi
push str..ini
push 0x43fb50
call esi
pop edi
pop ebx
jmp 0x40180e
mov eax, dword [0x4404ec]
push 0x104
push 0x43fb50
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x2e
push 0x43fb50
call fcn.0041d120
add esp, 8
mov byte [eax], 0
push str..ini
push 0x43fb50
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._nIni_Path_
call esi
push 0x43fb50
call esi
push 0x4394e8
call esi
push 0x43fb50
push 0
push str.Language
push str.annie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [0x440350], eax
pop esi
jne 0x401854
call fcn.00401520
mov dword [0x440350], eax
add esp, 0x504
ret
Function at 0x4022c0
Capabilities:
Check mutex on windows
Create process on windows
Read .ini file

Disassembly:
sub esp, 0x1c
push ebp
push esi
push str.AmcapExeG
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x43eac0], eax
jne 0x4022e5
pop esi
pop ebp
add esp, 0x1c
ret 0x10
call fcn.0041a080
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xb7
jne 0x402358
push esi
call fcn.00401710
add esp, 4
push 0x43fb50
push 1
push str.Mutex
push str.annie
call ebp
test eax, eax
je 0x402358
push 0x43fb50
push 0
push str.MutaxWarn
push str.annie
call ebp
test eax, eax
je 0x402342
push 0x21
call fcn.004022b0
add esp, 4
mov eax, dword [0x43eac0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 0x10
push str.Amcap.Log
call fcn.0040c740
call fcn.0040c650
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push ecx
push edx
push esi
mov dword [0x440550], eax
call fcn.00401860
add esp, 0x10
test eax, eax
jne 0x402392
call fcn.0040c750
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 0x10
mov eax, dword [0x440530]
push ebx
push edi
push esi
push eax
call fcn.004198d0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
add esp, 8
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
je 0x40241b
cmp dword [esp + 0x14], 0x12
je 0x40240e
mov eax, dword [0x4404f0]
mov ecx, dword [0x440530]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4023f9
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call esi
test eax, eax
jne 0x4023c8
jmp 0x40241b
push str.Got_messsage_WM_QUIT__ap_will_exit_PeekMessage_n
call fcn.0040c6d0
add esp, 4
cmp dword [esp + 0x14], 0x12
je 0x40242a
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x4023b5
push str.Got_messsage_WM_QUIT__ap_will_exit_message_loop_n
call fcn.0040c6d0
push str.AP_is_going_to_close_n
call fcn.0040c6d0
add esp, 8
push 0x43ff50
push 0x439784
push str.RePreview
push str.Hot_Key
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x43fb50
push 0
push str.LunachGenePccMonIL
push str.coexecutor
call ebp
pop edi
pop ebx
test eax, eax
je 0x402481
push 0
push str.taskkill__F__IM_GenePccMonIL.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.0040c750
call fcn.00419970
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [0x43eac0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, dword [esp + 8]
add esp, 0x1c
ret 0x10
Function at 0x402640
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x440534]
sub esp, 0x10
push edi
push str.Ready_to_Capture_...
push eax
call fcn.004157f0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 8
push 0x43fb50
push 0
push str.CaptureYUV
push str.annie
call edi
test eax, eax
je 0x402679
call fcn.00402550
mov edx, dword [0x440530]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push str.hourglas.ani
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
test eax, eax
jne 0x4026a6
push 0x7f8a
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
push eax
mov eax, dword [esp + 8]
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [0x43f820]
test eax, eax
je 0x4027c2
mov eax, dword [0x43f81c]
test eax, eax
je 0x4027c2
mov eax, dword [0x44056c]
push esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x402743
mov eax, dword [0x43f62c]
test eax, eax
je 0x40270b
call fcn.00407f30
mov eax, dword [0x43f620]
test eax, eax
je 0x402719
call fcn.00404ee0
call fcn.00406400
test eax, eax
je 0x402729
call fcn.00408300
jmp 0x40277c
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40277c
call fcn.004076a0
push 0
call fcn.00407e40
add esp, 4
jmp 0x40277c
push 0x43fb50
push 0
push str.CaptureYUV
push str.annie
call edi
test eax, eax
push 0
je 0x40276c
mov ecx, dword [0x440530]
push 0x7d0
push 5
push ecx
jmp 0x40277a
mov edx, dword [0x440530]
push 0xc8
push 5
push edx
call esi
push 3
push 0x43f4d0
push 0x440354
call fcn.0041d230
add esp, 0xc
push 0x43fb50
push 0x14
push str.FreeSpace
push str.annie
call edi
shl eax, 0x14
mov dword [0x440358], eax
mov eax, dword [0x440530]
push 0
push 0x3e8
push 7
push eax
call esi
pop esi
pop edi
add esp, 0x10
ret
push 9
call fcn.00402220
add esp, 4
pop edi
add esp, 0x10
ret
Function at 0x4028f0
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xa00
test eax, eax
push esi
mov esi, dword [esp + 0xa08]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x402974
lea eax, [esp + 8]
push esi
push eax
call edi
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test eax, eax
je 0x40292d
inc eax
push 0x439888
push eax
call edi
lea edx, [esp + 0x608]
push 0x200
push edx
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 8]
lea ecx, [esp + 0x608]
push eax
push ecx
push str.image_jpeg
call fcn.00419240
add esp, 0xc
test eax, eax
jne 0x402974
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 8]
push edx
push esi
call edi
mov eax, dword [esp + 0xa14]
test eax, eax
je 0x4029c5
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push esi
call ebx
push eax
lea eax, [esp + 0x410]
push eax
call edi
lea ecx, [esp + 0x20c]
push esi
push ecx
call edi
lea edx, [esp + 0x20c]
push edx
call ebx
mov byte [eax], 0
lea eax, [esp + 0x40c]
lea ecx, [esp + 0x20c]
push eax
push ecx
call fcn.00418d10
add esp, 8
pop ebx
pop edi
pop esi
add esp, 0xa00
ret
Function at 0x4029d0
Capabilities:
Create process on windows
Read .ini file

Disassembly:
mov eax, dword [0x440374]
sub esp, 0x400
test eax, eax
je 0x402bde
cmp eax, 4
jne 0x402b2b
mov ecx, 0x43f898
call fcn.004108a0
lea eax, [esp + 0x200]
mov ecx, 0x43f898
push eax
call fcn.004108d0
lea ecx, [esp]
push ecx
mov ecx, 0x43f898
call fcn.00410900
push 0x43fb50
push 1
push str.ShowPicture
push str.annie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x402ac1
mov edx, dword [0x43f7b0]
mov eax, dword [0x43f7b4]
push edx
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004028f0
mov eax, dword [0x4415e8]
add esp, 0xc
test eax, eax
je 0x402a7b
mov ecx, dword [0x43f7b0]
test ecx, ecx
je 0x402a7b
lea edx, [esp]
push edx
push 0x3e8
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x402a96
push 1
push 0
lea eax, [esp + 0x208]
push 0
push eax
push 0x43988c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x440550]
test eax, eax
je 0x402aa8
mov eax, dword [0x43f7b0]
test eax, eax
jne 0x402b0f
mov ecx, dword [0x440530]
push 0
push 0x19
push 3
mov dword [0x43fb44], 0x14
push ecx
jmp 0x402b09
mov edx, dword [0x43f7b4]
push 0
lea eax, [esp + 4]
push edx
push eax
call fcn.004028f0
add esp, 0xc
lea ecx, [esp + 0x200]
push 1
push 0
push 0
push ecx
push 0x43988c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [0x440530]
push 0
push 0x19
push 3
mov dword [0x43fb44], 0x14
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x43f628]
test eax, eax
je 0x402bb3
mov dword [0x43f628], 0
jmp 0x402bb3
cmp eax, 2
jne 0x402b37
call fcn.00406280
jmp 0x402bb3
mov eax, dword [0x43f628]
test eax, eax
je 0x402b6c
push 0x43fb50
push 1
push str.ShowPicture
push str.annie
mov dword [0x43f628], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x402bae
call fcn.0040c330
jmp 0x402bb3
cmp dword [0x44057c], 2
jne 0x402b8c
push 0x49
mov ecx, 0x440f0c
call fcn.00410c40
test eax, eax
je 0x402b8c
call fcn.00402640
jmp 0x402bb3
push 0x43fb50
push 1
push str.ShowPicture
push str.annie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x402bae
call fcn.0040c330
jmp 0x402bb3
call fcn.0040c3f0
mov eax, dword [0x440398]
test eax, eax
je 0x402bde
mov eax, dword [0x43f448]
push 0
push 0x19a
push eax
push 0xffff
mov dword [0x440398], 0
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x400
ret

Function at 0x402bf0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov dword [0x43f628], 1
mov dword [0x44039c], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x402c1f
mov ecx, dword [0x4404ec]
push 0x40007
push ecx
push 1
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x440374]
cmp eax, 4
jne 0x402c33
mov ecx, 0x43f898
jmp fcn.00410880
cmp eax, 2
jne 0x402c43
mov dword [0x43f878], 1
ret
cmp eax, 3
jne 0x402c6c
mov edx, dword [0x43f448]
push 0
push 0xc8
push edx
push 0xffff
mov dword [0x43f628], 0
call dword [sym.imp.USER32.dll_SendMessageA]
ret
mov ecx, 0x43f100
jmp fcn.00416e30
Function at 0x402d80
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x402d94
cmp eax, 4
jne 0x402da1
push str.PBT_APMSUSPEND_n
jmp 0x402d99
push str.PBT_APMQUERYSUSPEND_n
call fcn.0040c6d0
add esp, 4
mov eax, dword [0x43f624]
push esi
mov esi, dword [esp + 8]
test eax, eax
je 0x402db8
push esi
call fcn.00404790
add esp, 4
push 0
call fcn.0040c780
add esp, 4
push 0x43fb50
push 0
push str.Close_AP_BeforeSleep
push 0x4398d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x402df1
push str.DestroyWindow_because_Close_AP_BeforeSleep_is_1_n
call fcn.0040c6d0
add esp, 4
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret

Function at 0x404700
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
mov eax, dword [0x44057c]
sub esp, 0x104
cmp eax, 2
je 0x404776
test eax, eax
je 0x404776
push esi
mov esi, dword [esp + 0x10c]
push 1
lea eax, [esp + 8]
push 0x26
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 4]
push str.Movie_Makermoviemk.exe
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 5
push 0
lea edx, [esp + 0xc]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x43f818]
pop esi
push 1
push eax
call fcn.00402c80
add esp, 0x10c
ret
call fcn.00402640
mov eax, dword [0x43f818]
push 1
push eax
call fcn.00402c80
add esp, 0x10c
ret