joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a150
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100aa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x14], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jns 0x1000e954
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x14]
jle 0x1000e954
mov eax, dword [0x100ad250]
test eax, eax
je 0x1000e8fe
inc dword [eax + 0xb0]
lea eax, [ecx*4]
push eax
call fcn.1005467b
mov edx, dword [edi + 0x18]
add esp, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x1000e94b
mov ecx, dword [edi + 0x10]
shl ecx, 2
push ecx
push edx
push eax
call fcn.1004d2f0
mov ecx, dword [edi + 0x18]
add esp, 0xc
test ecx, ecx
je 0x1000e93f
mov eax, dword [0x100ad250]
test eax, eax
je 0x1000e93f
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013530
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001358e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10013572
cmp edi, 2
jb 0x10013572
cmp byte [esi], cl
jne 0x10013572
cmp byte [esi + 1], cl
jne 0x10013572
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10098130]
jmp 0x10013543
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10098130]
test edi, edi
jne 0x10013543
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100135bd
cmp cl, 0x23
jne 0x100135a4
cmp byte [esi], cl
jne 0x100135a4
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10098130]
test cl, cl
jne 0x10013595
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x100136d0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x100136e2
mov dword [ebx], 0
mov edx, 0x1009e9c4
call fcn.100135d0
mov esi, eax
test esi, esi
je 0x100137b4
push esi
call fcn.10054e28
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x100137ab
push 2
push 0
push esi
call fcn.10055745
add esp, 0xc
test eax, eax
jne 0x100137ab
push esi
call fcn.10054e28
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100137ab
push 0
push ebp
push esi
call fcn.10055745
add esp, 0xc
test eax, eax
jne 0x100137ab
mov eax, dword [0x100ad250]
test eax, eax
je 0x1001374e
inc dword [eax + 0xb0]
push edi
call fcn.1005467b
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x100137ab
push esi
push edi
push 1
push ebp
call fcn.10057eb9
add esp, 0x10
push esi
cmp eax, edi
je 0x10013796
call fcn.1005542c
mov eax, dword [0x100ad250]
add esp, 4
test eax, eax
je 0x10013786
dec dword [eax + 0xb0]
push ebp
call fcn.1004f934
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.1005542c
add esp, 4
test ebx, ebx
je 0x100137a4
mov dword [ebx], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.1005542c
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10013920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
mov ebx, ecx
lea eax, [edx - 1]
push ebp
mov ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
lea eax, [ebx + eax*2]
mov dword [esp + 0x1c], eax
cmp ebx, eax
mov eax, dword [esp + 0x24]
jae 0x10013af3
push esi
mov esi, dword [esp + 0x2c]
push edi
nop dword [eax]
test esi, esi
je 0x1001395c
cmp eax, esi
jae 0x10013aed
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x10013aed
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x1009eb30]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
test esi, esi
jne 0x1001398d
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x100139a8
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x100139ad
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x100139bc
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x100139c1
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x100139cc
mov ch, byte [esi]
jmp 0x100139ce
xor ch, ch
mov ebp, dword [esp + 0x18]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x1009eb50]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebp
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebp, dword [esp + 0x14]
and ecx, 0x3f
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x1009eb1c]
shr ebp, cl
mov esi, ebp
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp*4 + 0x1009eb64]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebp*4 + 0x1009eb78]
mov ebp, dword [esp + 0x20]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x10013ad2
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x12], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
mov ebx, edx
mov word [ebp], si
add eax, ebx
mov esi, dword [esp + 0x30]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x24]
jb 0x10013950
mov ebx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10013b03
mov dword [ecx], eax
sub ebp, ebx
sar ebp, 1
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10013b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
xor ecx, ecx
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x10013b2d
cmp eax, ebp
jae 0x10013c97
mov bl, byte [eax]
test bl, bl
je 0x10013c97
movzx ecx, bl
mov edx, ebp
shr ecx, 3
movsx edi, byte [ecx + 0x1009eb30]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], edi
sete cl
add ecx, edi
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x10013b5e
lea edx, [ecx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, bl
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x10013b77
mov bl, byte [esi]
mov byte [esp + 0x10], bl
jmp 0x10013b7c
mov byte [esp + 0x10], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x10013b87
mov ch, byte [esi]
jmp 0x10013b89
xor ch, ch
lea ebx, [eax + 3]
mov byte [esp + 0x12], ch
cmp ebx, edx
jae 0x10013b98
mov bl, byte [ebx]
jmp 0x10013b9a
xor bl, bl
mov edi, dword [edi*4 + 0x1009eb50]
movzx esi, byte [esp + 0x10]
movzx edx, ch
movzx ecx, cl
and edi, ecx
mov byte [esp + 0x11], bl
shl edi, 6
mov ecx, esi
and ecx, 0x3f
movzx ebx, bl
or edi, ecx
and esi, 0xc0
shl edi, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or edi, ecx
mov ecx, ebx
and ecx, 0x3f
shr ebx, 2
or ebx, edx
shl edi, 6
or edi, ecx
shr ebx, 2
mov ecx, dword [esp + 0x14]
or ebx, esi
mov esi, dword [esp + 0x14]
shr ebx, 2
mov ecx, dword [ecx*4 + 0x1009eb1c]
shr edi, cl
cmp edi, dword [esi*4 + 0x1009eb64]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or ebx, ecx
mov ecx, edi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
or ebx, edx
mov edx, 0xffff
cmp edx, edi
sbb ecx, ecx
and ecx, 0x100
or ebx, ecx
mov ecx, dword [esi*4 + 0x1009eb78]
xor ebx, 0x2a
sar ebx, cl
test ebx, ebx
je 0x10013c87
xor edx, edx
cmp byte [esp + 0x11], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp dword [esp + 0x18], edx
cmovl edx, dword [esp + 0x18]
mov ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10013b1d
mov ecx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x1c]
inc ecx
jmp 0x10013b1d
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
Function at 0x10015bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x14]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10098130]
sub esi, 1
jne 0x10015c11
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x10015c49
push ecx
push dword [esp + 0x18]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10027c90
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 4

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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10098130]
sub edi, 1
jne 0x10015cd1
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x10018f90
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [0x100ad250]
mov ebp, edx
push edi
mov edi, dword [esp + 0x2c]
mov edx, ecx
mov dword [esp + 0x1c], ebp
mov ebx, dword [esi + 0x3e60]
mov ecx, ebx
mov eax, dword [ebx + 0xc]
and eax, 4
or eax, 0x1000103
or edi, eax
cmp dword [ebx + 0x190], 0
mov dword [esp + 0x2c], edi
jne 0x10018fd9
cmp dword [esi + 0x4a28], 0
mov eax, 0x228
je 0x10018fde
mov eax, 0x1f8
movss xmm4, dword [eax + ebx]
xorps xmm3, xmm3
movss xmm5, dword [eax + ebx + 4]
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [0x1009fc14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 2
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, dword [esp + 0x24]
cmovnp eax, dword [esp + 0x14]
or eax, ecx
comiss xmm3, xmm1
mov dword [esp + 0x24], eax
jb 0x10019067
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x10019067
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x10019078
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x10019078
movaps xmm0, xmm2
or dword [esi + 0x4714], 2
movss dword [esi + 0x4734], xmm1
movss dword [esi + 0x4738], xmm0
mov dword [esi + 0x471c], 1
mov eax, dword [ebx + 4]
push ebp
test edx, edx
je 0x100190b9
push edx
push eax
push str._s__s__08X
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10013490
add esp, 0x18
jmp 0x100190ce
push eax
push str._s__08X
lea eax, [esp + 0x20]
push 0
push eax
call fcn.10013490
add esp, 0x14
cmp byte [esp + 0x28], 0
movss xmm0, dword [esi + 0x37b8]
movss dword [esp + 0x18], xmm0
jne 0x100190ed
mov dword [esi + 0x37b8], 0
mov ecx, dword [esp + 0x14]
xor edx, edx
push edi
call fcn.1001b930
mov edi, dword [esi + 0x3e60]
add esp, 4
movss xmm0, dword [esp + 0x18]
movss dword [esi + 0x37b8], xmm0
mov byte [esp + 0x28], al
cmp word [edi + 0xb6], 1
mov eax, dword [esp + 0x24]
mov dword [edi + 0x74], ebp
mov byte [edi + 0xc6], al
jne 0x1001913d
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], eax
not ebp
mov edx, 0x1009df91
mov ebx, ebp
mov al, 0x23
cmp al, 0x23
jne 0x10019156
cmp byte [edx], al
jne 0x10019156
cmp byte [edx + 1], al
cmove ebx, ebp
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x10098130]
test al, al
jne 0x10019148
not ebx
cmp dword [esi + 0x3eac], ebx
jne 0x10019182
xor edx, edx
xor ecx, ecx
call fcn.10015d00
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x47fc], eax
jne 0x100191d2
test dword [esp + 0x2c], 0x800000
jne 0x100191d2
cmp word [edi + 0x14c], 0
jne 0x100191ab
cmp byte [edi + 0x152], 0
je 0x100191d2
xor edx, edx
mov ecx, edi
call fcn.1001e150
xor dl, dl
mov ecx, edi
call fcn.10023b40
mov edx, edi
mov ecx, ebx
call fcn.10015d00
mov eax, dword [esi + 0x4820]
mov dword [esi + 0x3ecc], eax
mov al, byte [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x100194c0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x100ad250]
push ebx
push esi
push edi
mov esi, dword [eax + 0x3e50]
mov edi, ecx
mov eax, dword [eax + 0x3e48]
lea ebx, [esi + eax*8]
test eax, eax
je 0x1001949e
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x10019498
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x1001949a
mov eax, edx
test eax, eax
jne 0x10019480
cmp esi, ebx
je 0x100194ad
cmp dword [esi], edi
jne 0x100194ad
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x100194fd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x100194e3
cmp byte [esi], bl
jne 0x100194e3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10098130]
test bl, bl
jne 0x100194d4
pop edi
pop esi
not ecx
pop ebx
jmp 0x10019460
Function at 0x10026d40
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100ad250]
test bl, bl
je 0x10026d89
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x10026d6f
cmp byte [esi], bl
jne 0x10026d6f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10098130]
test bl, bl
jne 0x10026d60
pop ebp
mov ecx, dword [edi + 0x5a8c]
not eax
mov edx, dword [edi + 0x5a94]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x10026db0
cmp dword [edx + 4], eax
je 0x10026db3
add edx, 0x24
cmp edx, ecx
jne 0x10026da4
xor eax, eax
ret
mov eax, edx
ret
Function at 0x10030f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10030fc6
mov eax, dword [0x100ad250]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10030fb6
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10030ffa
mov eax, dword [0x100ad250]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10030fea
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1003102e
mov eax, dword [0x100ad250]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1003101e
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1003107e
mov eax, dword [0x100ad250]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1003106e
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100310b2
mov eax, dword [0x100ad250]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x100310a2
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100310e6
mov eax, dword [0x100ad250]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x100310d6
dec dword [eax + 0xb0]
push ecx
call fcn.1004f934
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10033b10
Function at 0x1004f81c
Capabilities:
Parse pe header

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

Function at 0x10054c21
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10066190
mov eax, dword [0x100aa040]
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.1005ad03
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10054c63
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10054dbf
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10065fa0
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 + 0x100ab9e8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1005b233
mov ecx, dword [esi*4 + 0x100ab9e8]
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 0x10054db8
cmp eax, dword [ecx + edi + 0x24]
jne 0x10054db8
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 0x10054db8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1005b233
add esp, 0x14
test edx, edx
jl 0x10054db8
jg 0x10054d2e
test eax, eax
jb 0x10054db8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10054db8
jl 0x10054d48
cmp dword [ebp - 0x1008], eax
ja 0x10054db8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10054d66
test ebx, ebx
je 0x10054d9f
cmp ecx, edi
jae 0x10054d9f
mov al, byte [ecx]
cmp al, 0xd
jne 0x10054d80
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10054d8c
cmp byte [ecx + 1], 0xa
jne 0x10054d8c
inc ecx
jmp 0x10054d8c
movzx eax, al
movsx eax, byte [eax + 0x100aa288]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10054d66
cmp edx, ebx
jne 0x10054d66
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10054dbd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1004b5fe
leave
ret
Function at 0x1005a117
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006e10c
push 0x1006e104
push str.FlsAlloc
push 0x1f
call fcn.10059ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a14b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1006b260]
call esi
jmp 0x1005a151
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1005a195
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006e11c
push 0x1006e114
push str.FlsGetValue
push 0x21
call fcn.10059ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a1cc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1006b260]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1005a1d4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1006e124
push 0x1006e11c
push str.FlsSetValue
push 0x22
call fcn.10059ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005a20e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1006b260]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]