joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x86e608
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edi, dword [esi + 0xc]
mov dword [esp + 0x30], ebx
cmp edi, ebx
jne 0x5603a4
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
jmp 0x5603df
ja 0x5603ac
mov dword [esp + 0x1c], edi
jmp 0x5603db
push edi
lea ecx, [esp + 0x1c]
call fcn.004f0a30
test al, al
je 0x5603d7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, edi
sub ecx, eax
push ecx
lea eax, [edx + eax*8]
push eax
call fcn.00545060
add esp, 8
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ebx
je 0x5603fe
cmp ecx, edi
jae 0x560420
mov edx, dword [eax + 0x10]
mov dword [ebp + ecx*8], edx
mov dword [ebp + ecx*8 + 4], eax
mov eax, dword [eax]
inc ecx
cmp eax, ebx
jne 0x5603e8
push 0x55ef30
push 8
push edi
push ebp
call fcn.008044b0
add esp, 0x10
mov dword [esp + 0x14], ebx
cmp edi, ebx
jbe 0x560507
add ebp, 4
jmp 0x560434
push 0x80070057
call fcn.004a8210
lea ebx, [ebx]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x14], edi
jae 0x560420
mov eax, dword [esi + 8]
mov ebx, dword [ebp]
push 0
push eax
mov ecx, esi
call fcn.0054d340
mov edi, eax
add ebx, 8
push ebx
lea ecx, [edi + 8]
call fcn.0055f6a0
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x560465
mov dword [eax], edi
jmp 0x560468
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edi, dword [ebp]
cmp edi, dword [esi + 4]
jne 0x56047a
mov ecx, dword [edi]
mov dword [esi + 4], ecx
jmp 0x560481
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edx], eax
cmp edi, dword [esi + 8]
jne 0x56048e
mov ecx, dword [edi + 4]
mov dword [esi + 8], ecx
jmp 0x560496
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov edx, dword [edi + 8]
mov eax, dword [edx]
lea ecx, [edi + 8]
push ebx
call eax
mov ecx, dword [esi + 0x10]
mov dword [edi], ecx
dec dword [esi + 0xc]
mov dword [esi + 0x10], edi
jne 0x5604dd
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x5604c6
mov edx, dword [edi + 8]
mov eax, dword [edx]
lea ecx, [edi + 8]
push ebx
call eax
mov edi, dword [edi]
cmp edi, ebx
jne 0x5604b5
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call fcn.007dbde6
mov dword [esi + 0x14], ebx
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [ebp]
jne 0x5604eb
mov edx, dword [esi + 8]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x14]
inc eax
add ebp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x1c]
jb 0x560430
mov ebp, dword [esp + 0x18]
xor ebx, ebx
cmp ebp, ebx
je 0x560514
push ebp
call fcn.00803053
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x56d9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x86f0e7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
call fcn.007cff5d
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x56d9e7
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 8], eax
mov dword [esp + 0x20], esi
call fcn.007cff5d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x56da14
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0xc], eax
mov byte [esp + 0x20], 1
call fcn.007cff5d
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x56da42
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x10], eax
mov eax, 0xa
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x50], eax
mov esi, dword [esp + 0x28]
mov cl, byte [esi]
mov byte [edi], cl
mov dl, byte [esi + 1]
lea ecx, [esi + 8]
mov byte [edi + 1], dl
mov eax, dword [esi + 4]
push ecx
lea ecx, [edi + 8]
mov byte [esp + 0x24], 4
mov dword [edi + 4], eax
call fcn.004aa540
lea edx, [esi + 0xc]
push edx
lea ecx, [edi + 0xc]
call fcn.004aa540
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.004aa540
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x24]
mov dword [edi + 0x20], ecx
push edx
lea ecx, [edi + 0x24]
call fcn.004ca940
lea eax, [esi + 0x3c]
push eax
lea ecx, [edi + 0x3c]
call fcn.004ca940
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], ecx
mov edx, dword [esi + 0x58]
mov dword [edi + 0x58], edx
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x588c40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x871eb3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor edi, edi
push edi
push edi
call fcn.005d4530
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x28], ecx
mov dword [esi], fcn.00587ff0
mov dword [esi + 0xc], 0x41fe08
mov dword [esi + 0x10], 0x41fdcc
mov dword [esi + 0x14], 0x41fdb8
mov dword [esi + 0x18], 0x41fd98
mov dword [esi + 0x1c], 0x41fd80
mov dword [esi + 0x20], 0x41fd68
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov bl, 1
lea ecx, [esi + 0x3c]
mov dword [esp + 0x20], edi
mov byte [esi + 0x34], bl
call fcn.007cb60c
mov dword [esi + 0x3c], 0x41f6a4
lea ecx, [esi + 0xb0]
mov byte [esp + 0x20], bl
call fcn.007cb60c
mov dword [esi + 0xb0], 0x41f6a4
mov dword [esi + 0x124], edi
mov dword [esi + 0x128], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x148], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], 0x41fd58
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], 0x11
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], 0xa
mov dword [esi + 0x170], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x178], edi
mov dword [esi + 0x17c], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x589930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x872098
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov esi, ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00588c40
mov edx, dword [esi + 0x28]
mov ebp, dword [esi + 0x3c]
xor edi, edi
push edi
push edi
lea ebx, [esi + 0x3c]
push edx
mov dword [esp + 0x40], edi
mov dword [esi], fcn.00587ff0
mov dword [esi + 0xc], 0x420250
mov dword [esi + 0x10], 0x420214
mov dword [esi + 0x14], 0x420200
mov dword [esi + 0x18], 0x4201e0
mov dword [esi + 0x1c], 0x4201c8
mov dword [esi + 0x20], 0x4201b0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.007cc2fe
mov edx, dword [ebp + 0x58]
push eax
lea eax, [esp + 0x24]
push eax
push 0x56000000
push edi
push edi
push 4
mov ecx, ebx
call edx
test eax, eax
je 0x589a1a
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x54]
push edi
push edi
push ebx
lea edx, [esp + 0x24]
push edx
push 0x56000000
lea ecx, [esi + 0xb0]
push edi
push edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call eax
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0080262b
add esp, 0x24
ret 8
Function at 0x594eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x873211
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x48]
mov esi, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call fcn.004c2330
lea edi, [esi + 0x58]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esi], fcn.004c1810
mov dword [esi + 0xc], 0x426834
mov dword [esi + 0x10], 0x4267ec
mov dword [esi + 0x14], 0x4267a4
mov dword [esi + 0x18], 0x42674c
mov dword [esi + 0x1c], 0x42668c
mov dword [esi + 0x20], 0x4265ec
mov dword [esi + 0x24], 0x4265b8
mov dword [esi + 0x28], 0x4265a0
mov dword [esi + 0x2c], 0x42658c
call fcn.007cb60c
mov dword [edi], 0x41f6a4
lea ebp, [esi + 0xcc]
mov ecx, ebp
mov byte [esp + 0x40], 1
call fcn.007cb60c
mov dword [ebp], 0x40606c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [esi + 0x140], ebx
mov dword [edx], ebx
mov eax, dword [edi]
push ebx
push ecx
mov byte [esp + 0x4c], 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], eax
call fcn.007cc2fe
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x54]
push 0x56000000
push ebx
push ebx
mov ecx, edi
call edx
test eax, eax
jne 0x594fce
mov eax, dword [esp + 0x14]
mov dword [eax], 0x80004005
jmp 0x59501f
push ebx
push ebx
push ebx
push ebx
push edi
lea ecx, [esp + 0x38]
push ecx
push 0x56000000
push ebx
push 0x4061cc
mov ecx, ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.007e1eb7
test eax, eax
jne 0x59500a
mov edx, dword [esp + 0x14]
mov dword [edx], 0x80004005
jmp 0x59501f
push ebx
push 0x8ba474
push ebx
push ebx
push 4
push 0x7b
push ebp
call fcn.007d4223
add esp, 0x1c
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0080262b
add esp, 0x30
ret 8
Function at 0x596870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x8733f7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.004afcb0
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.004afcb0
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004afcb0
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.004afcb0
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.004afcb0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov edi, dword [edi + 0x20]
sub edi, 0x10
push edi
mov byte [esp + 0x30], 4
call fcn.004afcb0
add esp, 0x18
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x5a9530
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x874bb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x5a9579
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.005a91e0
test al, al
je 0x5a965b
mov eax, dword [esp + 0x34]
push 0x411a3c
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
call fcn.008096ec
add esp, 0xc
test eax, eax
jne 0x5a965b
mov edx, dword [esp + 0x14]
push 2
push ebx
push edx
call fcn.0080aae6
mov eax, dword [esp + 0x20]
push eax
call fcn.0080a9f7
mov edi, eax
add esp, 0x10
cmp edi, ebx
jge 0x5a95f4
push 0x80070057
call fcn.004a8210
mov esi, dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x5a9613
push edi
mov ecx, esi
call fcn.004b05e0
mov ebp, dword [esi]
cmp edi, dword [ebp - 8]
jg 0x5a95ea
mov dword [ebp - 0xc], edi
mov ecx, dword [esi]
push ebx
mov byte [edi + ecx], 0
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.0080aae6
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
push ecx
push eax
push 1
push ebp
call fcn.00809ce0
mov edx, dword [esp + 0x30]
push edx
mov edi, eax
call fcn.00809a22
mov eax, dword [esi]
add esp, 0x20
cmp edi, dword [eax - 0xc]
sete bl
jmp 0x5a9671
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0x17
push ecx
push edx
call fcn.00536a40
add esp, 0xc
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x24], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5a9696
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5a96ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x5a97c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x874bd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x24], 0
call fcn.00539660
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5a982d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [edi]
test ebx, ebx
je 0x5a98a8
xor eax, eax
test ebx, ebx
setne al
mov esi, ebx
test eax, eax
je 0x5a98be
mov ecx, dword [ebx + 8]
cmp dword [ecx - 0xc], 0
mov ebx, dword [ebx]
jne 0x5a98a4
cmp esi, dword [edi]
jne 0x5a9855
mov edx, dword [esi]
mov dword [edi], edx
jmp 0x5a985c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
cmp esi, dword [edi + 4]
jne 0x5a9869
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
jmp 0x5a9871
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5a9890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x10]
mov dword [esi], ecx
dec dword [edi + 8]
mov dword [edi + 0x10], esi
jne 0x5a98a4
mov ecx, edi
call fcn.004afe70
test ebx, ebx
jne 0x5a9833
cmp dword [edi + 8], 0
jne 0x5a9910
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x5a98c8
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
mov dword [esp + 0x20], 0
call fcn.004e7580
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5a9910
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
test edi, edi
jne 0x5a9920
push 0x80004005
call fcn.004a8210
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.004afcb0
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x5a9960
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
mov dword [esi], 0x428b00
je 0x5a99ae
mov eax, dword [esi + 0xc]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, dword [esi + 0x10]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x5a99a4
mov edx, dword [esi + 0x10]
push 0xdead
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x30]
call fcn.005eb290
mov eax, dword [esi + 0x2c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5a99d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x14]
pop esi
jmp fcn.005a84a0
Function at 0x5aff80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
xor ebp, ebp
lea edi, [ecx + 0x1d0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
lea esi, [ecx + 0x1c8]
lea edx, [ecx + 0x1c0]
mov eax, edi
lea esp, [esp]
mov ecx, dword [eax]
cmp ecx, 0x80000000
je 0x5b00d1
cmp ecx, ebx
jl 0x5affe6
sub ecx, ebx
mov dword [edi], ecx
mov ecx, dword [eax - 0x10]
mov dword [edx], ecx
mov ecx, dword [eax - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [eax - 8]
mov dword [esi], ecx
mov ecx, dword [eax - 4]
mov dword [esi + 4], ecx
inc ebp
add edi, 0x18
add edx, 0x18
add esi, 0x18
mov ecx, dword [eax + 0x18]
cmp ecx, 0x80000000
je 0x5b00d1
cmp ecx, ebx
jl 0x5b001d
sub ecx, ebx
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 4], ecx
inc ebp
add edi, 0x18
add edx, 0x18
add esi, 0x18
mov ecx, dword [eax + 0x30]
cmp ecx, 0x80000000
je 0x5b00d1
cmp ecx, ebx
jl 0x5b0054
sub ecx, ebx
mov dword [edi], ecx
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x28]
mov dword [esi], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esi + 4], ecx
inc ebp
add edi, 0x18
add edx, 0x18
add esi, 0x18
mov ecx, dword [eax + 0x48]
cmp ecx, 0x80000000
je 0x5b00d1
cmp ecx, ebx
jl 0x5b0087
sub ecx, ebx
mov dword [edi], ecx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x40]
mov dword [esi], ecx
mov ecx, dword [eax + 0x44]
mov dword [esi + 4], ecx
inc ebp
add edi, 0x18
add edx, 0x18
add esi, 0x18
mov ecx, dword [eax + 0x60]
cmp ecx, 0x80000000
je 0x5b00d1
cmp ecx, ebx
jl 0x5b00ba
sub ecx, ebx
mov dword [edi], ecx
mov ecx, dword [eax + 0x50]
mov dword [edx], ecx
mov ecx, dword [eax + 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x58]
mov dword [esi], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esi + 4], ecx
inc ebp
add edi, 0x18
add edx, 0x18
add esi, 0x18
mov ecx, dword [esp + 0x10]
add ecx, 5
add eax, 0x78
mov dword [esp + 0x10], ecx
cmp ecx, 0x14
jl 0x5affb0
cmp ebp, 0x14
jge 0x5b0107
mov eax, dword [esp + 0x14]
lea edx, [ebp + ebp*2]
mov ecx, 0x14
lea eax, [eax + edx*8 + 0x1c0]
sub ecx, ebp
mov edx, DirectSoundEnumerateW
xor esi, esi
mov dword [eax + 0x10], edx
mov dword [eax], esi
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
add eax, 0x18
dec ecx
jne 0x5b00f3
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x5b4b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x875724
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi], 0x429c60
mov dword [esi + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x65c], ebx
mov edi, dword [esp + 0x28]
mov dword [esi + 0x24], ebx
mov byte [esp + 0x1c], 2
cmp dword [esi + 0x30], edi
je 0x5b4bc1
cmp edi, ebx
je 0x5b4baf
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x5b4bbe
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x30], edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esi + 0x654], ebx
mov dword [esi + 0xc], 3
call fcn.005b4240
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10

Function at 0x5ba7d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x89add8
push 0x801ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], dx
jne 0x5ba872
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5ba872
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x5ba872
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x5ba872
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret