joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10107008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1006214c
cmp byte [esi + 0x3d], 0
je 0x1006214c
push edi
push 0xffffffffffffffff
call fcn.100609a0
cmp eax, 0xffffffff
je 0x1006213a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10062102
sub eax, 1
je 0x10062106
sub eax, 2
jne 0x1006213a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080d10
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10062123
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1008d14a
add esp, 0x10
cmp edi, eax
jne 0x1006213a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080d10
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10080d10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10080d10
mov esp, ebp
pop ebp
ret

Function at 0x10063e20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10063e66
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10063e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x10063eb7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10065500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce298
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10107008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x14
call fcn.10080f21
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x18], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x10054df0
lea ebx, [edi + 4]
mov dword [ebp - 4], 0
push ebx
push 0
push esi
push 0x1006b500
push 0
push 0
call fcn.100945d0
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x10065594
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 6
mov dword [ebx], 0
call fcn.10081f14
int3

Function at 0x100655b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce298
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10107008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x14
call fcn.10080f21
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0x18], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x10055390
lea ebx, [edi + 4]
mov dword [ebp - 4], 0
push ebx
push 0
push esi
push 0x1006b570
push 0
push 0
call fcn.100945d0
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x10065644
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 6
mov dword [ebx], 0
call fcn.10081f14
int3

Function at 0x10065850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce318
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10107008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.10080f21
mov edx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov dword [eax], edx
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push eax
push 0x1006bab0
push 0
push 0
call fcn.100945d0
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x100658bf
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.10081f14
int3
Function at 0x100803d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov bl, dl
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x10080418
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], bl
cmp byte [ebp - 0xc], 0
je 0x10080456
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10080460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
movss dword [ebp - 4], xmm1
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x100804aa
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 4]
test eax, eax
setne byte [ebp - 8]
movss dword [esi], xmm0
cmp byte [ebp - 8], 0
je 0x100804ef
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10080500
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x10080546
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 1
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov bl, byte [esi]
test eax, eax
je 0x10080582
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10080590
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x100805d5
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 2
push eax
push 0x40
push 2
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
movzx esi, word [esi]
test eax, eax
je 0x10080612
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, si
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10080620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x10080665
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
mov esi, dword [esi]
test eax, eax
je 0x100806a1
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100806b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.10080780
mov ecx, dword [0x1013d438]
mov esi, eax
test cl, 1
jne 0x100806f5
or ecx, 1
mov dword [0x1013d420], 0x100e6c54
mov dword [0x1013d438], ecx
mov dword [0x1013d428], 0
mov dword [0x1013d424], 0
call fcn.100373d0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 4
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
movss xmm0, dword [esi]
movss dword [ebp - 8], xmm0
test eax, eax
je 0x1008073d
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1009b237
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009b0ad

Function at 0x100a3de6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a3d68

Function at 0x100a5447
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a4f9a
Function at 0x100af1d9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x41d60e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041d28a
push eax
push esi
push dword [ebp + 8]
call fcn.0041d23f
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041d28a
push eax
push esi
push dword [ebp + 8]
call fcn.0041d23f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041d28a
push eax
push esi
push dword [ebp + 8]
call fcn.0041d23f
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041d27a
outsb dx, byte [esi]
jnp 0x41d72e
inc esi
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0041d27a
movsd dword es:[edi], dword [esi]
sub dword [edi], esi
adc ecx, dword [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x41d92d
Capabilities:
Inspect section memory permissions

Disassembly:
test eax, 0xeb0c5d89
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41d951
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41d96f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41d9cd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41d9b4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41d9bd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41d9c7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41d9a9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41d933
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41da1a
dec eax
je 0x41da11
sub eax, 3
je 0x41da08
mov dword [ebp - 4], 0x40
jmp 0x41da37
mov dword [ebp - 4], 4
jmp 0x41da1d
mov dword [ebp - 4], 0x20
jmp 0x41da1d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41da69
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41d9e9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041d27a
adc byte [ebx], 0x30
clc
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x41da75
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x1c
test edx, edx
je 0x10002060
cmp word [edx], 0
mov esi, edx
je 0x100020a0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10001fe8
sub eax, esi
sar eax, 1
add eax, 1
lea edx, [ebp - 0x10]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x12]
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
lea edx, [ebp - 0x10]
sub esp, 0x14
test eax, eax
je 0x10002058
movzx eax, word [ebp - 0x12]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
add eax, eax
mov dword [esp + 4], esi
mov word [ebp - 0x12], ax
movzx eax, ax
mov dword [esp + 8], eax
mov dword [esp], ebx
call edi
sub esp, 0x14
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov dword [esp], ebx
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x12]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 2
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
mov eax, 1
jmp 0x10001ff8
Function at 0x100068f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
movzx ebx, word [ebp + 0xc]
test byte [0x1000c0a0], 8
jne 0x100069f0
cmp ebx, dword [edi + 0x5c]
jae 0x10006a50
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, dword [edi + 0x60]
movzx edx, word [eax]
mov word [esi], dx
xor edx, edx
mov word [esi + 2], dx
movzx edx, word [eax + 4]
mov word [esi + 4], dx
movzx edx, word [eax + 6]
mov word [esi + 6], dx
movzx edx, word [eax + 8]
mov word [esi + 8], dx
movzx edx, word [eax + 0xa]
mov word [esi + 0xa], dx
movzx edx, word [eax + 0xc]
mov word [esi + 0xc], dx
movzx edx, word [eax + 0xe]
mov word [esi + 0xe], dx
movzx edx, word [eax + 0x10]
mov word [esi + 0x10], dx
movzx edx, word [eax + 0x12]
mov word [esi + 0x12], dx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x20], edx
cmp edx, 3
je 0x10006a38
ja 0x100069c8
cmp edx, 1
je 0x10006a28
cmp edx, 2
jne 0x100069b0
movzx edx, word [eax + 0x24]
mov word [esi + 0x24], dx
movzx eax, word [eax + 0x26]
mov word [esi + 0x26], ax
nop
mov dword [esi + 0x2c], 0
xor eax, eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 4
jne 0x100069b0
movzx edx, word [eax + 0x24]
mov word [esi + 0x24], dx
movzx edx, word [eax + 0x26]
mov word [esi + 0x26], dx
movzx eax, word [eax + 0x28]
mov word [esi + 0x28], ax
jmp 0x100069b0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x1000e22f
mov dword [esp + 8], str.task_get_trigger
mov dword [esp + 4], 0x1000c0a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10006910
movzx eax, word [eax + 0x24]
mov word [esi + 0x24], ax
jmp 0x100069b0
mov edx, dword [eax + 0x24]
mov dword [esi + 0x24], edx
movzx eax, word [eax + 0x28]
mov word [esi + 0x28], ax
jmp 0x100069b0
mov eax, 0x80041309
jmp 0x100069b9
Function at 0x10008e00
Capabilities:
Schedule task via itaskservice

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x90
mov esi, dword [ecx]
test byte [0x1000c0c0], 8
jne 0x10008f68
lea eax, [ebp - 0x54]
mov dword [esp + 0xc], 0x1000f638
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x1000f4e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10008f14
mov edx, 1
mov ecx, 1
mov eax, dword [ebp - 0x54]
mov ebx, 1
mov word [ebp - 0x50], dx
mov edx, 1
mov word [ebp - 0x40], cx
mov word [ebp - 0x20], dx
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax]
mov word [ebp - 0x30], bx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x10], ecx
call dword [edx + 0x28]
sub esp, 0x44
mov ebx, eax
test eax, eax
je 0x10008f28
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], 0xc
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x54]
test eax, eax
je 0x10008f95
mov dword [eax], sym._MSTASK_ITaskScheduler_QueryInterface_12
mov dword [eax + 8], edx
mov dword [eax + 4], 1
mov dword [esi], eax
lock add dword [section..bss], 1
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__n
mov dword [esp + 8], str.TaskSchedulerConstructor
mov dword [esp + 4], 0x1000c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10008e25
mov eax, dword [edx]
mov dword [esp], edx
mov ebx, 0x8007000e
call dword [eax + 8]
push eax
jmp 0x10008f14
Function at 0x1000a160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x1000a1b8
cmp byte [esi + ebx - 1], 0xa
je 0x1000a18c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100130a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret