joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f260
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x50ba00]
push ebx
mov dword [esp + 0x264], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov esi, ecx
jne 0x44f299
mov ecx, dword [esp + 0x26c]
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x3dc]
call fcn.00404b70
push 0x104
lea ebx, [esi + 0xc]
push 0
mov ecx, ebx
call fcn.00401550
mov ecx, dword [ebx]
mov edx, dword [esi + 8]
push 0x104
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
push 0xffffffffffffffff
lea edi, [esi + 0x11c]
push eax
mov ecx, edi
call fcn.00401550
mov eax, dword [edi]
push 0x5c
push eax
call fcn.00482687
add esp, 8
test eax, eax
je 0x44f309
mov word [eax], 0
push 0xffffffffffffffff
add eax, 2
push eax
lea ecx, [esi + 0x94]
call fcn.00401550
mov ecx, dword [edi]
push ecx
lea edx, [esi + 0x1a4]
push str._sRC5.ini
push edx
call fcn.00401720
xor eax, eax
mov word [esp + 0x1c], 0
mov ecx, 0x13
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
stosw word es:[edi], ax
push 0x28
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004c9c30
add esp, 0x18
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x4d0]
call fcn.0040d170
xor eax, eax
mov word [esp + 0x60], 0
mov ecx, 0x81
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea edx, [esp + 0x60]
push edx
lea ecx, [esi + 0x2bc]
call fcn.0040d170
mov ecx, dword [esp + 0x26c]
mov eax, 1
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x450ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d8a62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00455af0
lea ecx, [esi + 0x20]
xor ebx, ebx
lea eax, [ecx + 4]
mov dword [esi], 0x4ea2b4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ecx], eax
mov byte [eax], bl
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x44], ebx
call fcn.00404b70
mov edx, dword [esp + 0x3c]
lea ecx, [esi + 0x68]
lea eax, [ecx + 4]
push 0xffffffffffffffff
push edx
mov dword [esp + 0x38], ebx
mov dword [ecx], eax
mov dword [ecx + 0x84], ebx
mov word [eax], bx
call fcn.00401550
push 0x4502f0
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00451890
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0xf0]
call fcn.004515a0
push 0x44ec10
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.00451890
push 0x1f4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x110]
call fcn.00451c70
lea edi, [esi + 0x138]
mov ecx, edi
mov byte [esp + 0x30], 3
call fcn.00438630
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi], 0x4e62d4
mov dword [edi + 0x54], 0xffffffff
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4513b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4513db
xor eax, eax
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x451409
mov ecx, dword [esp + 0x14]
push eax
call fcn.004c93c0
pop edi
mov eax, 1
pop esi
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov ecx, ebx
call fcn.004c9350
test eax, eax
je 0x45143c
push 0
lea edx, [esp + 0x10]
push edx
push edi
mov ecx, ebx
call fcn.00498800
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
push esi
jne 0x451443
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x451460
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
push 0
push 0x80
je 0x451483
mov eax, dword [esp + 0x14]
push 4
push 0
push 1
push 0x40000000
push eax
jmp 0x451493
mov ecx, dword [esp + 0x14]
push 2
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4514a5
pop edi
xor eax, eax
pop esi
ret
test edi, edi
je 0x4514b6
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret

Function at 0x451620
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, ecx
push 0
lea eax, [esi + 0x10]
push eax
call edi
mov ebx, dword [esi + 8]
lea eax, [esi + 8]
push 0
push eax
call edi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x451652
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x451682
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x451675
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
push eax
call edi
mov dword [esi + 4], 0
pop edi
pop esi
pop ebx
ret 4
Function at 0x4518c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
test esi, esi
je 0x45195e
xor eax, eax
push edi
mov ecx, 0xe
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x440
mov dword [esp + 0x18], 0x4db98c
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
jne 0x451946
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x48]
push 0x4ea490
push ecx
call fcn.004c9ff0
add esp, 0x10
pop esi
add esp, 0x29c
ret
mov eax, dword [esp + 0x2a8]
test eax, eax
je 0x45195e
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 0x29c
ret

Function at 0x451a70
Capabilities:
Delete file

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push eax
call fcn.00412dd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x451a8a
pop esi
pop ecx
ret
mov edx, dword [esi + 4]
push edi
lea ecx, [esp + 8]
push ecx
xor edi, edi
push edx
mov dword [esp + 0x10], edi
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x451aa6
mov dword [esi + 8], eax
cmp dword [esp + 8], 0x64
jb 0x451ad6
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x451aca
mov dword [esi + 8], eax
cmp dword [esp + 8], 0x64
jb 0x451ad6
mov edi, 1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
test edi, edi
jne 0x451aed
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x451b00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x50ba00]
push ebx
push esi
push edi
mov dword [esp + 0x264], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
jne 0x451c18
push eax
push 0x4db948
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x451c16
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x451c03
lea edx, [esp + 0x1c]
xor eax, eax
push edx
mov ecx, 0xe
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x24], 0x3c
call dword [sym.imp.USER32.dll_GetWindowInfo]
test byte [esp + 0x48], 1
je 0x451c03
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x14]
jg 0x451c03
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x18]
jg 0x451c03
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x5c]
push eax
push esi
call ebx
lea ecx, [esp + 0x58]
push 0x4e61d0
push ecx
call fcn.004834cc
add esp, 8
test eax, eax
je 0x451c03
mov eax, dword [ebp + 8]
test eax, eax
je 0x451c2b
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.0048273c
add esp, 8
test eax, eax
jne 0x451c2b
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x451b63
xor eax, eax
mov ecx, dword [esp + 0x264]
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x264]
mov eax, esi
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452a80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x452a90
ret
push ebx
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
test ebx, ebx
je 0x452af5
cmp word [ebx], bp
je 0x452af5
push esi
push edi
push ebx
call fcn.00482726
add esp, 4
lea esi, [eax + eax + 2]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x452af3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
shr esi, 1
cmp esi, 0x7fffffff
ja 0x452ade
push ebx
push esi
push eax
call fcn.00402910
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebp, 1
pop edi
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x452f30
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x50ba00]
mov dword [esp + 0x10c], eax
mov al, byte [0x518d00]
test al, al
push esi
push edi
jne 0x452fcd
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
jne 0x452f9e
mov eax, 0x4dc6aa
mov ecx, dword [esp + 0x114]
call fcn.00482423
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov esi, 0x40
mov ecx, 0x518d00
mov dl, byte [eax]
test dl, dl
je 0x452fc5
mov byte [ecx], dl
inc ecx
inc eax
dec esi
jne 0x452fb6
jmp 0x452fc9
test esi, esi
jne 0x452fca
dec ecx
mov byte [ecx], 0
mov ecx, dword [esp + 0x114]
mov eax, 0x518d00
call fcn.00482423
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453330
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [0x50ba00]
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
cmp esi, edx
mov dword [esp + 0x470], eax
push edi
je 0x4533c7
mov ebx, dword [ebp + 0x10]
cmp ebx, edx
jne 0x453363
mov ebx, 0x4eb134
mov dword [ebp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x18], edx
mov ecx, 0x93
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov word [esp + 0x268], dx
mov ecx, 0x81
lea edi, [esp + 0x26a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0xc]
push ebx
push edi
push 0x4dba7c
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004529a0
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x4533dc
xor eax, eax
mov ecx, dword [esp + 0x474]
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], 1
lea eax, [esp + 0x44]
push eax
call fcn.0048613d
add esp, 4
cmp word [esp + 0x44], 0x2e
jne 0x453419
mov ax, word [esp + 0x46]
test ax, ax
je 0x4534b4
cmp ax, 0x2e
jne 0x453419
cmp word [esp + 0x48], 0
je 0x4534b4
test byte [esp + 0x18], 0x10
mov edx, dword [esi]
je 0x453495
lea eax, [esp + 0x44]
push eax
push edi
mov ecx, esi
call dword [edx + 4]
test eax, eax
je 0x453486
lea ecx, [esp + 0x44]
push ecx
push edi
push 0x4dba7c
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.004529a0
push ebx
lea eax, [esp + 0x280]
push eax
push esi
call fcn.00453330
add esp, 0x20
test eax, eax
jne 0x453486
mov ebx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [ebx + 0xc]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4534ce
mov ebx, dword [ebp + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
push edi
mov ecx, esi
call dword [edx + 8]
jmp 0x4534b4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x18], 1
call dword [edx]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4534ce
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4533e4
jmp 0x4534d6
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x474]
mov eax, dword [esp + 0x10]
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453590
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d8b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
lea ecx, [esp + 8]
mov dword [esp + 0x68], 1
call fcn.0048106c
mov ebp, dword [esp + 0x74]
xor ebx, ebx
push ebx
push ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 2
call fcn.00481101
cmp eax, ebx
jne 0x453600
lea ecx, [esp + 8]
mov byte [esp + 0x68], 1
call fcn.00481092
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x453686
push esi
mov esi, dword [esp + 0x74]
push edi
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x4e61d0
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, ebx
je 0x45365f
mov ecx, dword [esp + 0x60]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 1
call fcn.00481092
lea eax, [esi - 0x10]
mov byte [esp + 0x70], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
test ecx, ecx
jg 0x453690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4536b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x4536d0
Capabilities:
Create process on windows
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4d8b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push esi
mov dword [esp + 0x70], 2
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0xc]
call fcn.0048106c
mov ebp, dword [esp + 0x78]
xor ebx, ebx
push ebx
push ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.00481101
cmp eax, ebx
jne 0x45378b
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 2
call fcn.00481092
lea eax, [esi - 0x10]
mov byte [esp + 0x6c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45374e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45376c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
jmp 0x45385a
push edi
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x30], 0x40
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x84], ebx
je 0x4537e8
mov ecx, dword [esp + 0x60]
push ebx
push ecx
jmp 0x4537ef
mov edx, dword [esp + 0x60]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 2
call fcn.00481092
lea eax, [esi - 0x10]
mov byte [esp + 0x70], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x70], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x453866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x453980
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
test eax, eax
je 0x45399b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45399b
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x4539a1
xor eax, eax
add esp, 0x14
ret
push ebx
push ebp
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
xor ebp, ebp
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 8], ebx
je 0x453a69
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x453a5f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push esi
sub ecx, dword [esp + 0x18]
push ecx
sub edx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x453a57
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push edi
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
push 0xcc0020
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
mov edx, dword [esp + 0x30]
sub edx, eax
mov eax, dword [esp + 0x2c]
push edx
sub eax, ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebp
push edi
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push esi
call fcn.00452d10
add esp, 0xc
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x10]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x453ba0
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x90
mov ecx, dword [0x50b020]
mov eax, dword [0x50ba00]
push esi
push edi
push 0x4ea44c
push ecx
mov dword [esp + 0x9c], eax
xor edi, edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push 0x4dba7c
push edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], edi
mov word [esp + 0x20], di
call fcn.00401720
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453c07
mov ecx, dword [esp + 0xc]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0xc]
lea eax, [esi + 4]
push 0xffffffffffffffff
push edx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x84], edi
mov word [eax], di
call fcn.00401550
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x453c3f
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
call fcn.00482423
add esp, 0x90
ret
Function at 0x453c60
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x90
mov ecx, dword [0x50b020]
mov eax, dword [0x50ba00]
push esi
push edi
push 0x4ea438
push ecx
mov dword [esp + 0x9c], eax
xor edi, edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push 0x4dba7c
push edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa0], edi
mov word [esp + 0x20], di
call fcn.00401720
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453cc7
mov ecx, dword [esp + 0xc]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0xc]
lea eax, [esi + 4]
push 0xffffffffffffffff
push edx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x84], edi
mov word [eax], di
call fcn.00401550
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x453cff
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
call fcn.00482423
add esp, 0x90
ret

Function at 0x453d20
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x118
mov eax, dword [0x50ba00]
push esi
mov dword [esp + 0x118], eax
push edi
xor edi, edi
lea ecx, [esp + 0xc]
lea eax, [esp + 0x98]
push ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x11c], edi
mov word [esp + 0x9c], di
call fcn.00453c60
mov edx, dword [esp + 0x12c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0xa0]
push 0x4dba7c
push ecx
call fcn.00401720
mov edx, dword [esp + 0xa8]
add esp, 0x14
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453da2
mov eax, dword [esp + 0x94]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x453db7
push eax
call fcn.00482838
add esp, 4
mov esi, dword [esp + 0x124]
mov edx, dword [esp + 0x94]
lea eax, [esi + 4]
push 0xffffffffffffffff
push edx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x84], edi
mov word [eax], di
call fcn.00401550
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x453df8
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, esi
pop esi
call fcn.00482423
add esp, 0x118
ret