joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467b00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x58a9e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46628b
je 0x4662de
cmp ebx, 0x20
jbe 0x4662e4
cmp ebx, 0x40
jbe 0x46632a
jmp 0x4663cb
test ebx, ebx
je 0x4662d4
add eax, 0x10
test ax, 0xff0
je 0x4662c0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x4d65c0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x4d66c0]
jmp 0x4662a8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x4662a8
pxor xmm1, xmmword [0x58a9f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x58a9f0]
pxor xmm2, xmmword [0x58aa00]
pxor xmm3, xmmword [0x58aa10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x58a9f0]
pxor xmm2, xmmword [0x58aa00]
pxor xmm3, xmmword [0x58aa10]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46642a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x58a6c6], 0
je 0x467b1a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x466250
jmp fcn.00408c60
Function at 0x467b20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x58a7d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4035bc
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408c60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00466850
jmp 0x403580
cmp byte [0x58a6c6], 0
je 0x467b3b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x466250
jmp 0x403580

Function at 0x468970
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46898a
mov ecx, 0x14
jmp 0x468993
shl ecx, 2
add ecx, 0xe10
mov dword [0x58a7d4], ecx
ret
Function at 0x482450
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x58a7d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48263a
sub esp, 0x48
mov eax, dword [0x54854c]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.0047f130
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.004682fe
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.004682fe
call fcn.0047de80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.004615c0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x482527
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x482541
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4825b8
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x48258e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x48258a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x482583
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x482590
mov ebx, 0x1d
jmp 0x4825ae
mov ebp, eax
jmp 0x482590
mov ebp, eax
cmp ebp, 0xd
jae 0x48262d
lea eax, [ebp - 1]
lea edx, [0x544500]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x482623
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4825b8
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4825ea
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4825f2
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.00467cd0
mov eax, ebp
mov ecx, 0xd
call fcn.00467cd0
nop
call fcn.00466850
jmp fcn.00482450
Function at 0x485800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x58a7d4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4858fa
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x485840
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x485879
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.0046c1d0
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x485833
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x485883
inc eax
cmp eax, 4
jge 0x485899
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x4858f3
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0046c210
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x4858bc
jmp 0x485882
call fcn.00466850
jmp fcn.00485800
Function at 0x409e40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x409e5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409e61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409e50
mov eax, 1
add ebx, ebx
jne 0x409e73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409e68
jne 0x409e84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409e68
xor ecx, ecx
sub eax, 3
jb 0x409e98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409f0a
mov ebp, eax
add ebx, ebx
jne 0x409ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x409eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x409ed4
inc ecx
add ebx, ebx
jne 0x409ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409eb5
jne 0x409ed1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409eb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409ef4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409ee5
jmp 0x409e56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409ef4
add edi, ecx
jmp 0x409e56
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409f53
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xae38]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xae90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409f11
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xae98]
or eax, eax
je 0x409f4d
mov dword [ebx], eax
add ebx, 4
jmp 0x409f2e
call dword [esi + 0xae94]
mov ebp, dword [esi + 0xae9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x409f87
sub esp, 0xffffff80
jmp 0x4018dd
Function at 0x401144
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.00401000
push 0x40c
xor ebx, ebx
mov dword [ebp - 0x414], 0x22
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00401df0
add esp, 0xc
lea eax, [ebp - 0x412]
mov esi, 0x207
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401272
cmp eax, esi
jae 0x401272
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x412]
push eax
call esi
lea eax, [ebp - 0x412]
push eax
call esi
push str.GoogleUpdate.exe
lea eax, [ebp - 0x412]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401272
push str.___pi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00401046
test eax, eax
js 0x401277
push dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00401046
test eax, eax
js 0x401277
push edi
push 0x40
lea eax, [ebp - 0x464]
mov dword [ebp - 0x468], 0x44
push ebx
push eax
call fcn.00401df0
xor eax, eax
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x401272
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
xor eax, eax
jmp 0x401277
call fcn.0040102b
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004014d2
leave
ret 0x10
Function at 0x100a71cf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x101f1a20
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x102db134], 1
jge 0x101f1a8f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x101f1a65
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x101f1a65
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x101f1a42
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x101f1a7b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x101f1a82
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x101f1b7f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x101f1b50
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x101f1b45
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x101f1b39
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x101f1b40
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x101f1b7f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x101f1b7a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x101f1b63
mov eax, dword [ebx + 8]
jmp 0x101f1b7f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x101f1b71
xor eax, eax
jmp 0x101f1b7f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x101f1aaf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x100ab1f8
Capabilities:
Query environment variable

Disassembly:
jmp 0x101de3f7
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x101de40b
xor edi, edi
jmp 0x101de44f
push ebx
push esi
call fcn.101de2ee
sub eax, esi
sar eax, 1
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
lea ebx, [eax + eax]
push ebx
call fcn.100a8741
mov edi, eax
add esp, 0x14
test edi, edi
je 0x101de43c
push ebx
push esi
push edi
call fcn.100a6ed2
add esp, 0xc
push 2
push 0
call fcn.100a6257
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x100be060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a7d0a
cmp dword [ebp + 0x10], 1
jle 0x100be0ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x100be0b3
mov eax, dword [ebp + 8]
mov cl, byte [ebp + 0xc]
mov byte [eax], cl
mov esi, esp
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100a7d0a
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x100be0fc]
call fcn.100a9f10
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.100a7d0a
mov esp, ebp
pop ebp
ret
Function at 0x100e5310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100e5520
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100e53dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x10244da8]
jb 0x100e535a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10244dac]
ja 0x100e535a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100e532a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100a6f59
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100e5380
jmp 0x100e53dd
cmp dword [ebp - 0x14], 0x10000
jne 0x100e53c3
cmp dword [ebp - 0x18], 0x10000
jb 0x100e53c3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e53b6
mov eax, dword [ebp - 8]
jmp 0x100e53df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100e53d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100e5520
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100e532a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100e5420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100e5550
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100e54e5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10244da8]
jb 0x100e5465
mov eax, dword [ebp - 4]
cmp eax, dword [0x10244dac]
ja 0x100e5465
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100e5435
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100a6f59
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100e548b
jmp 0x100e54e5
cmp dword [ebp - 0x14], 0x10000
jne 0x100e54ce
cmp dword [ebp - 0x18], 0x10000
jb 0x100e54ce
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e54c1
mov eax, dword [ebp - 8]
jmp 0x100e54e7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100e54e0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100e5550
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100e5435
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100e8b30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x102da438], 0
je 0x100e8b46
xor eax, eax
jmp 0x100e8d62
cmp dword [0x102da434], 0
je 0x100e8b59
mov eax, dword [0x102da434]
jmp 0x100e8d62
push 0x24
push 0
push 0x102da408
call fcn.100a6f59
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x102da408], eax
push 0
push 0
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x102da40c], eax
cmp dword [0x102da40c], 0
jne 0x100e8bfe
mov dword [0x102da438], 1
cmp dword [0x102da40c], 0
je 0x100e8bb1
mov eax, dword [0x102da40c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x102da410], 0
mov dword [0x102da414], 0
mov dword [0x102da418], 0
mov dword [0x102da41c], 0
mov dword [0x102da420], 0
mov dword [0x102da424], 0
mov dword [0x102da428], 0
xor eax, eax
jmp 0x100e8d62
push str.ImagehlpApiVersionEx
mov ecx, dword [0x102da40c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da410], eax
push str.SymInitialize
mov edx, dword [0x102da40c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da414], eax
push str.SymSetOptions
mov eax, dword [0x102da40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da418], eax
push str.SymGetOptions
mov ecx, dword [0x102da40c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da41c], eax
push str.SymLoadModule64
mov edx, dword [0x102da40c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da420], eax
push str.SymGetModuleInfo64
mov eax, dword [0x102da40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da424], eax
push str.SymFromName
mov ecx, dword [0x102da40c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102da428], eax
push 8
push 0
lea edx, [ebp - 0xc]
push edx
call fcn.100a6f59
add esp, 0xc
mov eax, 0xc
mov word [ebp - 0xc], ax
cmp dword [0x102da410], 0
je 0x100e8ce3
cmp dword [0x102da414], 0
je 0x100e8ce3
cmp dword [0x102da420], 0
je 0x100e8ce3
cmp dword [0x102da424], 0
je 0x100e8ce3
cmp dword [0x102da428], 0
jne 0x100e8ce8
jmp 0x100e8b92
lea ecx, [ebp - 0xc]
push ecx
call dword [0x102da410]
movzx edx, word [ebp - 0xc]
cmp edx, 0xc
jge 0x100e8d00
jmp 0x100e8b92
push 0
push 0
mov eax, dword [0x102da408]
push eax
call dword [0x102da414]
test eax, eax
jne 0x100e8d19
jmp 0x100e8b92
cmp dword [0x102da41c], 0
je 0x100e8d53
cmp dword [0x102da418], 0
je 0x100e8d53
call dword [0x102da41c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x2704
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
call dword [0x102da418]
mov dword [0x102da434], 0x102da408
mov eax, dword [0x102da434]
mov esp, ebp
pop ebp
ret
Function at 0x101bb620
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.100a59e2
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x101bb65e
cmp dword [ebp + 8], 0
je 0x101bb64c
lea eax, [ebp + 8]
push eax
call fcn.100aaf5f
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x101bb65e
mov eax, 4
jmp 0x101bb78e
call fcn.100a7981
movzx edx, al
test edx, edx
jne 0x101bb68c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x101bb67d
mov dword [ebp - 0xc], 4
jmp 0x101bb684
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x101bb78e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x101bb735
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x101bbae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.100a9934
lea ecx, [ebp - 8]
call fcn.100a5f4b
movzx edx, al
test edx, edx
jne 0x101bb6f7
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.100a7b52
mov eax, dword [ebp - 0x10]
jmp 0x101bb78e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.100aa884
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x101bb722
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.100a7b52
mov eax, dword [ebp - 0x14]
jmp 0x101bb78e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.100a7b52
mov eax, dword [ebp - 0x18]
jmp 0x101bb78e
call fcn.100a5929
movzx ecx, al
test ecx, ecx
jne 0x101bb76e
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.100a7a1c
add esp, 0x10
jmp 0x101bb78e
call fcn.100ab293
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.100ab531
add esp, 0x10
mov esp, ebp
pop ebp
ret