joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41526e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x415295
call fcn.0040ed40
mov dword [eax], esi
call fcn.0040ed2d
push 0x16
pop esi
mov dword [eax], esi
call fcn.00411304
mov eax, esi
jmp 0x4152ea
test dword [ebp + 0xc], 0xfffffff9
jne 0x41527b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4152c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040ed53
pop ecx
call fcn.0040ed2d
mov eax, dword [eax]
jmp 0x4152ea
test al, 0x10
jne 0x4152e8
test al, 1
je 0x4152e8
test byte [ebp + 0xc], 2
je 0x4152e8
call fcn.0040ed40
mov dword [eax], 5
call fcn.0040ed2d
mov dword [eax], 0xd
jmp 0x4152b9
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41a95c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4262ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00414781
and dword [ebp - 0x14], 0
cmp dword [0x428164], 0
mov dword [ebp - 0x18], eax
jne 0x41aa0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41aab7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41aab7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x428164], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x428168], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42816c], eax
call edi
push eax
call esi
mov dword [0x428174], eax
test eax, eax
je 0x41aa0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x428170], eax
mov eax, dword [0x428170]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41aa68
cmp dword [0x428174], ecx
je 0x41aa68
push eax
call esi
push dword [0x428174]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41aa68
test ebx, ebx
je 0x41aa68
call edi
test eax, eax
je 0x41aa5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41aa5f
test byte [ebp - 8], 1
jne 0x41aa68
or dword [ebp + 0x10], 0x200000
jmp 0x41aa9b
mov eax, dword [0x428168]
cmp eax, dword [ebp - 0x18]
je 0x41aa9b
push eax
call esi
test eax, eax
je 0x41aa9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41aa9b
mov eax, dword [0x42816c]
cmp eax, dword [ebp - 0x18]
je 0x41aa9b
push eax
call esi
test eax, eax
je 0x41aa9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x428164]
call esi
test eax, eax
je 0x41aab7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41aab9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c2df
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ea60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40ea6f
pop dword [ebp - 0x24]
mov eax, 0x40ea6f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x9d3bf925
sub dword [ebp - 0x34], 0x4ee9b3da
mov dword [ebp - 0x30], 0x82cb22ac
sub dword [ebp - 0x30], 0x5097d667
mov dword [ebp - 0x2c], 0x6336eb9b
sub dword [ebp - 0x2c], 0x16eaa76d
mov dword [ebp - 0x28], 0xa3536c43
sub dword [ebp - 0x28], 0xa3536c43
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xe40b680b
sub dword [ebp - 0x34], 0x6f98feb5
mov dword [ebp - 0x30], 0x6f5f7ff6
add dword [ebp - 0x30], 0xd20ce17f
mov dword [ebp - 0x2c], 0x54672e03
add dword [ebp - 0x2c], 0xf083e69
mov dword [ebp - 0x28], 0x56180df5
sub dword [ebp - 0x28], 0x56180df5
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x72093ddb
sub eax, 0x71c70cb7
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc67
push 0
call eax
mov ecx, 0x4437
mov edi, eax
mov esi, 0x434400
add esi, dword [ebp - 0x24]
mov ebx, 0xbb9edbf8
add ebx, 0x5e1a78e5
sub dword [ebp - 0x18], 0xe96c1b07
mov edx, dword [esi]
xor dword [ebp - 0x1c], 0x6cd9be0d
sub edx, ebx
sub dword [ebp - 4], 0xb0ac8c5b
mov dword [edi], edx
xor dword [ebp - 0xc], edi
add edi, 0x2e662ff9
sub edi, 0x2e662ff5
add esi, 0x71ff2897
add esi, 0x8e00d76d
loop 0x40eb7b
add eax, 0x103af
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6950e7
add ecx, 0xffd6af19
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10001000
Capabilities:
Get number of processors

Disassembly:
push 0x90
call fcn.100bbdb6
add esp, 4
test eax, eax
je 0x10001018
mov ecx, eax
jmp 0x10001f70
xor eax, eax
ret
push 0xffffffffffffffff
push 0x10160a94
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.10019c00
xor ebx, ebx
push 0x4d
lea ecx, [esi + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CENStreamAPI.0
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 1
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], 2
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 3
call fcn.1000d900
mov ecx, esi
mov byte [esp + 0x18], 4
mov byte [esi + 0x30], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x7c], 0x9c40
mov dword [esi + 0x80], 3
mov dword [esi + 0x84], 0x2710
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x88], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x24], bl
call fcn.10001700
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x10001f70
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0x90
call fcn.100bbdb6
add esp, 4
test eax, eax
je 0x10001018
mov ecx, eax
jmp 0x10001f70
xor eax, eax
ret
push 0xffffffffffffffff
push 0x10160a94
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.10019c00
xor ebx, ebx
push 0x4d
lea ecx, [esi + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CENStreamAPI.0
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 1
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], 2
call fcn.1000d900
push 0x4d
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 3
call fcn.1000d900
mov ecx, esi
mov byte [esp + 0x18], 4
mov byte [esi + 0x30], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x7c], 0x9c40
mov dword [esi + 0x80], 3
mov dword [esi + 0x84], 0x2710
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x88], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x24], bl
call fcn.10001700
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x1000b0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10161694
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x20]
mov ebp, 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], edi
mov dword [esp + 0x38], edi
mov word [ecx + 4], di
mov dword [esi + 0x58], ebp
mov dword [esi + 0x54], edi
mov word [esi + 0x44], di
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
push edi
push 0x101806c0
mov byte [esp + 0x40], 4
mov dword [esi + 0x14], 0x33
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
call fcn.10003750
push 0xe
push 0x10180708
lea ecx, [esp + 0x1c]
mov dword [esi + 0x3c], 0x1000a830
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10003750
lea eax, [esp + 0x14]
push edi
push eax
mov byte [esp + 0x40], 5
call fcn.1001a100
add esp, 8
cmp dword [esp + 0x2c], 8
mov byte [esp + 0x38], 4
jb 0x1000b179
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100bbe20
add esp, 4
push 0x17
push 0x10180728
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10003750
lea edx, [esp + 0x14]
push 0x2710
push edx
mov byte [esp + 0x40], 6
call fcn.1001a100
add esp, 8
cmp dword [esp + 0x2c], 8
jb 0x1000b1c1
mov eax, dword [esp + 0x18]
push eax
call fcn.100bbe20
add esp, 4
mov eax, esi
mov dword [esi + 0x7c], 0x80
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x2c
ret
Function at 0x1000bf60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx + 0x3c], 0x1000a830
jmp fcn.1000b2e0

Function at 0x1000bf80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10161818
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
xor edi, edi
cmp ecx, edi
jne 0x1000bfd4
mov eax, reloc.WS2_32.dll_closesocket
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 1
jge 0x1000bfe1
mov dword [ebp + 0x10], 0x7530
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push edi
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], di
call fcn.10003660
push 2
mov ecx, ebx
call fcn.10003a30
lea esi, [ebx + 0x40]
push edi
push 0x101806c0
mov ecx, esi
mov dword [ebx + 0x3c], 0x1000a9d0
mov dword [esp + 0x18], esi
call fcn.10003750
mov ecx, ebx
call fcn.1000b2e0
lea ecx, [esp + 0x14]
call fcn.100e5bc0
cmp dword [ebx + 0x54], edi
mov dword [esp + 0x38], edi
jne 0x1000c0a2
mov eax, dword [ebp + 0x10]
cdq
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea ebx, [ebx]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x1c]
call fcn.100e5bc0
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
sbb edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.100e5c20
push 0
push 0x3e8
push edi
push esi
call fcn.100bda10
cmp edx, dword [esp + 0x28]
jg 0x1000c0e2
jl 0x1000c096
cmp eax, dword [esp + 0x24]
jae 0x1000c0e2
cmp dword [ebx + 0x54], 0
je 0x1000c050
mov esi, dword [esp + 0x10]
xor edi, edi
mov ecx, ebx
call fcn.10009270
cmp dword [ebx + 0x54], edi
jbe 0x1000c0ba
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push edi
push esi
call fcn.10003660
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.100e5c20
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.100e5c20
mov eax, reloc.WS2_32.dll_getsockopt
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000e010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10161ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, 0x54
mov dword [esp + 0xc], edi
je 0x1000e0be
cmp eax, 0x56
je 0x1000e0be
cmp eax, 0x55
je 0x1000e0be
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 1
push 0x54
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edi
call fcn.1000e010
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x40]
push 1
push eax
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.1000da60
lea ecx, [esp + 0x10]
call fcn.1000d9b0
lea ecx, [esp + 0x20]
call fcn.1000d9b0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0xc
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov edi, dword [esp + 0x40]
mov edx, dword [edx + 0x70]
mov ecx, eax
imul eax, dword [esp + 0x44]
imul ecx, dword [esp + 0x48]
push ecx
push eax
push edi
mov ecx, esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0xc

Function at 0x1000e730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10161bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0x4d
je 0x1000e7b5
test eax, eax
je 0x1000e7b5
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 1
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.1000e730
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
call fcn.1000d9b0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
cmp dword [esi + 0xc], 0
jne 0x1000e7d7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x1000e7bb
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
test al, al
je 0x1000e7bb
mov esi, dword [esi + 0xc]
add esi, 8
push esi
call fcn.100bdaea
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x1000e820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10161bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0x4d
je 0x1000e8a5
test eax, eax
je 0x1000e8a5
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 1
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.1000e820
lea ecx, [esp + 0xc]
mov esi, eax
mov edi, edx
call fcn.1000d9b0
mov eax, esi
mov edx, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
cmp dword [esi + 0xc], 0
jne 0x1000e8c7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x1000e8ab
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
test al, al
je 0x1000e8ab
mov esi, dword [esi + 0xc]
push 0xa
add esi, 8
push 0
push esi
call fcn.100be09c
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 8

Function at 0x10010890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10162153
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CProbeListener.0
mov dword [esp + 0x14], 1
call fcn.100103a0
lea ecx, [esi + 0x30]
call fcn.10010300
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10019c20
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x10028ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10165618
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x10]
add ecx, 0x30
lea edx, [esp + 0xc]
push edx
call eax
mov dword [esp + 0x24], 0
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10028bca
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov esi, dword [eax + 4]
je 0x10028b1a
cmp ecx, eax
je 0x10028b1f
call fcn.100bcb20
cmp dword [esp + 0x18], esi
sete al
test al, al
jne 0x10028bca
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc]
call eax
test al, al
je 0x10028b43
xor esi, esi
jmp 0x10028b67
cmp dword [esp + 0x14], edi
jne 0x10028b4e
call fcn.100bcb20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jne 0x10028b60
call fcn.100bcb20
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 8]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
cmp eax, 1
je 0x10028bb6
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc]
call eax
test al, al
jne 0x10028aff
cmp dword [esp + 0x14], edi
jne 0x10028b95
call fcn.100bcb20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [ecx + 4]
jne 0x10028ba7
call fcn.100bcb20
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jmp 0x10028aff
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x1002ca90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10165cdb
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov eax, dword [0x10181f18]
mov edx, dword [0x10181f1c]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [str.EBUSB]
mov dword [esp + 0x40], eax
mov eax, dword [0x10181f14]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x30], edx
mov edx, dword [0x10181f10]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [0x10181f08]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x44], edx
mov edx, dword [0x10181f04]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], edx
mov edx, dword [str.EP1394_]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov eax, dword [0x10181ef8]
mov dword [esp + 0x68], edx
mov edx, dword [0x10181efc]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10181f00]
mov dword [esp + 0x70], edx
mov edx, dword [str.EPS_LPT]
mov dword [esp + 0x74], eax
mov eax, dword [0x10181ee8]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10181eec]
mov dword [esp + 0x80], eax
mov eax, dword [0x10181ef0]
mov dword [esp + 0x84], edx
mov edx, dword [0x10181ed0]
mov dword [esp + 0x88], eax
mov eax, dword [str.1394D3_]
mov dword [esp + 0x90], edx
mov edx, dword [0x10181ed8]
mov dword [esp + 0x94], eax
mov eax, dword [0x10181edc]
xor esi, esi
mov dword [esp + 0x98], edx
mov edx, dword [0x10181ee0]
mov dword [esp + 0x9c], eax
xor eax, eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0xa0], edx
mov word [esp + 0xa4], si
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
push 0xffffffffffffffff
push esi
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], esi
call fcn.10003660
xor edi, edi
cmp word [esp + 0x2c], si
je 0x1002cc75
lea edx, [esp + 0x2c]
lea ebx, [ebx]
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x1002cc45
sub eax, ebx
sar eax, 1
push eax
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.100082f0
test eax, eax
je 0x1002ccb4
add edi, 1
lea edx, [edi + edi*4]
cmp word [esp + edx*4 + 0x2c], si
lea edx, [esp + edx*4 + 0x2c]
jne 0x1002cc40
cmp dword [esp + 0x28], 8
jb 0x1002cc89
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100bbe20
add esp, 4
xor al, al
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100bc9af
add esp, 0xb8
ret 4
cmp dword [esp + 0x28], 8
jb 0x1002ccc8
mov eax, dword [esp + 0x14]
push eax
call fcn.100bbe20
add esp, 4
mov al, 1
jmp 0x1002cc8b
Function at 0x10032750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10166169
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov edx, 7
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
mov dword [esi + 0x34], edx
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], eax
mov word [esi + 0x3c], ax
mov byte [esi + 0x54], al
mov word [esi + 0x56], ax
mov dword [esi + 0x70], 0xf
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
lea ecx, [esi + 0x78]
mov dword [esi + 0x74], eax
push eax
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x14], eax
push 0x101806c0
mov byte [esp + 0x1c], 3
mov word [ecx + 4], ax
call fcn.10003750
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret