joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e720
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x1c4]
mov eax, dword [ecx + 0x1cc]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10097468]
sub edi, 1
jne 0x1000e740
mov ecx, dword [0x10123f50]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19bc], eax
jne 0x1000e772
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x1000e781
mov byte [ecx + 0x19d0], 1
pop ebp
ret 4

Function at 0x1000e790
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100b60c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c4]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1cc]
lea esi, [ebp - 0x14]
mov edx, dword [eax + ecx*4 - 4]
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10097468]
sub edi, 1
jne 0x1000e804
mov eax, dword [0x10123f50]
not edx
pop edi
pop esi
cmp dword [eax + 0x19bc], edx
jne 0x1000e835
mov dword [eax + 0x19c4], edx
cmp dword [eax + 0x19c0], edx
jne 0x1000e844
mov byte [eax + 0x19d0], 1
mov ecx, dword [ebp - 4]
mov eax, edx
xor ecx, ebp
call fcn.1006cde1
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ef20
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008d0b3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x100b60c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10123f50]
test eax, eax
je 0x1000ef6a
inc dword [eax + 0x370]
push 0x3b30
call fcn.100737ad
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x11]
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1000ef9d
push ecx
mov ecx, eax
call fcn.1000a8d0
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x1000efa2
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [0x10123f50], 0
jne 0x1000efb2
mov eax, edi
mov dword [0x10123f50], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], str.Window
mov al, 0x57
mov esi, 0x1009ed3d
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1000efde
cmp byte [esi], al
jne 0x1000efde
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10097468]
test al, al
jne 0x1000efd0
mov edi, dword [ebp - 0x18]
not edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x1001d1e0
mov dword [ebp - 0x2c], 0x1001d280
mov esi, dword [edi + 0x2cf4]
mov ecx, dword [edi + 0x2cf8]
mov dword [ebp - 0x28], 0x1001d370
cmp esi, ecx
jne 0x1000f0b9
inc esi
test ecx, ecx
je 0x1000f038
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000f03d
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1000f0b9
mov eax, dword [0x10123f50]
test eax, eax
je 0x1000f055
inc dword [eax + 0x370]
lea eax, [esi + esi*2]
shl eax, 3
push eax
call fcn.100737ad
mov edx, dword [edi + 0x2cfc]
add esp, 4
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1000f0ad
mov ecx, dword [edi + 0x2cf4]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push edx
push eax
call fcn.1006ed50
mov ecx, dword [edi + 0x2cfc]
add esp, 0xc
test ecx, ecx
je 0x1000f0a1
mov eax, dword [0x10123f50]
test eax, eax
je 0x1000f0a1
dec dword [eax + 0x370]
push ecx
call fcn.1007369b
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [edi + 0x2cfc], eax
mov dword [edi + 0x2cf8], esi
mov eax, dword [edi + 0x2cf4]
movups xmm0, xmmword [ebp - 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x2cfc]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + ecx*8 + 0x10], xmm0
mov eax, edi
inc dword [edi + 0x2cf4]
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100116a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x100116df
cmp bl, 0x23
jne 0x100116c1
cmp byte [esi], bl
jne 0x100116c1
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10097468]
test bl, bl
jne 0x100116b2
mov ecx, dword [0x10123f50]
not eax
mov esi, dword [ecx + 0x198c]
mov edi, dword [ecx + 0x1994]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1001171e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10011718
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1001171a
mov esi, edx
test esi, esi
jne 0x10011700
cmp edi, ebx
je 0x1001172d
cmp dword [edi], eax
jne 0x1001172d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10016f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b60c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10123f50]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x199c]
mov esi, 4
mov eax, dword [edi + 0x1c4]
add edi, 0x1c4
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10097468]
sub esi, 1
jne 0x10016f60
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10016fa7
inc ecx
test esi, esi
je 0x10016f95
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10016f9a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1001f340
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006cde1
mov esp, ebp
pop ebp
ret
Function at 0x1001cd10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10123f50]
push esi
mov esi, ebx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edi, dword [esi + 0x2d00]
mov ecx, dword [esi + 0x2d04]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0xc], 0
cmp edi, ecx
jne 0x1001ce00
inc edi
test ecx, ecx
je 0x1001cd76
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1001cd7b
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1001ce00
test esi, esi
je 0x1001cd8e
inc dword [esi + 0x370]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call fcn.100737ad
mov ebx, eax
add esp, 4
mov eax, dword [esi + 0x2d08]
test eax, eax
je 0x1001cdee
mov ecx, dword [esi + 0x2d00]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call fcn.1006ed50
mov ecx, dword [esi + 0x2d08]
add esp, 0xc
test ecx, ecx
je 0x1001cde5
mov eax, dword [0x10123f50]
test eax, eax
je 0x1001cde5
dec dword [eax + 0x370]
push ecx
call fcn.1007369b
add esp, 4
mov dword [esi + 0x2d08], ebx
mov ebx, dword [0x10123f50]
mov dword [esi + 0x2d04], edi
mov eax, dword [esi + 0x2d00]
mov ecx, dword [esi + 0x2d08]
movups xmm0, xmmword [ebp - 0x24]
mov edi, dword [ebp - 4]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0xc]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2d00]
mov eax, dword [esi + 0x2d00]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2d08]
mov esi, edi
lea eax, [eax + ecx*4]
add eax, 0xffffffe4
lea ecx, [esi + 1]
mov dword [ebp - 8], eax
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001ce60
sub esi, ecx
test ebx, ebx
je 0x1001ce73
inc dword [ebx + 0x370]
inc esi
push esi
call fcn.100737ad
push esi
push edi
push eax
call fcn.1006ed50
mov ebx, dword [ebp - 8]
lea esi, [edi + 1]
add esp, 0x10
or edx, 0xffffffff
mov dword [ebx], eax
mov al, byte [edi]
test al, al
je 0x1001cec7
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1001ceae
cmp byte [esi], al
jne 0x1001ceae
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10097468]
test al, al
jne 0x1001cea0
pop edi
not edx
mov eax, ebx
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001cee0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, edx
mov edx, dword [0x10123f50]
mov dword [ebp - 0xc], edx
push edi
mov edi, ecx
test esi, esi
jne 0x1001cf09
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x1001cf00
sub esi, ecx
test edx, edx
je 0x1001cf13
inc dword [edx + 0x370]
lea eax, [esi + 1]
push ebx
push eax
call fcn.100737ad
push esi
push edi
push eax
lea ebx, [eax + esi]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call fcn.1006ed50
mov esi, dword [ebp - 0x10]
xor edx, edx
add esp, 0x10
mov byte [ebx], 0
xor edi, edi
mov dword [ebp - 8], edx
mov ecx, esi
cmp esi, ebx
jae 0x1001d0a2
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0xa
je 0x1001d0cf
cmp al, 0xd
je 0x1001d0cf
mov esi, ecx
cmp ecx, ebx
jae 0x1001cf77
mov al, byte [esi]
cmp al, 0xa
je 0x1001cf77
cmp al, 0xd
je 0x1001cf77
inc esi
cmp esi, ebx
jb 0x1001cf68
mov byte [esi], 0
mov al, byte [ecx]
cmp al, 0x3b
je 0x1001d094
cmp al, 0x5b
jne 0x1001d07b
cmp esi, ecx
jbe 0x1001d07b
cmp byte [esi - 1], 0x5d
lea ebx, [esi - 1]
jne 0x1001d078
lea edi, [ecx + 1]
mov byte [ebx], 0
mov eax, ebx
sub eax, edi
push eax
push 0x5d
push edi
call fcn.1006f330
add esp, 0xc
mov dword [ebp - 8], eax
test eax, eax
je 0x1001cfe3
lea ecx, [eax + 1]
sub ebx, ecx
push ebx
push 0x5b
push ecx
call fcn.1006f330
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1001cfe3
mov eax, dword [ebp - 8]
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
mov byte [eax], 0
jmp 0x1001cfeb
mov dword [ebp - 8], edi
mov edi, str.Window
mov cl, byte [edi]
or eax, 0xffffffff
mov ebx, dword [0x10123f50]
inc edi
test cl, cl
je 0x1001d02e
or ebx, 0xffffffff
nop
cmp cl, 0x23
jne 0x1001d00f
cmp byte [edi], cl
jne 0x1001d00f
cmp byte [edi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [edi]
inc edi
xor eax, dword [edx*4 + 0x10097468]
test cl, cl
jne 0x1001d000
mov ebx, dword [0x10123f50]
mov edx, dword [ebx + 0x2cf4]
xor ecx, ecx
not eax
test edx, edx
jle 0x1001d04f
mov edi, dword [ebx + 0x2cfc]
cmp dword [edi + 4], eax
je 0x1001d05b
inc ecx
add edi, 0x18
cmp ecx, edx
jl 0x1001d042
xor edi, edi
mov ebx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x1001d094
test edi, edi
je 0x1001d051
push dword [ebp - 8]
mov eax, dword [edi + 8]
push edi
push dword [ebp - 0xc]
call eax
mov ebx, dword [ebp - 4]
mov edx, eax
add esp, 0xc
mov dword [ebp - 8], edx
jmp 0x1001d094
mov ebx, dword [ebp - 4]
test edi, edi
je 0x1001d094
test edx, edx
je 0x1001d094
mov eax, dword [edi + 0xc]
push ecx
push edx
push edi
push dword [ebp - 0xc]
call eax
mov edx, dword [ebp - 8]
add esp, 0x10
lea ecx, [esi + 1]
cmp ecx, ebx
jb 0x1001cf50
mov esi, dword [ebp - 0x10]
pop ebx
test esi, esi
je 0x1001d0b6
mov eax, dword [0x10123f50]
test eax, eax
je 0x1001d0b6
dec dword [eax + 0x370]
push esi
call fcn.1007369b
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
mov byte [eax + 0x2ce0], 1
pop esi
mov esp, ebp
pop ebp
ret
inc ecx
jmp 0x1001cf50
Function at 0x1005c800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100b60c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10123f50]
push edi
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x199c]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov byte [eax + 0x7c], 1
mov edi, dword [esi + 0x199c]
cmp byte [edi + 0x7f], 0
je 0x1005c84e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006cde1
mov esp, ebp
pop ebp
ret
push edx
push ecx
lea ebx, [esi + 0x2f2c]
mov edx, 0xc01
push ecx
mov ecx, ebx
call fcn.1000a820
add esp, 0xc
test ebx, ebx
je 0x1005c87f
cmp eax, 0xffffffff
je 0x1005c876
cmp eax, 0xc01
jl 0x1005c87b
mov eax, 0xc00
mov byte [eax + ebx], 0
mov ecx, dword [edi + 0x1cc]
add esi, 0x2f2c
add eax, esi
lea esi, [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1c4]
mov edi, 4
mov ecx, dword [ecx + eax*4 - 4]
not ecx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x10097468]
sub edi, 1
jne 0x1005c8b0
mov eax, dword [0x10123f50]
not ecx
cmp dword [eax + 0x19bc], ecx
jne 0x1005c8df
mov dword [eax + 0x19c4], ecx
cmp dword [eax + 0x19c0], ecx
jne 0x1005c8ee
mov byte [eax + 0x19d0], 1
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ebx
call fcn.1005c910
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1006cde1
mov esp, ebp
pop ebp
ret
Function at 0x10061470
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0x50], 0x100000
push esi
push edi
mov edi, edx
je 0x100614e0
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x100614b8
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x1006149f
cmp byte [esi], cl
jne 0x1006149f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10097468]
test cl, cl
jne 0x10061490
mov ecx, dword [0x10123f50]
not eax
cmp dword [ecx + 0x19bc], eax
jne 0x100614ce
mov dword [ecx + 0x19c4], eax
cmp dword [ecx + 0x19c0], eax
jne 0x10061525
pop edi
mov byte [ecx + 0x19d0], 1
pop esi
ret
mov esi, dword [0x10123f50]
xor edx, edx
mov eax, dword [esi + 0x199c]
mov ecx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x1cc]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.1000c1a0
add esp, 4
cmp dword [esi + 0x19bc], eax
jne 0x10061516
mov dword [esi + 0x19c4], eax
cmp dword [esi + 0x19c0], eax
jne 0x10061525
mov byte [esi + 0x19d0], 1
pop edi
pop esi
ret
Function at 0x10073e5c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1006df00
mov eax, dword [0x100b60c0]
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.1007d5de
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10073e9e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10073ffa
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10089320
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 + 0x10123b08]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1007fa2a
mov ecx, dword [esi*4 + 0x10123b08]
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 0x10073ff3
cmp eax, dword [ecx + edi + 0x24]
jne 0x10073ff3
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 0x10073ff3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1007fa2a
add esp, 0x14
test edx, edx
jl 0x10073ff3
jg 0x10073f69
test eax, eax
jb 0x10073ff3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10073ff3
jl 0x10073f83
cmp dword [ebp - 0x1008], eax
ja 0x10073ff3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10073fa1
test ebx, ebx
je 0x10073fda
cmp ecx, edi
jae 0x10073fda
mov al, byte [ecx]
cmp al, 0xd
jne 0x10073fbb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10073fc7
cmp byte [ecx + 1], 0xa
jne 0x10073fc7
inc ecx
jmp 0x10073fc7
movzx eax, al
movsx eax, byte [eax + 0x100b6360]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10073fa1
cmp edx, ebx
jne 0x10073fa1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10073ff8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1006cde1
leave
ret

Function at 0x1007a9c0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1007a9ff
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1007a9ff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1007a9ff
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1007a9ff
cmp dword [ecx + 0x74], 0xe
jbe 0x1007a9ff
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1007faa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10123b08]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1007fae6
cmp byte [ebx], 0xa
jne 0x1007fae6
or byte [edi + eax + 0x28], 4
jmp 0x1007faeb
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1007fbea
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1007fbcd
inc eax
cmp dl, 0xd
je 0x1007fb17
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1007fb3d
cmp eax, ecx
jae 0x1007fb4b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1007faff
jmp 0x1007fbea
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007fbc8
cmp dword [ebp - 0x10], 0
je 0x1007fbc8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10123b08]
test byte [eax + edi + 0x28], 0x48
je 0x1007fba2
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1007fb8d
mov byte [esi], dl
jmp 0x1007fb9e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10123b08]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1007fbea
cmp byte [ebp - 1], 0xa
jne 0x1007fbb1
cmp esi, ebx
jne 0x1007fbb1
mov byte [esi], 0xa
jmp 0x1007fbe9
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1007fa48
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1007fbea
mov byte [esi], 0xd
jmp 0x1007fbe9
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10123b08]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1007fbe7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1007fbea
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1007fbf3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10123b08]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1007fc39
cmp word [ebx], dx
jne 0x1007fc39
or byte [eax + edi + 0x28], 4
jmp 0x1007fc3e
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1007fda1
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1007fd81
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1007fc7f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1007fcb5
cmp eax, edx
jae 0x1007fcc3
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1007fc5a
jmp 0x1007fda1
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007fd7c
cmp dword [ebp - 0x18], 0
je 0x1007fd7c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10123b08]
test byte [eax + edi + 0x28], 0x48
je 0x1007fd52
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1007fd16
mov word [esi], cx
jmp 0x1007fd4d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10123b08]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10123b08]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10123b08]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1007fda1
pop eax
cmp word [ebp - 4], ax
jne 0x1007fd62
cmp esi, ebx
jne 0x1007fd62
mov word [esi], ax
jmp 0x1007fd9e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1007fa48
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1007fda1
push 0xd
pop eax
jmp 0x1007fd5d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10123b08]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1007fd9b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1007fda1
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100808d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10092ea8
push 0x10092ea0
push str.FlsAlloc
push 0x1f
call fcn.10080791
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10080906
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008e1f8]
call esi
jmp 0x1008090c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10080950
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10092eb8
push 0x10092eb0
push str.FlsGetValue
push 0x21
call fcn.10080791
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10080987
push dword [ebp + 8]
mov ecx, esi
call dword [0x1008e1f8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1008098f
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10092ec0
push 0x10092eb8
push str.FlsSetValue
push 0x22
call fcn.10080791
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100809c9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1008e1f8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]