joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bea9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x885bd0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44beef
cmp word [ebx], dx
jne 0x44beef
or byte [eax + edi + 0x28], 4
jmp 0x44bef4
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x44c057
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x44c037
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44bf35
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44bf6b
cmp eax, edx
jae 0x44bf79
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x44bf10
jmp 0x44c057
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c032
cmp dword [ebp - 0x18], 0
je 0x44c032
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x885bd0]
test byte [eax + edi + 0x28], 0x48
je 0x44c008
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x44bfcc
mov word [esi], cx
jmp 0x44c003
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x885bd0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x885bd0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x885bd0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x44c057
pop eax
cmp word [ebp - 4], ax
jne 0x44c018
cmp esi, ebx
jne 0x44c018
mov word [esi], ax
jmp 0x44c054
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044cae4
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44c057
push 0xd
pop eax
jmp 0x44c013
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x885bd0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44c051
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x44c057
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44f8ef
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44f98c
push ebx
push esi
call fcn.0044f8b8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044e731
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44f939
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44f98b
push edi
push eax
call fcn.00448b0b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44f959
call fcn.00448866
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44f98a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044e731
add esp, 0x20
test eax, eax
jne 0x44f978
push edi
call fcn.00448866
jmp 0x44f980
push ebx
call fcn.00448866
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x44f98f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44f9a0
pop esi
ret
push ebx
push edi
push esi
call fcn.0044f8b8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00448b0b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44f9c8
push ebx
push esi
push edi
call fcn.004347f0
add esp, 0xc
push 0
call fcn.00448866
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x450122
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044fc3d

Function at 0x452722
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00447d50
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x452791
cmp esi, dword [ebp - 4]
je 0x45278c
cmp dword [ebp + 0xc], 0
je 0x45278c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452769
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00452274
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x452793
xor eax, eax
inc eax
jmp 0x452793
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4527f8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x8815d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00447d50
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00447d50
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x45286f
cmp word [ecx], dx
je 0x45286f
mov eax, dword [0x5a50d4]
push edi
dec eax
push eax
push 0x5a4fc0
call fcn.00452797
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x4528e2
cmp word [eax], dx
je 0x4528e2
mov eax, dword [edi]
test eax, eax
je 0x452893
cmp word [eax], dx
je 0x452893
lea eax, [ebp - 0x10]
push eax
call fcn.0045217a
jmp 0x45289c
lea eax, [ebp - 0x10]
push eax
call fcn.00452215
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x45290c
mov eax, dword [0x5a4fbc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5a4cb0
call fcn.00452797
add esp, 0xc
test al, al
je 0x45290c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x4528d7
cmp word [eax], di
je 0x4528d7
lea eax, [ebp - 0x10]
push eax
call fcn.0045217a
pop ecx
jmp 0x45290e
lea eax, [ebp - 0x10]
push eax
call fcn.00452215
jmp 0x4528d4
mov eax, dword [edi]
test eax, eax
je 0x4528f9
cmp word [eax], dx
je 0x4528f9
lea eax, [ebp - 0x10]
push eax
call fcn.0045212f
pop ecx
jmp 0x45290c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x4529d7
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0045261c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4529d7
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x4529d7
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x4529d7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x452964
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00449292
test ebx, ebx
je 0x4529d2
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00449292
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4529d7
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4529d7
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00459264
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4529d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432bfc
leave
ret
Function at 0x459385
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00459301
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4594f4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4594f4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4594a9
jg 0x4593e1
test eax, eax
je 0x45949f
push 1
push 0x1000
call fcn.00449538
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x459404
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x459496
push 0x8000
push ebx
call fcn.00444c1b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45942d
jg 0x459428
cmp ecx, 0x1000
jb 0x45942d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00449ee0
add esp, 0x10
cmp eax, 0xffffffff
je 0x459472
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x459428
jl 0x459459
test ecx, ecx
jne 0x45941a
push dword [ebp - 0xc]
push ebx
call fcn.00444c1b
push esi
call fcn.00448866
add esp, 0xc
xor ebx, ebx
jmp 0x459502
cmp byte [edi + 0x24], 0
je 0x459489
cmp dword [edi + 0x20], 5
jne 0x459489
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x459494
mov ebx, dword [edi + 0x18]
jmp 0x459496
xor ebx, ebx
push esi
call fcn.00448866
pop ecx
jmp 0x459502
test ecx, ecx
jg 0x45946b
jl 0x4594a9
test eax, eax
jae 0x45946b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044cae4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4594c9
cmp byte [edi + 0x1c], 0
je 0x45946b
jmp 0x4594fa
push ebx
call fcn.004506f3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45946b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x459502
cmp byte [edi + 0x1c], 0
je 0x4594ff
mov ebx, dword [edi + 0x18]
jmp 0x459502
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044cae4
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47eb10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a9f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esi], eax
mov dword [esi + 4], 0
mov word [esi + 8], 0x100
mov dword [esi + 0xc], 0x3f800000
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 + 0x30], 0
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0x3f800000
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0x3f800000
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0x3f800000
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0x3f800000
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0x3f800000
mov dword [esi + 0xa4], 0x3f800000
mov dword [esi + 0xa8], 0x3f7e87d3
mov dword [esi + 0xac], 0x3f800000
mov dword [esi + 0xb0], 0x43aba666
mov word [esi + 0xb4], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
movq qword [esi + 0xcc], xmm0
push 0
lea ecx, [esi + 0xd4]
mov dword [ebp - 4], 0
call fcn.004b81a0
mov dword [esi + 0xd8], 0
mov eax, esi
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x486d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b0dd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x8815d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
nop
push 8
mov byte [esi + 8], 0
call fcn.00432cea
add esp, 4
test eax, eax
je 0x486d55
mov dword [eax], esi
mov dword [eax + 4], 0x486660
jmp 0x486d57
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x486460
push 0
push 0
call fcn.004383d1
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x486dd9
cmp dword [esi + 0x10], 0
jne 0x486dd4
mov eax, dword [ebp - 0x44]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432bfc
mov esp, ebp
pop ebp
ret
call fcn.004386e8
push 6
mov dword [ebp - 0x44], 0
call fcn.0042ea34
int3

Function at 0x487900
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b208
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 4], 0
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 0x18]
lea edx, [ecx + 0x30]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov esi, dword [eax]
mov eax, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4879d0
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
push esi
call fcn.00432404
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x489460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b395
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x8860e4
mov dword [ebp - 0x10], 0x8860e4
call fcn.0042fab8
add esp, 4
test eax, eax
jne 0x48961e
mov eax, dword [0x886110]
cmp eax, 0x7fffffff
je 0x489625
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [0x886118], esi
jne 0x4895f2
lea ecx, [ebp - 0x30]
call fcn.00487b60
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
test eax, eax
je 0x489617
cmp byte [ebp - 0x2c], 0
je 0x4894ee
cmp byte [eax + 0x6c], 0
jne 0x489617
cmp byte [ebp - 0x28], 0
jne 0x489632
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
lock inc dword [eax + 4]
push 8
mov byte [ebp - 4], 2
call fcn.00432cea
add esp, 4
test eax, eax
je 0x489527
lea ecx, [ebp - 0x30]
mov dword [eax + 4], 0x48c8f0
mov dword [eax], ecx
jmp 0x489529
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x487730
push 0
push 0
call fcn.004383d1
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x48963e
cmp dword [0x886118], 0
mov byte [ebp - 4], 2
jne 0x489639
mov eax, dword [ebp - 0x20]
mov dword [0x886114], ecx
lea ecx, [ebp - 0x1c]
mov dword [0x886118], eax
call fcn.0048be30
mov esi, eax
test esi, esi
jns 0x4895c5
mov ecx, 0x886114
call fcn.00486610
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4895bb
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4895bb
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4895b5
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00488100
jmp 0x4895f8
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00488100
jmp 0x4895f8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4895ea
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4895ea
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4895e4
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x4895e8
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00488100
inc dword [0x88614c]
push 0x8860e4
call fcn.0042fadd
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 4
call fcn.0048b5b0
push 5
call fcn.0042ea34
dec eax
push 6
mov dword [0x886110], eax
call fcn.0042ea34
push 2
call fcn.0048b5b0
call fcn.004386e8
push 6
mov dword [ebp - 0x20], 0
call fcn.0042ea34
int3
Function at 0x490320
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50be9d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x4903a5
cmp dword [0x882038], 1
jl 0x4904fd
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x885eec]
push 1
call fcn.0047e100
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x5bdd74
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x4904ed
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x4903f1
mov ecx, dword [eax]
test ecx, ecx
je 0x4903e5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x490402
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x30], 0
lea esi, [edi - 8]
call fcn.00432cea
add esp, 4
test eax, eax
je 0x490431
mov dword [eax], esi
mov dword [eax + 8], 0x48e440
mov dword [eax + 0xc], 0
jmp 0x490433
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x487790
push 0
push 0
call fcn.004383d1
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x490516
cmp dword [edi + 0x38], 0
jne 0x490511
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x38], eax
mov eax, ebx
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004386e8
push 6
mov dword [ebp - 0x28], 0
call fcn.0042ea34
int3
Function at 0x490530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bedd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x8815d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
push eax
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x4905b5
cmp dword [0x882038], 1
jl 0x490711
push ebx
push str.Failed_to_start_audio_client:_0x_08lx_n
push dword [0x885eec]
push 1
call fcn.0047e100
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push 0x5bdd64
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
js 0x490709
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea eax, [edi + 0x10]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x14]
mov ecx, esi
cmp edx, eax
je 0x490601
mov ecx, dword [eax]
test ecx, ecx
je 0x4905f5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
xor esi, esi
mov dword [ebp - 0x14], esi
xor ecx, ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x490612
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov dword [ebp - 4], 2
nop
push 0x10
mov byte [edi + 0x88], 0
lea esi, [edi - 8]
call fcn.00432cea
add esp, 4
test eax, eax
je 0x490644
mov dword [eax], esi
mov dword [eax + 8], 0x48cd00
mov dword [eax + 0xc], 0
jmp 0x490646
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x487790
push 0
push 0
call fcn.004383d1
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x49072a
cmp dword [edi + 0x90], 0
jne 0x490725
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x90], eax
mov eax, ebx
mov dword [edi + 0x8c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004386e8
push 6
mov dword [ebp - 0x28], 0
call fcn.0042ea34
int3