joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x6f
xor bl, byte [esp + eax]
add bl, 0xd5
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x43ca30
mov eax, dword [esp]
mov ebx, dword [0x449644]
test ebx, ebx
je 0x43ca9e
xor ebp, ebp
mov edi, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xc81e0bf6
je 0x43ca70
inc ebp
cmp ebx, ebp
jne 0x43ca60
jmp 0x43ca9e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43ca9e
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push ebx
push dword [0x44964c]
call fcn.00438a80
add esp, 0x30
cmp eax, 0x103
jne 0x43cb29
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6f
xor cl, byte [esp + eax]
add cl, 0xd5
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43cac0
mov eax, dword [esp]
mov ecx, dword [0x449644]
test ecx, ecx
je 0x43cb21
xor edx, edx
mov edi, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x43cb00
inc edx
cmp ecx, edx
jne 0x43caf0
jmp 0x43cb21
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43cb21
push 0
push 0
push dword [esp + 0x2c]
push 3
push ecx
push dword [0x44964c]
call fcn.00438a80
add esp, 0x18
test eax, eax
js 0x43cb29
mov eax, dword [esp + 8]
test esi, esi
je 0x43cb3c
xor ecx, ecx
cmp eax, 0xc0000011
je 0x43cb3a
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43cb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
add bl, 0x6f
xor bl, byte [esp + eax]
add bl, 0xd5
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x43cb80
mov eax, dword [esp]
mov ebx, dword [0x449644]
test ebx, ebx
je 0x43cbee
xor ebp, ebp
mov edi, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x7e66a1b5
je 0x43cbc0
inc ebp
cmp ebx, ebp
jne 0x43cbb0
jmp 0x43cbee
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x43cbee
lea eax, [esp + 8]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 9
push ebx
push dword [0x44964c]
call fcn.00438a80
add esp, 0x30
cmp eax, 0x103
jne 0x43cc79
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6f
xor cl, byte [esp + eax]
add cl, 0xd5
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43cc10
mov eax, dword [esp]
mov ecx, dword [0x449644]
test ecx, ecx
je 0x43cc71
xor edx, edx
mov edi, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x4e66b5a3
je 0x43cc50
inc edx
cmp ecx, edx
jne 0x43cc40
jmp 0x43cc71
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43cc71
push 0
push 0
push dword [esp + 0x2c]
push 3
push ecx
push dword [0x44964c]
call fcn.00438a80
add esp, 0x18
test eax, eax
js 0x43cc79
mov eax, dword [esp + 8]
test esi, esi
je 0x43cc83
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43cc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x43ccb0
sar ebx, 1
mov ebp, ebx
and ebp, 2
mov ecx, ebx
or ebx, 2
imul ebx, ebp
xor ebp, 2
and ecx, 0xfffd
imul ecx, ebp
add ebx, ecx
mov word [esp + 8], bx
mov ecx, ebx
and ecx, 2
xor ebx, 2
lea ecx, [ebx + ecx*2]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6f
xor cl, byte [esp + eax]
add cl, 0xd5
mov byte [esp + eax], cl
inc eax
cmp eax, 5
jne 0x43cd30
mov eax, dword [esp]
mov edi, dword [0x449644]
test edi, edi
je 0x43cd95
xor ebx, ebx
mov ebp, dword [0x449648]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x2df48de6
je 0x43cd71
inc ebx
cmp edi, ebx
jne 0x43cd60
jmp 0x43cd95
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x43cd95
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 4
push edi
push dword [0x44964c]
call fcn.00438a80
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10001af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001b09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10001b1d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001b3e
cmp esi, eax
jae 0x10001b17
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001b30
cmp esi, eax
jae 0x10001b17
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10003510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10048fe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push esi
push edi
mov esi, ecx
call fcn.1003a972
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
push 0
push esi
push 0x100511b8
push 6
push 0
push 0
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x200], 0
call fcn.10039148
mov ebx, 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], bl
call fcn.10038f16
lea ecx, [esp + 0x18]
mov dword [eax + 0x30], 0x10050ff4
call fcn.10038f1a
cmp eax, ebx
lea ecx, [esp + 0x18]
je 0x100035e2
mov byte [esp + 0x1e4], 0
call fcn.10039107
lea eax, [edi - 0x10]
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100036e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1dc
ret
lea eax, [esp + 0x10]
push eax
call fcn.100392e8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 2
call fcn.10005dd0
mov byte [esp + 0x1e4], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003623
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [esp + 0xc]
call fcn.100059b0
push 4
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.10005a00
mov eax, dword [eax]
push str..txl
push eax
call fcn.10027f16
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000366d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x10003681
push 4
push str..txl
lea ecx, [esp + 0x14]
call fcn.10005fe0
lea eax, [esp + 0xc]
push eax
mov ecx, 0x10086820
call fcn.10005dd0
mov esi, dword [esp + 0xc]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.10005f80
add esp, 4
add eax, 0x10
push 0x10086820
mov dword [edi], eax
call fcn.10016900
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.10039107
mov dword [esp + 0x1e4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100036e9
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1dc
ret
Function at 0x10005ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10047e08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
call fcn.10005e40
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.10005f80
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10005b42
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10007810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push esi
push edi
mov dword [esp + 0x14], ebp
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
jbe 0x10007900
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x10007893
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 0x38]
test ebx, ebx
jle 0x100078e2
mov eax, dword [esi - 4]
push 4
push 0x1000
push ebx
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10007917
mov edi, dword [esi - 4]
add edi, ebp
test ebx, ebx
mov dword [esi - 8], edi
je 0x100078e2
mov ecx, ebx
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
jmp 0x100078e2
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
add ecx, eax
cmp edx, ecx
jb 0x1000790f
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10007917
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esi]
add eax, ebp
add ecx, ebx
test edi, edi
jbe 0x100078df
mov ebp, ecx
mov edx, eax
sub ebp, eax
mov cl, byte [edx + ebp]
mov byte [edx], cl
inc edx
dec edi
jne 0x100078d2
mov ebp, dword [esp + 0x14]
mov dword [esi - 8], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x10007842
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x100079d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x30]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [ecx + 0x10]
test esi, esi
mov dword [esp + 0x18], edx
jne 0x10007a14
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x10007a0d
mov esi, dword [eax + 0x20]
jmp 0x10007a14
test bl, bl
jns 0x10007a14
mov esi, dword [eax + 0x24]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x24]
mov dword [esp + 0x20], esi
mov esi, 1
add ecx, 0x28
cmp word [eax + 6], si
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], esi
jbe 0x10007af9
lea ebx, [ecx + 0x24]
mov esi, dword [edi + 0x30]
mov ebp, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ebp
test edi, edi
jne 0x10007a65
mov ecx, dword [ebx]
test cl, 0x40
je 0x10007a5e
mov edi, dword [eax + 0x20]
jmp 0x10007a65
test cl, cl
jns 0x10007a65
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x10007a9e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp eax, esi
ja 0x10007a9e
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
call fcn.10007930
test eax, eax
je 0x10007b18
mov eax, dword [ebx]
mov edx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jmp 0x10007ace
mov eax, dword [ebx]
test eax, 0x2000000
je 0x10007abb
mov ecx, dword [esp + 0x20]
test ecx, 0x2000000
je 0x10007abb
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x10007ac8
or eax, dword [esp + 0x20]
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
sub edi, dword [esp + 0x14]
add edi, ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
cmp ecx, esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
jl 0x10007a40
mov esi, 1
lea ecx, [esp + 0x14]
mov edx, edi
mov dword [esp + 0x24], esi
call fcn.10007930
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
Function at 0x10008490
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ecx, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
jbe 0x1000869f
push ebx
mov eax, dword [0x100840b4]
push ebp
push esi
push edi
mov edi, dword [0x100840b0]
mov ecx, edi
imul ecx, edi
mov esi, dword [0x100840ac]
mov dword [esp + 0x14], ecx
lea edx, [eax + eax]
sub ecx, edx
mov edx, dword [esp + 0x48]
add ecx, edx
mov edx, dword [0x100840bc]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x100840b8]
mov ebx, ecx
imul ebx, edi
sub ebx, 2
imul ebx, ecx
mov ebp, edx
sub ebp, edi
add ebp, 3
imul ebp, esi
add ebx, ebp
sub ebx, edi
mov ebp, edx
imul ebp, edi
lea edi, [ebp*8 - 8]
mov ebp, dword [esp + 0x48]
imul edi, edx
imul edi, eax
add edi, ebp
lea edi, [edi + ebx*8]
mov ebx, ecx
imul ebx, esi
mov dword [esp + 0x28], edi
mov edi, dword [0x100840b0]
imul ebx, edi
lea ebx, [ebx + eax + 1]
imul ebx, edx
mov ebp, edi
sub ebp, ebx
mov ebx, dword [esp + 0x48]
sub ebp, esi
lea ebx, [ebx + ebp*4]
mov dword [esp + 0x30], ebx
lea ebx, [eax + eax*4]
mov dword [esp + 0x2c], ebx
lea ebx, [edx*4]
mov dword [esp + 0x34], ebx
mov ebx, edx
imul ebx, eax
inc ebx
imul ebx, esi
lea ebx, [ebx + eax + 1]
imul ebx, edx
mov ebp, ecx
sub ebp, esi
sub ebp, eax
sub ebp, 2
imul ebp, ecx
sub ebp, ebx
lea ebx, [eax - 2]
imul ebx, edi
add ebp, ebx
mov ebx, dword [esp + 0x48]
lea ebx, [ebx + ebp*2]
mov dword [esp + 0x3c], ebx
lea ebx, [ecx*4 - 4]
imul ebx, esi
lea ebp, [ecx*4 + 4]
imul ebp, edx
add ebx, 4
add ebp, 0x10
imul ebx, edx
imul ebp, edi
lea edi, [ecx + esi]
sub ebx, ebp
add edi, eax
mov ebp, dword [esp + 0x48]
add ebx, ebp
lea edi, [ebx + edi*4]
mov dword [esp + 0x38], edi
mov edi, edx
imul edi, ecx
imul edi, ecx
imul edi, esi
imul edi, eax
imul edi, eax
imul edi, eax
lea ebx, [edi + esi + 1]
imul esi, dword [0x100840b0]
mov edi, ecx
imul ebx, edx
sub edi, eax
shl edi, 2
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x14]
lea edx, [edi + edx - 2]
mov edi, dword [esp + 0x20]
imul edx, eax
mov eax, dword [esp + 0x4c]
sub edx, esi
mov esi, dword [esp + 0x1c]
shl ebx, 2
sub edx, ecx
lea ecx, [eax + edx*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
xor edx, edx
lea eax, [ecx + 1]
div dword [0x100840a8]
mov ecx, edx
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + ecx]
xor edx, edx
add eax, esi
div dword [0x100840a8]
mov eax, dword [esp + 0x28]
mov esi, edx
mov dl, byte [eax + ecx]
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edx
mov edx, dword [esp + 0x30]
mov dl, byte [edx + esi]
mov byte [eax + ebp], dl
mov edx, dword [esp + 0x34]
mov eax, esi
sub eax, edx
mov dl, byte [esp + 0x13]
mov byte [eax + ebp], dl
mov eax, dword [esp + 0x38]
movzx eax, byte [eax + esi]
mov edx, dword [esp + 0x3c]
movzx edx, byte [edx + ecx]
add eax, edx
xor edx, edx
div dword [0x100840a8]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
sub edx, ebx
add edx, ebp
mov ebp, dword [esp + 0x48]
mov dl, byte [edx + ebp]
xor byte [eax + edi], dl
mov eax, dword [esp + 0x50]
inc edi
cmp edi, eax
jb 0x10008611
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x1000afb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10048fb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push esi
push edi
mov esi, ecx
call fcn.1003a972
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
push 0
push esi
push 0x100524ac
push 0x1800
push 0
push 0
mov ebx, 1
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1fc], 0
call fcn.10039148
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], bl
call fcn.10038f16
lea ecx, [esp + 0x14]
mov dword [eax + 0x30], 0x10050ff4
call fcn.10038f1a
cmp eax, ebx
lea ecx, [esp + 0x14]
jne 0x1000b093
lea eax, [esp + 0x10]
push eax
call fcn.100392e8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e4], 2
call fcn.10005dd0
mov byte [esp + 0x1e0], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0xc]
push edi
push 0x3f6
mov ecx, esi
call fcn.1003e9fc
mov ebx, esi
call fcn.1000aa90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e0], 0
call fcn.10039107
lea eax, [edi - 0x10]
mov dword [esp + 0x1e0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b0c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret
Function at 0x1000ca90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100480a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x1000cad6
mov dword [ebp], 0x10052248
mov dword [ebp + 0x64], 0x100522e0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], 0x100522a8
mov edx, dword [ebp]
mov dword [ebp + 4], ebx
mov edi, dword [edx + 4]
add edi, ebp
mov ecx, edi
call fcn.1003777e
push 0x20
lea esi, [ebp + 8]
push edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
call fcn.1000e170
mov byte [edi + 0x30], al
cmp dword [edi + 0x28], ebx
jne 0x1000cb20
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, edi
call fcn.1003765d
mov dword [edi + 4], ebx
mov dword [esp + 0x1c], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push esi
mov dword [ecx + ebp], 0x10052250
call fcn.1000de20
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x54], bl
mov byte [esi + 0x4c], bl
mov dword [esi], 0x10052254
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov eax, dword [0x10086858]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ebx
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x1000de20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1004797b
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
lea ecx, [esi + 4]
mov dword [esi], 0x100522ac
call fcn.10037dc3
push 4
mov dword [esp + 0x10], 0
call fcn.1003b49a
add esp, 4
test eax, eax
je 0x1000de67
mov ecx, eax
call fcn.10037b65
jmp 0x1000de69
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x1001b5f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10048327
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x1001b636
mov dword [ebp], 0x1005414c
mov dword [ebp + 0x60], 0x100522e0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
mov dword [ecx + ebp], 0x10054158
mov edx, dword [ebp]
mov edi, dword [edx + 4]
add edi, ebp
mov ecx, edi
call fcn.1003777e
push 0x20
lea esi, [ebp + 4]
push edi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
call fcn.1000e170
mov byte [edi + 0x30], al
cmp dword [edi + 0x28], ebx
jne 0x1001b67d
mov eax, dword [edi + 8]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, edi
call fcn.1003765d
mov dword [edi + 4], ebx
mov dword [esp + 0x1c], 2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push esi
mov dword [ecx + ebp], 0x10054154
call fcn.1000de20
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x54], bl
mov byte [esi + 0x4c], bl
mov dword [esi], 0x10052254
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov eax, dword [0x10086858]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ebx
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8