joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4716c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2290
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049b455
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4716f3
xor al, al
jmp 0x47181f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x471715
xor al, al
jmp 0x47181f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x471728
xor al, al
jmp 0x47181f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x47173c
xor al, al
jmp 0x47181f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0048f319
test eax, eax
jne 0x471770
xor al, al
jmp 0x47181f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x50bad4
mov dword [esp + 0x20], ebp
call fcn.0049b455
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004981a4
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004981fb
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x471804
mov ax, word [ebx]
test ax, ax
je 0x4717f6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00471840
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4717da
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004981fb
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x471d80
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00499854
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x471dc6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0047c7c8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x5283ec
push ecx
call fcn.0047df02
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x472060
Capabilities:
Create http request

Disassembly:
push 0xffffffffffffffff
push 0x4a2398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.00472a70
mov eax, dword [esp + 0x24]
push 0x52dfe4
push eax
xor edi, edi
xor ebx, ebx
call fcn.0047c8f4
add esp, 8
test eax, eax
je 0x4720ad
mov ebx, dword [esp + 0x24]
mov edi, 3
push 0
push 0
push ebx
push edi
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi], eax
je 0x4720f7
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea ecx, [esp + 0xc]
push 4
push ecx
push 2
push eax
mov dword [esp + 0x1c], 0x15f90
call edi
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 5
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push 4
push ecx
push 6
push edx
call edi
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00491036
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x472610
Capabilities:
Get http response content encoding
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push 0x13
call fcn.00472830
lea ecx, [esi + 0x30]
push ecx
push 5
mov ecx, esi
call fcn.004728c0
lea edx, [esi + 0x20]
mov ecx, esi
push edx
push 0x21
call fcn.00472780
lea eax, [esi + 0x14]
mov ecx, esi
push eax
push 0x16
call fcn.00472780
lea ecx, [esi + 0x18]
push ecx
push 1
mov ecx, esi
call fcn.00472780
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [ebp - 0x14]
push ebx
push edx
push ebx
push 0x1d
push eax
mov dword [esi + 0x24], ebx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x4726ed
push eax
call fcn.00490d77
mov edx, dword [esi + 8]
add esp, 4
lea ecx, [ebp - 0x14]
mov ebx, eax
push 0
push ecx
push ebx
push 0x1d
push edx
call edi
push str.gzip
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4726cb
mov dword [esi + 0x24], 1
jmp 0x4726e2
push str.deflate
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4726e2
mov dword [esi + 0x24], 2
push ebx
call fcn.00490da0
add esp, 4
xor ebx, ebx
lea ecx, [esi + 0x1c]
push 0x52dfe4
call fcn.00491173
mov dword [ebp - 0x18], ebx
mov edx, dword [esi + 8]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
mov dword [ebp - 0x14], ebx
call edi
mov eax, dword [ebp - 0x14]
cmp eax, 1
jb 0x472764
push eax
call fcn.00490d77
mov edx, dword [esi + 8]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push ebx
push 0x2b
push edx
call edi
cmp dword [ebp - 0x18], 1
jbe 0x472748
push 0x51d360
lea ecx, [esi + 0x1c]
call fcn.004913c6
push ebx
lea ecx, [esi + 0x1c]
call fcn.004913c6
push ebx
call fcn.00490da0
add esp, 4
xor ebx, ebx
jmp 0x4726fd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472960
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x47299e
push eax
call fcn.0047d32e
add esp, 4
mov dword [esi + 0xc], ebx
push 0x400
lea ecx, [ebp - 0x40]
mov dword [esi + 0x10], ebx
call fcn.004991a7
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x43f]
mov byte [ebp - 0x440], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x14], ebx
je 0x472a1d
mov edx, dword [esi + 8]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x440]
push 0x400
push ecx
push edx
call edi
cmp eax, ebx
je 0x4729da
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x4729da
push eax
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x40]
call fcn.0049938e
jmp 0x4729da
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00491a54
mov edi, eax
cmp edi, ebx
jbe 0x472a3c
lea ecx, [ebp - 0x40]
call fcn.0049921e
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
cmp ecx, edi
lea ecx, [ebp - 0x40]
sbb esi, esi
neg esi
call fcn.00499230
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x472e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a251a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 6
call fcn.00491036
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.00491036
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.00491036
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00491036
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.00491036
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.00491036
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.00491036
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00491036
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x472e26
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a251a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 6
call fcn.00491036
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 5
call fcn.00491036
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 4
call fcn.00491036
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.00491036
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call fcn.00491036
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call fcn.00491036
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call fcn.00491036
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00491036
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4744d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4744db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4745de
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x50bb10]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50bb10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50bb10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50bb10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50bb10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x50bb10]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x50bb10]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50bb10]
xor eax, edx
inc ecx
dec edi
jne 0x4744f6
pop edi
test esi, esi
je 0x474600
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x50bb10]
xor eax, edx
inc ecx
dec esi
jne 0x4745e2
pop esi
pop ebx
not eax
ret
Function at 0x493401
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x493439
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00491491
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00491469
jmp 0x493445
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x494bfd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x494c3f
call fcn.0049b455
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x494c3f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x494c36
xor eax, eax
jmp 0x494c47
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00494c4d
pop edi
pop esi
pop ebx
ret 4
Function at 0x10784
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, 0x100
push edi
call fcn.00015c94
mov esi, eax
test esi, esi
je 0x107cd
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x107bf
push esi
call fcn.00015cd4
add edi, 0x100
jmp 0x1078f
test eax, eax
jge 0x107d1
test esi, esi
je 0x107cd
push esi
call fcn.00015cd4
xor eax, eax
jmp 0x107d3
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x109c6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
mov esi, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp esi, ebx
mov dword [ebp - 8], ebx
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
jne 0x10a01
mov eax, 0xc0000225
jmp 0x10a9f
lea eax, [ebp - 8]
push ebx
push eax
mov edi, 0x200
lea eax, [ebp - 0x210]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
test eax, eax
jl 0x10a9d
cmp dword [ebp - 0xc], edi
jne 0x10a9d
cmp word [ebp - 0x12], 0xaa55
jne 0x10a7c
cmp byte [ebp - 0x210], 0xeb
jne 0x10a46
cmp byte [ebp - 0x20e], 0x90
je 0x10a4f
cmp byte [ebp - 0x210], 0xe9
jne 0x10a7c
movzx eax, word [ebp - 0x1ff]
movzx ecx, word [ebp - 0x205]
shl eax, 5
lea eax, [eax + ecx - 1]
cdq
idiv ecx
movzx ecx, word [ebp - 0x1fa]
cmp ecx, ebx
jne 0x10a83
mov ecx, dword [ebp - 0x1ec]
cmp ecx, ebx
jne 0x10a83
mov eax, 0xc0000225
jmp 0x10a9f
movzx edx, byte [ebp - 0x200]
imul edx, ecx
movzx ecx, word [ebp - 0x202]
add eax, edx
add ecx, eax
mov dword [esi], ecx
mov dword [esi + 4], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10d5e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dl, byte [esp + 0xc]
mov dword [ecx + 0x18], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
ret 0xc
Function at 0x11f25
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
push ebx
push dword [ebp + 8]
lea eax, [ebp - 4]
xor bl, bl
push eax
call fcn.0001097c
test eax, eax
jl 0x11f5b
push dword [ebp - 4]
call fcn.00012042
test eax, eax
jge 0x11f59
push 0x11f0a
call sub.ntoskrnl.exe_DbgPrint
pop ecx
jmp 0x11f5b
mov bl, 1
cmp dword [ebp - 4], 0xffffffff
je 0x11f6a
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
neg bl
sbb ebx, ebx
and ebx, 0x3fffffff
add ebx, 0xc0000001
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x12042
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push edi
push edi
push dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x10], edi
mov byte [ebp - 1], bl
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
jl 0x12108
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x2c], 0x14
je 0x120c3
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 4]
call dword [sym.imp.ntoskrnl.exe_RtlVolumeDeviceToDosName]
test eax, eax
jl 0x120c3
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax]
push eax
call sub.ntoskrnl.exe_toupper
mov esi, eax
pop ecx
push dword [ebp - 0x2c]
sub esi, 0x41
shl esi, 7
add esi, 0x16480
call dword [sym.imp.ntoskrnl.exe_ExFreePool]
cmp byte [esi], bl
je 0x120b8
cmp byte [esi + 1], bl
jne 0x120bf
push 0x11f82
jmp 0x120c8
cmp esi, edi
jne 0x120d0
push 0x11fba
call sub.ntoskrnl.exe_DbgPrint
pop ecx
jmp 0x12108
mov eax, dword [esi + 0x24]
xor edx, edx
div dword [esi + 0x20]
push dword [ebp + 8]
mov dword [ebp - 8], eax
call fcn.000106d8
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x18], ebx
jne 0x1212e
push 0x11fe6
call sub.ntoskrnl.exe_DbgPrint
pop ecx
mov byte [ebp - 1], 1
cmp ebx, edi
je 0x12105
push ebx
call fcn.00015cd4
mov bl, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x12115
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
neg bl
sbb ebx, ebx
pop edi
and ebx, 0x3fffffff
pop esi
add ebx, 0xc0000001
mov eax, ebx
pop ebx
leave
ret 4
mov ecx, dword [ebx + 0xc]
cmp dword [ebx], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
jbe 0x120f7
lea edi, [ebx + 0x10]
mov ecx, dword [edi]
sub ecx, eax
mov dword [ebp + 8], ecx
je 0x121d7
xor eax, eax
push eax
push dword [ebp - 8]
push dword [edi + 0xc]
push dword [edi + 8]
call sub.ntoskrnl.exe__allmul
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add ebx, dword [esi + 0x28]
adc eax, dword [esi + 0x2c]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x20], edx
cmp ecx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edx
jb 0x121bd
ja 0x12191
cmp dword [ebp - 8], edx
jbe 0x121bd
jmp 0x12191
mov eax, dword [ebp - 0x34]
mov ecx, ebx
add ecx, dword [ebp - 0x20]
adc eax, dword [ebp - 0x1c]
push eax
push ecx
push dword [esi + 0x48]
call fcn.0001065a
test eax, eax
jne 0x121f7
add dword [ebp - 0x20], 1
adc dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], eax
jb 0x1218e
ja 0x121bd
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x20], eax
jb 0x1218e
dec dword [ebp + 8]
mov eax, dword [ebp - 8]
inc dword [ebp - 0x14]
add dword [ebp - 0x28], eax
push 0
pop eax
adc dword [ebp - 0x24], eax
cmp dword [ebp + 8], eax
jne 0x12168
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edi + 4]
inc dword [ebp - 0xc]
mov eax, dword [edi]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0xc]
add edi, 0x10
cmp ecx, dword [ebx]
jb 0x12144
xor edi, edi
jmp 0x120f7
push 0x1201a
call sub.ntoskrnl.exe_DbgPrint
mov ebx, dword [ebp - 0x18]
pop ecx
xor edi, edi
jmp 0x120fb
Function at 0x12712
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0xc]
xor esi, esi
push 0x126ac
push eax
mov dword [ebp - 4], esi
call edi
lea eax, [ebp - 4]
push eax
push esi
push esi
lea eax, [ebp - 0xc]
push reloc.ntoskrnl.exe_strncmp
push eax
push 0x30
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jl 0x12841
mov eax, dword [ebp - 4]
push 0x126dc
mov ebx, dword [eax + 0x28]
lea eax, [ebp - 0x14]
push eax
call edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, esi
jl 0x12841
mov eax, dword [sym.imp.ntoskrnl.exe_KeServiceDescriptorTable]
mov ecx, dword [eax + 8]
shl ecx, 2
push ecx
push dword [eax]
push esi
call dword [sym.imp.ntoskrnl.exe_MmCreateMdl]
cmp eax, esi
mov dword [0x163d4], eax
je 0x12841
push eax
call dword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
mov eax, dword [0x163d4]
push esi
or byte [eax + 6], 1
push dword [0x163d4]
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov dword [0x163d8], eax
call fcn.00015c72
push esi
push 0x434c4550
push 0x128
push esi
push esi
push esi
push 0x16400
call dword [sym.imp.ntoskrnl.exe_ExInitializePagedLookasideList]
push 0x163f4
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
mov ecx, 0x340
xor eax, eax
mov edi, 0x16480
push 0x1a
rep stosd dword es:[edi], eax
pop ecx
mov edi, 0x17180
rep stosd dword es:[edi], eax
mov ax, word [0xffdf0030]
mov dword [0x161d8], esi
mov word [0x16468], ax
mov dword [ebx], esi
mov dword [0x161c8], ebx
call sub.ntoskrnl.exe_PsGetCurrentProcessId
mov dword [0x161d0], eax
call fcn.000119b5
push esi
push 0x11c6e
push dword [ebp + 8]
mov dword [0x161cc], eax
call dword [sym.imp.ntoskrnl.exe_IoRegisterBootDriverReinitialization]
mov eax, dword [ebp - 4]
jmp 0x12851
cmp dword [ebp - 4], esi
je 0x1284f
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x12e8e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov eax, dword [esp + 4]
cmp eax, dword [0x161ec]
jne 0x12eb2
mov ecx, dword [esp + 8]
xor dl, dl
and dword [ecx + 0x1c], 0
and dword [ecx + 0x18], 0
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor eax, eax
jmp 0x12ec9
mov edx, dword [esp + 8]
inc byte [edx + 0x23]
add dword [edx + 0x60], 0x24
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + 4]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
ret 8

Function at 0x151f6
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x1742c
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
mov edi, dword [esi + 0x28]
push esi
call fcn.00012ef4
push dword [edi + 4]
mov dword [ebp + 8], eax
push esi
call fcn.00017200
push esi
call fcn.000175d0
mov esi, dword [ebp + 8]
xor dl, dl
mov ecx, ebx
mov dword [ebx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1746e
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x28]
push 2
push ebx
call dword [sym.imp.ntoskrnl.exe_IoWMIRegistrationControl]
lea edi, [esi + 0xdc]
xor edx, edx
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_InterlockedExchange]
push 8
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push edi
push ebx
call fcn.00012ef4
push dword [esi + 4]
mov dword [ebp + 8], eax
call dword [sym.imp.ntoskrnl.exe_IoDetachDevice]
push ebx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
lea eax, [esi + 0x54]
push eax
push dword [esi + 4]
call fcn.00012e74
mov esi, dword [ebp + 8]
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 8