joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6cb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1e88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ea160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x778]
mov dword [ebp - 0x14], eax
lea ebx, [eax + 0x1c]
lock inc dword [ebx]
add eax, 4
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x4a6dcb
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.004a6860
test eax, eax
je 0x4a6d70
push dword [ebp + 8]
push dword [esi + 0x5c]
call dword [sym.imp.WINMM.dll_midiOutShortMsg]
mov edi, eax
test edi, edi
je 0x4a6dcb
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.FCString.0
call fcn.00451b70
push str.short_message_error:_error__0x
push 0x100
lea ecx, [ebp - 0x20]
call fcn.00450e40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
push 0x30
push 4
push 0x10
push edi
call fcn.00450750
push str.code:_0x
lea ecx, [ebp - 0x20]
call fcn.00450850
jmp 0x4a6d95
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.FCString.0
call fcn.00451b70
push str.scan_error_:_code__0x
push 0x100
lea ecx, [ebp - 0x20]
call fcn.00450e40
mov byte [ebp - 4], 2
push 0x30
push 4
push 0x10
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.00450750
push 0x4d7efc
lea ecx, [ebp - 0x20]
call fcn.00450850
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00450480
mov dword [ebp - 4], 0xffffffff
lock dec dword [ebx]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a70c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1f01
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ea160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.FCCd.0
mov dword [edi + 0xc], vtable.FCThread.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x20], vtable.FCEvent.0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x44]
mov dword [edi + 0x44], vtable.FCString.0
call fcn.00451b70
push 0
push 0x100
lea ecx, [edi + 0x44]
call fcn.00450e40
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x20]
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0x40], 0
mov eax, dword [eax + 4]
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
cmp eax, method.FCEvent.virtual_4
jne 0x4a7198
cmp dword [edi + 0x24], 0
jne 0x4a71a1
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x24], eax
jmp 0x4a71a1
push 1
push 1
lea ecx, [edi + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a74a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4a7501
lea ecx, [ebp + 0xc]
push ecx
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a7501
push esi
push dword [ebp + 0xc]
call fcn.0044f5a2
mov esi, eax
add esp, 4
test esi, esi
je 0x4a74f9
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4a9ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 2
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edi, 8
jle 0x4a9b22
push dword [ebp + 0x10]
push esi
push edi
call fcn.004a95f0
add esp, 0xc
mov ecx, 8
mov dword [ebp - 4], ecx
cmp edi, 0x20
jle 0x4a9b22
mov dword [ebp + 8], 0x20
nop dword [eax]
push dword [ebp + 0x10]
push esi
push ecx
push edi
call fcn.004a9e30
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ecx*4]
mov dword [ebp + 8], eax
cmp eax, edi
jl 0x4a9b00
mov dword [ebp - 4], ecx
lea eax, [ecx*4]
cmp eax, edi
jne 0x4a9c21
xor edx, edx
test ecx, ecx
jle 0x4a9c88
lea eax, [ecx + ecx*2]
lea edi, [esi + eax*8]
lea eax, [esi + ecx*8]
mov dword [ebp + 8], eax
mov eax, ecx
shl eax, 4
add eax, esi
nop
mov ecx, dword [ebp + 8]
movsd xmm3, qword [esi + edx*8]
movsd xmm6, qword [eax]
movsd xmm5, qword [esi + edx*8 + 8]
movsd xmm7, qword [ecx]
movsd xmm2, qword [ecx + 8]
addsd xmm7, xmm3
subsd xmm3, qword [ecx]
xorps xmm5, xmmword [0x4d0c70]
movsd xmm4, qword [eax + 8]
subsd xmm5, xmm2
subsd xmm2, qword [esi + edx*8 + 8]
movsd qword [ebp - 0xc], xmm3
movaps xmm3, xmm6
addsd xmm3, qword [edi]
subsd xmm6, qword [edi]
movsd qword [ebp - 0x14], xmm2
movaps xmm2, xmm4
addsd xmm2, qword [edi + 8]
subsd xmm4, qword [edi + 8]
movaps xmm0, xmm3
addsd xmm0, xmm7
subsd xmm7, xmm3
movsd qword [esi + edx*8], xmm0
movaps xmm0, xmm5
subsd xmm0, xmm2
addsd xmm2, xmm5
movsd qword [esi + edx*8 + 8], xmm0
add edx, 2
movsd xmm0, qword [ebp - 0xc]
subsd xmm0, xmm4
movsd qword [eax], xmm7
addsd xmm4, qword [ebp - 0xc]
movsd qword [eax + 8], xmm2
add eax, 0x10
movsd qword [ecx], xmm0
movsd xmm0, qword [ebp - 0x14]
subsd xmm0, xmm6
addsd xmm6, qword [ebp - 0x14]
movsd qword [ecx + 8], xmm0
add ecx, 0x10
movsd qword [edi], xmm4
movsd qword [edi + 8], xmm6
add edi, 0x10
mov dword [ebp + 8], ecx
cmp edx, dword [ebp - 4]
jl 0x4a9b50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
test ecx, ecx
jle 0x4a9c88
movsd xmm5, qword [0x4d0c70]
lea edx, [esi + 8]
lea edx, [edx + ecx*8]
nop word [eax + eax]
movsd xmm4, qword [esi + eax*8]
movsd xmm3, qword [edx - 8]
movaps xmm0, xmm4
movsd xmm1, qword [esi + eax*8 + 8]
addsd xmm0, xmm3
movsd xmm2, qword [edx]
subsd xmm4, xmm3
subsd xmm2, xmm1
xorps xmm1, xmm5
movsd qword [esi + eax*8], xmm0
subsd xmm1, qword [edx]
movsd qword [esi + eax*8 + 8], xmm1
add eax, 2
movsd qword [edx - 8], xmm4
movsd qword [edx], xmm2
add edx, 0x10
cmp eax, ecx
jl 0x4a9c40
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ab170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ea160]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x4ab1dc
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4ab1dc
push edi
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb edi, eax
test edi, edi
je 0x4ab1db
cmp dword [ecx + 4], 0
jne 0x4ab1db
movaps xmm0, xmmword [0x4d2210]
movups xmmword [ebp - 0x24], xmm0
push esi
movaps xmm0, xmmword [0x4d2200]
xor esi, esi
movups xmmword [ebp - 0x14], xmm0
nop
mov eax, dword [edx]
lea edx, [edx + 4]
mov ecx, esi
inc esi
and ecx, 7
mov ecx, dword [ebp + ecx*4 - 0x24]
rol eax, cl
xor eax, ebx
mov dword [edx - 4], eax
cmp esi, edi
jb 0x4ab1c0
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044f18f
mov esp, ebp
pop ebp
ret 8
Function at 0x4adbd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor eax, eax
mov ebx, ecx
cmp dword [ebp + 0x18], 3
mov ecx, 4
push esi
push edi
cmove eax, ecx
mov ecx, ebx
push 8
mov dword [ebp - 8], eax
call fcn.004b0dc0
mov esi, dword [ebp + 8]
mov ecx, ebx
mov edi, dword [ebp + 0xc]
mov dword [esi], eax
cmp edi, 1
jne 0x4adc0b
call fcn.004b0d80
jmp 0x4adc12
push 2
call fcn.004b0e40
mov dword [esi + 4], eax
mov dword [ebp + 8], 0
test edi, edi
jle 0x4adde8
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esi, 0x4c
mov dword [ebp + 0x18], esi
mov dword [ebp - 4], edi
push 0xc
mov ecx, ebx
call fcn.004b0dc0
push 9
mov ecx, ebx
mov dword [esi - 0x40], eax
call fcn.004b0e40
mov dword [esi - 0x3c], eax
cmp eax, 0x120
jbe 0x4adc60
push 0x4d2c58
call edi
mov dword [esi - 0x3c], 0x120
push 8
mov ecx, ebx
call fcn.004b0e40
mov ecx, dword [ebp - 8]
sub ecx, eax
cmp dword [ebp + 0x10], 0
lea eax, [ebx + 0xed18]
lea eax, [eax + ecx*4]
mov dword [esi + 0x20], eax
je 0x4adc86
add eax, 8
mov dword [esi + 0x20], eax
push 9
mov ecx, ebx
call fcn.004b0dc0
mov ecx, ebx
mov dword [esi - 0x38], eax
lea edi, [esi - 0x2c]
call fcn.004b0d80
test eax, eax
je 0x4add39
push 2
mov ecx, ebx
call fcn.004b0e40
mov ecx, ebx
mov dword [esi - 0x34], eax
call fcn.004b0d80
push 5
mov ecx, ebx
mov dword [esi - 0x30], eax
call fcn.004b0e40
push 5
mov ecx, ebx
mov dword [edi], eax
call fcn.004b0e40
mov dword [esi - 0x28], eax
add edi, 0x40
mov dword [esi - 0x24], 0
mov dword [ebp + 0x18], 3
push 3
mov ecx, ebx
call fcn.004b0e40
mov ecx, dword [esi + 0x20]
lea edi, [edi + 4]
shl eax, 5
add ecx, eax
sub dword [ebp + 0x18], 1
mov dword [edi - 4], ecx
jne 0x4adce2
mov eax, dword [esi - 0x34]
test eax, eax
je 0x4addd8
cmp eax, 2
jne 0x4add1f
mov dword [esi], 0x12
mov eax, 0x120
jmp 0x4adda4
cmp dword [ebp + 0x14], 8
mov eax, 0x1b
mov ecx, 0x36
cmove eax, ecx
mov dword [esi], eax
mov eax, 0x120
jmp 0x4adda4
mov esi, 3
nop
push 5
mov ecx, ebx
call fcn.004b0e40
mov dword [edi], eax
lea edi, [edi + 4]
sub esi, 1
jne 0x4add40
mov esi, dword [ebp + 0x18]
mov ecx, ebx
push 4
call fcn.004b0e40
push 3
mov ecx, ebx
mov edi, eax
call fcn.004b0e40
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + ecx*8]
shl edx, 3
add eax, edx
add eax, edi
lea ecx, [edx + edi]
mov cx, word [ecx*2 + 0x4eba92]
sar cx, 1
movsx ecx, cx
mov dword [esi], ecx
movzx eax, word [eax*2 + 0x4eba94]
sar ax, 1
mov dword [esi - 0x34], 0
mov dword [esi - 0x30], 0
cwde
mov ecx, ebx
mov dword [esi + 4], eax
call fcn.004b0d80
mov ecx, ebx
mov dword [esi + 0xc], eax
call fcn.004b0d80
mov edi, dword [ebp + 8]
inc edi
mov dword [esi + 0x10], eax
add esi, 0xd0
mov dword [ebp + 8], edi
mov dword [ebp + 0x18], esi
cmp edi, dword [ebp + 0xc]
jge 0x4adde8
mov edi, dword [ebp - 4]
jmp 0x4adc33
push str.Blocktype__0_and_window_switching__1_not_allowed._n
call dword [ebp - 4]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4ae7a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4ae7c7
push str.Out_of_memory__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0x4ae7ed
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
push edi
push dword [ebp + 0xc]
mov dword [esi + 4], edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
cmp dword [eax + 4], 0
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
jne 0x4ae829
add dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebp
ret 0xc
mov dword [ecx + 0xc], esi
add dword [eax + 8], edi
mov dword [eax], esi
mov eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4b0680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x18], 0x1200
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebx + 0x59e0], esi
jge 0x4b06ad
push str.To_less_out_space_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b06c2
push dword [ebp + 0x10]
push eax
push esi
call fcn.004ae7a0
test eax, eax
je 0x4b06a4
cmp dword [esi + 0xc], 0
jne 0x4b06ed
cmp dword [esi + 8], 4
jl 0x4b06f5
push esi
mov ecx, ebx
call fcn.004b1e50
push dword [esi + 0x3664]
lea eax, [esi + 0x14]
mov ecx, ebx
push eax
call fcn.004b07d0
mov eax, dword [esi + 0x58]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x58]
cmp eax, dword [esi + 8]
jle 0x4b0700
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov eax, dword [esi + 0x3668]
push edi
mov dword [ebp + 8], 0
lea eax, [eax + eax*8]
shl eax, 8
add eax, 0x25c
add eax, esi
mov dword [ebx + 0x59e8], eax
mov eax, dword [esi + 0x3668]
dec eax
and eax, 1
mov dword [esi + 0x3668], eax
mov dword [ebx + 0x59e4], 0
mov edi, dword [esi + 0xc]
test edi, edi
jle 0x4b0793
mov ecx, dword [esi + 4]
sub edi, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx + 8]
cmp edi, eax
cmovg edi, eax
mov eax, dword [ecx]
add eax, dword [ecx + 8]
push edi
push eax
mov eax, dword [ebx + 0x59e8]
add eax, dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 4]
add esp, 0xc
add dword [ebp + 8], edi
add dword [eax + 8], edi
mov ecx, dword [esi + 4]
sub dword [esi + 8], edi
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 4]
jne 0x4b078b
push esi
mov ecx, ebx
call fcn.004b1ea0
mov edi, dword [esi + 0xc]
cmp dword [ebp + 8], edi
jl 0x4b0742
mov edi, dword [ebp + 0x1c]
mov dword [edi], 0
cmp dword [esi + 0x30], 0
je 0x4b07ab
push 0x10
mov ecx, ebx
call fcn.004b0dc0
push edi
push dword [ebp + 0x14]
lea eax, [esi + 0x14]
mov ecx, ebx
push eax
call fcn.004b0960
mov eax, dword [esi + 0xc]
pop edi
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0xc], 0
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x4b07d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, 0x100000
je 0x4b07f2
mov eax, esi
xor ecx, ecx
shr eax, 0x13
not eax
and eax, 1
jmp 0x4b07f9
mov ecx, 1
mov eax, ecx
mov dword [edi + 0xc], eax
mov edx, 4
mov dword [edi + 0x10], ecx
mov eax, esi
shr eax, 0x11
mov ecx, esi
shr ecx, 0xa
and eax, 3
sub edx, eax
and ecx, 3
mov dword [edi + 0x18], edx
cmp ecx, 3
jne 0x4b0831
push str.Stream_error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [edi + 0x10]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4b0842
mov eax, 6
jmp 0x4b0848
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*2]
add eax, ecx
mov ebx, esi
mov dword [edi + 0x24], eax
mov ecx, esi
mov eax, esi
shr ebx, 0xc
shr eax, 0x10
not eax
and eax, 1
mov dword [edi + 0x1c], eax
mov eax, ebx
and eax, 0xf
and ebx, 0xf
cmp dword [ebp + 0xc], 0
cmovne ebx, eax
mov eax, esi
shr eax, 9
and eax, 1
shr ecx, 6
mov dword [ebp + 0xc], eax
and ecx, 3
mov dword [edi + 0x28], eax
mov eax, esi
shr eax, 8
and eax, 1
mov dword [edi + 0x20], ebx
mov dword [edi + 0x2c], eax
mov eax, esi
shr eax, 4
and eax, 3
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], eax
mov eax, esi
shr eax, 3
and eax, 1
mov dword [edi + 0x38], eax
mov eax, esi
shr eax, 2
and esi, 3
and eax, 1
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], eax
xor eax, eax
cmp ecx, 3
setne al
inc eax
mov dword [edi], eax
test ebx, ebx
jne 0x4b08df
push str.Free_format_not_supported._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
sub edx, 1
je 0x4b093e
sub edx, 1
je 0x4b093e
sub edx, 1
je 0x4b0902
push str.Sorry__unknown_layer_type._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x24]
lea eax, [ecx + ecx*2]
mov esi, dword [edx*4 + 0x4d2780]
shl eax, 4
add eax, ebx
shl esi, cl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffffc
imul eax, dword [eax*4 + 0x4d2680], 0x23280
cdq
idiv esi
add eax, ecx
mov dword [edi + 0x44], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 8
push str.Not_supported__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
Function at 0x4b1f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 0x59e0]
cmp dword [ecx + 0x10], 0
jge 0x4b1f7c
test edx, edx
jle 0x4b1f7c
push str.Cant_step_back_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
pop esi
pop ebp
ret 4
mov eax, dword [ecx + 0x3668]
push ebx
mov ebx, dword [esi + 0x59e8]
push edi
lea edi, [eax + eax*8]
sub ebx, edx
shl edi, 8
add edi, ecx
mov dword [esi + 0x59e8], ebx
test edx, edx
je 0x4b1fb5
mov eax, dword [ecx + 0x10]
sub eax, edx
add eax, 0x25c
push edx
add eax, edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
pop edi
pop ebx
mov dword [esi + 0x59e4], 0
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x4b26a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2468
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ea160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.004ab070
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.FCWaveDecoder_VORBIS.0
call fcn.004a2ac0
mov byte [ebp - 4], 1
lea ebx, [edi + 0x5c]
mov dword [ebp - 0x18], ebx
push 8
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.00430fe0
mov esi, eax
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004a2e30
mov dword [ebx], esi
mov dword [esi], ebx
mov byte [ebp - 4], 3
add edi, 0x70
mov dword [ebp - 0x18], edi
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.00430fe0
mov esi, eax
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004a2e30
mov dword [edi], esi
add esp, 0x18
mov dword [esi], edi
mov byte [ebp - 4], 5
mov esi, 4
mov edi, dword [ebp - 0x14]
mov word [edi + 0x84], 0
nop dword [eax + eax]
push 0xc
call fcn.0044f151
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4b27ae
mov ecx, eax
call fcn.004b27f0
jmp 0x4b27b0
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, ebx
mov dword [ebp - 0x10], eax
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004b2520
sub esi, 1
jne 0x4b2790
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b2920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9668
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ea160]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
lea esi, [edi + 4]
push esi
call fcn.00450260
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x14]
mov eax, dword [edi]
push esi
mov dword [ebx + 0x10], eax
call fcn.00450510
mov eax, dword [edi + 0x10]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x14]
call fcn.004a2ca0
push 0x20000
lea ecx, [ebx + 0x30]
call fcn.004a2de0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00450480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b4630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
xor dl, dl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push ebx
mov eax, dword [eax + 0x6c]
movsx ebx, byte [ecx + 2]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
movsx eax, word [ecx]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebx*4 + 0x4ec0f0]
add ecx, ecx
mov byte [ebp - 1], dl
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
test ecx, ecx
jle 0x4b4783
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x10], ecx
nop
test dl, dl
je 0x4b4688
mov edx, ecx
jmp 0x4b4697
movsx ecx, byte [edi]
inc edi
mov edx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
sar edx, 4
xor byte [ebp - 1], 1
mov edi, edx
and edi, 0xf
add ebx, dword [edi*4 + 0x4ec0b0]
jns 0x4b46ad
xor ebx, ebx
jmp 0x4b46b8
cmp ebx, 0x58
mov ecx, 0x58
cmovg ebx, ecx
mov ecx, esi
and edi, 8
sar ecx, 3
test dl, 4
lea esi, [ecx + esi]
cmove esi, ecx
test dl, 2
je 0x4b46d5
mov ecx, dword [ebp + 0xc]
sar ecx, 1
add esi, ecx
test dl, 1
je 0x4b46e2
mov ecx, dword [ebp + 0xc]
sar ecx, 2
add esi, ecx
lea ecx, [eax + esi]
sub eax, esi
test edi, edi
cmove eax, ecx
cmp eax, 0x7fff
jle 0x4b46fa
mov eax, 0x7fff
jmp 0x4b4707
cmp eax, 0xffff8000
mov ecx, 0xffff8000
cmovl eax, ecx
cmp byte [ebp + 0x18], 0
mov edi, dword [ebp - 0xc]
mov esi, dword [ebx*4 + 0x4ec0f0]
movzx ecx, ax
mov dword [ebp + 0xc], esi
lea edx, [edi + 2]
movzx esi, cx
mov dword [ebp - 0x18], edx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], esi
je 0x4b4738
mov word [edi], cx
mov ecx, esi
mov edi, edx
movzx ecx, cx
jmp 0x4b475f
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], eax
sar ecx, 1
movzx edx, cx
lea ecx, [edi + 4]
mov word [edi], dx
mov edi, dword [ebp + 8]
mov word [ecx], di
lea edi, [ecx + 2]
mov ecx, dword [ebp + 8]
mov word [edi], cx
mov ecx, edx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
add edi, 2
mov word [edx], cx
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 1]
dec ecx
mov dword [ebp + 0x10], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x14]
jg 0x4b4680
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [edx + 0x6c], ecx
mov ecx, dword [ebp + 0x14]
mov byte [ecx + 2], bl
mov word [ecx], ax
pop ebx
mov esp, ebp
pop ebp
ret 0x14