joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c71c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x1c]
mov dword [esp + 4], 0x73727120
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x44c6d6
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044e6f0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x44c6b0
mov eax, dword [esp + 4]
mov eax, dword fs:[eax]
xor ecx, ecx
test esi, esi
sete cl
jmp dword [ecx*4 + 0x458834]
mov ecx, dword [eax + 0xc]
add ecx, 0xc
mov edi, dword [case.0x44c6e4.4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
jmp edi
mov edx, dword [edx]
xor ebx, ebx
cmp edx, ecx
setne bl
jmp dword [ebx*4 + 0x45884c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
add esp, 0xc
pop esi
pop edi
pop ebx
ret

Function at 0x44c760
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx esi, word [eax]
mov dword [esp + 4], 0x5756ef1d
mov byte [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x44c7b6
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044e730
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x44c790
xor eax, eax
cmp dword [esp + 4], esi
setne al
xor esi, esi
jmp dword [eax*4 + 0x458864]
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x3c]
mov ebx, dword [eax + edi]
mov dword [esp + 4], 0xd9da8094
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x44c826
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0044e780
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x44c800
xor eax, eax
cmp ebx, dword [esp + 4]
setne al
jmp dword [eax*4 + 0x45886c]
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + edi + 0x78]
mov edx, dword [eax + edi + 0x7c]
test edx, edx
sete al
test ebx, ebx
sete cl
or cl, al
movzx eax, cl
mov dword [esp + 0xc], ebx
jmp dword [eax*4 + 0x458884]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x3c]
mov eax, dword [esi + ebx + 0x20]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, dword [esi + ebx + 0x24]
add eax, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + ebx + 0x1c]
add eax, esi
mov dword [esp + 0x18], eax
xor ecx, ecx
xor eax, eax
cmp ecx, dword [esi + ebx + 0x18]
setb al
mov dword [esp + 0x20], 1
jmp dword [eax*4 + 0x45888c]
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [eax + eax + 0x4d], 0x360044ca
enter 0x44, 0x4d
retf 0x44
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1f9964f8
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x70313f6f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401c50
Capabilities:
Manipulate console buffer

Disassembly:
mov eax, dword [0x47beac]
sub esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
je 0x401c9c
mov edx, dword [0x47beac]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, dword [esp + 0xa]
sub eax, dword [0x461d00]
mov edx, dword [0x47beac]
mov word [esp + 2], ax
mov word [esp], 0
mov ecx, dword [esp]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
add esp, 0x1c
ret

Function at 0x401cb0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.004267a0
mov eax, dword [0x4606e0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, ecx
push edi
push esi
push ebx
call fcn.0042670e
add esp, 0xc
test eax, eax
je 0x401d1a
cmp edi, 1
jne 0x401d32
test esi, esi
jl 0x401d32
jle 0x401d1a
jmp 0x401cf0
cmp esi, 0x1000
mov eax, 0x1000
ja 0x401cff
mov eax, esi
push ebx
push eax
lea eax, [esp + 0xc]
push 1
push eax
call fcn.0042666c
add esp, 0x10
test eax, eax
jle 0x401d51
sub esi, eax
test esi, esi
jg 0x401cf0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00426065
add esp, 0x1004
ret
cmp dword [0x47be78], 0xa
jge 0x401d51
push str.fskip_problem:_Mostly_the_return_status_of_functions_is_not_evaluate_so_it_is_more_secure_to_polute__stderr_._n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
mov ecx, dword [esp + 0x1004]
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.00426065
add esp, 0x1004
ret

Function at 0x401dc0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [ebp + 7]
cdq
push esi
and edx, 7
push 4
add eax, edx
mov edi, eax
push 1
push str.RIFF
sar edi, 3
call fcn.00426a1a
mov eax, dword [esp + 0x28]
add eax, 0x24
push eax
push esi
call fcn.00407fd0
push esi
push 4
push 2
push str.WAVEfmt
call fcn.00426a1a
push 0x10
push esi
call fcn.00407fd0
push 1
push esi
call fcn.00407ea0
mov ebx, dword [esp + 0x58]
push ebx
push esi
call fcn.00407ea0
mov ecx, dword [esp + 0x5c]
add esp, 0x40
push ecx
push esi
call fcn.00407fd0
mov edx, edi
imul edx, dword [esp + 0x24]
imul edx, ebx
push edx
push esi
call fcn.00407fd0
imul edi, ebx
push edi
push esi
call fcn.00407ea0
push ebp
push esi
call fcn.00407ea0
push esi
push 4
push 1
push str.data
call fcn.00426a1a
mov eax, dword [esp + 0x48]
push eax
push esi
call fcn.00407fd0
push esi
call fcn.004268d1
add esp, 0x3c
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
ret
Function at 0x401e80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Read file on windows

Disassembly:
push ebp
push edi
push eax
push ecx
mov edi, edx
push edi
push esi
call fcn.0042666c
add esp, 0x10
cmp edi, 1
mov ebp, eax
lea ecx, [esi + ebp*4]
jne 0x401ebc
lea edx, [ebp - 1]
test edx, edx
jl 0x401ebc
movzx eax, byte [edx + esi]
shl eax, 0x18
xor eax, 0x807f0000
sub ecx, 4
or eax, 0x7f0000
sub edx, 1
mov dword [ecx], eax
jns 0x401ea1
cmp dword [esp + 0xc], 0
jne 0x401f7c
cmp edi, 2
jne 0x401efb
lea edx, [ebp + ebp - 2]
test edx, edx
jl 0x40201c
jmp 0x401ee0
xor eax, eax
mov ah, byte [esi + edx + 1]
sub ecx, 4
mov al, byte [esi + edx]
shl eax, 0x10
sub edx, 2
mov dword [ecx], eax
jns 0x401ee0
pop edi
mov eax, ebp
pop ebp
ret
cmp edi, 3
jne 0x401f35
lea edx, [ebp + ebp*2 - 3]
test edx, edx
jl 0x40201c
lea esp, [esp]
movzx edi, byte [esi + edx]
xor eax, eax
mov ah, byte [esi + edx + 2]
sub ecx, 4
mov al, byte [esi + edx + 1]
shl eax, 8
or eax, edi
shl eax, 8
sub edx, 3
mov dword [ecx], eax
jns 0x401f10
pop edi
mov eax, ebp
pop ebp
ret
cmp edi, 4
jne 0x40201c
lea edx, [ebp*4 - 4]
test edx, edx
jl 0x40201c
lea ecx, [ecx]
movzx edi, byte [esi + edx + 1]
xor eax, eax
mov ah, byte [esi + edx + 3]
sub ecx, 4
mov al, byte [esi + edx + 2]
shl eax, 8
or eax, edi
movzx edi, byte [esi + edx]
shl eax, 8
or eax, edi
sub edx, 4
mov dword [ecx], eax
jns 0x401f50
pop edi
mov eax, ebp
pop ebp
ret
cmp edi, 2
jne 0x401fab
lea edx, [ebp + ebp - 2]
test edx, edx
jl 0x40201c
lea ecx, [ecx]
xor eax, eax
mov ah, byte [edx + esi]
sub ecx, 4
mov al, byte [edx + esi + 1]
shl eax, 0x10
sub edx, 2
mov dword [ecx], eax
jns 0x401f90
pop edi
mov eax, ebp
pop ebp
ret
cmp edi, 3
jne 0x401fe5
lea edx, [ebp + ebp*2 - 3]
test edx, edx
jl 0x40201c
jmp 0x401fc0
movzx edi, byte [esi + edx + 2]
xor eax, eax
mov ah, byte [esi + edx]
sub ecx, 4
mov al, byte [esi + edx + 1]
shl eax, 8
or eax, edi
shl eax, 8
sub edx, 3
mov dword [ecx], eax
jns 0x401fc0
pop edi
mov eax, ebp
pop ebp
ret
cmp edi, 4
jne 0x40201c
lea edx, [ebp*4 - 4]
test edx, edx
jl 0x40201c
movzx edi, byte [esi + edx + 2]
xor eax, eax
mov ah, byte [esi + edx]
sub ecx, 4
mov al, byte [esi + edx + 1]
shl eax, 8
or eax, edi
movzx edi, byte [esi + edx + 3]
shl eax, 8
or eax, edi
sub edx, 4
mov dword [ecx], eax
jns 0x401ff5
pop edi
mov eax, ebp
pop ebp
ret
Function at 0x402030
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, eax
xor eax, eax
cmp dword [0x47be38], 2
push edi
mov edi, dword [0x47be84]
sete al
cmp edi, 0x20
je 0x4020c5
cmp edi, 0x18
je 0x4020c5
cmp edi, 0x10
je 0x4020c5
cmp edi, 8
jne 0x40209f
push ebx
push ebp
push 1
push esi
call fcn.0042666c
lea ecx, [eax - 1]
add esp, 0x10
test ecx, ecx
lea edx, [esi + eax*4]
jl 0x4020f6
lea ebx, [ebx]
movzx edi, byte [ecx + esi]
shl edi, 0x18
xor edi, 0x807f0000
sub edx, 4
or edi, 0x7f0000
sub ecx, 1
mov dword [edx], edi
jns 0x402080
jmp 0x4020f6
cmp dword [0x47be78], 0xa
jge 0x4020be
push str.Only_8__16__24_and_32_bit_input_files_supported__n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
push 1
call fcn.00426d23
xor ecx, ecx
cmp dword [0x462508], ecx
sete cl
xor edx, edx
test eax, eax
sete dl
xor eax, eax
cmp edx, ecx
sete al
mov ecx, ebp
push eax
mov eax, edi
cdq
and edx, 7
add edx, eax
sar edx, 3
mov eax, ebx
call fcn.00401e80
add esp, 4
push ebx
mov esi, eax
call fcn.004268d1
add esp, 4
test eax, eax
je 0x402115
cmp dword [0x47be78], 0xa
jge 0x4020be
push str.Error_reading_input_file_n
jmp 0x4020ad
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x402120
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
xor esi, esi
mov ebx, eax
push ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
call fcn.00407f50
push ebx
call fcn.00407f50
add esp, 8
cmp eax, 0x57415645
je 0x40215f
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
push edi
mov dword [esp + 0x14], esi
mov edi, 1
lea esp, [esp]
push ebx
call fcn.00407f50
add esp, 4
cmp eax, 0x666d7420
push ebx
jne 0x4021d4
call fcn.00407ed0
mov esi, eax
add esp, 4
cmp esi, 0x10
jl 0x40221b
push ebx
call fcn.00407e20
push ebx
mov dword [esp + 0x20], eax
call fcn.00407e20
push ebx
mov dword [esp + 0x1c], eax
call fcn.00407ed0
push ebx
mov dword [esp + 0x30], eax
call fcn.00407ed0
push ebx
call fcn.00407e20
push ebx
call fcn.00407e20
sub esi, 0x10
add esp, 0x18
test esi, esi
mov ebp, eax
jle 0x4021ee
mov ecx, esi
jmp 0x4021e5
cmp eax, 0x64617461
je 0x402205
call fcn.00407ed0
add esp, 4
mov ecx, eax
call fcn.00401cb0
test eax, eax
jne 0x40221b
mov eax, dword [esp + 0x14]
add eax, edi
xor esi, esi
cmp eax, 0x14
mov dword [esp + 0x14], eax
jl 0x402170
jmp 0x402215
call fcn.00407ed0
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x18], edi
je 0x402225
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x1c]
cmp ebx, esi
je 0x4022a3
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push eax
push esi
call fcn.0040b980
add esp, 8
cmp eax, 0xffffffff
jne 0x40226e
cmp dword [0x47be78], 0xa
jge 0x402268
mov ecx, dword [esp + 0x10]
push ecx
push str.Unsupported_number_of_channels:__ud_n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 0xc
push edi
call fcn.00426d23
mov edx, dword [esp + 0x20]
push edx
push esi
call fcn.0040b960
lea eax, [ebp + 7]
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sar ecx, 3
imul ecx, dword [esp + 0x18]
cdq
idiv ecx
mov dword [0x47be84], ebp
push eax
push esi
call fcn.0040b940
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x402360
Capabilities:
Terminate process

Disassembly:
sub esp, 0x34
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
push esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00407f50
push esi
mov edi, eax
call fcn.00407f50
mov ebx, eax
add esp, 8
cmp ebx, 0x41494646
mov dword [esp + 0x14], ebx
je 0x4023ca
cmp ebx, 0x41494643
je 0x4023ca
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
test edi, edi
push ebp
jle 0x40258e
jmp 0x4023dd
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
push esi
call fcn.00407f50
add esp, 4
sub edi, 4
cmp eax, 0x434f4d4d
push esi
jne 0x40248d
call fcn.00407f50
mov ebp, eax
sub edi, ebp
push esi
mov dword [esp + 0x18], edi
call fcn.00407e60
push esi
mov word [esp + 0x28], ax
call fcn.00407f50
push esi
mov dword [esp + 0x30], eax
call fcn.00407e60
mov di, ax
push esi
mov word [esp + 0x38], di
call fcn.004081d0
fstp qword [esp + 0x40]
add esp, 0x14
sub ebp, 0x12
cmp ebx, 0x41494643
jne 0x402489
push esi
call fcn.00407f50
add esp, 4
sub ebp, 4
cmp eax, 0x736f7774
je 0x402462
cmp eax, 0x74776f73
je 0x402462
cmp eax, 0x4e4f4e45
jne 0x40251c
cmp di, 0x10
jne 0x402489
xor ecx, ecx
cmp eax, 0x736f7774
sete cl
xor edx, edx
cmp dword [0x47be6c], edx
sete dl
xor eax, eax
cmp edx, ecx
sete al
mov dword [0x462508], eax
mov ecx, ebp
jmp 0x4024a4
cmp eax, 0x53534e44
je 0x4024ca
call fcn.00407f50
add esp, 4
sub edi, eax
mov dword [esp + 0x10], edi
mov ecx, eax
mov edi, 1
mov ebx, esi
call fcn.00401cb0
test eax, eax
jne 0x40251c
cmp dword [esp + 0x10], eax
jg 0x4023d5
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x34
ret
call fcn.00407f50
push esi
call fcn.00407f50
mov ebx, eax
push esi
mov dword [esp + 0x44], ebx
call fcn.00407f50
mov ecx, ebx
add esp, 0xc
mov edi, 1
mov ebx, esi
mov dword [esp + 0x3c], eax
call fcn.00401cb0
test eax, eax
jne 0x40251c
lea ecx, [esp + 0x1c]
push ecx
push str.name
mov dword [esp + 0x3c], 0x53534e44
mov dword [esp + 0x1c], edi
call fcn.004022b0
add esp, 8
test eax, eax
je 0x402526
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
movsx edi, word [esp + 0x1c]
mov esi, dword [esp + 0x48]
push edi
push esi
call fcn.0040b980
add esp, 8
cmp eax, 0xffffffff
jne 0x402565
cmp dword [0x47be78], 0xa
jge 0x40255e
push edi
push str.Unsupported_number_of_channels:__ud_n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 0xc
push 1
call fcn.00426d23
fld qword [esp + 0x2c]
call fcn.00426db0
push eax
push esi
call fcn.0040b960
mov eax, dword [esp + 0x28]
movsx edx, word [esp + 0x2c]
push eax
push esi
mov dword [0x47be84], edx
call fcn.0040b940
add esp, 0x10
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x402aa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x4606e0]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
mov ebx, dword [esp + 0x418]
push ebp
mov ebp, dword [esp + 0x410]
push esi
mov esi, dword [esp + 0x418]
push edi
mov edi, dword [esp + 0x420]
push ebx
push edi
push esi
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0040c6f0
add esp, 0x14
test eax, eax
jne 0x402b53
push ebp
push 0x400
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.0042666c
add esp, 0x10
test eax, eax
je 0x402b36
push ebx
push edi
push esi
push eax
lea edx, [esp + 0x20]
push edx
call fcn.0040c6f0
add esp, 0x14
cmp eax, 0xffffffff
je 0x402b4b
test eax, eax
jg 0x402b53
push ebp
push 0x400
lea eax, [esp + 0x18]
push 1
push eax
call fcn.0042666c
add esp, 0x10
test eax, eax
jne 0x402b03
push ebx
push edi
push esi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040c6f0
add esp, 0x14
test eax, eax
jg 0x402b53
call fcn.0040c340
or eax, 0xffffffff
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00426065
add esp, 0x404
ret

Function at 0x402b70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x47be88]
push eax
call fcn.00426ece
add esp, 4
test eax, eax
je 0x402ba8
cmp dword [0x47be78], 0xa
jge 0x402ba1
push str.Could_not_close_audio_input_file_n
call fcn.00425de9
add eax, 0x40
push eax
call fcn.00425b9c
add esp, 8
push 2
call fcn.00426d23
ret
Function at 0x40f9d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x130]
push edi
mov edi, eax
cmp edi, 8
jl 0x40fa3b
push 0x4c
mov eax, 8
call fcn.0040f890
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x40fa3b
push 0x41
mov eax, 8
call fcn.0040f890
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x40fa3b
push 0x4d
mov eax, 8
call fcn.0040f890
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x40fa3b
push 0x45
mov eax, 8
call fcn.0040f890
add esp, 4
sub edi, 8
cmp edi, 0x20
jl 0x40fa96
push ebp
call fcn.0040c730
mov ebp, eax
xor ebx, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40fa50
sub eax, edx
test eax, eax
jle 0x40fa91
nop
cmp edi, 8
jl 0x40fa91
movsx eax, byte [ebx + ebp]
push eax
mov eax, 8
sub edi, 8
call fcn.0040f890
mov eax, ebp
add esp, 4
add ebx, 1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40fa82
sub eax, edx
cmp ebx, eax
jl 0x40fa60
mov ebx, dword [esp + 0x14]
pop ebp
cmp edi, 1
jl 0x40fac7
jmp 0x40faa0
mov ecx, dword [esi + 0x1308c]
push ecx
mov eax, 1
call fcn.0040f890
xor edx, edx
add esp, 4
cmp dword [ebx + 0x60], edx
sete dl
xor dword [esi + 0x1308c], edx
sub edi, 1
jne 0x40faa0
pop edi
pop esi
pop ebx
ret

Function at 0x4116e0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
test edi, edi
jle 0x41171b
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
movzx eax, word [esi]
movzx edx, byte [ecx + ebp]
xor edx, eax
and edx, 0xff
sar eax, 8
xor ax, word [edx*4 + 0x460058]
add ecx, 1
cmp ecx, edi
mov word [esi], ax
jl 0x4116f5
pop esi
pop ebp
pop edi
ret
Function at 0x426065
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4606e0]
jne 0x42606f
repz ret
jmp fcn.0042bec5

Function at 0x438abb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042e222
xor ebx, ebx
cmp dword [0x468e08], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x438b90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x438afb
xor eax, eax
jmp 0x438c54
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x438af4
push eax
call fcn.0042e1bf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x468e08], eax
call esi
push eax
call fcn.0042e1bf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x468e0c], eax
call esi
push eax
call fcn.0042e1bf
mov dword [0x468e10], eax
lea eax, [ebp - 8]
push eax
call fcn.00426b50
test eax, eax
pop ecx
pop ecx
je 0x438b5e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042b53f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x438b90
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042e1bf
cmp eax, ebx
pop ecx
mov dword [0x468e18], eax
je 0x438b90
push 0x456730
push edi
call esi
push eax
call fcn.0042e1bf
pop ecx
mov dword [0x468e14], eax
mov eax, dword [0x468e14]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x438c09
cmp dword [0x468e18], esi
je 0x438c09
push eax
call fcn.0042e22b
pop ecx
call eax
cmp eax, ebx
je 0x438bd6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x468e18]
call fcn.0042e22b
pop ecx
call eax
test eax, eax
je 0x438bd6
test byte [ebp - 0x18], 1
jne 0x438c09
lea eax, [ebp - 0xc]
push eax
call fcn.00426b87
test eax, eax
pop ecx
je 0x438bf1
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042b53f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x438c00
or dword [ebp + 0x10], 0x200000
jmp 0x438c3a
or dword [ebp + 0x10], 0x40000
jmp 0x438c3a
mov eax, dword [0x468e0c]
cmp eax, esi
je 0x438c3a
push eax
call fcn.0042e22b
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x438c3a
mov eax, dword [0x468e10]
cmp eax, esi
je 0x438c3a
push dword [ebp - 4]
push eax
call fcn.0042e22b
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x468e08]
call fcn.0042e22b
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a23f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0xc], 0x461b78
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x34]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
push 0x104
push dword [ebp - 0x18]
push 0
call dword [ebp - 0x3c]
push dword [ebp - 0x18]
call fcn.0043a196
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x43a32a
push dword [ebp - 0x18]
call fcn.0043a1e2
pop ecx
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]