joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4148a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4e8028
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
cmp dword [ecx + 8], 5
mov eax, dword [str..swf]
mov edx, dword [0x4f650c]
mov dword [esp + 0x10], eax
mov ax, word [0x4f6510]
mov dword [esp + 0x14], edx
mov word [esp + 0x18], ax
jne 0x4149b5
lea edx, [esp + 0xc]
push edx
call fcn.00413590
lea edi, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.00405f80
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414991
cmp dword [esi - 0xc], 0
jl 0x414991
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004c9c9b
add esp, 8
test eax, eax
je 0x414991
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x414991
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x414991
lea ecx, [esp + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414978
test dx, dx
je 0x414974
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414978
add eax, 4
add ecx, 4
test dx, dx
jne 0x414952
xor eax, eax
jmp 0x41497d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x414991
lea ecx, [esp + 0xc]
call fcn.00406e40
mov eax, 1
jmp 0x4149b7
lea eax, [esi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4149b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004c961b
add esp, 0x20
ret

Function at 0x415740
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [esp + 0x218]
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.004cc620
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0x10]
push ecx
push ebx
push edi
push 0x4f65c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebp
lea ecx, [esp + 0xc]
test eax, eax
jne 0x41579e
mov ecx, 0x4f05c4
call fcn.00406bd0
mov ecx, dword [esp + 0x210]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.004c961b
add esp, 0x210
ret
Function at 0x415820
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
mov ebp, dword [esp + 0x418]
push edi
push esi
push 0x200
lea eax, [esp + 0x1c]
push eax
push 0x4f65bc
push ebp
push 0x4f65c0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], eax
call fcn.00406bd0
push eax
mov ecx, 0x4f65bc
call fcn.004157c0
mov bl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41589e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4158bc
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.004c961b
add esp, 0x40c
ret
cmp dword [esp + 0xc], 0x1f8
jbe 0x4158ff
push 0x2000
call fcn.004c94d1
add esp, 4
push esi
push 0x1000
mov ebx, eax
push ebx
push 0x4f65bc
push ebp
push 0x4f65c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, ebx
call fcn.00406b90
push ebx
call fcn.004ca7dd
add esp, 4
jmp 0x415908
lea edx, [esp + 0x14]
call fcn.00406b90
mov ecx, dword [esp + 0x414]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004c961b
add esp, 0x40c
ret
Function at 0x4162d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
test esi, esi
jne 0x4162dd
xor al, al
add esp, 8
ret
test edi, edi
je 0x4162d7
push 5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4162d7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x41632e
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [esp + 4]
mov dl, byte [edi + 4]
lea eax, [esp + 8]
push eax
push ecx
push 5
push esi
mov byte [esi + 4], dl
mov dword [esp + 0x18], 0
call ebx
test eax, eax
jne 0x41633b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop ebx
add esp, 8
ret
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x4163e0
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
lea esi, [esp + 4]
call fcn.00416440
mov eax, dword [esp + 4]
push eax
call fcn.00470b50
add esp, 4
pop esi
test eax, eax
je 0x416417
mov ecx, dword [esp + 8]
mov edx, dword [esp]
push 0
push 0
push ecx
push edx
push 0x4f6260
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret
Function at 0x419690
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x23c
mov eax, dword [0x512054]
xor eax, esp
mov dword [esp + 0x238], eax
push ebp
push edi
xor edi, edi
push edi
push 2
mov dword [esp + 0x14], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, edi
je 0x4197aa
push ebx
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41978d
push esi
lea ecx, [esp + 0x40]
mov eax, 0x4f6834
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419716
cmp dx, di
je 0x419712
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419716
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4196f0
xor eax, eax
jmp 0x41971b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x41976f
mov ecx, dword [esp + 0x24]
push ecx
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x41976f
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
call fcn.004199f0
add esp, 4
push esi
call ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.004199f0
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, dword [esp + 0x10]
je 0x419784
lea edx, [esp + 0x1c]
push edx
push ebp
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4196e1
jmp 0x41978c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
pop esi
push ebp
call ebx
mov eax, dword [esp + 0x10]
pop ebx
cmp eax, edi
je 0x4197aa
push eax
push edi
push 0x80
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
jne 0x4197ac
xor eax, eax
mov ecx, dword [esp + 0x240]
pop edi
pop ebp
xor ecx, esp
call fcn.004c961b
add esp, 0x23c
ret
Function at 0x41ae50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eb5f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov esi, ecx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x34]
xor ebx, ebx
push ecx
mov dword [esp + 0x3c], ebx
call fcn.004121b0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x34], ebx
mov eax, dword [eax]
mov ecx, dword [esi + 8]
push ebx
push 0xffffffffffffffff
push eax
lea edi, [esp + 0x4c]
mov eax, ecx
call fcn.004b15d0
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41aeec
xor eax, eax
jmp 0x41af6d
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0041ad60
mov edi, ebp
mov dword [esp + 0x28], 1
call fcn.00405e00
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41af32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x1c]
add esi, 0xc
push ecx
call fcn.00468f40
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
test eax, eax
je 0x41af4f
cmp eax, dword [esp + 0x18]
je 0x41af54
call fcn.004ca395
cmp edi, dword [esp + 0x1c]
jne 0x41aee5
push ebp
mov ebx, esi
call fcn.004229a0
mov edx, dword [esp + 0x34]
mov dword [eax], edx
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x41b8b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e3361
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x78]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x34], 0x440
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], 1
call edi
test eax, eax
jne 0x41ba78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x41ba63
mov dword [esp + 0x14], ebx
mov dword [esp + 0x70], ebx
mov eax, dword [0x51a22c]
cmp eax, ebx
je 0x41b981
lea ecx, [esp + 0x14]
push ecx
push 0x51
call eax
cmp eax, ebx
jl 0x41b981
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.0044b590
mov byte [esp + 0x70], 1
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], 1
call eax
mov byte [esp + 0x78], 1
test eax, eax
jne 0x41b985
mov byte [esp + 0x78], bl
mov dword [esp + 0x70], ebx
test byte [esp + 0x18], 1
je 0x41b999
lea ecx, [esp + 0x1c]
call fcn.00409540
cmp byte [esp + 0x78], bl
je 0x41ba4b
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
mov dword [esp + 0x78], ebx
call fcn.0044b590
mov byte [esp + 0x70], 2
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x70], bl
call fcn.00409540
cmp esi, ebx
je 0x41ba4b
lea ecx, [esp + 0x2c]
push ecx
call edi
mov edi, eax
lea esi, [esp + 0x1c]
lea eax, [esp + 0x14]
call fcn.0044b590
mov byte [esp + 0x70], 3
mov eax, dword [eax]
mov ecx, dword [esp + 0x78]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov ecx, esi
mov byte [esp + 0x70], bl
call fcn.00409540
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x41ba1e
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41ba36
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41ba63
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x41ba86
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x421da0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x51b5ac]
mov edx, dword [esi + 0x9c]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
add eax, 3
push 6
mov ecx, 0xffffffee
sub ecx, eax
add dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x98]
push edx
mov edx, dword [esi + 4]
mov dword [0x51b5ac], eax
mov eax, dword [esi + 0x94]
add ecx, eax
push ecx
push 0
push 0
push 0
push edx
call edi
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x98]
add ecx, dword [esi + 0x94]
test ecx, ecx
jg 0x421e4e
mov edx, dword [esi + 4]
push 0x3e7
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 4]
push 6
push ecx
push edx
push 0
push 0
push 0
push eax
mov dword [esi + 0x94], 0
call edi
mov dword [0x51b5ac], 0
xor eax, eax
pop edi
ret

Function at 0x4233f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e7e4b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi], vtable.CSomTitleBar.0
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
add eax, 0x10
mov dword [esi + 0x30], eax
push edi
push edi
push edi
mov dword [esp + 0x20], edi
push 2
xor ecx, ecx
lea edx, [edi + 1]
mov dword [esi + 0x28], edi
call fcn.004224b0
mov dword [esi + 0x2c], eax
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x423510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3f45
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
sub eax, dword [edi + 0xc]
sub edx, dword [edi + 0x10]
cmp dword [edi + 0x28], 0
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
je 0x42357e
mov ecx, dword [edi + 0x28]
mov ebx, dword [ecx]
push 0
push edx
push eax
mov eax, dword [ebx + 4]
push 0
push 0
push esi
call eax
cmp dword [edi + 0x2c], 0
je 0x423654
mov ecx, dword [edi + 0x30]
cmp dword [ecx - 0xc], 0
je 0x423654
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [edi + 0x30]
mov edi, dword [edi + 0x2c]
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], 3
mov edx, dword [ebx - 0xc]
mov eax, dword [edi + 0x1c]
push 1
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x14], 0
je 0x423614
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], 0
mov edx, dword [edi + 0x18]
push edx
push eax
push 0x2030
lea eax, [esp + 0x28]
push eax
push ecx
push ebx
lea edx, [esp + 0x2c]
push edx
call fcn.00422b30
mov eax, dword [esp + 0x18]
jmp 0x42364c
mov edx, dword [edi + 4]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push edx
push esi
mov dword [esp + 0x1c], eax
call edi
mov ecx, dword [esp + 0x10]
push 0x2030
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x18]
push edx
push esi
call edi
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4253f0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x425406
mov eax, dword [ecx + 8]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x4270f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ea118
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov ecx, edi
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x427178
cmp ebx, edi
jbe 0x427148
call fcn.004ca395
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
push edi
push eax
lea eax, [esp + 0x40]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 1
sub edx, ecx
push edx
push esi
call fcn.00426a30
jmp 0x4271e3
jbe 0x4271e3
cmp ebx, edi
jbe 0x427183
call fcn.004ca395
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ebp, dword [esi + 0x10]
jbe 0x427196
call fcn.004ca395
mov ebx, dword [esi]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
test ebx, ebx
jne 0x4271bb
call fcn.004ca395
xor eax, eax
add ebp, 0x18
cmp ebp, dword [eax + 0x10]
ja 0x4271c6
test ebx, ebx
je 0x4271bf
mov ebx, dword [ebx]
jmp 0x4271c1
mov eax, dword [ebx]
jmp 0x4271ab
xor ebx, ebx
cmp ebp, dword [ebx + 0xc]
jae 0x4271cb
call fcn.004ca395
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edi
push ecx
push ebp
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00427040
xor ebp, ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x4271f4
push eax
call fcn.004c9610
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.004c9610
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x18
Function at 0x428dc0
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esi + 0x30]
sub esp, 0x28
push ebx
push ebp
push edi
mov edi, dword [esi + 0x34]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x428df0
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jle 0x428de6
add eax, 0x1e
mov dword [esi + 0x2c], eax
jmp 0x428e10
cmp ecx, edi
jge 0x428df8
add eax, 0x1e
mov dword [esi + 0x2c], eax
add ecx, 0x1e
mov dword [esi + 0x30], ecx
jmp 0x428e10
mov eax, dword [esi + 4]
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov ecx, eax
sub eax, dword [esi + 0x2c]
sub ecx, dword [esi + 0x30]
push 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
push 4
lea edx, [esp + 0x18]
xor eax, eax
xor edi, edi
xor ebx, ebx
xor ebp, ebp
push edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push 1
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov ecx, dword [esi + 4]
push ebp
push ebp
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
Function at 0x42a4b0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push 0xffffffffffffffff
push 0x4e5aa9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edx, dword [0x5195ac]
lea edi, [eax + eax]
mov eax, dword [edx + 0xc]
mov ecx, 0x5195ac
call eax
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
lea edx, [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esi]
push 1
push edi
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push eax
mov dword [esp + 0x2c], 1
call ebx
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c94d1
mov esi, dword [esi]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ebp
push 1
push edi
push esi
call ebx
test eax, eax
je 0x42a581
test ebp, ebp
jne 0x42a561
xor eax, eax
jmp 0x42a575
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a566
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x2c]
push ebp
call fcn.00406af0
push ebp
call fcn.004ca7dd
mov eax, dword [esp + 0x30]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42a5b0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xffffffffffffffff
push 0x4e6ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [ebx]
cmp dword [eax - 0xc], ebp
jne 0x42a607
mov esi, dword [esp + 0x30]
push esi
mov ecx, 0x4f05c4
call fcn.00406bd0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [eax - 0xc]
push 1
push ecx
push eax
call edi
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c94d1
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
push ecx
push ebp
push esi
call fcn.004cc620
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
push edx
push esi
push 1
push ecx
push eax
call edi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00406bd0
push esi
mov dword [esp + 0x2c], ebp
call fcn.004ca7dd
mov eax, dword [esp + 0x20]
add esp, 4
add eax, 0xfffffff0
call fcn.004065a0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a6d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x42aa00
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sub ebp, dword [esp + 0x1c]
sub ebx, dword [esp + 0x18]
push ebp
push ebx
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push 0
push 0
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x30]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x1c
ret 8