joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103782c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x104e180c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], eax
call fcn.1008222e
and dword [esp + 0x5c], 0
cmp dword [esi + 0x14], 8
jb 0x10378339
mov ebp, dword [esi]
jmp 0x1037833b
mov ebp, esi
cmp dword [esi + 0x14], 8
jb 0x10378343
mov esi, dword [esi]
cmp edi, ebx
je 0x103783b6
push edi
push esi
push ebp
push ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100823f7
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x30]
lea ecx, [esp + 0x3c]
mov esi, ebx
call fcn.1030700a
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 8
jb 0x1037837b
mov ecx, dword [eax]
jmp 0x1037837d
mov ecx, eax
mov eax, dword [eax + 0x10]
lea eax, [ecx + eax*2]
push eax
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x70]
call fcn.102bc38c
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
cmp edi, ebx
je 0x103783b6
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
jmp 0x10378347
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x14], 8
jb 0x103783c4
mov ecx, dword [ebx]
jmp 0x103783c6
mov ecx, ebx
mov eax, dword [ebx + 0x10]
lea eax, [ecx + eax*2]
push eax
push esi
push ebp
push ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100823f7
cmp dword [esp + 0x4c], 0
jne 0x1037840b
cmp dword [ebx + 0x14], 8
jb 0x103783f0
mov ecx, dword [ebx]
jmp 0x103783f2
mov ecx, ebx
mov eax, dword [ebx + 0x10]
lea eax, [ecx + eax*2]
mov ecx, ebx
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
call fcn.100823a6
jmp 0x10378451
sub esp, 0xc
lea ecx, [esp + 0x48]
push esp
call fcn.10082309
mov byte [esp + 0x68], 1
sub esp, 0xc
lea ecx, [esp + 0x54]
push esp
call fcn.100822f1
mov byte [esp + 0x74], 2
cmp dword [ebx + 0x14], 8
jb 0x10378439
mov ecx, dword [ebx]
jmp 0x1037843b
mov ecx, ebx
mov eax, dword [ebx + 0x10]
lea eax, [ecx + eax*2]
push eax
mov byte [esp + 0x78], 0
mov ecx, ebx
call fcn.10082334
add esp, 0x1c
or dword [esp + 0x5c], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10082284
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x1037c09d
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x104e2906
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x8c]
lea ebp, [esi + 0x1cc]
mov edi, dword [esp + 0x90]
mov ecx, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov byte [esp + 0x2c], 0
call dword [eax]
xor ebx, ebx
inc ebx
mov byte [esp + 0x2c], bl
and dword [esp + 0x80], 0
lea eax, [esp + 0x18]
push dword [esp + 0x20]
lea ecx, [esi + 0x1e8]
push eax
call fcn.1035c4fe
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x1e8]
jne 0x1037c154
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x1e8]
call fcn.1038f0b0
mov eax, dword [eax]
lea esi, [eax + 0x44]
push edi
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.103399d3
mov eax, dword [esi]
cmp eax, dword [esp + 0x18]
je 0x1037c1a8
lea eax, [esp + 0x18]
mov dword [esp + 0x18], str._2068
push eax
lea ecx, [esp + 0x34]
call fcn.100783c3
mov byte [esp + 0x80], bl
mov dword [esp + 0x30], vtable.._AV3425_______________________________________________________.0
mov byte [esp + 0x80], 0
lea eax, [esp + 0x30]
push 0x107273c4
push eax
call fcn.1043aaeb
push dword [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.1038f1c8
mov byte [esp + 0x80], 2
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x70], eax
test eax, eax
je 0x1037c1e5
add eax, 8
lock xadd dword [eax], ebx
inc ebx
mov byte [esp + 0x80], 5
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, esi
call fcn.103399d3
mov eax, dword [esp + 0x14]
cmp eax, dword [esi]
jne 0x1037c21b
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.1038f110
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [eax + 0x20]
call fcn.10387a9b
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x30]
call fcn.1037c26f
or dword [esp + 0x80], 0xffffffff
mov ecx, ebp
mov eax, dword [ebp]
mov byte [esp + 0x2c], 0
call dword [eax + 8]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10436e26
add esp, 0x70
ret 0x10
Function at 0x1037e35c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x104e3279
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x78]
lea ebx, [edi + 0x84]
mov dword [esp + 0x38], ebx
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esp + 0x3c], 0
call dword [eax]
mov byte [esp + 0x3c], 1
and dword [esp + 0x70], 0
lea ebp, [edi + 0x7c]
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebp
push eax
mov ecx, ebp
call fcn.10385fbe
mov edi, dword [esp + 0x1c]
cmp dword [ebp], edi
jne 0x1037e407
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str._2080
push eax
lea ecx, [esp + 0x44]
call fcn.100783c3
mov byte [esp + 0x70], 1
mov dword [esp + 0x40], vtable.._AV3425_______________________________________________________.0
mov byte [esp + 0x70], 0
lea eax, [esp + 0x40]
push 0x107273c4
push eax
call fcn.1043aaeb
lea eax, [edi + 0x28]
push eax
lea ecx, [esp + 0x28]
call fcn.10387af8
mov byte [esp + 0x70], 2
mov esi, dword [esp + 0x24]
mov byte [esp + 0x1b], 0
cmp dword [esp + 0x28], esi
je 0x1037e4b2
mov ebp, dword [esp + 0x7c]
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.10339324
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x1037e45c
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.103390b2
mov esi, dword [eax]
jmp 0x1037e464
cmp eax, dword [ebp]
je 0x1037e47e
add esi, 8
mov byte [esp + 0x70], 2
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1037e476
call fcn.10076eba
cmp dword [esp + 0x28], esi
jne 0x1037e430
jmp 0x1037e4a4
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.103390b2
mov byte [esp + 0x1b], 1
mov byte [esp + 0x70], 2
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1037e4a4
call fcn.10076eba
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
jne 0x1037e4bf
mov ebp, dword [esp + 0x20]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.10385d38
cmp byte [esp + 0x1b], 0
jne 0x1037e4fc
lea eax, [esp + 0x20]
mov dword [esp + 0x20], str._2081
push eax
lea ecx, [esp + 0x44]
call fcn.100783c3
mov byte [esp + 0x70], 7
mov dword [esp + 0x40], vtable.._AV3425_______________________________________________________.0
mov byte [esp + 0x70], 2
lea eax, [esp + 0x40]
push 0x107273c4
jmp 0x1037e401
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x24]
call fcn.102a03e0
or dword [esp + 0x70], 0xffffffff
mov ecx, ebx
mov eax, dword [ebx]
mov byte [esp + 0x3c], 0
call dword [eax + 8]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.10436e26
add esp, 0x60
ret 8
Function at 0x10395537
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104e7661
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ecx
mov word [esp + 0x38], ax
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x10]
call fcn.10290629
mov byte [esp + 0x90], 1
lea edx, [esp + 0x30]
mov ecx, dword [eax]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x38]
push ecx
push eax
lea ecx, [esi - 0x38]
call fcn.102df5d6
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [esp + 0x90], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x103955ed
call fcn.10076eba
mov byte [esp + 0x90], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10395602
call fcn.10076eba
test bl, bl
je 0x1039568e
lea eax, [esp + 0x50]
push eax
call fcn.103948b0
mov esi, eax
mov byte [esp + 0x90], 5
lea ecx, [esp + 0x10]
call fcn.10290629
mov byte [esp + 0x90], 6
lea ecx, [esp + 0x68]
push esi
push ecx
mov ecx, dword [eax]
call fcn.10331707
mov byte [esp + 0x90], 7
lea ecx, [esp + 0x38]
push eax
call fcn.100807b4
mov byte [esp + 0x90], 6
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0x70]
call fcn.1007a42c
mov byte [esp + 0x90], 5
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10395679
call fcn.10076eba
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x50]
push ebx
push 1
call fcn.1007a42c
jmp 0x10395690
xor ebx, ebx
lea eax, [esp + 0x50]
push eax
call fcn.1039573e
mov byte [esp + 0x90], 9
lea ecx, [esp + 0x18]
push eax
call fcn.10351043
mov byte [esp + 0x90], 0xb
lea ecx, [esp + 0x50]
push ebx
push 1
call fcn.1007a42c
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.10351043
mov byte [esp + 0x90], 0xc
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.1039294e
mov byte [esp + 0x90], 0xb
lea ecx, [esp + 0x24]
call fcn.1035124a
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x18]
call fcn.1035124a
or dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x38]
push ebx
push 1
call fcn.1007a42c
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 8
Function at 0x1039d3f6
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104e94fb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov byte [esp + 0x13], 0
call fcn.10290629
and dword [esp + 0x50], 0
lea edx, [esp + 0x14]
mov ecx, dword [eax]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x50], 1
lea ecx, [esi - 0x34]
push eax
call fcn.102df4af
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [esp + 0x50], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1039d483
call fcn.10076eba
or dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1039d495
call fcn.10076eba
test bl, bl
je 0x1039d4a0
xor al, al
jmp 0x1039d58c
lea eax, [esp + 0x28]
push eax
call fcn.1039d2f1
mov dword [esp + 0x50], 4
mov ecx, dword [esp + 0x24]
push eax
call fcn.1007fac2
mov ebx, eax
neg ebx
sbb bl, bl
or dword [esp + 0x50], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.1007a42c
inc bl
je 0x1039d588
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
mov dword [esp + 0x50], 5
lea ecx, [esp + 0x14]
call fcn.10290629
mov byte [esp + 0x50], 6
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esi - 0x34]
call fcn.102df648
mov bl, al
mov byte [esp + 0x50], 6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1039d543
call fcn.10076eba
mov byte [esp + 0x50], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1039d555
call fcn.10076eba
test bl, bl
je 0x1039d576
cmp dword [esp + 0x38], 0
setne al
cmp dword [edi + 4], 2
je 0x1039d56e
call fcn.10364ca1
jmp 0x1039d571
mov byte [edi + 0x24], al
mov byte [esp + 0x13], 1
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x28]
push 0
push 1
call fcn.1007a42c
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x103a13b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x104e94fb
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov byte [esp + 0x13], 0
call fcn.10290629
and dword [esp + 0x50], 0
lea edx, [esp + 0x14]
mov ecx, dword [eax]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x50], 1
lea ecx, [esi - 0x30]
push eax
call fcn.102df4af
mov bl, al
neg bl
sbb bl, bl
inc bl
mov byte [esp + 0x50], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x103a1445
call fcn.10076eba
or dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x103a1457
call fcn.10076eba
test bl, bl
je 0x103a1462
xor al, al
jmp 0x103a154e
lea eax, [esp + 0x28]
push eax
call fcn.103a12b1
mov dword [esp + 0x50], 4
mov ecx, dword [esp + 0x24]
push eax
call fcn.1007fac2
mov ebx, eax
neg ebx
sbb bl, bl
or dword [esp + 0x50], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.1007a42c
inc bl
je 0x103a154a
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
mov dword [esp + 0x50], 5
lea ecx, [esp + 0x14]
call fcn.10290629
mov byte [esp + 0x50], 6
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
add ecx, 0xc
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esi - 0x30]
call fcn.102df5d6
mov bl, al
mov byte [esp + 0x50], 6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x103a1505
call fcn.10076eba
mov byte [esp + 0x50], 5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x103a1517
call fcn.10076eba
test bl, bl
je 0x103a1538
cmp dword [esp + 0x38], 0
setne al
cmp dword [edi + 4], 2
je 0x103a1530
call fcn.10364ca1
jmp 0x103a1533
mov byte [edi + 0x24], al
mov byte [esp + 0x13], 1
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x28]
push 0
push 1
call fcn.1007a42c
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10436e26
mov esp, ebp
pop ebp
ret 0xc
Function at 0x103a428e
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x104d7946
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor eax, eax
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
lea edi, [esp + 0x38]
push 6
pop ecx
mov esi, 0x1061d044
mov dword [esp + 0x30], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
lea eax, [esp + 0x38]
push 0x18
push eax
mov dword [esp + 0x24], ebx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x3c], 0xf
call fcn.1007a193
xor ebp, ebp
inc ebp
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x34]
cmp esi, 0x10
mov edi, dword [esp + 0x20]
cmovae ecx, edi
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x20]
cmp esi, 0x10
cmovae edx, edi
add eax, edx
cmp eax, ecx
je 0x103a4340
xor byte [ecx], 0xdf
inc ecx
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
jmp 0x103a431e
cmp esi, 0x10
lea eax, [esp + 0x20]
push 0xc
cmovae eax, edi
mov ecx, ebx
push eax
call fcn.10079d49
mov dword [esp + 0x18], ebp
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x20]
push 0
push ebp
call fcn.1007a274
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10436e26
add esp, 0x54
ret 4

Function at 0x103a5e56
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x104d7946
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor eax, eax
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
lea edi, [esp + 0x38]
push 6
pop ecx
mov esi, 0x1061d1ec
mov dword [esp + 0x30], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
lea eax, [esp + 0x38]
push 0x18
push eax
mov dword [esp + 0x24], ebx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x3c], 0xf
call fcn.1007a193
xor ebp, ebp
inc ebp
mov dword [esp + 0x64], ebp
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x34]
cmp esi, 0x10
mov edi, dword [esp + 0x20]
cmovae ecx, edi
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x20]
cmp esi, 0x10
cmovae edx, edi
add eax, edx
cmp eax, ecx
je 0x103a5f08
xor byte [ecx], 0x83
inc ecx
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
jmp 0x103a5ee6
cmp esi, 0x10
lea eax, [esp + 0x20]
push 0xc
cmovae eax, edi
mov ecx, ebx
push eax
call fcn.10079d49
mov dword [esp + 0x18], ebp
mov byte [esp + 0x64], 0
lea ecx, [esp + 0x20]
push 0
push ebp
call fcn.1007a274
mov eax, ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10436e26
add esp, 0x54
ret 4
Function at 0x103a656f
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x104e2bcf
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0xf
pop eax
xor edx, edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x14], edx
lea edi, [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x30], edx
mov esi, 0x1061d2c0
mov dword [esp + 0x30], eax
rep movsd dword es:[edi], dword [esi]
push 0x3c
lea eax, [esp + 0x38]
mov dword [esp + 0x30], edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], edx
mov byte [esp + 0x24], dl
call fcn.1007a193
xor ebp, ebp
inc ebp
mov dword [esp + 0x80], ebp
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x30]
cmp esi, 0x10
mov edi, dword [esp + 0x1c]
cmovae ecx, edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp esi, 0x10
cmovae edx, edi
add eax, edx
cmp eax, ecx
je 0x103a6625
xor byte [ecx], 0x89
inc ecx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
jmp 0x103a6603
cmp esi, 0x10
lea eax, [esp + 0x1c]
push 0x1e
cmovae eax, edi
mov ecx, ebx
push eax
call fcn.10079d49
mov dword [esp + 0x14], ebp
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x1c]
push 0
push ebp
call fcn.1007a274
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10436e26
add esp, 0x70
ret 4

Function at 0x103a7483
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x104da42a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1072a790]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1072a790]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor eax, eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], eax
lea edi, [esp + 0x34]
push 6
pop ecx
mov esi, 0x1061d2a4
mov dword [esp + 0x2c], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c], al
lea eax, [esp + 0x34]
push 0x18
push eax
mov dword [esp + 0x20], ebx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x38], 0xf
call fcn.1007a193
xor ebp, ebp
inc ebp
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0x1c]
mov esi, dword [esp + 0x30]
cmp esi, 0x10
mov edi, dword [esp + 0x1c]
cmovae ecx, edi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
cmp esi, 0x10
cmovae edx, edi
add eax, edx
cmp eax, ecx
je 0x103a7535
xor byte [ecx], 0xcf
inc ecx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
jmp 0x103a7513
cmp esi, 0x10
lea eax, [esp + 0x1c]
push 0xc
cmovae eax, edi
mov ecx, ebx
push eax
call fcn.10079d49
mov dword [esp + 0x14], ebp
mov byte [esp + 0x5c], 0
lea ecx, [esp + 0x1c]
push 0
push ebp
call fcn.1007a274
mov eax, ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10436e26
add esp, 0x4c
ret 4
Function at 0x103aad84
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x10720190
call fcn.10458d80
mov esi, ecx
mov dword [ebp - 0x44], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x48]
push eax
push 4
mov eax, dword [esi + 0x2c]
shl eax, 2
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x103aaddb
mov dword [ebp - 0x44], str._2206
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.10360fe3
push 0x10727310
lea eax, [ebp - 0x40]
push eax
call fcn.1043aaeb
test edi, edi
je 0x103aadf2
mov eax, dword [esi + 0x2c]
shl eax, 2
push eax
push dword [esi + 0x10]
push edi
call fcn.1043a410
add esp, 0xc
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x4c], edi
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
sar eax, 2
cmp edi, eax
jae 0x103aae1c
mov eax, dword [esi + 0x54]
mov edx, dword [eax + edi*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi + 0x28]
mov dword [eax + edx*4], ecx
inc edi
jmp 0x103aadf7
mov dword [ebp - 4], 0xfffffffe
jmp 0x103aae38
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x48]
mov eax, dword [esi + 0x2c]
shl eax, 2
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test bl, bl
je 0x103aae5f
mov dword [ebp - 0x44], str._2207
jmp 0x103aadc1
mov byte [esi + 0x50], 1
call fcn.10458dc8
ret 4