joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473a00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ba7b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ad9c4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b305d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b45bc
test eax, eax
je 0x473b1c
mov ecx, dword [esp + 0x3c]
call fcn.004b308a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x473ae0
push edi
mov ecx, esi
call fcn.004b06ef
mov ecx, esi
call fcn.00473c80
cmp dword [esp + 0x38], 1
jne 0x473b15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004b082a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x476540
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x476573
push esi
call fcn.00479640
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47656c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4765f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4765e2
mov eax, dword [esi + 8]
test eax, eax
je 0x476597
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4765de
cmp eax, 2
je 0x4765e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47658a
cmp eax, 3
je 0x4765bd
cmp eax, 1
jne 0x47658a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47658a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47658a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00476620
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x476608
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00476620
add esp, 4
pop esi
ret
Function at 0x481e20
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x481e48
xor eax, eax
pop edi
add esp, 0x10
ret 0xc
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x481e94
xor ebp, ebp
mov ecx, dword [esp + 0x24]
test ecx, ecx
jge 0x481ea4
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x481eae
mov ebx, ecx
cmp edi, eax
jle 0x481eb4
mov edi, eax
mov edx, dword [esp + 0x24]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x28]
pop esi
sub eax, 0
pop ebp
pop ebx
je 0x481f3c
dec eax
jne 0x481f53
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x481f53
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 8], 1
jmp 0x481f53
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00482050
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 8]
pop edi
add esp, 0x10
ret 0xc
Function at 0x481f70
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x481f8c
xor eax, eax
pop edi
add esp, 8
ret 4
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x481fd8
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x481fe8
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jle 0x481ff2
mov ebx, ecx
cmp edi, eax
jle 0x481ff8
mov edi, eax
mov edx, dword [esp + 0x1c]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x483a40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x483a8a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x483ab9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x483afb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x487b50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x58
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x487d43
cmp dword [esp + 0x70], ebx
je 0x487d43
lea ecx, [esp + 0x24]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x487b90
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x58
ret 8
mov eax, dword [esp + 0x28]
mov dl, 8
mov byte [esp + 0x64], dl
mov byte [esp + 0x65], dl
mov byte [esp + 0x66], dl
lea edx, [eax + eax*2]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
lea eax, [edx*8 + 0x1f]
push 4
cdq
and edx, 0x1f
push 0x1000
add eax, edx
mov dword [esp + 0x44], 0x28
mov esi, eax
mov dword [esp + 0x4c], ecx
sar esi, 5
imul esi, ecx
shl esi, 2
push esi
push ebx
mov word [esp + 0x58], 1
mov word [esp + 0x5a], 0x18
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x77], bl
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, ebx
jne 0x487c1f
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
cmp ebp, ebx
jne 0x487c48
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x58
ret 8
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x3c]
push ebx
push eax
push edi
push ecx
push ebx
push edx
push ebp
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
push ebp
push ebx
jne 0x487c89
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x58
ret 8
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x70]
push ebx
push 0x80
push 2
push ebx
push ebx
lea eax, [esi + 0x36]
push 0x40000000
push ecx
mov word [esp + 0x30], 0x4d42
mov dword [esp + 0x32], eax
mov word [esp + 0x36], bx
mov word [esp + 0x38], bx
mov dword [esp + 0x3a], 0x36
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x487cec
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x58
ret 8
lea edx, [esp + 0x10]
push ebx
push edx
lea eax, [esp + 0x1c]
push 0xe
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x44]
push 0x28
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret 8
Function at 0x4883d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov cl, 0x6e
mov al, 0x6f
push esi
mov esi, dword [0x657f52]
mov byte [esp + 9], cl
mov byte [esp + 0xf], cl
mov byte [esp + 0x19], cl
mov byte [esp + 0x1f], cl
mov ecx, dword [0x657f4e]
mov byte [esp + 0xb], al
mov byte [esp + 0xe], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x1e], al
lea eax, [esp + 4]
xor ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dl, 0x57
push eax
push ecx
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x74
mov byte [esp + 0xf], dl
mov byte [esp + 0x10], 0x69
mov byte [esp + 0x12], 0x64
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x18], 0x67
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0x1d], 0x65
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x69
mov byte [esp + 0x22], 0x64
mov byte [esp + 0x24], 0x77
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x28], 0x67
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0
call esi
mov ecx, dword [0x657f52]
lea edx, [esp + 0x14]
not eax
mov dword [0x657f4a], eax
mov eax, dword [0x657f4e]
xor eax, ecx
push edx
push eax
call esi
not eax
mov dword [0x657f46], eax
pop esi
add esp, 0x20
ret

Function at 0x4884b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov al, 0x74
mov cl, 0x65
mov byte [esp + 2], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
mov byte [esp + 0x17], al
lea eax, [esp]
mov byte [esp + 1], cl
mov byte [esp + 6], cl
mov byte [esp + 8], cl
mov byte [esp + 0x18], cl
mov ecx, dword [0x657f4e]
push eax
mov eax, dword [0x657f52]
xor ecx, eax
mov dl, 0x69
push ecx
mov byte [esp + 8], 0x53
mov byte [esp + 0xb], 0x4c
mov byte [esp + 0xc], 0x61
mov byte [esp + 0xd], 0x79
mov byte [esp + 0xf], 0x72
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x12], 0x57
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], 0x6e
mov byte [esp + 0x15], 0x64
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x17], 0x77
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x62
mov byte [esp + 0x1e], 0x75
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
not eax
mov dword [0x657f3a], eax
add esp, 0x1c
ret

Function at 0x488560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov ecx, dword [0x657f4e]
mov al, 0x64
mov byte [esp + 2], al
mov byte [esp + 9], al
lea eax, [esp]
mov byte [esp], 0x55
push eax
mov eax, dword [0x657f52]
xor ecx, eax
mov byte [esp + 5], 0x70
push ecx
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x74
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x57
mov byte [esp + 0xf], 0x69
mov byte [esp + 0x10], 0x6e
mov byte [esp + 0x12], 0x6f
mov byte [esp + 0x13], 0x77
mov byte [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
not eax
mov dword [0x657f2a], eax
add esp, 0x10
ret
Function at 0x488600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov cl, 0x57
xor al, al
push esi
mov esi, dword [0x657f52]
mov byte [esp + 0xb], cl
mov byte [esp + 0x17], cl
mov ecx, dword [0x657f4e]
mov byte [esp + 0xc], al
mov byte [esp + 0x18], al
lea eax, [esp + 4]
xor ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dl, 0x70
push eax
push ecx
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], 0x65
mov byte [esp + 0xe], 0x74
mov byte [esp + 0xf], 0x50
mov byte [esp + 0x10], 0x72
mov byte [esp + 0x11], 0x6f
mov byte [esp + 0x12], dl
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], dl
call esi
mov ecx, dword [0x657f52]
lea edx, [esp + 0x10]
not eax
mov dword [0x657f32], eax
mov eax, dword [0x657f4e]
xor eax, ecx
push edx
push eax
call esi
not eax
mov dword [0x657f2e], eax
pop esi
add esp, 0x18
ret
Function at 0x48aa90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x48aad1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret 8
mov ebp, dword [esp + 0x60]
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
jne 0x48aaec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push esi
mov ebx, eax
call edi
push 0xa
push esi
call edi
test ebp, ebp
je 0x48ab80
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x3c
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
jne 0x48ab42
push esi
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret 8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub edx, ebp
add ecx, edx
add edi, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jmp 0x48ab88
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub eax, edx
sub ecx, edi
mov ebp, eax
mov edi, ecx
push ebp
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x10]
push 0xcc0020
push edx
push eax
push esi
push ebp
push edi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x64]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x60]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
Function at 0x48d3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bab88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048cf80
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0048cff0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0048d2d0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048cfa0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x48d3b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bab88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048cf80
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0048cff0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0048d2d0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048cfa0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x48d6a0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4bac00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0048cf80
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.0048cf80
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x38], 1
call fcn.0048cff0
cmp dword [esp + 0x40], ebx
jne 0x48d728
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x34], bl
call fcn.0048cfa0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.0048cfa0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea eax, [esp + 0xc]
push eax
call fcn.0048d5e0
add esp, 4
lea ecx, [esp + 0xc]
mov esi, 1
call fcn.0045ee70
cmp eax, esi
jb 0x48d7ab
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push 1
push esi
push 0x659134
lea ecx, [esp + 0x1c]
call fcn.0048d3a0
cmp eax, 1
jne 0x48d79d
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0048d140
push ebx
lea ecx, [esp + 0x20]
call fcn.0046c680
push eax
call fcn.0049e007
add esp, 8
test eax, eax
jge 0x48d79d
push ebx
lea ecx, [esp + 0x20]
call fcn.004609e0
push eax
call edi
test eax, eax
je 0x48d7e0
lea ecx, [esp + 0xc]
inc esi
call fcn.0045ee70
cmp esi, eax
jbe 0x48d74d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0048cfa0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.0048cfa0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call fcn.0048cfa0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.0048cfa0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x48fd60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x48fd6b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x48fe6e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x63d784]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63d784]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63d784]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63d784]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63d784]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x63d784]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x63d784]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x63d784]
xor eax, edx
inc ecx
dec edi
jne 0x48fd86
pop edi
test esi, esi
je 0x48fe90
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x63d784]
xor eax, edx
inc ecx
dec esi
jne 0x48fe72
pop esi
pop ebx
not eax
ret

Function at 0x490820
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x490861
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x490856
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x490874
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret