joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d915
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, esi
mov dword [ebp - 4], eax
jbe 0x43daa7
push ebx
mov eax, edi
call fcn.00408480
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
push ebx
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x441048
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43d998
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 0x14]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43d9e7
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push str._4.4X_4.4X
lea eax, [ebp - 0x38]
push 0x14
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x14
push 0x440528
lea eax, [ebp - 0x38]
push eax
push ebx
lea esi, [ebp - 0x238]
call fcn.0043d886
test eax, eax
jne 0x43d9f7
lea eax, [ebp - 0x38]
push str.040904E4
push eax
call sub.msvcrt.dll_wcscpy
pop ecx
pop ecx
push 0x447a34
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x18]
push ebx
call fcn.0043d886
push 0x447a4c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x218]
push ebx
call fcn.0043d886
push 0x447a6c
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x418]
push ebx
call fcn.0043d886
push 0x447a84
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x618]
push ebx
call fcn.0043d886
push 0x447aa4
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0x818]
push ebx
call fcn.0043d886
push 0x447abc
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xa18]
push ebx
call fcn.0043d886
push 0x447ad8
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xc18]
push ebx
call fcn.0043d886
push str.OriginalFileName
lea eax, [ebp - 0x38]
push eax
lea esi, [edi + 0xe18]
push ebx
call fcn.0043d886
xor esi, esi
push ebx
inc esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
mov eax, esi
pop esi
leave
ret 4
Function at 0x43dac2
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
and dword [esp + 4], 0
push ebx
push edi
push 0x10
lea eax, [esp + 0x24]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
push 0x10
push eax
push esi
call fcn.0043e2df
add esp, 0x20
test eax, eax
jne 0x43dcba
mov ah, byte [esp + 0x20]
movzx ecx, byte [esp + 0x21]
movzx edx, byte [esp + 0x25]
or eax, ecx
movzx ecx, byte [esp + 0x22]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x23]
shl eax, 8
or eax, ecx
movzx ecx, byte [esp + 0x24]
movzx ebx, byte [esp + 0x28]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x26]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x27]
shl ecx, 8
or ecx, edx
xor edx, edx
or eax, edx
movzx edx, byte [esp + 0x2d]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x29]
shl ebx, 8
or ebx, eax
movzx eax, byte [esp + 0x2a]
shl ebx, 8
or ebx, eax
movzx eax, byte [esp + 0x2b]
shl ebx, 8
or ebx, eax
movzx eax, byte [esp + 0x2c]
shl eax, 8
or eax, edx
movzx edx, byte [esp + 0x2e]
shl eax, 8
or eax, edx
movzx edx, byte [esp + 0x2f]
xor edi, edi
or edi, ecx
shl eax, 8
or eax, edx
xor ecx, ecx
or ecx, eax
mov eax, dword [esp + 0x14]
xor edx, edx
or ebx, edx
mov dword [esi + 0xfc], eax
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0xf8], edi
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 8], 4
mov eax, ecx
shrd ecx, ebx, 1
shr ebx, 1
xor edx, edx
shl edi, 0x1f
or ebx, edi
and eax, 1
or ecx, edx
imul eax, eax, 0xe1000000
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
shrd edx, ebx, 1
shr ebx, 1
xor edi, edi
xor edi, edx
mov edx, dword [esp + 8]
xor eax, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esi + edx*8 + 0x38], ecx
mov dword [esi + edx*8 + 0x3c], ebx
mov dword [esi + edx*8 + 0xb8], edi
mov dword [esi + edx*8 + 0xbc], eax
sar edx, 1
test edx, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 8], edx
jg 0x43dbd0
push 2
pop ebx
mov dword [esp + 8], ebx
cmp ebx, 1
lea edi, [esi + ebx*8 + 0xb8]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
lea edx, [esi + ebx*8 + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
jle 0x43dcad
sub edi, edx
dec ebx
lea ecx, [edx + 8]
lea eax, [esi + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x84]
xor edx, dword [esp + 0x10]
xor ebx, dword [esp + 0x14]
mov dword [edi + ecx], edx
mov dword [edi + ecx + 4], ebx
mov edx, dword [eax]
mov ebx, dword [eax + 4]
xor edx, dword [esp + 0x18]
xor ebx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
add eax, 8
add ecx, 8
dec dword [esp + 0xc]
jne 0x43dc70
mov ebx, dword [esp + 8]
add ebx, ebx
cmp ebx, 8
mov dword [esp + 8], ebx
jle 0x43dc39
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e125
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push 0
push 8
push dword [esi + 0x13c]
push dword [esi + 0x138]
call fcn.0043f9f0
push 0
push 8
push dword [esi + 0x144]
mov edi, edx
push dword [esi + 0x140]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
call fcn.0043f9f0
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [esi + 0x148]
push eax
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 8], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
or eax, edi
jne 0x43e18d
mov eax, dword [ebp - 0xc]
or eax, ebx
je 0x43e265
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x22], al
mov al, byte [ebp - 8]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, ebx
shrd ecx, edx, 0x18
shr edx, 0x18
mov byte [ebp - 0x20], cl
mov ecx, eax
mov edx, ebx
shrd ecx, edx, 0x10
mov byte [ebp - 0x1f], cl
mov ecx, eax
mov byte [ebp - 0x1d], al
mov eax, edi
shr eax, 0x18
mov byte [ebp - 0x1c], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0x1b], al
shrd ecx, ebx, 8
mov eax, edi
shr eax, 8
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x10]
shr edx, 0x10
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x14]
mov edx, edi
mov ecx, eax
shrd ecx, edx, 0x18
shr edx, 0x18
mov byte [ebp - 0x18], cl
mov edx, edi
mov ecx, eax
shrd ecx, edx, 0x10
mov byte [ebp - 0x17], cl
mov ecx, eax
shrd ecx, edi, 8
shr edi, 8
add esp, 0xc
shr ebx, 8
shr edx, 0x10
mov byte [ebp - 0x15], al
mov byte [ebp - 0x16], cl
xor eax, eax
lea edi, [esi + 0x168]
mov cl, byte [ebp + eax - 0x24]
xor byte [edi + eax], cl
inc eax
cmp eax, 0x10
jb 0x43e23d
push edi
mov eax, esi
call fcn.0043dd68
pop ecx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dl, byte [edi + ecx]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, 0x10
jb 0x43e255
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x43e430
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
xor ebx, ebx
push esi
xor ecx, ecx
inc ebx
push edi
mov eax, ebx
mov esi, 0xff
mov edx, eax
and dl, 0x80
neg dl
lea edi, [eax + eax]
mov dword [ebp + ecx*4 - 0x80c], eax
mov dword [ebp + eax*4 - 0x40c], ecx
sbb edx, edx
and edx, 0x1b
xor edx, edi
xor edx, eax
and edx, esi
inc ecx
cmp ecx, 0x100
mov eax, edx
jl 0x43e448
mov eax, ebx
mov ecx, 0x44c638
mov edx, eax
and dl, 0x80
neg dl
mov dword [ecx], eax
sbb edx, edx
and edx, 0x1b
add eax, eax
xor edx, eax
and edx, esi
add ecx, 4
cmp ecx, 0x44c660
mov eax, edx
jl 0x43e47d
mov byte [0x44bd38], 0x63
mov byte [0x44dec3], 0
mov eax, dword [ebp + ebx*4 - 0x40c]
shl eax, 2
lea ecx, [ebp - 0x410]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, esi
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, esi
xor eax, edx
mov byte [ebx + 0x44bd38], al
mov byte [eax + 0x44de60], bl
inc ebx
cmp ebx, 0x100
jl 0x43e4ac
xor edi, edi
movzx ecx, byte [edi + 0x44bd38]
mov eax, ecx
and al, 0x80
neg al
lea edx, [ecx + ecx]
sbb eax, eax
and eax, 0x1b
xor eax, edx
and eax, esi
mov edx, eax
xor eax, ecx
shl eax, 8
xor eax, ecx
shl eax, 8
xor eax, ecx
shl eax, 8
xor eax, edx
mov ecx, edi
shl ecx, 2
mov dword [ecx + 0x44da60], eax
rol eax, 8
mov dword [ecx + 0x44d660], eax
rol eax, 8
mov dword [ecx + 0x44d260], eax
rol eax, 8
mov dword [ecx + 0x44ce60], eax
movzx eax, byte [edi + 0x44de60]
test eax, eax
je 0x43e58a
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d4]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 4], eax
jmp 0x43e58e
and dword [ebp - 4], 0
movzx eax, byte [edi + 0x44de60]
test eax, eax
je 0x43e5b7
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 0xc], eax
jmp 0x43e5bb
and dword [ebp - 0xc], 0
movzx eax, byte [edi + 0x44de60]
test eax, eax
je 0x43e5e4
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 8], eax
jmp 0x43e5e8
and dword [ebp - 8], 0
movzx eax, byte [edi + 0x44de60]
test eax, eax
je 0x43e60e
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e0]
mov ebx, esi
cdq
idiv ebx
mov edx, dword [ebp + edx*4 - 0x80c]
jmp 0x43e610
xor edx, edx
shl edx, 8
xor edx, dword [ebp - 8]
shl edx, 8
xor edx, dword [ebp - 0xc]
shl edx, 8
xor edx, dword [ebp - 4]
inc edi
mov dword [ecx + 0x44ca60], edx
rol edx, 8
mov eax, edx
mov dword [ecx + 0x44c660], eax
rol eax, 8
mov dword [ecx + 0x44c238], eax
rol eax, 8
cmp edi, 0x100
mov dword [ecx + 0x44be38], eax
jl 0x43e50f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e8d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
push 0x118
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push eax
call sub.msvcrt.dll_memset
push dword [ebp + 0xc]
lea esi, [edi + 8]
push dword [ebp + 8]
lea eax, [esp + 0x2c]
mov dword [edi + 4], esi
call fcn.0043e657
add esp, 0x14
test eax, eax
mov dword [esp + 0x14], eax
jne 0x43e9cf
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [esp + 0x1c]
push 4
mov eax, dword [ecx]
mov dword [esi], eax
pop edx
add ecx, edx
mov eax, dword [ecx]
add esi, edx
mov dword [esi], eax
add ecx, edx
mov eax, dword [ecx]
add esi, edx
mov dword [esi], eax
add ecx, edx
mov eax, dword [ecx]
add esi, edx
mov dword [esi], eax
mov edi, dword [edi]
add esi, edx
dec edi
sub ecx, 0x1c
jmp 0x43e9b1
mov dword [esp + 0x10], edx
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + 0x44bd38]
movzx ebx, byte [ecx + 2]
movzx ebx, byte [ebx + 0x44bd38]
mov eax, dword [eax*4 + 0x44be38]
xor eax, dword [ebx*4 + 0x44c238]
movzx ebx, byte [ecx + 1]
movzx ebx, byte [ebx + 0x44bd38]
xor eax, dword [ebx*4 + 0x44c660]
mov ebx, dword [ecx]
and ebx, 0xff
movzx ebx, byte [ebx + 0x44bd38]
xor eax, dword [ebx*4 + 0x44ca60]
add ecx, edx
mov dword [esi], eax
add esi, edx
dec dword [esp + 0x10]
jne 0x43e955
dec edi
sub ecx, 0x20
test edi, edi
jg 0x43e951
mov eax, dword [ecx]
mov dword [esi], eax
add ecx, edx
mov eax, dword [ecx]
add esi, edx
mov dword [esi], eax
add esi, edx
add ecx, edx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov ecx, 0x118
lea eax, [esp + 0x18]
dec ecx
mov byte [eax], 0
inc eax
test ecx, ecx
jne 0x43e9d8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f524
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x4404c0
call fcn.0043f734
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x43f55f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f55f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x43f577
cmp eax, 0x20b
je 0x43f564
mov dword [ebp - 0x1c], edi
jmp 0x43f58b
cmp dword [ecx + 0x84], 0xe
jbe 0x43f55f
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x43f585
cmp dword [ecx + 0x74], 0xe
jbe 0x43f55f
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x44f678], 0xffffffff
or dword [0x44f67c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x44b12c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x44b128]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x44f674], eax
call fcn.00409f15
cmp dword [section..data], edi
jne 0x43f5e8
push fcn.00409f15
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0043f720
push 0x440494
push 0x440490
call sub.msvcrt.dll__initterm
mov eax, dword [0x44b124]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x44b120]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x44048c
push 0x44046c
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x43f64e
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x43f708
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x43f69c
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x43f66a
cmp ax, 0x22
jne 0x43f657
cmp word [esi], 0x22
jne 0x43f675
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x43f683
cmp ax, 0x20
jbe 0x43f670
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x43f6a9
movzx eax, word [ebp - 0x48]
jmp 0x43f6ac
cmp word [esi], 0x20
jbe 0x43f675
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x43f69c
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x43f6cd
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x43f702
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0043f76d
ret
Function at 0x417c10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417c36
mov eax, dword [0x6367f0]
test eax, eax
je 0x417c2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.dsound.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
mov dword [0x6367f0], eax
test eax, eax
pop ebx
je 0x417cd1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DirectSoundCreate
push eax
call esi
mov ecx, dword [0x6367f0]
push str.DirectSoundEnumerateA
push ecx
mov dword [0x6367ec], eax
call esi
mov ecx, dword [0x6367ec]
mov dword [0x6367f4], eax
test ecx, ecx
je 0x417cc7
test eax, eax
je 0x417cc7
mov eax, 1
pop esi
add esp, 0x50
ret
mov dword [0x6367f0], 0
xor eax, eax
pop esi
add esp, 0x50
ret

Function at 0x4246d5
Capabilities:
Encode data using xor

Disassembly:
inc ebx
mov ebp, 0xb17320c
or esi, dword [eax + 0x3bb9204e]
sti
adc al, 0xa6
or esi, dword [eax + 0x3bb9204e]
sti
adc al, 0xa6
imul dword [ecx + 0x37]
test eax, 0xe877a937
jbe 0x4246d0
test al, 0x35
stosd dword es:[edi], eax
cmc
imul esi, ebp, 0x6a
xor al, 0xaa
xor ebp, dword [edx + esi*2 + 0x3ee170ef]
mov al, byte [0x63fda03e]
std
bound edi, qword [ebx]
movsd dword es:[edi], dword [esi]
cmp esp, dword [edx + edi*2 + 0x38e779e4]
in al, 0x79
out 0x38, eax
cmpsb byte [esi], byte es:[edi]
daa
test eax, 0x6bf669f7
xor eax, 0x73aa34ab
in eax, dx
jae 0x424705
xor ch, byte [edi + 0x61f0ae31]
invalid

Function at 0x43a40b
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
mov word [edi - 0x2a], ds
pop edi
salc
inc edx
int1
ret 0xbc4a
fnsave dword [ebx]
xor cl, byte [ecx - 0x5e]
jg 0x43a3af
jns 0x43a3b1
pop ss
push edx
push esp
invalid

Function at 0x481f70
Capabilities:
Encode data using xor

Disassembly:
out dx, al
lodsd eax, dword [esi]
jmp 0xb2a29d51
int1
jl 0x481ebb
cmp al, byte [eax + 0x3c7c54ca]
popal
arpl word [edi - 0x3c931aef], ax
stc
pop es
test bl, 0xac
dec ebp
dec eax
idiv dword [edx - 0x6435c4]
inc edx
push es
pop edx
pop ecx
sub byte [eax], dl
mov esp, 0x424a2d85
mov esi, dword [ecx + 0x3ea649ac]
mov ebp, 0x7c78f07c
mov edx, 0xe978284a
cmpsd dword [esi], dword es:[edi]
cdq
add eax, 0x5b34d173
mov edx, 0x20cd44c8
out 0xa8, al
cmp byte [ebx + 0x2c62d1a5], 0xa4
xor al, 0x4b
jne 0x481f28
jae 0x481f80
imul eax, ebx, 0x4e
add cl, byte [edi]
jl 0x481ff4
invalid
xchg esi, eax
push eax
rcl byte [ebp + 0x58], 0xc
mov cl, byte [edx]
xor dl, byte [esi - 0x4a]
cdq
lea ebx, [esp + ebx + 0x4f46effe]
mov al, 0x16
invalid
Function at 0x4b1080
Capabilities:
Encode data using xor

Disassembly:
test al, 0x26
in eax, dx
xor dword [ecx], esp
mov bh, 0xac
mov byte [0x7f2354c3], al
dec edx
test eax, 0x706c15ab
and esp, dword [edi + 0x27ce1ef2]
adc eax, 0x4690789
or byte [edi - 0x4c009ec3], al
sub dword [edi - 0x3a29b860], edi
mov ah, 0x6c
sub byte [ecx + ebp], ah
dec edi
mov al, byte [0x2a24d008]
sbb byte [edx], 0x78
xor al, 0x4d
dec esp
sbb eax, 0x577d23d8
push esp
invalid

Function at 0x629411
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6333c0
cmp edx, dword [eax]
je 0x629433
add eax, 8
inc ecx
cmp eax, 0x633450
jl 0x629424
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6333c0]
jne 0x629561
mov eax, dword [0x637da0]
cmp eax, 1
je 0x62953b
test eax, eax
jne 0x629464
cmp dword [0x6332e8], 1
je 0x62953b
cmp edx, 0xfc
je 0x629561
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62949b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629df0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a280
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6294de
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a280
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ed4c
push edi
call fcn.0062c150
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629df0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629e00
lea eax, [ebp - 0xa0]
push 0x62ed2c
push eax
call fcn.00629e00
push dword [esi + 0x6333c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629e00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c0c4
add esp, 0x2c
pop edi
jmp 0x629561
lea eax, [ebp + 8]
lea esi, [esi + 0x6333c4]
push 0
push eax
push dword [esi]
call fcn.0062a280
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x100044a7
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
push edi
jle 0x100044e6
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [esp + 0x1c]
add eax, esi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WSOCK32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100044e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x100044ec
add esi, edi
cmp esi, ebx
jl 0x100044b4
mov eax, ebx
pop edi
pop esi
pop ebx
ret
mov eax, esi
jmp 0x100044e8

Function at 0x100044f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov eax, dword [edi + 8]
test eax, eax
jbe 0x1000453c
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1000450d
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
sub eax, esi
push 0
add ecx, esi
push eax
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.WSOCK32.dll_send]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10004533
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x10004543
mov eax, dword [edi + 8]
add esi, ebx
cmp esi, eax
jb 0x10004500
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
ret
mov eax, esi
jmp 0x1000453f