joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6159f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0x7fffffff
mov dword [esi], 0x628570
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
mov byte [esp + 0x1c], 1
call edx
mov ebp, eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00407f60
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.005f7b00
mov dword [esi + 0x10], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
add esp, 0xc
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
push 1
push eax
push ecx
push ebp
mov dword [esi + 0x24], edx
call fcn.005d8fb0
mov ecx, dword [esi + 0x30]
add esp, 0x10
cmp ecx, ebx
mov edi, eax
je 0x40a35d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esp + 0x28]
mov dword [esi + 0x30], edi
movzx ecx, word [ebp + 0xc]
mov dword [esi + 0x38], ecx
movzx eax, word [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
pop edi
mov byte [esi + 0x34], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x40a2ba
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6159f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0x7fffffff
mov dword [esi], 0x628570
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
mov byte [esp + 0x1c], 1
call edx
mov ebp, eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00407f60
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.005f7b00
mov dword [esi + 0x10], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
add esp, 0xc
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
push 1
push eax
push ecx
push ebp
mov dword [esi + 0x24], edx
call fcn.005d8fb0
mov ecx, dword [esi + 0x30]
add esp, 0x10
cmp ecx, ebx
mov edi, eax
je 0x40a35d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esp + 0x28]
mov dword [esi + 0x30], edi
movzx ecx, word [ebp + 0xc]
mov dword [esi + 0x38], ecx
movzx eax, word [edx + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
pop edi
mov byte [esi + 0x34], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x40ae46
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x615a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x628718
mov eax, dword [esi + 0x70]
test eax, eax
mov dword [esp + 0x10], 0
je 0x40ae6b
push eax
call fcn.005f7a6f
add esp, 4
lea ecx, [esi + 0x30]
call fcn.0044baf0
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x14], 0xffffffff
mov dword [esi], 0x627f40
call fcn.00461f70
mov ecx, dword [esp + 0xc]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x416cc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x6b2d6d], 0
je 0x416db6
push ebx
push edi
push str.kernel32
mov byte [0x6b2d6d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x62a678
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x40
push 5
push edi
call ebx
test eax, eax
je 0x416db4
push ebp
mov eax, 5
mov ecx, 0x62a5e8
mov edx, edi
push esi
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x416d30
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x416d18
test eax, eax
je 0x416d8d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x416d7f
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x416d8d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x416d7f
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x416d8d
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x416d7f
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x416d8d
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x416d8d
test esi, esi
mov eax, 1
jg 0x416d8f
or eax, 0xffffffff
jmp 0x416d8f
xor eax, eax
test eax, eax
pop esi
pop ebp
jne 0x416da5
mov edx, dword [0x6b2d68]
mov dword [edi], edx
mov al, byte [0x6b2d6c]
mov byte [edi + 4], al
mov edx, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
push edx
push 5
push edi
call ebx
pop edi
pop ebx
pop ecx
ret

Function at 0x4173f0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov dword [edi], 0
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41742c
pop edi
xor al, al
pop ebx
ret
push ebp
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, eax
cmp esi, 0xffffffff
je 0x41749e
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
mov dword [edi], eax
je 0x4174b4
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41749e
cmp dword [esp + 0x14], esi
jne 0x41749e
mov edx, dword [edi]
push edx
push edi
call fcn.00417240
add esp, 8
test al, al
je 0x417492
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
ret
mov eax, dword [edi]
push 0x8000
push 0
push eax
call ebp
mov eax, dword [edi]
test eax, eax
je 0x4174b4
push 0x8000
push 0
push eax
call ebp
mov dword [edi], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
xor al, al
pop ebx
ret
Function at 0x417e10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
add eax, eax
add eax, eax
call fcn.005f9b70
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
mov dword [ebp - 8], esp
and esi, 0xfffffffb
push eax
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x2c]
jb 0x417f1e
cmp esi, dword [ebp - 0x28]
ja 0x417f1e
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
jle 0x417e99
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 4], eax
jmp 0x417e73
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 4
add eax, esi
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x417e96
add edi, 1
add esi, 4
cmp edi, dword [ebp + 0x10]
jl 0x417e70
mov dword [ebp - 4], edi
test edi, edi
mov dword [ebp + 0x10], 0
jle 0x417f1e
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], edi
mov dword [ebp + 8], eax
jmp 0x417eba
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 8]
add eax, edi
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.__4s___08x:
push ebx
call fcn.00417c50
add esp, 0x10
xor esi, esi
mov ecx, dword [ebp + 0x10]
lea edx, [esi + ecx]
cmp edx, dword [ebp - 4]
jge 0x417ef8
mov eax, dword [edi]
push eax
push str.__08x
push ebx
call fcn.00417c50
add esi, 1
add esp, 0xc
add edi, 4
cmp esi, 8
jl 0x417ed1
mov edx, dword [ebx]
mov eax, dword [edx]
push 0x62aa68
mov ecx, ebx
call eax
mov eax, dword [ebp + 0x10]
add dword [ebp - 8], 0x20
add eax, 8
cmp eax, dword [ebp - 4]
mov dword [ebp + 0xc], 0x62aa66
mov dword [ebp + 0x10], eax
jl 0x417eb4
lea esp, [ebp - 0x3c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4182e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x6b2d6d], 0
jne 0x418385
test byte [0x6b2cd4], 1
mov byte [0x6b2d6d], 1
jne 0x418319
or dword [0x6b2cd4], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
shr eax, 0x1f
not al
and al, 1
mov byte [0x6b2cd0], al
jmp 0x41831e
mov al, byte [0x6b2cd0]
test al, al
je 0x418385
push esi
push edi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x62a678
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x40
push 5
push esi
call edi
test eax, eax
je 0x418383
mov ecx, dword [esi]
mov eax, dword [0x62a5e8]
mov dword [0x6b2d68], ecx
mov dl, byte [esi + 4]
mov byte [0x6b2d6c], dl
mov dword [esi], eax
mov cl, byte [0x62a5ec]
lea edx, [esp + 8]
push edx
mov byte [esi + 4], cl
mov eax, dword [esp + 0xc]
push eax
push 5
push esi
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x4184b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x418500
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esi + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4184dd
mov byte [esi + 0x10c], 1
mov edx, dword [esi + 4]
push edx
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4184f9
mov byte [esi + 0x10c], 1
mov dword [esi + 4], 0xffffffff
pop esi
pop ecx
ret

Function at 0x418a40
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov bl, byte [edi]
add edi, 1
test bl, bl
mov esi, ecx
je 0x418af2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, edi
cmp bl, 0xa
jne 0x418aa5
mov ecx, dword [esi + 8]
cmp ecx, 0x100
jb 0x418a99
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x418a92
push 0
lea edx, [esp + 0x1c]
push edx
push ecx
lea ecx, [esi + 0xc]
push ecx
push eax
call ebp
test eax, eax
jne 0x418a92
mov byte [esi + 0x10c], 1
mov dword [esi + 8], 0
mov edx, dword [esi + 8]
mov byte [edx + esi + 0xc], 0xd
add dword [esi + 8], 1
mov ecx, dword [esi + 8]
cmp ecx, 0x100
jb 0x418ad9
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x418ad2
push 0
lea edx, [esp + 0x14]
push edx
push ecx
lea ecx, [esi + 0xc]
push ecx
push eax
call ebp
test eax, eax
jne 0x418ad2
mov byte [esi + 0x10c], 1
mov dword [esi + 8], 0
mov edx, dword [esi + 8]
mov byte [edx + esi + 0xc], bl
add dword [esi + 8], 1
mov bl, byte [edi]
add edi, 1
test bl, bl
jne 0x418a60
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x419970
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push ebp
push 0x80000000
push eax
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4199a8
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
mov edi, eax
push 0x1000
lea ecx, [edi + 0x10000]
push ecx
push ebp
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, ebp
mov dword [esi + 0x1c], eax
je 0x419b08
push ebp
lea edx, [esp + 0x14]
push edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419b08
cmp dword [esp + 0x10], edi
jne 0x419b08
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esi + 0x1c]
cmp byte [ebx], 0x5b
jne 0x419b0f
cmp byte [ebx + 3], 0x7c
jne 0x419b0f
mov eax, 0x21
mov ecx, str.__VirtualDub_disasm_module__IA32:
lea edx, [ebx + 6]
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x419a3a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x419a22
test eax, eax
je 0x419a9f
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x419a89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x419a9b
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x419a89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x419a9b
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x419a89
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x419a9b
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x419a9b
test edi, edi
mov edi, dword [esp + 0x18]
mov eax, 1
jg 0x419aa1
or eax, 0xffffffff
jmp 0x419aa1
mov edi, dword [esp + 0x18]
xor eax, eax
test eax, eax
jne 0x419b0f
movsx eax, byte [ebx + 4]
movsx edx, byte [ebx + 5]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 - 0x210]
cmp eax, 2
jg 0x419b0f
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
lea eax, [ebx + edi]
add ecx, eax
mov dword [esi + 0x28], ecx
add ecx, 0x80
sub edi, edx
mov dword [esi + 0x20], ecx
lea ecx, [edi - 0x48]
test ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], 0
je 0x419af2
lea ecx, [ebx + edx + 0x48]
mov dword [esi + 0x2c], ecx
push edx
add ebx, 0x48
push ebx
push eax
call fcn.004195e0
add esp, 0xc
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x41f0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6169a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push str.Dub_I_O
mov dword [esp + 0xc], esi
call fcn.0051a0b9
mov eax, dword [esp + 0x1c]
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esi], 0x62bedc
mov dword [esi + 0x14], eax
call fcn.0051c1b4
mov cl, byte [esp + 0x40]
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 2
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov dword [esi + 0x58], ebx
call fcn.00428880
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x114], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x118], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x11c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x120], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x124], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x128], ecx
mov dword [esi + 0x12c], edx
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], ebx
lea ecx, [esi + 0x138]
mov byte [esp + 0x14], 3
call fcn.0051a307
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x13c], str.starting_up
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4221a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x616c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xdc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push ebp
push esi
push edi
call edx
mov ecx, dword [ebx + 0xdc]
mov esi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push esi
mov edi, eax
mov dword [esp + 0x14], esi
call fcn.005f79ac
push esi
mov ebp, eax
push edi
push ebp
mov dword [esp + 0x24], ebp
call fcn.005f7b00
add esp, 0x10
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0xec]
push eax
add ecx, 0x30
mov dword [esp + 0x5c], 0
call fcn.004092b0
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0xdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
push ebp
call eax
mov ecx, dword [ebx + 0xdc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
mov ecx, 0xe
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
imul ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xdc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x18]
push eax
call edx
push ebp
call fcn.005f7a6f
mov ecx, dword [esp + 0x54]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x423230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x616d50
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
cmp dword [esi + 0x6c], 0
je 0x42326d
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xd8]
push eax
push ebx
push ebp
call fcn.00426440
cmp dword [esi + 0x80], 0
mov eax, dword [esi + 0x24]
push edi
je 0x4232c8
mov edi, dword [eax]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [ebx], str.writing_video_frame_to_disk
test ebp, ebp
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x28], 0
je 0x4232b7
mov eax, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
add eax, 0xc
push eax
call edx
mov dword [ebx], edi
mov ebx, dword [esp + 0x34]
jmp 0x423304
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
call edx
mov dword [ebx], edi
mov ebx, dword [esp + 0x34]
jmp 0x423304
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [edi], str.writing_video_frame_to_disk
mov al, byte [esp + 0x38]
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
neg al
push 1
push ebx
push ebp
mov dword [esp + 0x34], 1
sbb eax, eax
and eax, 0x10
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x18]
add dword [eax], ecx
mov dword [esp + 0x28], 0xffffffff
pop edi
adc dword [eax + 4], 0
cmp byte [esp + 0x38], 0
je 0x4233b1
mov ecx, dword [0x6b7eec]
test ecx, ecx
je 0x423340
mov edx, dword [ecx]
mov eax, dword [edx]
push 0
push 0x6b2ed8
push str.V_Lock3
call eax
mov ecx, dword [esi + 0xc8]
call fcn.00428bf0
jmp 0x423350
mov cl, byte [esi + 0x1e]
neg cl
sbb ecx, ecx
and ecx, 0x1f5
add ecx, 0xffffffff
push ecx
mov ecx, dword [esi + 0xd8]
call fcn.00425f30
test al, al
jne 0x42337a
mov edx, dword [esi + 8]
or edx, dword [esi + 4]
test dl, dl
jns 0x423350
mov ecx, dword [esi + 0xc8]
call fcn.00428c40
mov ecx, dword [0x6b7eec]
test ecx, ecx
je 0x423396
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x3c]
movzx edx, byte [esi + 0x1e]
test ebx, ebx
setne al
push eax
push ecx
mov ecx, dword [esi + 0xd8]
push edx
call fcn.00426570
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x63], 0
je 0x4233dc
cmp byte [esi + 0x1e], 0
je 0x4233dc
mov ecx, dword [esi + 0xd8]
call fcn.00425f00
cdq
sub eax, edx
sar eax, 1
js 0x4233dc
test eax, eax
jle 0x4233dc
mov dword [esi + 0xd4], eax
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 0x18]
mov dword [ecx + 0x7c], eax
mov eax, dword [esi + 0x18]
add dword [eax + 0x78], 1
mov ecx, dword [esi + 0xd8]
call fcn.00425f20
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42340d
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
push ebx
call edx
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14
Function at 0x4244b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x616efd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esi], 0x62c750
mov dword [esi + 4], 0x7f
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [esp + 8], esi
mov dword [esi + 8], ebx
call fcn.0051a307
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1f], 1
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov byte [esi + 0x60], bl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov byte [esi + 0x78], bl
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov eax, 0x1f
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 6
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], CreateStatusWindowA
call fcn.0051e425
lea ecx, [esi + 0xf8]
mov byte [esp + 0x14], 7
call fcn.0051e425
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x110]
call fcn.0051e425
lea ecx, [esi + 0x128]
mov byte [esp + 0x14], 9
call fcn.0051e425
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x435fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x617ad1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], 1
mov dword [esi + 4], eax
mov ecx, 0x1f
mov dword [esp + 4], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 1
call fcn.0051a307
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 2
call fcn.0051a307
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret