joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
mov edx, dword [ecx + 8]
mov al, byte [edx]
mov ecx, eax
shr cl, 1
and ecx, 1
and ecx, dword [ebp + 8]
mov byte [ebp - 0x19], cl
mov ecx, eax
shr cl, 2
and ecx, 1
cmp cl, byte [ebp - 0x19]
je 0x42e964
movzx esi, byte [ebp - 0x19]
and eax, 0xfffffffb
lea ecx, [esi*4]
or eax, ecx
mov byte [edx], al
mov eax, dword [ebx + 8]
test byte [eax], 0x10
jne 0x42e88e
cmp dword [eax + 8], 0
je 0x42e88e
cmp byte [ebp - 0x19], 0
jne 0x42e88e
mov ecx, ebx
call method.IWindow.getHandle__
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push esi
mov dword [esp], 0
mov ecx, ebx
call method.IWindow.getChild_IWindow_
movzx esi, byte [ebp - 0x19]
push ecx
mov edi, eax
test edi, edi
je 0x42e8c1
mov dword [esp], esi
mov ecx, edi
call method.IWindow.parentVisibilityChanged_bool_
mov ecx, ebx
push eax
mov dword [esp], edi
call method.IWindow.getChild_IWindow_
mov edi, eax
push edx
jmp 0x42e8a3
cmp byte [ebp - 0x19], 0
je 0x42e8ce
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x7c]
mov eax, dword [ebx + 8]
test byte [eax], 0x10
jne 0x42e8fc
cmp dword [eax + 8], 0
je 0x42e8fc
cmp byte [ebp - 0x19], 0
je 0x42e8fc
mov ecx, ebx
call method.IWindow.getHandle__
mov dword [esp + 4], 8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
mov edi, dword [ebx + 8]
test byte [edi], 0x10
je 0x42e92c
cmp dword [edi + 8], 0
je 0x42e92c
mov ecx, ebx
add edi, 0x24
call method.IWindow.getHandle__
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
mov eax, dword [ebx]
mov dword [esp], esi
mov ecx, ebx
call dword [eax + 0xc]
cmp byte [ebp - 0x19], 0
push edx
jne 0x42e964
cmp ebx, dword [0x568978]
jne 0x42e964
mov dword [0x568978], 0
mov dword [esp], 0
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
push eax
mov eax, dword [ebx]
call dword [eax + 0x3c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x1001982e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
push edi
xor edi, edi
movzx edx, byte [edi + 0x1014b618]
mov ecx, edx
mov eax, edx
shr ecx, 7
imul esi, ecx, 0x1b000000
shl eax, 0x19
imul ecx, ecx, 0x11b
xor esi, eax
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or esi, eax
lea eax, [edx + edx]
xor ecx, eax
xor eax, eax
xor ecx, edx
or eax, esi
or ecx, esi
mov dword [edi*8 + 0x101a2380], eax
mov dword [edi*8 + 0x101a2384], ecx
inc edi
cmp edi, 0x100
jl 0x10019832
xorps xmm0, xmm0
pop edi
movlpd qword [0x101a2b88], xmm0
movlpd qword [0x101a2b80], xmm0
mov byte [0x101a2ba2], 1
pop esi
ret

Function at 0x1001989e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
movzx edi, byte [edx + 0x1014b518]
mov dword [esp + 0x10], edi
mov eax, edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 3
xor ecx, dword [esp + 0x10]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
xor ecx, dword [esp + 0x10]
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x101a2d00], eax
mov dword [edx*8 + 0x101a2d04], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x100198ab
pop edi
pop esi
pop ebp
mov byte [0x101a2ba3], 1
pop ebx
add esp, 0x10
ret
Function at 0x1001b228
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edx, ecx
mov dword [esp + 8], edx
push 0x10
and dword [edx + 4], 0
lea eax, [edx + 0x10]
and dword [edx + 8], 0
lea ecx, [edx + 0x68]
mov byte [eax + 0x41], 1
mov edi, 0x3fffffff
mov dword [eax + 0x48], edi
mov dword [eax + 0x50], eax
pop esi
mov dword [eax + 0x4c], esi
mov eax, ecx
mov dword [ecx + 0x54], esi
and eax, 0xf
mov byte [ecx + 0x49], 1
add eax, ecx
mov dword [ecx + 0x50], edi
mov esi, 0x1014cc40
mov dword [ecx + 0x58], eax
mov eax, edx
mov edi, dword [edx + 0xc0]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
mov dword [edx], vtable.CryptoPP::SHA256.0
pop esi
pop ecx
ret
Function at 0x1001fc04
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x1001fc4d
mov ecx, dword [esp + 0xc]
push ebp
push 4
pop ebp
cmp esi, ebp
jb 0x1001fc36
push ebx
mov ebx, esi
shr ebx, 2
mov eax, dword [edx]
sub esi, ebp
xor eax, dword [ecx]
add edx, ebp
mov dword [edi], eax
add ecx, ebp
add edi, ebp
sub ebx, 1
jne 0x1001fc22
pop ebx
pop ebp
test esi, esi
je 0x1001fc4d
sub edx, ecx
sub edi, ecx
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub esi, 1
jne 0x1001fc3f
pop edi
pop esi
ret

Function at 0x1001fc50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
xor ecx, ecx
mov esi, edx
cmp edi, 4
jb 0x1001fc7b
mov edx, edi
shr edx, 2
mov eax, dword [ebx]
sub edi, 4
xor eax, dword [esi]
add ebx, 4
or ecx, eax
add esi, 4
sub edx, 1
jne 0x1001fc67
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x1001fcae
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x1001fc9d
pop edi
test edx, edx
pop esi
sete al
pop ebx
ret

Function at 0x10020692
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
lea edx, [ecx - 1]
push edi
pxor xmm0, xmmword [esi]
movups xmmword [eax], xmm0
cmp edx, 1
jbe 0x100206d7
add edx, 0xfffffffe
lea edi, [esi + 0x10]
shr edx, 1
inc edx
aesenc xmm0, xmmword [edi]
movups xmmword [eax], xmm0
lea edi, [edi + 0x20]
aesenc xmm0, xmmword [edi - 0x10]
movups xmmword [eax], xmm0
sub edx, 1
jne 0x100206be
add ecx, ecx
pop edi
aesenc xmm0, xmmword [esi + ecx*8 - 0x10]
movups xmmword [eax], xmm0
aesenclast xmm0, xmmword [esi + ecx*8]
movups xmmword [eax], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100206f2
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
movups xmm1, xmmword [eax]
mov eax, dword [ebp + 8]
movaps xmm0, xmm1
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
pxor xmm0, xmmword [eax]
movups xmmword [eax], xmm0
movaps xmm0, xmm1
pxor xmm0, xmmword [ecx]
movups xmmword [ecx], xmm0
movaps xmm0, xmm1
pxor xmm0, xmmword [edx]
movups xmmword [edx], xmm0
pxor xmm1, xmmword [esi]
movups xmmword [esi], xmm1
cmp edi, 1
jbe 0x1002078f
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [edi - 1]
mov edi, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
sub dword [esp + 8], 1
movups xmm1, xmmword [edi]
lea edi, [edi + 0x10]
movups xmm0, xmmword [eax]
aesenc xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx]
aesenc xmm0, xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx]
aesenc xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi]
aesenc xmm0, xmm1
movups xmmword [esi], xmm0
jne 0x10020753
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
add edi, edi
movups xmm0, xmmword [eax]
movups xmm1, xmmword [esi + edi*8]
mov esi, dword [ebp + 0x14]
aesenclast xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx]
aesenclast xmm0, xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx]
aesenclast xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [esi]
aesenclast xmm0, xmm1
pop edi
movups xmmword [esi], xmm0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100207cd
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
push edi
push ecx
push esi
movups xmm0, xmmword [ecx + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call fcn.100f5290
movaps xmm1, xmmword [esp + 0x2c]
mov edx, edi
shr edx, 2
add esp, 0xc
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
lea eax, [edx + 7]
mov dword [esp + 0x18], 0x1014b734
shl eax, 4
add eax, esi
xor ecx, 1
mov dword [esp + 0x1c], eax
jmp 0x100208a6
cmp edi, 0x18
jne 0x10020844
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x10020889
cmp edi, 0x20
jne 0x10020882
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x10020889
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
xor ecx, dword [esi]
add dword [esp + 0x18], 4
lea eax, [esi + edx*4]
mov dword [eax], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov dword [esi + edx*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + edx*4 + 0xc], eax
lea eax, [esi + 0x10]
lea eax, [eax + edx*4]
cmp eax, dword [esp + 0x1c]
jne 0x10020826
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100208e3
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
movups xmm1, xmmword [ecx]
mov eax, edx
add eax, eax
lea edx, [edx*4 - 4]
push 4
movups xmm0, xmmword [ecx + eax*8]
movups xmmword [ecx], xmm0
movups xmmword [ecx + eax*8], xmm1
pop eax
cmp edx, eax
jbe 0x10020927
aesimc xmm0, xmmword [ecx + edx*4]
aesimc xmm1, xmmword [ecx + eax*4]
movups xmmword [ecx + eax*4], xmm0
add eax, 4
movups xmmword [ecx + edx*4], xmm1
sub edx, 4
cmp eax, edx
jb 0x10020909
aesimc xmm0, xmmword [ecx + eax*4]
movups xmmword [ecx + eax*4], xmm0
mov esp, ebp
pop ebp
ret
Function at 0x10022fd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov byte [ebp - 2], 0
mov byte [ebp - 3], 1
mov dword [ebp - 8], 0
jmp 0x10022ff3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x10023058
movzx ecx, byte [ebp + 0xc]
movzx edx, byte [ebp - 3]
and ecx, edx
mov byte [ebp - 4], cl
movzx eax, byte [ebp - 4]
test eax, eax
je 0x1002304d
mov cl, byte [ebp + 8]
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], 0
jmp 0x10023026
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x10023040
movzx ecx, byte [ebp - 1]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10023160
mov byte [ebp - 1], al
jmp 0x1002301d
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
xor edx, eax
mov byte [ebp - 2], dl
movzx ecx, byte [ebp + 0xc]
sar ecx, 1
mov byte [ebp + 0xc], cl
jmp 0x10022fea
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret 8
Function at 0x10023330
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1019a784]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 0x10], 0x40
jne 0x10023357
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x40
jmp 0x100233d2
cmp dword [ebp + 0x10], 0x40
jbe 0x10023383
lfence
mov dword [ebp - 0x2c], 0x20
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10023900
add esp, 0xc
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], ecx
jmp 0x1002338f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, 0x40
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
push 0x36
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x2a0]
push edx
call fcn.100f5810
add esp, 0xc
mov eax, dword [ebp - 0x34]
push eax
push 0x5c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2e0]
push eax
call fcn.100f5810
add esp, 0xc
mov dword [ebp - 0x28], 0
jmp 0x100233e4
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x2c]
jge 0x1002341e
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x28]
mov byte [edx + 0x2a0], cl
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x28]
mov byte [edx + 0x2e0], cl
jmp 0x100233db
mov eax, dword [ebp + 8]
push eax
call fcn.10023ac0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10023b10
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.10023ac0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.10023b10
add esp, 0xc
mov edi, dword [ebp + 8]
add edi, 0x150
mov ecx, 0x2a
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
add esi, 0xa8
mov edi, dword [ebp + 8]
add edi, 0x1f8
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e560
mov esp, ebp
pop ebp
ret
Function at 0x10023ac0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x10023ad6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x10023af5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x10161020]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x10023acd
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret

Function at 0x10025760
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
push 0x1012bfd4
jmp fcn.101a6c8c

Function at 0x10026c30
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101206bd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1019a784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.10026fe0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.tutorial::BeginAuthSessionViaCredentialsRequest.0
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10026ae0
xor ecx, ecx
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [edx], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10026f40
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 0xd]
push ecx
push 0x101a1a70
mov ecx, dword [ebp - 0x1c]
call fcn.10026b80
mov edx, dword [ebp - 0x18]
add edx, 0x14
mov dword [ebp - 0x20], edx
movzx eax, byte [ebp - 0xe]
push eax
push 0x101a1a70
mov ecx, dword [ebp - 0x20]
call fcn.10026b80
mov ecx, dword [ebp - 0x18]
add ecx, 0x18
mov dword [ebp - 0x24], ecx
movzx edx, byte [ebp - 0xf]
push edx
push 0x101a1a70
mov ecx, dword [ebp - 0x24]
call fcn.10026b80
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov dword [ebp - 0x28], eax
movzx ecx, byte [ebp - 0x10]
push ecx
push 0x101a1a70
mov ecx, dword [ebp - 0x28]
call fcn.10026b80
mov edx, dword [ebp - 0x18]
add edx, 0x20
mov dword [ebp - 0x2c], edx
movzx eax, byte [ebp - 0x11]
push eax
push 0x101a1a70
mov ecx, dword [ebp - 0x2c]
call fcn.10026b80
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x18]
xor eax, eax
xor ecx, ecx
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x34], 0
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x35], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005c270
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10120fe3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1019a784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0x1014bb93
mov ecx, dword [ebp - 0x14]
call fcn.10012525
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x18], ecx
push 0x1014bb93
mov ecx, dword [ebp - 0x18]
call fcn.10012525
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0x30
mov dword [ebp - 0x1c], edx
push 0x1014bb93
mov ecx, dword [ebp - 0x1c]
call fcn.10012525
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x48], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4c], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.1006c7a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1005cae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121056
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x1019a784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_K32GetModuleInformation
push str.simulator.dll
mov eax, dword [ebp + 8]
push eax
call fcn.100f5b82
add esp, 8
test eax, eax
je 0x1005cbc5
movzx ecx, byte [0x101a008a]
test ecx, ecx
je 0x1005cb55
jmp 0x1005cd08
mov byte [0x101a008a], 1
mov edx, dword [ebp - 0x18]
mov dword [0x101a0040], edx
push 0x6c
lea ecx, [ebp - 0x8c]
call fcn.10022ae0
lea ecx, [ebp - 0x8c]
call fcn.1005c270
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x16c], esp
push str._bin_simulator.dll
call fcn.10012525
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x8c]
call fcn.100644e0
mov byte [ebp - 0x165], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.1005c370
jmp 0x1005cd08
push str.diversion.dll
mov edx, dword [ebp + 8]
push edx
call fcn.100f5b82
add esp, 8
test eax, eax
je 0x1005cc42
mov eax, dword [ebp - 0x18]
mov dword [0x101a0040], eax
push 0x6c
lea ecx, [ebp - 0xf8]
call fcn.10022ae0
lea ecx, [ebp - 0xf8]
call fcn.1005c270
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x170], esp
push str._bindiversion.dll
call fcn.10012525
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.100644e0
mov byte [ebp - 0x166], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.1005c370
jmp 0x1005cd08
push str.steamclient.dll
mov eax, dword [ebp + 8]
push eax
call fcn.100f5b82
add esp, 8
test eax, eax
je 0x1005ccd4
movzx ecx, byte [0x101a0089]
test ecx, ecx
je 0x1005cc67
jmp 0x1005cd08
mov byte [0x101a0089], 1
mov edx, dword [ebp - 0x18]
mov dword [0x101a0040], edx
push 0x6c
lea ecx, [ebp - 0x164]
call fcn.10022ae0
lea ecx, [ebp - 0x164]
call fcn.1005c270
mov dword [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
push str._steamclient.dll
call fcn.10012525
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x164]
call fcn.100644e0
mov byte [ebp - 0x167], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.1005c370
jmp 0x1005cd08
cmp dword [ebp - 0x18], 0
jbe 0x1005cd08
cmp dword [0x101a0040], 0
jbe 0x1005cd08
mov edx, dword [ebp - 0x18]
cmp edx, dword [0x101a0040]
jne 0x1005cd08
mov dword [ebp - 0x20], 0xff
lea eax, [ebp - 0x20]
push eax
push 0
push 0x10065800
call fcn.101074fb
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e560
mov esp, ebp
pop ebp
ret
Function at 0x1005cde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012108d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1019a784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
je 0x1005ce16
jmp 0x1005ce65
mov ecx, dword [ebp + 8]
mov dword [0x101a0044], ecx
push 0x6c
lea ecx, [ebp - 0x7c]
call fcn.10022ae0
lea ecx, [ebp - 0x7c]
call fcn.1005c270
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.10063f30
call fcn.1005cda0
push 0
push 0
push 0x1005cd30
call fcn.101074fb
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1005c370
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e560
mov esp, ebp
pop ebp
ret 0xc