joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005cb5
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001348
call fcn.010056f8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1005cf2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005cf2
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1005d0a
cmp eax, 0x20b
je 0x1005cf7
mov dword [ebp - 0x1c], ebx
jmp 0x1005d1e
cmp dword [ecx + 0x84], 0xe
jbe 0x1005cf2
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1005d18
cmp dword [ecx + 0x74], 0xe
jbe 0x1005cf2
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10071cc], 0xffffffff
or dword [0x10071d0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1007180]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100717c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10071d4], eax
call fcn.01005eae
cmp dword [0x1007108], ebx
jne 0x1005d79
push fcn.01005eae
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01005e97
push 0x1007010
push 0x100700c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1007178]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1007174]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1007008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1005e0f
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1005de3
cmp al, 0x22
jne 0x1005dd5
cmp byte [esi], 0x22
jne 0x1005dec
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1005df6
cmp al, 0x20
jbe 0x1005de8
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1005e1a
movzx eax, word [ebp - 0x50]
jmp 0x1005e1d
cmp byte [esi], 0x20
jbe 0x1005dec
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1005e0f
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1005e3a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1005e6f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01005733
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4010a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x40e444
mov eax, 0x4651c1
call fcn.0043da24
push ecx
mov eax, dword [0x475eb0]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov ecx, dword [0x475eb0]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 8], ecx
mov ecx, dword [0x475eb0]
mov dword [esi + 0xc], ecx
mov ecx, dword [0x475eb0]
mov dword [esi + 0x10], ecx
mov ecx, dword [0x475eb0]
mov dword [esi + 0x14], ecx
mov cl, byte [ebp + 0xb]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov cl, byte [ebp + 0xb]
mov dword [esi + 0x2c], eax
mov byte [esi + 0x28], cl
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
mov dword [esi], 0x4690d0
call fcn.00401267
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 7
call fcn.004014ba
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40116d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x420017
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4011ef
Capabilities:
Get graphical window text

Disassembly:
jmp 0x413ffd
mov eax, 0x4657b8
call fcn.0043da24
sub esp, 0x800
cmp dword [ebp + 8], 0x300
push ebx
mov ebx, ecx
jne 0x4140bb
and word [ebp - 0x80c], 0
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x486
push dword [ebx + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
lea ecx, [ebp - 0x80c]
push 0x400
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
and word [ebp + eax*2 - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp + 8]
call fcn.00401267
and dword [ebp - 4], 0
mov edi, 0x476e3c
push edi
lea ecx, [ebp + 8]
call fcn.00401082
push edi
lea ecx, [ebp + 8]
call fcn.00402473
mov eax, dword [ebp + 8]
push 1
push dword [ebx + 4]
cmp dword [eax - 8], 0
je 0x4140a2
call esi
push 1
jmp 0x4140a6
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004021e9
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x401249
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x422913
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret
Function at 0x4012ad
Capabilities:
Check if file exists

Disassembly:
jmp 0x41b4c8
mov eax, 0x466093
call fcn.0043da24
sub esp, 0x4b0
push ebx
push esi
push edi
mov esi, ecx
push 0xc
call fcn.0040204a
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.004017a3
xor ebx, ebx
cmp eax, ebx
je 0x41b513
mov ecx, eax
call fcn.00401654
cmp eax, 3
jl 0x41b513
push 2
mov ecx, esi
call fcn.004010b4
jmp 0x41b5f3
push 8
lea eax, [ebp - 0x3c]
pop ecx
mov esi, str._b_tg
push ebx
lea edi, [ebp - 0x3c]
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push ebx
push 1
lea ecx, [ebp - 0x4bc]
call fcn.0040285b
mov dword [ebp - 0x4bc], 0x4691bc
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.0040280b
cmp eax, 1
jne 0x41b5f3
push dword [ebp - 0x484]
lea ecx, [ebp - 0x10]
call fcn.00401267
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b5e8
call fcn.004017a3
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x1c], ecx
je 0x41b5e8
lea eax, [ebp - 0x10]
push ebx
push eax
push 1
call fcn.0040126c
mov edi, eax
cmp edi, ebx
je 0x41b5e8
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.00401267
mov esi, dword [eax]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00401406
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.004015dc
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004021e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004021e9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x401398
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x404534
mov eax, 0x464710
call fcn.0043da24
push ebx
push esi
push edi
movzx eax, word [ebp + 0xc]
push dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x4045a6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, esi
je 0x4045a6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, esi
je 0x4045a6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
je 0x4045a6
push ebx
push eax
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push dword [ebp + 8]
push eax
call fcn.00402612
pop ecx
pop ecx
call fcn.004014e7
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40139d
Capabilities:
Check if file exists

Disassembly:
jmp 0x41b319
mov eax, 0x46605b
call fcn.0043da24
sub esp, 0x500
push ebx
push esi
push edi
xor ebx, ebx
push 0x105
mov esi, ecx
push ebx
push ebx
push dword [esi + 0x26c]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 5
call fcn.0040204a
mov eax, dword [esi + 0x100]
pop ecx
cmp eax, ebx
je 0x41b37c
mov ecx, dword [esi + 0x104]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0xc
jl 0x41b37c
push 1
mov ecx, esi
call fcn.004010b4
jmp 0x41b462
push 0x1c
lea eax, [ebp - 0x8c]
pop ecx
mov esi, 0x4773e0
push ebx
lea edi, [ebp - 0x8c]
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push ebx
push 1
lea ecx, [ebp - 0x50c]
call fcn.0040285b
mov dword [ebp - 0x50c], 0x4691bc
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x50c]
call fcn.0040280b
cmp eax, 1
jne 0x41b462
push dword [ebp - 0x4d4]
lea ecx, [ebp - 0x10]
call fcn.00401267
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b457
call fcn.004017a3
mov ecx, eax
cmp ecx, ebx
mov dword [ebp - 0x1c], ecx
je 0x41b457
lea eax, [ebp - 0x10]
push 1
push eax
push ebx
call fcn.00402856
mov edi, eax
cmp edi, ebx
je 0x41b457
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.00401267
mov esi, dword [eax]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00401406
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.004015dc
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004021e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004021e9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x401488
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x429101
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret
Function at 0x4014c9
Capabilities:
Delete file

Disassembly:
jmp 0x418086
mov eax, 0x465ba4
call fcn.0043da24
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push edi
cmp ebx, 0xffffffff
mov edi, ecx
jle 0x418136
cmp ebx, 6
jge 0x418136
mov eax, dword [0x475eb0]
push esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x18]
je 0x418116
cmp dword [esi], ebx
jne 0x4180dd
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
push eax
push ecx
call fcn.0043e96f
pop ecx
test eax, eax
pop ecx
je 0x4180e2
add esi, 0x20
jmp 0x4180bf
push esi
mov ecx, edi
call fcn.004012d5
test eax, eax
je 0x4180f7
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040236a
push esi
lea ecx, [edi + 0x10]
call fcn.00401929
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 2
call fcn.0040278e
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 1
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004021e9
xor eax, eax
pop esi
jmp 0x418139
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4014e7
Capabilities:
Write file on windows

Disassembly:
jmp 0x4044b4
mov eax, 0x4646f8
call fcn.0043da24
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4044ff
lea eax, [ebp - 0x10]
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4044ff
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x401514
Capabilities:
Check if file exists
Delete file

Disassembly:
jmp 0x41c0b3
mov eax, 0x466147
call fcn.0043da24
sub esp, 0xc
mov eax, dword [0x475eb0]
and dword [ebp - 0x18], 0
push ebx
mov dword [ebp - 0x14], eax
push 1
add ecx, 0x24c
pop ebx
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004023ce
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x14]
push str.Snap__d.jpg
push eax
call fcn.00401d48
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
push dword [eax - 8]
call fcn.00402969
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c123
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004023ce
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004021e9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x401519
Capabilities:
Check if file exists
Create directory

Disassembly:
jmp 0x41a68c
mov eax, 0x465e7a
call fcn.0043da24
sub esp, 0x418
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00401df7
and dword [ebp - 4], 0
lea edi, [esi + 0x44]
mov ecx, edi
call fcn.0040275c
mov dword [edi], 0x469150
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
mov dword [esi + 0x48], 0x469060
call fcn.00402973
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 2
call fcn.0040207c
lea ecx, [esi + 0x1f0]
mov byte [ebp - 4], 3
call fcn.00401f0f
mov eax, dword [0x475eb0]
mov dword [esi + 0x248], eax
mov eax, dword [0x475eb0]
mov dword [esi + 0x24c], eax
mov ebx, 0x47ed6c
lea ecx, [esi + 0x250]
push ebx
mov byte [ebp - 4], 6
call fcn.00401267
mov eax, dword [0x475eb0]
mov dword [esi + 0x254], eax
mov eax, dword [0x475eb0]
mov dword [esi + 0x258], eax
push ebx
lea ecx, [esi + 0x25c]
mov byte [ebp - 4], 9
call fcn.00401267
or dword [esi + 0x264], 0xffffffff
xor ebx, ebx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x26c], ebx
mov dword [edi], 0x469144
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
push 0x105
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xa
push eax
mov dword [esi], 0x469134
mov dword [esi + 0x48], 0x469130
call fcn.00401faf
pop ecx
lea eax, [ebp - 0x21c]
pop ecx
push str.Utils360ScreenCapture.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
test eax, eax
je 0x41a7bd
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [esi + 0x248]
call fcn.0040294b
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
mov word [ebp - 0x424], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x424]
push 0x104
push eax
call fcn.004017fd
lea eax, [ebp - 0x424]
pop ecx
test eax, eax
pop ecx
je 0x41a812
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x424]
lea edi, [esi + 0x24c]
push ecx
push eax
mov ecx, edi
call fcn.0040294b
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41a83d
push ebx
push dword [edi]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x260], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401573
Capabilities:
Delete file

Disassembly:
jmp 0x418293
mov eax, 0x465bbc
call fcn.0043da24
sub esp, 0x14
mov al, byte [ebp - 0xd]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
cmp esi, eax
mov dword [ebp - 4], ebx
je 0x4182f5
push esi
mov ecx, edi
call fcn.004012d5
test eax, eax
je 0x4182d8
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
cmp eax, 2
je 0x4182e4
cmp eax, 3
jne 0x4182ed
push esi
lea ecx, [ebp - 0x20]
call fcn.0040255e
add esi, 0x20
cmp esi, dword [edi + 0x18]
jne 0x4182c3
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0040253b
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040178a
push ebx
push 3
mov ecx, edi
call fcn.0040278e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401feb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4015af
Capabilities:
Hide graphical window

Disassembly:
jmp 0x431619
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40163b
Capabilities:
Check if file exists

Disassembly:
jmp 0x41b05c
mov eax, 0x466024
call fcn.0043da24
sub esp, 0x220
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 4
call fcn.0040204a
mov eax, dword [esi + 0x100]
xor ebx, ebx
cmp eax, ebx
pop ecx
je 0x41b0aa
mov ecx, dword [esi + 0x104]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0xc
jl 0x41b0aa
push ebx
mov ecx, esi
call fcn.004010b4
jmp 0x41b27f
lea eax, [ebp - 0x10]
push edi
push eax
mov ecx, esi
call fcn.00401514
mov eax, dword [0x475eb0]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x22a]
mov word [ebp - 0x22c], bx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x22c]
push 0x105
push eax
mov byte [ebp - 4], 1
call fcn.00401faf
pop ecx
lea eax, [ebp - 0x22c]
pop ecx
push str.Utils360ScreenCapture.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.__file____s____format___jpg_
push eax
call fcn.00401d48
lea eax, [ebp - 0x22c]
add esp, 0xc
test eax, eax
lea edi, [esi + 0x248]
je 0x41b131
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x22c]
push ecx
push eax
mov ecx, edi
call fcn.0040294b
push dword [edi]
call fcn.004021c1
test eax, eax
pop ecx
jne 0x41b1ab
lea eax, [ebp - 0x22c]
push 0x105
push eax
call fcn.00401faf
pop ecx
lea eax, [ebp - 0x22c]
pop ecx
push str.SoftMgrcatchscreentray.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str.feedback___s_
push eax
call fcn.00401d48
lea eax, [ebp - 0x22c]
add esp, 0xc
test eax, eax
je 0x41b19c
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x22c]
push ecx
push eax
mov ecx, edi
call fcn.0040294b
push dword [edi]
call fcn.004021c1
test eax, eax
pop ecx
je 0x41b267
mov eax, dword [0x47ed30]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [edi]
push 5
push dword [ebp - 0x14]
push edi
call fcn.0040186b
add esp, 0xc
mov ecx, esi
call fcn.00401942
push ebx
push 0x64
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.004017a3
mov edi, eax
cmp edi, ebx
je 0x41b267
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b267
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
mov ecx, edi
call fcn.00402856
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x41b267
push 0x9c70
lea ecx, [ebp - 0x1c]
call fcn.00401267
mov esi, dword [eax]
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
mov byte [ebp - 4], 2
call fcn.00401406
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.004015dc
add esp, 0x14
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004021e9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004021e9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4016ae
Capabilities:
Hide graphical window

Disassembly:
jmp 0x41c185
cmp dword [esp + 4], 0
push esi
push edi
mov esi, ecx
jne 0x41c1b2
call fcn.00401d4d
push 0x499
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0
jmp 0x41c1d4
cmp dword [esp + 0xc], 1
jne 0x41c1d9
push 0x499
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 5
push dword [esi + 0x54]
call edi
pop edi
pop esi
ret 4

Function at 0x4016ef
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x41e1ad
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401721
Capabilities:
Get graphical window text

Disassembly:
jmp 0x413d98
mov eax, 0x4657a0
call fcn.0043da24
sub esp, 0x808
and word [ebp - 0x814], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x812]
rep stosd dword es:[edi], eax
push 0x485
push dword [esi + 4]
stosw word es:[edi], ax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x814]
push 0x400
push ecx
push eax
call ebx
and word [ebp + eax*2 - 0x814], 0
lea eax, [ebp - 0x814]
test eax, eax
je 0x413e0b
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x814]
push ecx
push eax
lea ecx, [esi + 0x5c]
call fcn.0040294b
push 0
push 0
push 0x147
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x486
mov dword [ebp - 0x14], eax
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x814]
push 0x400
push ecx
push eax
call ebx
and word [ebp + eax*2 - 0x814], 0
lea eax, [ebp - 0x814]
test eax, eax
lea edi, [esi + 0x60]
je 0x413e6c
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x814]
push ecx
push eax
mov ecx, edi
call fcn.0040294b
mov ebx, 0x476e3c
mov ecx, edi
push ebx
call fcn.00401082
push ebx
mov ecx, edi
call fcn.00402473
mov eax, dword [edi]
xor ebx, ebx
cmp dword [eax - 8], ebx
je 0x413f00
call fcn.00402761
add eax, 8
lea ecx, [ebp - 0x10]
push eax
call fcn.004023ce
push ebx
push ebx
push 0x146
mov dword [ebp - 4], ebx
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi]
dec eax
cmp dword [ebp - 0x14], eax
jge 0x413ede
push dword [esi + 0x5c]
lea eax, [esi + 0x50]
push dword [ebp - 0x10]
push 0x9c71
push eax
call fcn.0040172b
add esp, 0x14
jmp 0x413ef2
push dword [ebp - 0x10]
lea eax, [esi + 0x50]
push 0x9c8c
push eax
call fcn.0040172b
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
jmp 0x413f08
lea ecx, [esi + 0x50]
call fcn.0040227a
mov esi, dword [esi + 0x54]
cmp esi, ebx
je 0x413f1d
push ebx
push ebx
push 0xc4c
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret