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

Disassembly:
mov eax, 0x4c
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 0x198]
and eax, 0xfffffffb
mov dword [edi + 0x198], eax
test al, 0x20
jne 0x101768ff
test al, 0x10
jne 0x10176aaa
test esi, esi
je 0x10176aaa
movups xmm0, xmmword [edi + 0x7c]
push ebx
push esi
push dword [esp + 0x68]
movups xmmword [esp + 0x40], xmm0
push ebp
psrldq xmm0, 0xc
movd eax, xmm0
shr eax, 0x18
or al, 0x80
mov byte [esp + 0x53], al
lea eax, [esp + 0x44]
push eax
push edi
call fcn.101767e0
mov dword [esp + 0x28], eax
lea ebx, [edi + 0x98]
mov eax, dword [edi + 0x14]
mov ecx, 8
mul ecx
xorps xmm0, xmm0
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x2c], eax
mov eax, esi
mov dword [esp + 0x30], edx
mul ecx
mov dword [esp + 0x34], eax
lea eax, [edi + 0x5c]
push eax
push ebx
mov dword [esp + 0x40], edx
call fcn.1018efb0
mov ecx, dword [edi + 8]
add esp, 0x1c
test ecx, ecx
je 0x10176991
mov eax, dword [edi + 0x14]
add eax, 0xf
and eax, 0xfffffff0
push eax
push ecx
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.1018ee50
add esp, 0x10
mov eax, esi
and eax, 0xfffffff0
jbe 0x101769a8
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.1018ee50
add esp, 0x10
mov eax, esi
and eax, 0xf
je 0x101769e4
push eax
and esi, 0xfffffff0
lea eax, [esp + 0x2c]
add esi, ebp
xorps xmm0, xmm0
push esi
push eax
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x34], xmm0
call fcn.101ff960
push 0x10
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.1018ee50
add esp, 0x1c
push 0x10
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.1018ee50
add esp, 0x10
lea eax, [esp + 0x49]
lea edx, [edi + 0x8d]
mov esi, 2
pop ebx
nop dword [eax]
movzx ecx, byte [edx - 1]
lea eax, [eax + 6]
xor byte [eax - 7], cl
lea edx, [edx + 6]
movzx ecx, byte [edx - 6]
xor byte [eax - 6], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 5], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x10176a10
and byte [esp + 0x53], 0x7f
lea eax, [esp + 0x44]
push 0x10
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [edi + 0x6c]
push eax
push dword [edi]
call fcn.100a04d0
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp dword [esp + 0x10], ecx
setne cl
and eax, ecx
mov ecx, dword [edi + 0x198]
and ecx, 0xfffffffb
lea edx, [eax*4]
or edx, ecx
or edx, 0x10
mov dword [edi + 0x198], edx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.101fdd0b
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101fdd0b
add esp, 0x4c
ret
Function at 0x10176ac0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x50
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [ebx + 0x198]
and eax, 0xfffffffb
mov dword [ebx + 0x198], eax
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x10], edi
test al, 0x20
jne 0x10176b0b
test al, 8
jne 0x10176caa
test ebp, ebp
je 0x10176caa
mov eax, dword [ebx + 0x14]
mov ecx, 8
mul ecx
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
push esi
mov dword [esp + 0x1c], eax
lea esi, [ebx + 0x98]
mov dword [esp + 0x20], edx
mov eax, ebp
mul ecx
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x5c]
push eax
push esi
mov dword [esp + 0x30], edx
call fcn.1018efb0
mov ecx, dword [ebx + 8]
add esp, 8
test ecx, ecx
je 0x10176b6d
mov eax, dword [ebx + 0x14]
add eax, 0xf
and eax, 0xfffffff0
push eax
push ecx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.1018ee50
add esp, 0x10
mov eax, ebp
and eax, 0xfffffff0
jbe 0x10176b84
push eax
push edi
lea eax, [esp + 0x44]
push eax
push esi
call fcn.1018ee50
add esp, 0x10
mov eax, ebp
and eax, 0xf
je 0x10176bbb
push eax
mov eax, ebp
xorps xmm0, xmm0
and eax, 0xfffffff0
add eax, edi
push eax
lea eax, [esp + 0x54]
push eax
movups xmmword [esp + 0x58], xmm0
call fcn.101ff960
push 0x10
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.1018ee50
add esp, 0x1c
push 0x10
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.1018ee50
add esp, 0x10
lea eax, [esp + 0x3d]
lea edx, [ebx + 0x8d]
mov esi, 2
nop
movzx ecx, byte [edx - 1]
lea eax, [eax + 6]
xor byte [eax - 7], cl
lea edx, [edx + 6]
movzx ecx, byte [edx - 6]
xor byte [eax - 6], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 5], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x10176be0
and byte [esp + 0x4b], 0x7f
lea eax, [esp + 0x3c]
push 0x10
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea esi, [ebx + 0x6c]
push esi
push dword [ebx]
call fcn.100a04d0
movups xmm0, xmmword [esi]
push ebp
push dword [esp + 0x2c]
movups xmmword [esp + 0x48], xmm0
mov edi, eax
lea eax, [esp + 0x48]
push dword [esp + 0x34]
psrldq xmm0, 0xc
movd ecx, xmm0
push eax
push ebx
shr ecx, 0x18
or cl, 0x80
mov byte [esp + 0x63], cl
call fcn.101767e0
add esp, 0x28
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
test edi, edi
pop esi
setne cl
and eax, ecx
mov ecx, dword [ebx + 0x198]
and ecx, 0xfffffffb
pop edi
pop ebp
lea edx, [eax*4]
or edx, ecx
or edx, 8
mov dword [ebx + 0x198], edx
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.101fdd0b
add esp, 0x50
ret
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101fdd0b
add esp, 0x50
ret
Function at 0x10176e10
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
cmp dword [ebx + 0x84], 0xffffffff
je 0x10176ee4
push dword [ebx]
call fcn.10074cc0
mov esi, eax
add esp, 4
test esi, esi
je 0x10176ee4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10176e41
mov dword [eax], esi
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x10176edb
mov ecx, dword [ebx + 0x84]
push edi
cmp ecx, esi
jne 0x10176e7a
test esi, esi
jle 0x10176eb9
mov edx, ebp
lea ecx, [ebx + 4]
mov edi, esi
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x10176e64
jmp 0x10176eb9
mov eax, esi
mov byte [ecx + ebx + 0x64], 0x80
sub eax, ecx
cmp eax, 1
jle 0x10176e9a
dec eax
push eax
lea eax, [ebx + 0x65]
add eax, ecx
push 0
push eax
call fcn.101ff800
add esp, 0xc
test esi, esi
jle 0x10176eb9
mov edx, ebp
lea ecx, [ebx + 0x24]
mov edi, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x10176ea5
push esi
push ebp
push ebp
push dword [ebx]
call fcn.10075550
add esp, 0x10
pop edi
test eax, eax
jg 0x10176edb
push esi
push ebp
call fcn.10001320
add esp, 8
xor eax, eax
pop ebp
pop esi
pop ebx
ret
pop ebp
pop esi
mov eax, 1
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret
Function at 0x101891c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101fe2f0
mov edx, dword [esp + 0x18]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x34]
or ecx, 0xffffffff
push ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 1
push esi
mov esi, dword [edx]
setne al
add eax, ebx
mov dword [esp + 0x1c], esi
cmp eax, esi
jbe 0x101891f9
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ebp, 1
je 0x101892c4
mov ecx, dword [esp + 0x2c]
dec ecx
add ecx, esi
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], ecx
mov cl, byte [ecx]
mov byte [esp + 0xf], cl
movzx ebp, cl
je 0x10189230
sub esi, ebp
mov eax, 1
sub esi, ebx
dec esi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [eax + ebp]
mov ebx, esi
sub ebx, ecx
mov eax, esi
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
push edi
cmovb eax, esi
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x101892a7
mov esi, dword [esp + 0x14]
mov edx, ebp
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov ecx, ebp
lea esi, [esi - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esp + 0x13]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esi + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jb 0x10189267
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
not ebx
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x3c]
movzx ecx, bl
mov ebx, dword [esp + 0x40]
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov dword [edx], esi
pop edi
push dword [esp + 0x44]
push ecx
push ebx
push ebp
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push edx
call fcn.10188e90
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1018e7f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1018e901
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.1009fa10
add esp, 0x18
test eax, eax
je 0x1018e901
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.100a04d0
add esp, 0x14
test eax, eax
je 0x1018e901
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.1018ed00
add esp, 0x10
test eax, eax
je 0x1018e901
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x1018e8d3
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x1018e8d3
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x1018e8c0
jmp 0x1018e8e3
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
xorps xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x1018e916
push ebx
push ebp
call fcn.10001320
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101fdd0b
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101fdd0b
add esp, 0x30
ret
Function at 0x101e7380
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp]
mov ecx, dword [esp + 0x10]
push esi
push edi
mov esi, dword [eax + 0xc]
mov edi, dword [eax]
push edx
push dword [eax + 8]
push dword [eax + 4]
push ecx
call fcn.101e6de0
add esp, 0x10
test eax, eax
jne 0x101e73cc
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.101fdd0b
add esp, 0xc
ret
mov cl, byte [edi]
shr cl, 3
not cl
and cl, 0x10
or cl, 0xf
and cl, byte [esp + 8]
xor cl, byte [edi]
mov byte [edi], cl
and cl, 3
add cl, 1
je 0x101e7400
lea edx, [esp + 9]
movzx ecx, cl
sub edx, esi
mov al, byte [edx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub ecx, 1
jne 0x101e73f2
mov ecx, dword [esp + 0x10]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.101fdd0b
add esp, 0xc
ret

Function at 0x101e7420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp]
mov ecx, dword [esp + 0x10]
push esi
push edi
mov esi, dword [eax + 0xc]
mov edi, dword [eax]
push edx
push dword [eax + 8]
push dword [eax + 4]
push ecx
call fcn.101e6de0
add esp, 0x10
test eax, eax
jne 0x101e746c
pop edi
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.101fdd0b
add esp, 0xc
ret
mov al, byte [edi]
and al, 3
add al, 1
je 0x101e748e
lea edx, [esp + 9]
movzx ecx, al
sub edx, esi
nop dword [eax]
mov al, byte [edx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub ecx, 1
jne 0x101e7480
mov cl, byte [edi]
mov eax, 1
shr cl, 3
not cl
and cl, 0x10
or cl, 0xf
and cl, byte [esp + 8]
xor byte [edi], cl
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.101fdd0b
add esp, 0xc
ret
Function at 0x101ed330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x9c
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [ecx]
mov ebx, dword [esp + 0xa8]
push ebp
push edi
movzx ebp, byte [eax]
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], ecx
cmp eax, 3
ja case.0x101ed384.2
jmp dword [eax*4 + 0x101ee4b8]
mov dword [esp + 0x20], 0
jmp 0x101ed3a7
mov dword [esp + 0x20], 1
jmp 0x101ed3a7
mov dword [esp + 0x20], 2
cmp dword [ebx + 4], 0
jne 0x101ed3ee
push str.depack_process_frames
push 0x425
push str.sslquicquic_rx_depack.c
push 0
push str.empty_packet_payload
push 0
push 0
push 0
push 0xa
push edi
call fcn.101d4770
add esp, 0x28
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101fdd0b
add esp, 0x9c
ret
push esi
nop
cmp dword [edi + 0x2d4], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movlpd qword [esp + 0x3c], xmm0
je 0x101ed410
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.101ecd50
add esp, 0xc
test eax, eax
je 0x101ee475
cmp dword [esp + 0x44], 0
je 0x101ee455
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
test ebx, ebx
ja 0x101ed457
jb 0x101ed449
cmp esi, 0x1d
ja 0x101ed457
movzx eax, byte [esi + 0x101ee4d0]
jmp dword [eax*4 + 0x101ee4c8]
mov eax, dword [esp + 0x34]
or dword [eax + 0x10], 4
jmp 0x101ed465
test ebx, ebx
ja 0x101ee437
jb 0x101ed478
cmp esi, 0x1e
ja 0x101ee437
jmp dword [esi*4 + 0x101ee4f0]
push str.depack_process_frames
push 0x567
push str.sslquicquic_rx_depack.c
push 0
push str.Unknown_frame_type_received
push ebx
push esi
push 0
push 7
jmp 0x101ee493
push str.depack_process_frames
push 0x43e
push str.sslquicquic_rx_depack.c
push 0
push str.non_minimal_frame_type_encoding
push dword [esp + 0x44]
push dword [esp + 0x44]
jmp 0x101ee48f
push str.depack_process_frames
push 0x436
push str.sslquicquic_rx_depack.c
push 0
push str.malformed_frame_header
push 0
push 0
push 0
push 0xa
push edi
call fcn.101d4770
add esp, 0x28
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101fdd0b
add esp, 0x9c
ret
Function at 0x101f1be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x294
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
mov ebx, dword [esp + 0x2a4]
push ebp
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
push 0
mov eax, dword [edi + 4]
mov ebp, dword [edi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.101ecd50
add esp, 0xc
test eax, eax
je 0x101f24c6
cmp dword [esp + 0x1c], 0
ja 0x101f246e
mov eax, dword [esp + 0x18]
jb 0x101f1c4c
cmp eax, 0x1e
ja 0x101f246e
movzx eax, byte [eax + 0x101f2530]
jmp dword [eax*4 + 0x101f24e0]
push str.unknown
push str.frame_type
push esi
call fcn.101e9580
push dword [esp + 0x28]
push dword [esp + 0x28]
push str.frame_type_value
push esi
call fcn.101e95e0
push 0x102b37c8
push esi
call fcn.101e8be0
push dword [esp + 0x44]
push ebp
push str.data
push esi
call fcn.101e88b0
push esi
call fcn.101e8c10
mov eax, dword [edi + 4]
add esp, 0x38
add dword [edi], eax
mov dword [edi + 4], 0
mov eax, 1
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101fdd0b
add esp, 0x294
ret
Function at 0x101fcef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x101fcf11
jl 0x101fcf08
test edi, edi
jne 0x101fcf11
xor eax, eax
xor edx, edx
jmp 0x101fcfd2
cmp dword [ebx + 0x38], 0
je 0x101fcf26
push eax
push edi
push dword [ebp + 8]
call fcn.101fcfd8
jmp 0x101fcfd2
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x101fcf6d
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x101fcf6d
cmp eax, edi
jb 0x101fcf47
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.101ff960
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x101fcf73
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x101fcfc7
mov ecx, ebx
call fcn.101fc743
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x101fcfb2
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.10209c90
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x101fcfc7
jmp 0x101fcf85
test edx, edx
je 0x101fcfc7
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.10209c90
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x1020a5d5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.101fe2f0
mov eax, dword [0x102c5980]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10209a90
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1020a617
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1020a773
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.101fe810
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x102c86e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1021a11b
mov ecx, dword [esi*4 + 0x102c86e8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1020a76c
cmp eax, dword [ecx + edi + 0x24]
jne 0x1020a76c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1020a76c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1021a11b
add esp, 0x14
test edx, edx
jl 0x1020a76c
jg 0x1020a6e2
test eax, eax
jb 0x1020a76c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1020a76c
jl 0x1020a6fc
cmp dword [ebp - 0x1008], eax
ja 0x1020a76c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1020a71a
test ebx, ebx
je 0x1020a753
cmp ecx, edi
jae 0x1020a753
mov al, byte [ecx]
cmp al, 0xd
jne 0x1020a734
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1020a740
cmp byte [ecx + 1], 0xa
jne 0x1020a740
inc ecx
jmp 0x1020a740
movzx eax, al
movsx eax, byte [eax + 0x102c5dd8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1020a71a
cmp edx, ebx
jne 0x1020a71a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1020a771
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.101fdd0b
leave
ret

Function at 0x1020b223
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1020b262
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1020b262
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1020b262
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1020b262
cmp dword [ecx + 0x74], 0xe
jbe 0x1020b262
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1020cc77
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102c5980]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x102b5c50
push esi
call fcn.1021b551
pop ecx
pop ecx
test eax, eax
jne 0x1020cca5
xor al, al
jmp 0x1020cd22
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.1020c9b8
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x1020ccdf
push dword [ebp - 0x210]
call fcn.102032e5
xor al, al
jmp 0x1020cd20
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1020cce5
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x1020cd05
push edx
call fcn.1020cbae
pop ecx
test al, al
je 0x1020ccd0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1020cd13
mov bl, 1
push dword [ebp - 0x210]
call fcn.102032e5
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101fdd0b
leave
ret

Function at 0x10214bd7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102b79bc
push 0x102b79b4
push str.FlsAlloc
push 0x1f
call fcn.10214a02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10214c0b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1022e26c]
call esi
jmp 0x10214c11
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10214c55
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102b79cc
push 0x102b79c4
push str.FlsGetValue
push 0x21
call fcn.10214a02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10214c8c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1022e26c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10214c94
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102b79d4
push 0x102b79cc
push str.FlsSetValue
push 0x22
call fcn.10214a02
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10214cce
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1022e26c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]