joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456e59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x8c]
cmp ecx, eax
jbe 0x456e7c
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x78], ecx
je 0x457009
xor edi, edi
cmp dword [esi + 0x6c], edi
jne 0x456f16
mov eax, dword [esi + 0x88]
cmp eax, edi
je 0x456f16
mov ebx, 0x4000
cmp eax, ebx
jae 0x456eaf
mov ebx, eax
cmp ebx, edi
je 0x457011
push ebx
push dword [esi + 0x64]
push esi
call fcn.00458951
add esp, 0xc
test eax, eax
je 0x457027
sub dword [esi + 0x88], ebx
mov eax, dword [esi + 0x64]
test byte [esi + 0x3c], 1
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
je 0x456f16
test ebx, ebx
jbe 0x456f16
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x64]
and eax, 0xfffd
add ecx, edi
or al, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor byte [ecx], dl
mov eax, dword [esi + 0x64]
mov al, byte [edi + eax]
push eax
lea eax, [esi + 0x90]
push eax
call fcn.00457141
inc edi
pop ecx
cmp edi, ebx
pop ecx
jb 0x456edd
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x6c]
cmp eax, ecx
jbe 0x456f25
mov eax, ecx
test eax, eax
je 0x456f54
mov edx, dword [esi + 0x68]
sub ecx, eax
lea edi, [edx + eax]
mov dl, byte [edi - 1]
sub dword [esi + 0x8c], eax
sub dword [esi + 0x9c], eax
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x68], edi
jne 0x456f54
cmp dl, byte [esi + 0xa0]
jne 0x457030
cmp word [esi + 0x3e], 0
jne 0x456fa9
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x6c]
cmp eax, edi
jae 0x456f67
mov edi, eax
push edi
push dword [esi + 0x68]
push dword [esi + 0x74]
call sub.MSVCRT.dll_memcpy
push edi
lea ebx, [esi + 0x84]
push dword [esi + 0x74]
push dword [ebx]
call fcn.00457039
sub dword [esi + 0x8c], edi
sub dword [esi + 0x6c], edi
sub dword [esi + 0x78], edi
add dword [esi + 0x74], edi
add dword [esi + 0x68], edi
add dword [esi + 0x7c], edi
add esp, 0x18
add dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [esi + 0x8c]
jmp 0x456ffb
mov eax, dword [esi + 0x74]
mov ebx, dword [esi + 0x7c]
mov dword [ebp + 8], eax
lea eax, [esi + 0x68]
push 2
push eax
call fcn.00457195
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
pop ecx
je 0x456fcb
cmp eax, 1
jne 0x45701c
mov edi, dword [esi + 0x7c]
sub edi, ebx
lea ebx, [esi + 0x84]
push edi
push dword [ebp + 8]
push dword [ebx]
call fcn.00457039
sub dword [esi + 0x8c], edi
add dword [ebp - 4], edi
add esp, 0xc
cmp dword [ebp + 0xc], 1
mov dword [ebx], eax
mov eax, dword [esi + 0x8c]
je 0x457009
test eax, eax
je 0x457009
cmp dword [esi + 0x78], 0
jne 0x456e87
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x84]
cmp eax, dword [esi + 0x44]
je 0x457023
mov dword [esi + 8], 0x12
xor eax, eax
jmp 0x45700c
mov dword [esi + 8], 7
jmp 0x457023
mov dword [esi + 8], 0x13
jmp 0x457023
Function at 0x457039
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edx, 0xff
not eax
jb 0x45711a
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [ecx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, edx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x490d20]
xor eax, ebx
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x490d20]
xor esi, eax
inc ecx
mov eax, esi
movzx ebx, byte [ecx]
and eax, edx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x490d20]
xor eax, esi
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x490d20]
xor esi, eax
inc ecx
mov eax, esi
movzx ebx, byte [ecx]
and eax, edx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x490d20]
xor eax, esi
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x490d20]
xor esi, eax
inc ecx
mov eax, esi
movzx ebx, byte [ecx]
and eax, edx
xor eax, ebx
shr esi, 8
mov eax, dword [eax*4 + 0x490d20]
xor eax, esi
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x490d20]
xor eax, esi
inc ecx
dec edi
jne 0x45705c
pop ebx
cmp dword [ebp + 0x10], 0
je 0x45713b
movzx edi, byte [ecx]
mov esi, eax
and esi, edx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x490d20]
xor eax, esi
inc ecx
dec dword [ebp + 0x10]
jne 0x457120
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x457141
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x490d20]
xor eax, esi
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
movzx esi, byte [ecx + 7]
mov edi, eax
and edi, edx
xor esi, edi
pop edi
shr eax, 8
mov edx, dword [esi*4 + 0x490d20]
pop esi
xor edx, eax
mov dword [ecx + 8], edx
ret

Function at 0x458951
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test byte [esi], 1
jne 0x458985
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x458980
and dword [ebp + 0x10], eax
mov dword [esi + 8], 7
mov eax, dword [ebp + 0x10]
jmp 0x4589b2
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x45899a
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 4]
push edi
add eax, ecx
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x14], edi
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4589b5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp byte [eax], bl
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 1
mov dword [ebp + 8], eax
je 0x4589e2
cmp byte [eax + 1], 0x3a
jne 0x4589e2
inc eax
inc eax
cmp byte [eax], 0x5c
jne 0x458a30
inc eax
jmp 0x458a30
push 0x5c
push eax
call fcn.00458a41
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x458a06
cmp dword [ebp + 0xc], ebx
jne 0x458a08
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
mov byte [esi], bl
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x458a26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458a36
cmp esi, ebx
je 0x4589ff
mov byte [esi], 0x5c
lea eax, [esi + 1]
cmp byte [eax], bl
jne 0x4589ea
jmp 0x4589ff
cmp esi, ebx
je 0x458a3d
mov byte [esi], 0x5c
xor eax, eax
jmp 0x458a02

Function at 0x458a57
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp word [eax], di
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], edi
mov dword [ebp - 4], 1
mov dword [ebp + 8], eax
je 0x458a87
cmp word [eax + 2], 0x3a
jne 0x458a87
add eax, 4
cmp word [eax], 0x5c
jne 0x458ada
inc eax
inc eax
jmp 0x458ada
push 0x5c
push eax
call fcn.00458aee
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
jne 0x458aad
cmp dword [ebp + 0xc], edi
jne 0x458ab0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
mov word [esi], di
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x458ace
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458ae1
cmp esi, edi
je 0x458aa6
mov word [esi], 0x5c
lea eax, [esi + 2]
cmp word [eax], di
jne 0x458a91
jmp 0x458aa6
cmp esi, edi
je 0x458aea
mov word [esi], 0x5c
xor eax, eax
jmp 0x458aa9
Function at 0x458b08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x458cbd
cmp dword [esi + 0x24], 0xffffffff
je 0x458cbd
mov eax, dword [ebp + 0x14]
xor edi, edi
test al, 1
mov dword [esi + 8], edi
je 0x458b87
cmp word [esi + 0x58], di
jne 0x458b55
push esi
call fcn.00458d52
cmp dword [esi + 8], edi
pop ecx
jne 0x458cb1
mov word [esi + 0x58], 1
mov ebx, dword [ebp + 0x10]
push dword [ebx + 0x20]
push dword [ebp + 0xc]
push esi
call fcn.00456e59
add esp, 0xc
mov dword [ebx + 0x20], eax
cmp dword [esi + 8], edi
jne 0x458b7e
cmp dword [esi + 0x8c], edi
je 0x458b7e
push 5
jmp 0x458cbf
mov word [esi + 0x58], di
jmp 0x458cb1
mov ebx, dword [ebp + 0x10]
test byte [ebx + 4], 0x10
je 0x458bb6
test al, 2
je 0x458baf
push 1
push dword [ebp + 0xc]
test eax, eax
jns 0x458ba4
call fcn.00458a57
jmp 0x458ba9
call fcn.004589b5
pop ecx
cmp eax, edi
pop ecx
je 0x458c0d
xor eax, eax
jmp 0x458cc0
cmp eax, 4
jne 0x458bc0
mov eax, dword [ebp + 0xc]
jmp 0x458c05
mov dword [ebp + 8], eax
push edi
and dword [ebp + 8], 0x80000000
push dword [ebp + 0xc]
je 0x458bd7
call fcn.00458a57
jmp 0x458bdc
call fcn.004589b5
pop ecx
cmp eax, edi
pop ecx
je 0x458c0d
push edi
cmp dword [ebp + 8], edi
push dword [ebx + 4]
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
je 0x458bff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x458c05
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x458c19
mov dword [esi + 8], 1
jmp 0x458cb1
push esi
call fcn.00458d52
cmp dword [esi + 8], edi
pop ecx
jne 0x458ca2
cmp dword [esi + 0x34], edi
mov ebx, 0x4000
jne 0x458c80
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, edi
mov dword [esi + 0x34], eax
jne 0x458c80
mov dword [esi + 8], 2
jmp 0x458c80
push ebx
push dword [esi + 0x34]
push esi
call fcn.00456e59
add esp, 0xc
cmp eax, edi
mov dword [ebp + 8], eax
je 0x458c85
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [esi + 0x34]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x458c79
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
je 0x458c80
mov dword [esi + 8], 3
cmp dword [esi + 8], edi
je 0x458c47
cmp dword [esi + 8], edi
mov ebx, dword [ebp + 0x10]
jne 0x458ca2
lea eax, [ebx + 0x18]
push eax
lea eax, [ebx + 8]
add ebx, 0x10
push eax
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp + 0x14], 4
je 0x458cb1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00458cc5
mov eax, dword [esi + 8]
pop ecx
jmp 0x458cc0
push 9
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45a97d
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x4878c0
call fcn.004801f0
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.0042cce0
and dword [ebp - 4], 0
cmp dword [esi + 0x1c], 0
je 0x45a9b9
mov al, byte [ebp - 0xd]
push 0x49e450
mov byte [ebp - 0xd], al
lea eax, [ebp - 0xd]
push eax
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push eax
push 4
push esi
push 0x45a74e
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov ecx, dword [ebp - 0x14]
add esp, 0x18
test eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
jne 0x45a9f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x49e38c
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x45aa1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x49e38c
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x45aa40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x49e38c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, ebx
mov dword [esi + 0x1c], 1
call fcn.0045a569
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45b0f6
Capabilities:
Create thread

Disassembly:
mov eax, 0x487938
call fcn.004801f0
sub esp, 0x2c
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x9c]
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
call fcn.0042ccf6
lea eax, [ebx + 0x8c]
mov esi, 0x4b5ae4
mov edi, eax
and dword [ebp - 4], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
push 0x4aa8fc
push eax
movsd dword es:[edi], dword [esi]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x45b2a5
mov esi, str.S:Ammyy_sourcesmain_soundAudioIn.cpp
push str.StartSound__1
push esi
mov edi, 0x4b5b78
push 2
push edi
call fcn.0041e1ee
add esp, 0x10
cmp dword [ebx + 0x80], 0
je 0x45b18c
lea eax, [ebp - 0x2c]
push str.AudioIn::Start:_Sound_Capture_thread_is_already_active
push eax
call fcn.0042c02a
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x49451c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
mov dword [ebx], eax
jb 0x45b19f
cmp eax, 0xbb80
jbe 0x45b1b1
push 0x42
push esi
lea ecx, [ebp - 0x20]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
mov ax, word [ebx + 4]
cmp ax, 8
je 0x45b1d3
cmp ax, 0x10
je 0x45b1d3
push 0x43
push esi
lea ecx, [ebp - 0x20]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
mov ax, word [ebx + 6]
cmp ax, 1
je 0x45b1f5
cmp ax, 2
je 0x45b1f5
push 0x44
push esi
lea ecx, [ebp - 0x20]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
movzx eax, word [ebx + 4]
movzx ecx, word [ebx + 6]
shr eax, 3
imul eax, ecx
imul eax, dword [ebx]
xor edx, edx
mov ecx, 0x3e8
lea eax, [eax + eax*4]
shl eax, 2
div ecx
mov ecx, ebx
mov dword [ebx + 8], eax
call fcn.0045b3ca
push str.StartSound__2
push esi
push 2
push edi
call fcn.0041e1ee
add esp, 0x10
mov ecx, ebx
mov byte [ebp - 4], 1
push 0x1f40
push 3
push 0
call fcn.0045bbc6
push str.StartSound__3
push esi
push 2
push edi
call fcn.0041e1ee
add esp, 0x10
xor esi, esi
mov dword [ebx + 0x84], esi
push esi
push esi
push ebx
push 0x45b72d
push esi
push esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0x80], eax
cmp dword [ebx + 0x80], esi
jne 0x45b2a5
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0x38]
push str.Failed_to_start_Sound_Capture_thread__errno___d_
push eax
call fcn.0042c02a
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x49451c
push eax
call sub.MSVCRT.dll__CxxThrowException
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042cd0a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x45baf2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x45bb1c
movzx eax, word [esi + 4]
movzx ecx, word [esi + 6]
shr eax, 3
imul eax, ecx
imul eax, dword [esi + 0x78]
cmp ebx, eax
jbe 0x45bb35
push 0x1be
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
mov ax, word [esi + 4]
cmp ax, 0x10
jne 0x45bb7c
test bl, 1
je 0x45bb5d
push 0x1c2
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
shr ebx, 1
xor eax, eax
test ebx, ebx
jle 0x45bbbf
movsx ecx, word [edi + eax*2]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x7c]
fild dword [ebp + 8]
fstp dword [ecx + eax*4]
inc eax
cmp eax, ebx
jl 0x45bb65
jmp 0x45bbbf
cmp ax, 8
je 0x45bb9b
push 0x1ca
push str.S:Ammyy_sourcesmain_soundAudioIn.cpp
lea ecx, [ebp - 8]
call fcn.00429ea1
mov ecx, eax
call fcn.00429fad
xor eax, eax
test ebx, ebx
jbe 0x45bbbf
movsx ecx, byte [eax + edi]
xor ecx, 0x80
shl ecx, 8
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x7c]
fild dword [ebp + 8]
fstp dword [ecx + eax*4]
inc eax
cmp eax, ebx
jb 0x45bba1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x45bdd8
Capabilities:
Create thread

Disassembly:
mov eax, 0x4879d8
call fcn.004801f0
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
cmp dword [esi + 0xb8], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
je 0x45be1b
lea eax, [ebp - 0x24]
push str.AudioOut::StartSound___Sound_Playback_thread_is_already_active
push eax
call fcn.0042c02a
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x49451c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.0045c11e
push 1
push edi
mov ecx, esi
call fcn.0045c352
lea ecx, [esi + 0x84]
cmp dword [ecx], edi
jne 0x45be3e
push edi
push edi
push edi
call fcn.0042bd9f
push edi
push edi
push esi
push 0x45c45b
push edi
push edi
mov dword [esi + 0xbc], edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xb8], eax
cmp dword [esi + 0xb8], edi
jne 0x45be8c
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0x30]
push str.Failed_to_start_Sound_Playback_thread__errno___d_
push eax
call fcn.0042c02a
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x49451c
push eax
call sub.MSVCRT.dll__CxxThrowException
xor eax, eax
inc eax
jmp 0x45beb5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45d3e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x45d410
push esi
call fcn.00461230
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x45d409
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x45d493
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x45d47f
mov eax, dword [esi + 8]
test eax, eax
je 0x45d434
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45d47b
cmp eax, 2
je 0x45d47f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45d427
cmp eax, 3
je 0x45d45a
cmp eax, 1
jne 0x45d427
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 0x45d427
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45d427
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.0045d4c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45d4b3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0045d4c0
add esp, 4
pop esi
ret
Function at 0x4602c0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.00462120
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.004620d0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x460304
push edi
call fcn.00462130
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
call dword [edx]
add esp, 8
mov dword [esi], fcn.00460400
mov dword [esi + 4], fcn.00460550
mov dword [esi + 8], fcn.00460600
mov dword [esi + 0xc], fcn.004606b0
mov dword [esi + 0x10], 0x460760
mov dword [esi + 0x14], 0x4607d0
mov dword [esi + 0x18], 0x460840
mov dword [esi + 0x1c], 0x4609c0
mov dword [esi + 0x20], 0x460bb0
mov dword [esi + 0x24], fcn.00460da0
mov dword [esi + 0x28], 0x460ea0
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x460366
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call sub.MSVCRT.dll_getenv
add esp, 4
cmp eax, ebx
je 0x4603f6
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call sub.MSVCRT.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x4603f6
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x4603bf
cmp al, 0x4d
jne 0x4603e3
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x48096a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4809c0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x49400c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4809b3
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4809c2
xor eax, eax
pop esi
leave
ret 4
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x87551c2
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x2266726
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x10bc3da8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xca625e6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219