joyce8/EMBER2024-capa huggingface dataset:
Function at 0x186f668
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x80000000
mov dword [ebp - 0xc], 0x7fffffff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x630]
xor edx, dword [ecx + 0x9bc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
and eax, 0x80000000
je 0x186f6b3
mov eax, dword [ebp - 0x10]
xor eax, 0x9908b0df
shl eax, 1
or eax, 1
mov dword [ebp - 0x10], eax
jmp 0x186f6bb
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
and ecx, 0x80000000
mov edx, dword [ebp - 0x10]
and edx, 0x7fffffff
or ecx, edx
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 0x14], 0
jmp 0x186f6e8
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x270
jae 0x186f701
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax*4], 0
je 0x186f6ff
jmp 0x186f70a
jmp 0x186f6df
mov eax, dword [ebp - 4]
mov dword [eax], 0x80000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x186ff58
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10124584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x68]
call fcn.01870158
call fcn.01870898
mov dword [ebp - 0x6c], eax
push 0x14
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.018bd6f8
add esp, 0xc
push 0x14
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
push 4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
push 0
call fcn.01825048
add esp, 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push 8
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
call fcn.018c0e70
mov dword [ebp - 0x8c], eax
push 4
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
call fcn.018c0e4f
mov dword [ebp - 0x98], eax
call fcn.018c0e4f
mov dword [ebp - 0x94], eax
call fcn.018c0e4f
mov dword [ebp - 0x90], eax
push 0xc
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x1870050
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
push 0x14
push 1
lea edx, [ebp - 0xac]
push edx
call fcn.018c0e20
add esp, 0x10
push eax
mov ecx, dword [ebp - 8]
call fcn.0188ac78
push 0x14
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
push 4
call fcn.018bd0d4
add esp, 4
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xb0], eax
push 4
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
push 4
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.018bae49
add esp, 4
push 0x14
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x68]
call fcn.018701e8
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x68]
call fcn.01870738
mov dword [ebp - 0xc8], 0
jmp 0x18700f2
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 5
jge 0x1870147
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx + eax*4]
xor eax, dword [ebp + edx*4 - 0xc4]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x6c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ecx + eax*4]
xor eax, dword [ebp + edx*4 - 0xc4]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x18700e3
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.018bb05e
mov esp, ebp
pop ebp
ret
Function at 0x1870178
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1871e98
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c0], 0x270
jne 0x1871ebb
mov ecx, dword [ebp - 4]
call fcn.01872058
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c0]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c0], ecx
mov eax, dword [ebp - 8]
shr eax, 0xb
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 0x12
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1891788
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x189179e
xor eax, eax
jmp 0x189193e
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x18918ff
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x18917a7
cmp dword [ebp + 0x10], 0
je 0x1891938
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x10100a08]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jne 0x1891905
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1899248
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 1
jl 0x1899263
cmp dword [ebp + 0xc], 8
jg 0x1899263
mov byte [ebp - 0x45], 1
jmp 0x1899267
mov byte [ebp - 0x45], 0
push 0x10101b2c
movzx eax, byte [ebp - 0x45]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.01896d68
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x18992b0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call fcn.018bb6d8
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x1010145a]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af98], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x10101458]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af9c], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x1010145c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6afa0], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x1010145e]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af94], ecx
cmp dword [ebp + 0xc], 2
jg 0x189933c
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
or ecx, 4
mov edx, dword [ebp + 0x10]
mov word [edx], cx
jmp 0x1899351
cmp dword [ebp + 0xc], 8
jl 0x1899351
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
or ecx, 2
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov eax, dword [ebp - 4]
shl eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1af70
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0
je 0x18993b8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x18993d4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], 0
jmp 0x189944d
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0x106
jae 0x18993fc
mov eax, dword [ebp + 8]
push eax
call fcn.018997d8
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 4], 0
jmp 0x189941b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x189944d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6af7c]
shl ecx, 5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1af70]
xor ecx, eax
and ecx, 0x7fff
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af7c], ecx
jmp 0x1899412
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x189b228
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x189b23e
xor eax, eax
jmp 0x189b3de
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x189b39f
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x189b247
cmp dword [ebp + 0x10], 0
je 0x189b3d8
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x101014a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jne 0x189b3a5
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18da5c8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ef2d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.018bd2ed
mov dword [esi], 0x100fd6b4
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.018175b8
mov dword [esi + 0x30], 0x100fa3d4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], 0x10106138
mov dword [esi + 0x30], 0x10106130
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x18da678
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ef310
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.018bd2ed
mov dword [esi], 0x100fd6b4
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.018175b8
mov dword [esi], 0x10106124
mov dword [esi + 0x30], 0x100fa3d4
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x18da70c
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], 0x10106138
mov dword [esi + 0x30], 0x10106130
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x18dae28
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
push ecx
push 4
push eax
push 0x100c9e00
push 0
push 0
call fcn.018f5eda
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x18dae51
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x18dae75
cmp eax, 0xffffffff
je 0x18dae75
push eax
call dword [0x100f50a8]
mov dword [esi + 8], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [0x100f5164]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x18ddb98
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x18ddbc9
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movzx edi, word [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x18ddba8
pop edi
pop esi
ret

Function at 0x18e2a28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100efc08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10124584]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
cmp dword [esi + 0x78], ecx
jne 0x18e2b07
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x18e2b07
mov ecx, dword [esi + 0x84]
cmp dword [ecx - 4], edi
jle 0x18e2b07
mov eax, dword [eax + 0x18]
test al, 3
jne 0x18e2aa3
test eax, 0x1000000
je 0x18e2b07
push 0x10106500
lea ecx, [esp + 0x18]
call fcn.01815c28
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
xor eax, eax
sar edi, 1
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov dword [esp + 0x64], eax
mov byte [ecx], al
lea eax, [esp + 0x3c]
push eax
call fcn.018175b8
push edi
push 0x11
mov ecx, esi
call fcn.018e1d08
cmp dword [esp + 0x28], 0x10
jb 0x18e2b00
mov ecx, dword [esp + 0x14]
push ecx
call fcn.018bae49
add esp, 4
xor al, al
jmp 0x18e2b88
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x18e2b86
mov eax, dword [esi + 0x84]
cmp dword [eax - 4], edi
jle 0x18e2b86
mov edx, dword [eax - 4]
cmp dword [esi + 0x80], eax
je 0x18e2b3a
add eax, 0xfffffffc
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov ebx, dword [eax + 0x140]
sub ebx, ecx
add ebx, 3
and ebx, 0xfffffffc
add ebx, ecx
mov dword [eax + 0x140], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x80]
test ecx, 0xfffffffc
jne 0x18e2b1b
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.018bb05e
add esp, 0x30
ret 4
Function at 0x18f16c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x10107db4
mov dword [esp], eax
mov dword [esp + 4], 0x101073d4
mov dword [esp + 8], 0x101082d4
mov dword [esp + 0xc], 0x101073d0
mov dword [esp + 0x10], 0x10105dd4
mov dword [esp + 0x14], 0x1010815c
mov dword [esp + 0x18], 0x100faac8
mov dword [esp + 0x1c], 0x10105df4
mov dword [esp + 0x20], 0x101073cc
mov dword [esp + 0x24], 0x100fc428
mov dword [esp + 0x28], 0x10108240
mov dword [esp + 0x2c], 0x10105dd0
mov dword [esp + 0x30], 0x10103028
mov dword [esp + 0x34], 0x101073c8
mov dword [esp + 0x38], 0x10102be4
mov dword [esp + 0x3c], 0x101073c4
mov dword [esp + 0x40], 0x101073c0
mov dword [esp + 0x44], 0x101073b4
mov dword [esp + 0x48], 0x101070bc
mov dword [esp + 0x4c], 0x10107178
mov dword [esp + 0x50], 0x100fc41c
mov dword [esp + 0x54], 0x100fc308
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x101073b0
mov dword [esp + 0x64], 0x101073ac
mov dword [esp + 0x68], 0x10108504
mov dword [esp + 0x6c], 0x10107f80
mov dword [esp + 0x70], 0x1010803c
mov dword [esp + 0x74], 0x101070b0
mov dword [esp + 0x78], 0x10107090
mov dword [esp + 0x7c], 0x101027f4
mov dword [esp + 0x80], 0x10107080
mov dword [esp + 0x84], 0x10107078
mov dword [esp + 0x88], 0x10107074
mov dword [esp + 0x8c], 0x101070b8
mov dword [esp + 0x90], 0x101073a8
mov dword [esp + 0x94], 0x10103504
mov dword [esp + 0x98], 0x10108330
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x1010832c
mov dword [esp + 0xc0], 0x10107144
mov dword [esp + 0xc4], 0x10107128
mov dword [esp + 0xc8], 0x100ff420
mov dword [esp + 0xcc], 0x10107120
mov dword [esp + 0xd0], 0x1010716c
mov dword [esp + 0xd4], 0x10105e1c
mov dword [esp + 0xd8], 0x10107088
mov dword [esp + 0xdc], 0x10107148
mov dword [esp + 0xe0], 0x10107150
mov dword [esp + 0xe4], 0x101073a4
mov dword [esp + 0xe8], 0x1010715c
mov dword [esp + 0xec], 0x10107140
cmp cl, 0x3c
jae 0x18f18e5
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret