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

Disassembly:
push 0xffffffffffffffff
push 0x4db603
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.004ce9f4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.004d408c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d55a8
test eax, eax
je 0x48030c
mov ecx, dword [esp + 0x3c]
call fcn.004d40b9
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 0x4802d0
push edi
mov ecx, esi
call fcn.004d1725
mov ecx, esi
call fcn.004804b0
cmp dword [esp + 0x38], 1
jne 0x480305
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.004d1860
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 0x4824f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x482523
push esi
call fcn.00490780
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x48251c
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 0x4825a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x482592
mov eax, dword [esi + 8]
test eax, eax
je 0x482547
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 0x48258e
cmp eax, 2
je 0x482592
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x48253a
cmp eax, 3
je 0x48256d
cmp eax, 1
jne 0x48253a
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 0x48253a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x48253a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004825d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4825b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004825d0
add esp, 4
pop esi
ret

Function at 0x482e50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x482e71
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x482e71
mov eax, dword [eax + 0x44]
test eax, eax
je 0x482e71
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x49df90
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x49e033
test eax, eax
jbe 0x49e033
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x49e033
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x49dfde
xor esi, esi
jmp 0x49dfe4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x49e00f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0049fa70
add esi, eax
push esi
mov ebx, esi
call fcn.0049fa70
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x49dff0
pop ebp
test edi, edi
pop edi
jne 0x49e033
test ebx, ebx
je 0x49e033
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004bd490
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x49e155
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49e26d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49e26d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cee46
mov esi, eax
test esi, esi
je 0x49e26d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49e26d
mov ecx, esi
call fcn.0049e0e0
cmp edi, eax
jge 0x49e26d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x49e1f3
mov dword [esp + 0x34], 1
jmp 0x49e24e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49e26d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0049c980
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4a7d30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x622894]
xor edx, edx
cmp eax, edx
jne 0x4a7d56
xor eax, eax
mov byte [eax + 0x622794], al
inc eax
cmp eax, 0x100
jl 0x4a7d3e
mov dword [0x622894], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x622794
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a7de7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a7dba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a7d88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a7e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a7eb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a7e9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ae860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dbdbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004af180
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5bdb54
call fcn.004cd15c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4ae8f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004cd15c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4ae8ec
push 0
mov ecx, eax
call fcn.004a5960
mov dword [esi + 0xc], eax
jmp 0x4ae8f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4ae8f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4cf7e9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cf821
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004cd876
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004cd84e
jmp 0x4cf82d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d0eda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d0f1c
call fcn.004d698e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d0f1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d0f13
xor eax, eax
jmp 0x4d0f24
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d0f2a
pop edi
pop esi
pop ebx
ret 4
Function at 0x4d6ebe
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d6eec
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d6f0a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d6e24
jmp 0x4d6f0a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d6f0a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d6e24
test edi, edi
mov eax, edi
jne 0x4d6ef4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x412a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50c8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x5416a0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.004826c5
push eax
lea ecx, [esp + 0x30]
call fcn.0047f293
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.004826c5
mov ecx, eax
call fcn.0047ef46
cmp dword [esi + 0x130], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x412b31
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x12c]
call fcn.0047f200
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x13c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.0047f4c7
test edi, edi
je 0x412aeb
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x130]
push edi
push eax
call fcn.0047f54c
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x130]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x12c]
test edx, edx
je 0x412b4e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0047f2e7
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x418610
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50c8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5416a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.0047f293
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.0047ead2
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.0047f59f
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x418698
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.0047eb03
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047f2e7
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x50ce13
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5416a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.0047ed32
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41abeb
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0047f200
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0047f4c7
test ebp, ebp
je 0x41abc9
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.0047f54c
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0047ee46
jmp 0x41abfd
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x423cb0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x423d05
mov eax, dword [esi + 0x38]
test eax, eax
je 0x423cce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esi + 0x68], ecx
mov ecx, 1
mov dword [esi + 0x64], eax
mov eax, esi
mov byte [esi + 0x2c], cl
mov dword [esi + 0x34], ecx
call fcn.00423d80
push 0
push 0
push esi
push 0x423b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
pop esi
ret 8
Function at 0x42ff30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50ca28
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5416a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push 0x378
lea esi, [edi + 8]
push 0
mov dword [esp + 0x1c], 0
push esi
mov dword [edi], vtable.CVideoDecoder.0
call fcn.0049e490
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0xd
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xf4], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], edx
mov eax, dword [0x55a1c4]
add esp, 0xc
test eax, eax
je 0x42ffb5
cmp dword [eax + 0x1c], 0
je 0x42ffae
cmp dword [eax + 8], ecx
je 0x42ffb7
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x42ffa3
xor eax, eax
push eax
call fcn.00431530
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x430020
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x2048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.0049e490
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x430067
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x2030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x2030
jne 0x430063
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x4300a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 8], 0
lea ebx, [esi + 0x2038]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push ebx
push ecx
call ebp
cmp dword [esp + 8], 0xe
jb 0x43012c
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x43012c
test byte [ebx], 7
jbe 0x43011e
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
test byte [ebx], 0x18
jne 0x4300b7
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x430140
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea ebx, [esi + 0x2038]
push ebx
push ecx
mov dword [esp + 0x1c], 0
call ebp
cmp dword [esp + 8], 0xe
jae 0x430173
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x43016d
mov bl, byte [ebx]
test bl, 0x18
jne 0x4301cb
test bl, 7
jbe 0x4301cb
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x430580
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x3048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.0049e490
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x4305c7
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x3030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x3030
jne 0x4305c3
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x430600
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [esp + 8], 0
lea esi, [edi + 0x3038]
mov ecx, dword [edi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push esi
push ecx
call ebp
cmp dword [esp + 8], 0xe
jne 0x430657
mov eax, dword [esi]
mov ecx, dword [edi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push ebx
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi]
jne 0x430657
test byte [edi + 0x3040], 0x18
jne 0x430617
pop esi
mov eax, 1
pop ebp
pop ecx
ret
pop esi
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x430660
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea esi, [edi + 0x3038]
push esi
push ecx
mov dword [esp + 0x1c], 0
call ebx
cmp dword [esp + 8], 0xe
je 0x430693
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call ebx
mov ecx, dword [esp + 8]
xor eax, eax
cmp ecx, dword [esi]
pop esi
sete al
pop ebx
pop ecx
ret