joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b9b3
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x60]
xor edx, edx
mov dword [edi + 0x1c], edx
movzx ecx, byte [eax]
sub ecx, edx
mov esi, dword [eax + 8]
mov ebx, dword [eax + 4]
je 0x5bad1
dec ecx
dec ecx
je 0x5baeb
sub ecx, 0xc
je 0x5ba1d
sub ecx, 4
je 0x5b9f3
mov esi, 0xc000000d
jmp 0x5bafc
mov eax, 0x50650
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5baeb
cmp dword [0x50658], edx
je 0x5baeb
call fcn.0005d915
xor edx, edx
jmp 0x5baeb
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp + 0xc], eax
call fcn.00047a8a
test al, al
jne 0x5ba37
mov esi, 0xc000000e
jmp 0x5bafc
mov ecx, dword [ebp + 0xc]
mov eax, 0x128010
cmp ecx, eax
ja 0x5ba8f
je 0x5ba85
mov eax, ecx
sub eax, 0x128000
je 0x5ba7b
sub eax, 4
je 0x5ba71
sub eax, 4
je 0x5ba67
sub eax, 4
jne 0x5baa2
push ebx
push esi
push edi
call fcn.0005e6bf
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005e43f
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005e4be
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005bc55
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005e72f
jmp 0x5bac5
mov eax, ecx
sub eax, 0x128014
je 0x5babd
sub eax, 4
je 0x5bab3
sub eax, 4
je 0x5baa9
mov esi, 0xc000000d
jmp 0x5bac7
push ebx
push esi
push edi
call fcn.0005e7ac
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005bc94
jmp 0x5bac5
push ebx
push esi
push edi
call fcn.0005e920
mov esi, eax
push dword [ebp + 0xc]
call fcn.00047ae6
jmp 0x5baf4
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x20], edx
jne 0x5baef
cmp word [eax + 0x30], dx
jne 0x5baef
xor ecx, ecx
mov eax, 0x50650
inc ecx
lock xadd dword [eax], ecx
xor esi, esi
jmp 0x5bafc
mov esi, 0xc0000022
cmp esi, 0x103
je 0x5bb09
mov dl, 2
mov ecx, edi
mov dword [edi + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5bb17
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
or byte [eax + 3], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 8
push ebx
push esi
push edi
jne 0x5bc28
xor esi, esi
cmp dword [eax + 4], esi
je 0x5bc28
mov ebx, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
push 0x10
push 0x67494354
push 0x14
push esi
call ebx
mov edi, eax
cmp edi, esi
je 0x5bbc3
push 0x10
push 0x68494354
push 0x14
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x5bb80
push eax
push edi
mov dword [ebp + 0xc], 0xc000009a
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x5bc2f
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], esi
mov eax, dword [eax + 4]
cmp eax, 6
jb 0x5bb9d
push 6
pop eax
push 0x10
push 0x67494354
push eax
push 0
mov dword [esi + 0xc], eax
call ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x10], eax
jne 0x5bbcc
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call esi
push ebx
push edi
call esi
mov dword [ebp + 0xc], 0xc000009a
jmp 0x5bc2f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov dword [esi], ebx
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edi
push ecx
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], eax
call fcn.000480aa
test al, al
jne 0x5bc0b
push fcn.00048100
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.000442f4
cmp eax, 0x2bf7
je 0x5bc44
push eax
push esi
call fcn.00048100
jmp 0x5bc44
push ebx
push edi
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [ebp + 0xc], 0xc0000120
call edi
push ebx
push dword [esi + 0x10]
call edi
push ebx
push esi
call edi
jmp 0x5bc2f
mov dword [ebp + 0xc], 0xc0000206
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
and dword [ecx + 0x1c], 0
mov dl, 2
mov dword [ecx + 0x18], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, 0x103
pop ebx
leave
ret 8

Function at 0x5bcca
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0x1c], 0
cmp dword [eax + 0xc], 0x128008
push edi
mov edi, dword [esi + 0xc]
jne 0x5bd0b
cmp dword [eax + 4], 4
jae 0x5bcfb
mov dword [ebp - 4], 0xc000000d
jmp 0x5bd18
call fcn.0004c440
mov dword [edi], eax
mov dword [esi + 0x1c], 4
jmp 0x5bd18
cmp dword [eax + 8], 4
jb 0x5bcf2
push dword [edi]
call fcn.0004c46b
mov edi, dword [ebp - 4]
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x5bd35
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
and dword [esi + 0x1c], 0
cmp dword [ecx + 8], 0xc
mov eax, dword [esi + 0xc]
push edi
jae 0x5bd56
mov edi, 0xc000000d
jmp 0x5bd78
cmp dword [ecx + 0xc], 0x128010
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [eax]
bswap eax
push eax
jne 0x5bd71
call fcn.000242f4
jmp 0x5bd76
call fcn.0004c547
mov edi, eax
mov dl, 2
mov ecx, esi
mov dword [esi + 0x18], edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x5bd92
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0xc
mov edx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0xc]
jae 0x5bdb7
mov ebx, 0xc000000d
and dword [edi + 0x1c], 0
jmp 0x5bdef
cmp edx, 8
jae 0x5bdc3
mov ebx, 0xc0000023
jmp 0x5bdb1
lea eax, [esi + 4]
push eax
push esi
add edx, 0xfffffff8
push edx
lea ecx, [esi + 8]
push ecx
push dword [ecx]
push dword [eax]
mov eax, dword [esi]
bswap eax
push eax
call fcn.0004c588
mov esi, dword [esi]
lea eax, [esi + esi*2]
lea eax, [eax*4 + 8]
xor ebx, ebx
mov dword [edi + 0x1c], eax
mov dl, 2
mov ecx, edi
mov dword [edi + 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x5e85f
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push edi
lea eax, [ebp - 4]
push eax
call ebx
mov ecx, dword [0x51428]
mov edi, 0x51428
cmp ecx, edi
je 0x5e8c6
push esi
mov eax, dword [ecx]
mov dword [0x51428], eax
lea esi, [ecx - 0x58]
mov dword [eax + 4], edi
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0xc000000e
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea eax, [ebp - 4]
push eax
call ebx
mov ecx, dword [0x51428]
cmp ecx, edi
jne 0x5e883
pop esi
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
pop edi
pop ebx
leave
ret

Function at 0x5ea01
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 8]
mov eax, dword [esi]
sub eax, 0
je 0x5ea33
dec eax
je 0x5ea24
dec eax
je 0x5ea33
and dword [ebp - 4], 0
jmp 0x5ea3c
mov eax, dword [esi + 4]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 8]
jmp 0x5ea39
mov eax, dword [esi + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov ebx, dword [0x51428]
mov ecx, 0x51428
cmp ebx, ecx
je 0x5eaa9
mov eax, dword [ebx]
mov dword [0x51428], eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
mov edi, dword [ebx - 0x4c]
mov eax, ecx
shr ecx, 2
add ebx, 0xffffffa8
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
lea ecx, [ebx + 0x38]
xchg dword [ecx], eax
mov eax, dword [ebp - 4]
and dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], eax
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, 2
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
push dword [ebp + 8]
push 0x506c0
call fcn.000484f9
jmp 0x5eac8
mov eax, dword [0x51434]
mov dword [edi], 0x51430
mov dword [edi + 4], eax
mov dword [eax], edi
push dword [ebp - 8]
mov dword [0x51434], edi
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x62426
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push edi
push 0x62578
lea eax, [ebp - 8]
push eax
mov dword [0x51724], ebx
call esi
push 0x62590
lea eax, [ebp - 0x10]
push eax
call esi
push 0x51720
xor edi, edi
push edi
push 0x100
push 0x12
lea eax, [ebp - 8]
push eax
push edi
push ebx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov esi, eax
cmp esi, edi
jl 0x62d00
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov esi, eax
cmp esi, edi
jl 0x62d00
push 0x4ff90
lea eax, [ebp - 8]
push eax
call sub.TDI.SYS_TdiRegisterProvider
mov esi, eax
cmp esi, edi
jl 0x62d26
mov eax, dword [0x51720]
or dword [eax + 0x1c], 0x10
mov esi, dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
mov eax, 0x505f8
mov dword [0x505fc], eax
mov dword [0x505f8], eax
mov eax, 0x505d0
mov dword [0x505d4], eax
mov dword [0x505d0], eax
mov eax, 0x505f0
mov dword [0x505f4], eax
mov dword [0x505f0], eax
mov eax, 0x516b8
mov dword [0x516bc], eax
mov dword [0x516b8], eax
mov eax, 0x505e0
mov dword [0x505e4], eax
mov dword [0x505e0], eax
mov eax, 0x54340
push 0x4fb80
mov dword [RtlExtendedMagicDivide], eax
mov dword [0x54340], eax
call esi
mov eax, 0x517c0
push 0x516e0
mov dword [0x517c4], eax
mov dword [0x517c0], eax
call esi
mov eax, 0x505d8
push edi
push 0x516c0
mov dword [0x505dc], eax
mov dword [0x505d8], eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
call fcn.0005fccc
mov esi, eax
cmp esi, edi
jne 0x62d17
push 0x5171c
push dword [ebp + 0xc]
mov dword [0x5171c], edi
push ebx
call fcn.000625b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push edi
push edi
lea eax, [ebp - 4]
push eax
push 1
push 1
push 0xc0001004
push ebx
call sub.TDI.SYS_CTELogEvent
jmp 0x62d32
mov eax, dword [0x4ff90]
cmp eax, edi
je 0x62d26
push eax
call sub.TDI.SYS_TdiDeregisterProvider
push dword [0x51720]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, esi
jmp 0x62571
Function at 0x625b9
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.000270c7
push 0x6270e
call sub.ntoskrnl.exe_wcslen
lea esi, [eax + eax + 4]
mov eax, dword [ebp + 0xc]
add si, word [eax]
mov dword [esp], 0x6d6d5049
movzx edi, si
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x62d3d
push dword [ebp + 0xc]
mov ecx, edi
mov edi, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0xe], si
mov dword [ebp - 0xc], edi
call dword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
mov esi, dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 0x62726
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0005b0bf
push ebx
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [ebp + 0xc], ebx
jne 0x6266d
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push 0x6273e
lea eax, [ebp - 0x18]
push eax
mov dword [0x50658], ebx
mov dword [0x50654], ebx
mov dword [0x50650], ebx
mov dword [0x506ac], ebx
mov dword [0x506a8], ebx
mov dword [0x5065c], ebx
call esi
mov esi, dword [ebp + 0x10]
push esi
push ebx
push 0x100
push 0x12
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebx
jl 0x62706
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0005b01a
test al, al
je 0x62d47
push 0x50604
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
mov esi, dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push ebx
push edi
push 0x50640
call esi
push ebx
push edi
push 0x5062c
mov dword [0x50620], edi
mov dword [0x50624], ebx
mov dword [0x50628], ebx
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, 0xc000009a
jmp 0x62706
push dword [esi]
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, 0xc0000001
jmp 0x62706
Function at 0x6a0ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x249000]
push edi
jmp 0x6a0cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6a0cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a0cb0
mov eax, 1
add ebx, ebx
jne 0x6a0cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6a0ce4
jne 0x6a0d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a0d03
dec eax
add ebx, ebx
jne 0x6a0cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6a0cc8
add ebx, ebx
jne 0x6a0cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6a0d55
xor ecx, ecx
sub eax, 3
jb 0x6a0d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6a0d8a
sar eax, 1
mov ebp, eax
jmp 0x6a0d26
add ebx, ebx
jne 0x6a0d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a0cf4
inc ecx
add ebx, ebx
jne 0x6a0d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6a0cf4
add ebx, ebx
jne 0x6a0d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6a0d36
jne 0x6a0d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6a0d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6a0d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6a0d66
jmp 0x6a0cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6a0d74
add edi, ecx
jmp 0x6a0cb6
pop esi
mov edi, esi
mov ecx, 0xe449
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6a0d92
cmp byte [edi], 0x21
jne 0x6a0d92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6a0d97
lea edi, [esi + 0x29e000]
mov eax, dword [edi]
or eax, eax
je 0x6a0e06
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a0000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a003c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6a0dc4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a0040]
or eax, eax
je 0x6a0e00
mov dword [ebx], eax
add ebx, 4
jmp 0x6a0de1
call dword [esi + 0x2a0050]
mov ebp, dword [esi + 0x2a0044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6a0e3a
sub esp, 0xffffff80
jmp 0x5cfcb0
Function at 0x1003c33a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1003c349
pop dword [ebp - 0x24]
mov eax, 0x1e9f196a
sub eax, 0xe9b5621
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x22557ce2
add dword [ebp - 0x34], 0x2bfcc869
mov dword [ebp - 0x30], 0xc12bdfc7
sub dword [ebp - 0x30], 0x8ef89382
mov dword [ebp - 0x2c], 0x27dac6cb
sub dword [ebp - 0x2c], 0xdb8e829d
mov dword [ebp - 0x28], 0x88e576be
sub dword [ebp - 0x28], 0x88e576be
lea eax, [ebp - 0x34]
push eax
mov eax, 0xe54fd56e
sub eax, 0xd54bf4f2
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xb218b325
add dword [ebp - 0x34], 0xc259b631
mov dword [ebp - 0x30], 0xce0a238e
add dword [ebp - 0x30], 0x73623de7
mov dword [ebp - 0x2c], 0xf3d735f4
add dword [ebp - 0x2c], 0x6f983678
mov dword [ebp - 0x28], 0x47cdb64
add dword [ebp - 0x28], 0xfb83249c
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x40e9e
push 0
call eax
mov ecx, 0xe6b54c14
add ecx, 0x194b0922
xor edx, edx
add edx, eax
mov edi, 0x996ffeb8
add edi, 0x76971348
add edi, dword [ebp - 0x24]
mov esi, 0x22ca007e
add esi, 0x1f2e044f
sub dword [ebp - 0xc], edi
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0x87c00087
sub ebx, esi
xor dword [ebp - 0x10], ecx
mov dword [edx], ebx
sub dword [ebp - 0x20], edi
add edx, 4
add edi, 0x353da934
add edi, 0xcac256d0
loop 0x1003c468
add eax, 0x2c869972
add eax, 0xd37aae39
xor ebx, ebx
add ebx, eax
add eax, 0x40b10fa1
sub eax, 0x40b10f9c
mov ecx, 0x68c34461
add ecx, 0xa73cbb9f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x417d34
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00417db3
jae 0x417d40
xor ecx, ecx
call fcn.00417db3
jae 0x417d6a
xor eax, eax
call fcn.00417db3
jae 0x417d7b
mov al, 0x10
call fcn.00417db3
adc al, al
jae 0x417d5c
jne 0x417da8
stosb byte es:[edi], al
jmp 0x417d41
call fcn.00417dbf
dec ecx
loop 0x417d87
mov eax, ebp
call fcn.00417dbd
jmp 0x417da9
lodsb al, byte [esi]
shr eax, 1
je 0x417dcf
adc ecx, 2
mov ebp, eax
jmp 0x417da9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00417dbd
cmp eax, 0x7d00
jae 0x417da7
cmp eax, 0x500
jae 0x417da8
cmp eax, 0x7f
ja 0x417da9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x417d41
pop ebp
ret 8
Function at 0x10001010
Capabilities:
Encrypt data using rc4 ksa
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x11c], edi
cmp edi, 0xffffffff
jne 0x1000106c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0xc], 0xeffcadfb
push esi
push 8
mov dword [ebp - 8], 0xbfdacffe
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov ebx, eax
lea eax, [ebp - 0x114]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
mov edi, ebx
add esi, 0xfffffff8
mov eax, dword [edi]
lea edx, [ebp - 0xc]
cmp eax, dword [edx]
jne 0x100010c3
mov eax, dword [edi + 4]
cmp eax, dword [edx + 4]
je 0x100010e2
inc ecx
inc edi
cmp ecx, esi
jbe 0x100010b2
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test edi, edi
je 0x100010c9
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x3000
push 8
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
movaps xmm0, xmmword [str.f0UwKesqQ3_Go0_]
lea esi, [ebp - 0x12c]
mov dword [ebp - 0x118], eax
lea ecx, [esi + 1]
movups xmmword [ebp - 0x12c], xmm0
mov al, byte [esi]
inc esi
test al, al
jne 0x10001118
sub esi, ecx
xor ebx, ebx
xor ecx, ecx
mov eax, ecx
mov byte [ebp + ecx - 0x22c], cl
cdq
idiv esi
mov al, byte [ebp + edx - 0x12c]
mov byte [ebp + ecx - 0x32c], al
inc ecx
cmp ecx, 0x100
jl 0x10001125
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x22c]
movzx eax, byte [ebp + esi - 0x32c]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x10001176
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + ebx - 0x22c]
mov byte [ebp + ebx - 0x22c], dl
mov byte [ebp + esi - 0x22c], al
inc esi
cmp esi, 0x100
jl 0x10001150
xor esi, esi
xor edx, edx
xor ebx, ebx
nop word [eax + eax]
inc ebx
and ebx, 0x800000ff
jns 0x100011b1
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx - 0x22c]
movzx eax, cl
add esi, eax
and esi, 0x800000ff
jns 0x100011cd
dec esi
or esi, 0xffffff00
inc esi
mov al, byte [ebp + esi - 0x22c]
mov byte [ebp + esi - 0x22c], cl
movzx ecx, al
mov byte [ebp + ebx - 0x22c], al
movzx eax, byte [ebp + esi - 0x22c]
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0x118]
movzx eax, byte [ebp + eax - 0x22c]
xor al, byte [edx + edi + 8]
mov byte [ecx + edx], al
inc edx
cmp edx, 0x3000
jl 0x100011a0
pop esi
pop ebx
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x118]
xor ecx, ebp
pop edi
call fcn.10001568
mov esp, ebp
pop ebp
ret
Function at 0x10001240
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0x104
push 0
push eax
call fcn.10002560
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
nop dword [eax]
mov cl, byte [eax + str.aefd_]
test cl, cl
je 0x100012a7
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, 5
jb 0x10001290
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
cmp byte [ebp - 0x110], 0
je 0x100012c6
nop
inc eax
cmp byte [eax], 0
jne 0x100012c0
mov cl, byte [ebp - 0x214]
lea edx, [ebp - 0x214]
sub edx, eax
mov byte [eax], cl
lea eax, [eax + 1]
mov cl, byte [edx + eax]
test cl, cl
jne 0x100012d4
mov byte [eax], cl
lea eax, [ebp - 0x110]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001568
mov esp, ebp
pop ebp
ret
Function at 0x10004a09
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10004a48
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10004a48
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10004a48
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10004a48
cmp dword [ecx + 0x74], 0xe
jbe 0x10004a48
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10005c5f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4e8
push 0x1000f4e0
push str.FlsAlloc
push 0x1f
call fcn.10005b7b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005c93
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e148]
call esi
jmp 0x10005c99
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10005cdd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f4f8
push 0x1000f4f0
push str.FlsGetValue
push 0x21
call fcn.10005b7b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005d14
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000e148]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10005d1c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000f500
push 0x1000f4f8
push str.FlsSetValue
push 0x22
call fcn.10005b7b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10005d56
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000e148]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]