joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017ab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc0]
test ecx, ecx
jg 0x10017ade
push 0x667
push str.D:AVSProject_voiceClientImGUIimgui.h
push str.Size___0
call fcn.10086073
mov ecx, dword [esi + 0xc0]
add esp, 0xc
mov eax, dword [esi + 0xc8]
mov edi, 4
lea esi, [ebp + 8]
mov eax, dword [eax + ecx*4 - 4]
not eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100c3058]
sub edi, 1
jne 0x10017af2
mov ecx, dword [0x100d7adc]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1aa4], eax
jne 0x10017b24
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x10017b33
mov byte [ecx + 0x1ae0], 1
pop ebp
ret 4
Function at 0x10018080
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac1d3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100d5134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d7adc]
test eax, eax
je 0x100180b7
inc dword [eax + 0x370]
push dword [0x100d7ad4]
push 0x3d40
call fcn.100155f0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd]
add esp, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100180f1
push 0
mov ecx, eax
call fcn.10014320
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x100180f6
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100d7adc]
test eax, eax
cmove eax, edi
cmp byte [edi], 0
mov dword [0x100d7adc], eax
jne 0x1001811a
cmp byte [edi + 0x2ec1], 0
je 0x10018131
push 0xf9f
push str.D:AVSProject_voiceClientImGUIimgui.cpp
push str._g.Initialized___g.SettingsLoaded
call fcn.10086073
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x100c7911
mov dword [ebp - 0x40], str.Window
mov al, 0x57
or edi, 0xffffffff
cmp al, 0x23
jne 0x10018161
cmp byte [esi], al
jne 0x10018161
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100c3058]
test al, al
jne 0x10018153
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
not edx
mov dword [ebp - 0x38], 0x10029060
push eax
mov dword [ebp - 0x3c], edx
lea ecx, [ebx + 0x2ed4]
mov dword [ebp - 0x30], 0x10029100
mov dword [ebp - 0x2c], 0x10029170
mov dword [ebp - 0x28], 0x10029240
mov dword [ebp - 0x24], 0x10029360
call fcn.10029860
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x100ca285
mov dword [ebp - 0x40], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x100181e4
cmp byte [esi], al
jne 0x100181e4
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100c3058]
test al, al
jne 0x100181d6
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0x1003aee0
not edx
mov dword [ebp - 0x30], 0x1003aff0
push eax
lea ecx, [ebx + 0x2ed4]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], 0x1003b0a0
mov dword [ebp - 0x28], 0x1003af80
mov dword [ebp - 0x24], 0x1003b2e0
call fcn.10029860
mov edi, dword [ebp - 0x14]
mov eax, edi
mov byte [edi], 1
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 0x1001b8d0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1001b90d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001b8f3
cmp byte [esi], bl
jne 0x1001b8f3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x100c3058]
test bl, bl
jne 0x1001b8e4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1001b860
Function at 0x10028680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x100d7adc]
push edi
cmp byte [esi + 0x2f04], 0
je 0x1002871e
cmp dword [esi + 0x2f0c], 0
lea edi, [esi + 0x2f10]
je 0x10028710
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x100286c9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1002a3d0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10016400
mov edx, dword [edi]
mov ecx, 0x100d7ad8
push dword [esi + 0x2f0c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f18]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.1008c02b
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.10016400
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10031870
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100318ac
mov eax, dword [0x100d7adc]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10031896
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100318e6
mov eax, dword [0x100d7adc]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x100318d0
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10031920
mov eax, dword [0x100d7adc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1003190a
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10031976
mov eax, dword [0x100d7adc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10031960
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100319b0
mov eax, dword [0x100d7adc]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1003199a
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100319ea
mov eax, dword [0x100d7adc]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100319d4
dec dword [eax + 0x370]
push dword [0x100d7ad4]
push ecx
call fcn.10015600
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10033fd0
Function at 0x10047b40
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x100d7aac], 0
je 0x10047d90
mov eax, dword [0x100d7afc]
cmp dword [eax + 0x26e8cc], 0
je 0x10047d90
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100d72f0]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100d7cf4]
cmp eax, dword [ecx + 4]
jle 0x10047bac
push 0x100d7cf4
call fcn.10081331
add esp, 4
cmp dword [0x100d7cf4], 0xffffffff
jne 0x10047bac
call edi
push 0x100d7cf4
mov dword [0x100d7cf0], eax
call fcn.100812e7
add esp, 4
mov eax, dword [0x100d7aac]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CallWindowProcA]
push esi
cmp byte [eax + 4], 0
je 0x10047c20
cmp byte [0x100d7b88], 0
je 0x10047c20
mov byte [0x100d7b88], 0
call fcn.1004bf10
call edi
push 0
mov dword [0x100d7cf0], eax
movzx eax, byte [0x100d5b9a]
push eax
mov eax, dword [0x100d7aa8]
push 0x101
push dword [eax + 0x104]
push dword [eax + 0x100]
call ebx
mov esi, dword [0x100d7aa8]
movzx eax, byte [0x100d5b9a]
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
mov eax, dword [0x100d7aac]
cmp byte [eax + 4], 0
jne 0x10047d8d
cmp byte [0xba67a4], 1
jne 0x10047c99
cmp byte [0x100d7b88], 0
je 0x10047c99
mov byte [0x100d7b88], 0
call fcn.1004bf10
call edi
push 0
mov dword [0x100d7cf0], eax
movzx eax, byte [0x100d5b9a]
push eax
mov eax, dword [0x100d7aa8]
push 0x101
push dword [eax + 0x104]
push dword [eax + 0x100]
call ebx
mov esi, dword [0x100d7aa8]
movzx eax, byte [0x100d5b9a]
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
mov eax, dword [0x100d7afc]
mov eax, dword [eax + 0x26e8cc]
cmp dword [eax + 0x14e0], 0
je 0x10047d0e
cmp byte [0x100d7b88], 0
je 0x10047d0e
mov byte [0x100d7b88], 0
call fcn.1004bf10
call edi
push 0
mov dword [0x100d7cf0], eax
movzx eax, byte [0x100d5b9a]
push eax
mov eax, dword [0x100d7aa8]
push 0x101
push dword [eax + 0x104]
push dword [eax + 0x100]
call ebx
mov esi, dword [0x100d7aa8]
movzx eax, byte [0x100d5b9a]
mov byte [eax + esi], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], edx
mov eax, dword [0x100d7afc]
mov eax, dword [eax + 0x26e8cc]
cmp dword [eax + 0x14e0], 0
jne 0x10047d8d
movzx ecx, byte [0x100d5b9a]
mov eax, dword [0x100d7aa8]
cmp byte [ecx + eax], 1
jne 0x10047d5f
cmp byte [0x100d7b88], 0
jne 0x10047d5f
call edi
sub eax, dword [0x100d7cf0]
cmp eax, 0x1f4
jb 0x10047d5f
mov byte [0x100d7b88], 1
call fcn.1004bfe0
call edi
mov dword [0x100d7cf0], eax
movzx ecx, byte [0x100d5b9a]
mov eax, dword [0x100d7aa8]
cmp byte [ecx + eax], 0
jne 0x10047d8d
cmp byte [0x100d7b88], 0
je 0x10047d8d
mov byte [0x100d7b88], 0
call fcn.1004bf10
call edi
mov dword [0x100d7cf0], eax
pop esi
pop ebx
pop edi
ret
Function at 0x100488b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x10
call fcn.10091e86
mov esi, eax
add esp, 4
test esi, esi
jne 0x100488e0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
push edi
push 0x1c
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10091e86
mov edi, eax
add esp, 4
test edi, edi
jne 0x1004891c
push esi
mov dword [esi], eax
call fcn.1008c296
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov dword [edi], 0x53e230
push eax
push 0x40
push 5
push 0x53e230
mov dword [edi + 4], 0x100480c0
mov dword [edi + 0xc], 5
mov byte [edi + 8], 0xe9
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1004896e
push edi
call fcn.1008c296
push esi
call fcn.1008c296
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
cmp byte [edi + 8], 0xe8
push ebx
mov dword [esi + 0xc], 1
mov ebx, edi
jne 0x10048987
mov dword [esi + 4], 0xa7c466
jmp 0x1004898e
mov dword [esi + 4], 0x53e230
push dword [ebx + 0xc]
call fcn.10091e86
add esp, 4
mov dword [ebx + 0x10], eax
test eax, eax
je 0x100489ca
push dword [ebx + 0xc]
push dword [ebx]
push eax
call fcn.10082c30
push dword [ebx + 0xc]
call fcn.10091e86
mov ecx, eax
add esp, 0x10
mov dword [ebx + 0x14], ecx
test ecx, ecx
jne 0x100489ec
push dword [ebx + 0x10]
call fcn.1008c296
add esp, 4
push edi
call fcn.1008c296
push esi
call fcn.1008c296
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
mov al, byte [ebx + 8]
mov byte [ecx], al
mov ecx, dword [ebx + 4]
sub ecx, dword [ebx]
mov eax, dword [ebx + 0x14]
add ecx, 0xfffffffb
mov dword [ebx + 0x18], ecx
mov dword [eax + 1], ecx
mov edx, dword [ebx]
test edx, edx
je 0x100489ca
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x100489ca
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100489ca
push eax
push ecx
push edx
call fcn.10082c30
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 8], 1
mov eax, esi
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.10080e96
mov esp, ebp
pop ebp
ret
Function at 0x10048f70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac663
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x1c]
push 0x30d40
push 0
push esi
mov dword [edi], vtable.CSoundInput.0
mov dword [edi + 4], 0x5dc0
mov dword [edi + 8], 0x1a4
mov dword [edi + 0xc], 0x3e80
mov dword [edi + 0x10], 0x3f800000
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.100831b0
lea eax, [esi + 0x30d48]
mov dword [esi + 0x30d40], 0
push 2
push eax
mov dword [esi + 0x30d44], 0
call fcn.1008072f
mov dword [ebp - 4], 0
lea eax, [edi + 0x30dac]
push 2
push eax
mov dword [edi + 0x30d94], 0
mov dword [edi + 0x30d98], 0
mov dword [edi + 0x30d9c], 0
mov byte [edi + 0x30da0], 0
mov dword [edi + 0x30da4], 0
mov byte [edi + 0x30da8], 1
call fcn.1008072f
lea eax, [edi + 0x30ddc]
push 2
push eax
call fcn.1008072f
push 0x1a4
push 0x1101
push 0x5dc0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.OpenAL32.dll_alcCaptureOpenDevice]
add esp, 0x34
mov dword [edi + 0x30d94], eax
test eax, eax
je 0x1004918c
push 8
call fcn.10080ea7
mov esi, eax
mov dword [ebp - 0x1c], esi
push 8
mov byte [ebp - 4], 3
call fcn.10080ea7
mov dword [ebp - 0x18], eax
mov dword [eax], edi
mov dword [eax + 4], 0x10048b30
lea ebx, [esi + 4]
mov byte [ebp - 4], 4
push ebx
push 0
push eax
push 0x100495e0
push 0
push 0
call fcn.10092ad0
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x100491a3
mov byte [ebp - 4], 2
mov dword [edi + 0x30d98], esi
cmp dword [ebx], 0
je 0x100491b0
push dword [esi + 4]
push dword [esi]
call fcn.10080815
add esp, 8
test eax, eax
jne 0x100491b7
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x14]
push eax
push 0x800
push 1
push dword [edi + 4]
mov dword [edi + 0x30da4], 8
call fcn.10050650
add esp, 0x10
mov dword [edi + 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10049188
test eax, eax
je 0x10049188
push dword [edi + 0xc]
push 0xfa2
push eax
call fcn.10050750
add esp, 0xc
test eax, eax
je 0x10049146
push 7
jmp 0x1004918e
mov eax, dword [edi + 8]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10081792
mov dword [edi + 0x30d9c], eax
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret 0x10
push 5
jmp 0x1004918e
push 1
lea ecx, [ebp - 0x1c]
call fcn.10048b20
push 0x100d36e8
mov eax, ecx
push eax
call fcn.1008330a
push 6
mov dword [ebx], 0
call fcn.10080428
push 1
call fcn.10080428
push eax
call fcn.100803fb
int3
Function at 0x10049640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac6ab
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov edi, 0xff
mov dword [esi], vtable.CSoundOutput.0
push 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10080ea7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x54]
mov dword [esi + 0xc], 0x5dc0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0x3f800000
mov dword [esi + 0x44], 0x42b40000
mov dword [esi + 0x48], 0x43340000
mov dword [esi + 0x4c], 0
mov byte [ebp - 4], 1
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.10080ea7
mov dword [eax + 4], 0
mov dword [ebx], eax
mov dword [eax], ebx
mov byte [ebp - 4], 2
push 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x74], 0
call dword [sym.imp.OpenAL32.dll_alcOpenDevice]
add esp, 0xc
mov dword [esi + 0x6c], eax
test eax, eax
je 0x1004986f
push 0
push eax
call dword [sym.imp.OpenAL32.dll_alcCreateContext]
add esp, 8
mov dword [esi + 0x70], eax
test eax, eax
je 0x1004984e
push eax
call dword [sym.imp.OpenAL32.dll_alcMakeContextCurrent]
add esp, 4
test al, al
je 0x1004984e
lea eax, [ebp - 0x14]
push eax
push 1
push 0x1010
push dword [esi + 0x6c]
call dword [sym.imp.OpenAL32.dll_alcGetIntegerv]
cmp dword [ebp - 0x14], edi
mov edx, 4
cmovl edi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10081792
push eax
push edi
mov dword [esi + 0x4c], eax
call dword [sym.imp.OpenAL32.dll_alGenSources]
add esp, 0x1c
call dword [sym.imp.OpenAL32.dll_alGetError]
test eax, eax
je 0x100497f4
push 3
jmp 0x10049871
push 0xd004
mov dword [esi + 0x50], edi
call dword [sym.imp.OpenAL32.dll_alDistanceModel]
add esp, 4
xor bl, bl
test edi, edi
jle 0x10049828
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi + 0x4c]
lea eax, [eax + ecx*4]
push eax
lea ecx, [esi + 0x54]
call fcn.1004a0d0
inc bl
movzx ecx, bl
cmp ecx, edi
jl 0x10049810
mov dword [0x100d7b10], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x70]
test eax, eax
je 0x1004985f
push eax
call dword [sym.imp.OpenAL32.dll_alcDestroyContext]
add esp, 4
push dword [esi + 0x6c]
call dword [sym.imp.OpenAL32.dll_alcCloseDevice]
add esp, 4
push 2
jmp 0x10049871
push 1
lea ecx, [ebp - 0x18]
call fcn.10048b20
push 0x100d36e8
mov eax, ecx
push eax
call fcn.1008330a
int3
Function at 0x1007aa30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x18], eax
jle 0x1007ab1a
mov ecx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea edx, [ecx - 2]
mov dword [ebp - 0x10], edx
lea edx, [ecx + ecx]
neg ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0x14]
add ecx, ecx
sub esi, edx
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x10]
xor edi, edi
xor ebx, ebx
test ecx, ecx
js 0x1007aaf2
lea eax, [ecx + 1]
lea eax, [edx + eax*2]
mov dword [ebp - 4], eax
movzx eax, word [esi + eax]
mov edx, dword [ebp + 0x10]
sar ebx, 1
movzx edx, byte [ecx + edx + 1]
shl dx, 7
sub ax, dx
movsx esi, ax
mov eax, dword [ebp - 4]
movsx eax, word [eax]
imul esi, eax
mov eax, esi
sar esi, 1
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp + 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 0xc]
shl dx, 7
movzx eax, word [eax + ecx*2]
sub ax, dx
movsx ebx, ax
mov eax, dword [ebp - 4]
movsx eax, word [eax - 2]
imul ebx, eax
mov eax, ebx
sub eax, esi
mov esi, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [ebp - 4]
sub eax, 4
sub ecx, 2
mov dword [ebp - 4], eax
jns 0x1007aa80
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
add edx, dword [ebp - 0x14]
add esi, dword [ebp - 0x18]
mov dword [ebp + 0x14], edx
mov dword [ecx + eax*4], edi
inc eax
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 0x10], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0x18]
jl 0x1007aa68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007f040
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1007f06f
cmp word [eax + 8], 2
jne 0x1007f06f
mov eax, dword [eax + 0xc]
pop esi
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], 0
lea ebx, [edi + 0x2e]
nop dword [eax]
lea edx, [esi + 1]
mov dword [ebp - 8], edx
cmp byte [esi], 0x30
je 0x1007f0b5
push 0xa
lea eax, [ebp - 8]
push eax
push esi
call fcn.1009267f
add esp, 0xc
cmp eax, 0xff
ja 0x1007f0de
mov edx, dword [ebp - 8]
cmp edx, esi
je 0x1007f0de
mov ecx, edx
sub ecx, esi
cmp ecx, 3
jg 0x1007f0de
mov byte [ebp + edi - 4], al
movsx eax, byte [edx]
xor ecx, ecx
cmp edi, 3
cmovl ecx, ebx
cmp eax, ecx
jne 0x1007f0de
inc edi
lea esi, [edx + 1]
cmp edi, 4
jl 0x1007f080
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov dword [ecx], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007f100
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1007f158
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x1007f152
shr eax, 8
cmp al, 2
jne 0x1007f152
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret

Function at 0x1007f1e0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], 2
push 0
sete al
inc eax
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
pop ebp
ret

Function at 0x1007f220
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x10
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1007f262
or eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x12]
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [ebp - 4]
mov word [esi + 4], ax
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10080e96
mov esp, ebp
pop ebp
ret

Function at 0x1007f290
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100d5134]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push 0
push 0
test esi, esi
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x18], 0
cmove eax, edx
test esi, esi
push eax
lea eax, [ebp - 0x14]
cmove eax, edx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1007f30a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x1007f2f9
sub eax, 0x13
jne 0x1007f313
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x18], 0x8000
je 0x1007f325
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080e96
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1007f33b
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x12]
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [esi + 4], ax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop esi
call fcn.10080e96
mov esp, ebp
pop ebp
ret