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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dd88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov word [ecx + 0x1c], 0
xorps xmm0, xmm0
or eax, 0xffffffff
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0xf
mov byte [ecx + 0x20], 0
mov dword [ecx + 0x38], 0
mov word [ecx + 0x3c], ax
mov byte [ecx + 0x3e], 0
lea eax, [ecx + 0x40]
mov edx, 4
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub edx, 1
jne 0x1000c9c0
movzx eax, byte [ecx + 0x61]
xorps xmm0, xmm0
and al, 0x8d
mov byte [ecx + 0x60], 0x2f
or al, 0xd
mov dword [ecx + 0x64], 0x1f4ff02
mov byte [ecx + 0x61], al
movzx eax, byte [ecx + 0x62]
mov dword [ecx + 0x68], edx
and al, 0xe8
or al, 8
and byte [ecx + 0x63], 0xc0
mov byte [ecx + 0x62], al
mov eax, ecx
mov dword [ecx + 0x6c], 0xffffffff
mov dword [ecx + 0x70], 0xffffffff
movups xmmword [ecx + 0x74], xmm0
mov dword [ecx + 0x84], edx
mov dword [ecx + 0x88], 0xf
mov byte [ecx + 0x74], dl
mov dword [ecx + 0x8c], edx
mov dword [ecx + 0x90], edx
mov dword [ecx + 0x94], edx
mov dword [ecx + 0x98], edx
mov word [ecx + 0x9c], dx
mov byte [ecx + 0x9e], dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000d7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dd88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10003a70
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
movups xmm0, xmmword [edi + 0x64]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [edi + 0x74]
movq qword [esi + 0x30], xmm0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], 0
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x38], eax
mov ax, word [edi + 0x80]
mov word [esi + 0x3c], ax
movzx eax, byte [edi + 0x82]
mov byte [esi + 0x3e], al
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 1
movups xmm0, xmmword [eax + 0x14]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [eax + 0x24]
movups xmmword [esi + 0x50], xmm0
movzx eax, byte [esi + 0x61]
and byte [esi + 0x63], 0xc0
and al, 0x8d
or al, 0xd
mov byte [esi + 0x60], 0x2f
mov byte [esi + 0x61], al
movzx eax, byte [esi + 0x62]
and al, 0xe8
mov dword [esi + 0x64], 0x1f4ff02
or al, 8
mov dword [esi + 0x68], 0
mov byte [esi + 0x62], al
mov eax, dword [edi + 0x40]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x70], eax
lea eax, [edi + 0x48]
push eax
call fcn.10005a50
mov eax, dword [ebp + 0x10]
lea edx, [esi + 0x90]
mov dword [esi + 0x8c], eax
lea ecx, [esi + 0x94]
mov dword [edx], 0
mov dword [ecx], 0
mov eax, dword [edi + 0x38]
mov dword [esi + 0x98], eax
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x9c], al
mov byte [esi + 0x9d], 0
movzx eax, byte [edi + 0x61]
mov byte [esi + 0x9e], al
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1000d8e2
push eax
push 0x100e266c
push 4
push ecx
call fcn.1000d2f0
add esp, 0x10
lea edx, [esi + 0x90]
cmp dword [edi + 0x34], 0xf
lea eax, [edi + 0x20]
jbe 0x1000d8ed
mov eax, dword [eax]
push eax
push 0x100e2670
push 4
push edx
call fcn.1000d2f0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10010610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008e060
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 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
call fcn.10070024
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1006f3cd
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100107e0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10024a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10024a80
mov eax, dword [ecx + 8]
mov eax, dword [eax - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
cmp edi, 1
jne 0x10024afb
mov edi, dword [ecx + 8]
xor esi, esi
mov eax, dword [ecx + 4]
mov edx, edi
sub edx, eax
xor ecx, ecx
add edx, 3
shr edx, 2
cmp eax, edi
cmova edx, ecx
test edx, edx
je 0x10024ae4
cmp edx, 8
jb 0x10024ae4
and edx, 0xfffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
movups xmm0, xmmword [eax]
add esi, 8
xorps xmm1, xmm0
movups xmm0, xmmword [eax + 0x10]
add eax, 0x20
xorps xmm2, xmm0
cmp esi, edx
jne 0x10024ab0
xorps xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
xorps xmm1, xmm0
movd ecx, xmm1
cmp eax, edi
je 0x10024af1
xor ecx, dword [eax]
add eax, 4
cmp eax, edi
jne 0x10024ae8
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 8]
xor edx, edx
mov esi, dword [ecx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x10024b4a
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
test edi, edi
je 0x10024b37
test edx, edx
je 0x10024b37
mov eax, dword [eax + 0x14]
movsx ecx, word [eax + edi*2]
movsx eax, word [eax + edx*2]
add ecx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
movsx eax, word [eax + ecx*2]
jmp 0x10024b39
xor eax, eax
mov edx, dword [esi]
add esi, 4
xor edx, eax
mov eax, dword [esp + 0xc]
cmp esi, dword [esp + 0x10]
jne 0x10024b15
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10025f20
Capabilities:
Access peb ldr_data

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 0x1008ebdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
push esi
push edi
mov dword [ebp - 0x20], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x30]
movups xmm0, xmmword [eax]
mov dword [ebp - 0x88], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x80], 0
movups xmm0, xmmword [eax + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x28], 0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x40]
lea eax, [ebp - 0x88]
sub edx, eax
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x14], edx
mov eax, 0x2e8ba2e9
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0x10026059
cmp eax, 0x2e8ba2e
ja 0x100260d0
imul edi, eax, 0x58
cmp edi, 0x1000
jb 0x1002601b
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x100260d5
push eax
call fcn.10070024
add esp, 4
test eax, eax
je 0x100260da
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1002602e
test edi, edi
je 0x1002602c
push edi
call fcn.10070024
add esp, 4
mov esi, eax
jmp 0x1002602e
xor esi, esi
push dword [ebp - 0x14]
lea eax, [edi + esi]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x88]
push eax
push esi
mov dword [ebp - 0x2c], esi
call fcn.10071b80
imul eax, dword [ebp - 0x18], 0x58
add esp, 0xc
mov edi, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xc]
mov ecx, edi
mov dword [ebp - 4], 0
push dword [ebx + 8]
call fcn.100260e0
mov esi, dword [ebp - 0x30]
add esp, 0xc
test esi, esi
je 0x100260bb
mov ecx, dword [ebp - 0x28]
mov eax, 0x2e8ba2e9
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x58
mov eax, esi
cmp ecx, 0x1000
jb 0x100260b1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100260da
push ecx
push esi
call fcn.10070054
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10005b60
call fcn.10002120
call fcn.1007800c
int3
Function at 0x1002a980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
lea ebx, [esp + 0x16]
mov dword [esp + 8], ecx
push edi
xor edi, edi
mov dword [esp + 0x10], 0x2c2b3635
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x302f2e2d
mov eax, ebx
mov word [esp + 0x18], 0x2625
mov dword [esp + 0x1c], 0
mov esi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
sub eax, ecx
je 0x1002a9f7
push eax
lea ecx, [esp + 0x20]
call fcn.10005d60
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
sub ebx, eax
push ebx
push eax
push esi
call fcn.10071b80
mov edi, dword [esp + 0x30]
lea eax, [ebx + esi]
add esp, 0xc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
call fcn.1002a3c0
mov ebx, eax
mov eax, 0x3e7
cmp ebx, eax
cmova ebx, eax
test esi, esi
je 0x1002aa3a
sub edi, esi
cmp edi, 0x1000
jb 0x1002aa30
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1002aa43
mov esi, ecx
push edi
push esi
call fcn.10070054
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007800c
int3

Function at 0x1002aa50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
lea ebx, [esp + 0x16]
mov dword [esp + 8], ecx
push edi
xor edi, edi
mov dword [esp + 0x10], 0x3a393837
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x32313c3b
mov eax, ebx
mov word [esp + 0x18], 0x3433
mov dword [esp + 0x1c], 0
mov esi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edi
sub eax, ecx
je 0x1002aac7
push eax
lea ecx, [esp + 0x20]
call fcn.10005d60
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
sub ebx, eax
push ebx
push eax
push esi
call fcn.10071b80
mov edi, dword [esp + 0x30]
lea eax, [ebx + esi]
add esp, 0xc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
call fcn.1002a3c0
mov ebx, eax
mov eax, 0x3e7
cmp ebx, eax
cmova ebx, eax
test esi, esi
je 0x1002ab0a
sub edi, esi
cmp edi, 0x1000
jb 0x1002ab00
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x1002ab13
mov esi, ecx
push edi
push esi
call fcn.10070054
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007800c
int3
Function at 0x100340b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
mov ebx, edx
push edi
mov byte [ebp - 8], 0
push dword [ebp - 8]
lea edx, [esi + 0x10]
mov dword [ebp - 4], ebx
push ecx
mov ecx, esi
call fcn.10008210
mov dl, byte [ebp + 8]
add esp, 8
mov edi, dword [ebp + 0x10]
movss xmm2, dword [0x100e4f3c]
movzx eax, ax
movzx ecx, dl
movd xmm0, ebx
xor ebx, ebx
cvtdq2ps xmm0, xmm0
movd xmm1, eax
lea eax, [ecx*8]
sub eax, ecx
cvtdq2ps xmm1, xmm1
lea ecx, [esi + eax*2]
movzx eax, dl
mov esi, dword [ebp + 0xc]
xor eax, 1
mov dword [ebp + 8], ecx
divss xmm1, xmm0
lea eax, [eax*4 - 2]
mov dword [ebp - 8], eax
nop
movzx eax, word [ecx]
test bl, 1
mov ecx, edi
cmove ecx, esi
movd xmm0, eax
mov eax, ebx
cvtdq2ps xmm0, xmm0
shr eax, 1
inc ebx
divss xmm0, xmm1
addss xmm0, xmm2
cvttss2si edx, xmm0
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov dword [ebp + 8], ecx
cmp ebx, 8
jl 0x10034120
lea eax, [esi + 0x10]
xor ebx, ebx
cmp esi, eax
je 0x10034169
nop dword [eax]
add ebx, dword [esi]
add esi, 4
cmp esi, eax
jne 0x10034160
lea eax, [edi + 0x10]
xor edx, edx
cmp edi, eax
je 0x1003417b
add edx, dword [edi]
add edi, 4
cmp edi, eax
jne 0x10034172
mov esi, dword [ebp - 4]
xor ecx, ecx
cmp esi, 0xf
mov eax, ebx
mov edi, ebx
sete cl
sub eax, ecx
add eax, 0xfffffffc
mov dword [ebp + 8], eax
lea eax, [esi - 4]
sub edi, eax
lea eax, [esi - 4]
sub ecx, eax
lea eax, [ecx + edx]
mov dword [ebp + 0x10], eax
mov eax, edx
sub eax, esi
add eax, ebx
jne 0x100341fc
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
xor eax, eax
test edi, edi
cmovg eax, edi
add ecx, eax
jne 0x100341fc
mov edi, dword [ebp + 0x10]
lea eax, [edx - 4]
test eax, eax
cmovs ecx, eax
xor eax, eax
test edi, edi
cmovg eax, edi
add ecx, eax
jne 0x100341fc
xor eax, eax
cmp esi, 0xf
setg al
and ebx, 1
cmp ebx, eax
je 0x100341fc
xor eax, eax
cmp esi, 0x11
setl al
and edx, 1
cmp edx, eax
je 0x100341fc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003c260
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [esp + 0x24], 5
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
lea eax, [ecx + 0x36]
mov dword [esp + 0x34], 3
lea edx, [ecx + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
test edx, edx
je 0x1003c444
cmp edx, eax
jb 0x1003c444
lea eax, [edx + 6]
cmp eax, esi
ja 0x1003c444
lea eax, [esi - 2]
lea ecx, [edx + 6]
cmp ecx, eax
mov eax, 0x7fffffff
je 0x1003c2de
movzx eax, word [edx + 6]
movsd xmm3, qword [0x100e4ff8]
lea ecx, [esp + 0x30]
sub esp, 8
xorps xmm7, xmm7
mov edx, 0x100db740
movsd qword [esp], xmm7
push eax
call fcn.1003abf0
add esp, 0xc
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1003c444
sub esp, 8
lea ecx, [esp + 0x28]
xorps xmm3, xmm3
mov edx, 0x100db728
movsd qword [esp], xmm7
push 0
call fcn.1003ab10
add esp, 0xc
ucomisd xmm0, xmm7
lahf
test ah, 0x44
jnp 0x1003c444
mov esi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [esp + 0x14]
add esi, 6
push 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push str._ABCDEFGHIJKLMNOPQRSTUVWXYZ
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x34], eax
call fcn.10005b70
mov dword [esp + 0x1c], 0
xor edi, edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.1003bfb0
add esp, 4
test al, al
je 0x1003c444
inc edi
test esi, esi
je 0x1003c3a5
mov eax, 4
lea esi, [esi + eax*2]
mov dword [esp + 0x20], esi
cmp edi, 6
jl 0x1003c377
mov eax, dword [esp + 0x14]
add esi, 0xa
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push 0
call fcn.1003bfb0
add esp, 4
test al, al
je 0x1003c444
inc edi
test esi, esi
je 0x1003c3e5
add esi, 8
mov dword [esp + 0x20], esi
cmp edi, 6
jl 0x1003c3c3
push dword [esp + 0x1c]
push 0x100db770
push 0x100db748
call fcn.1006ee50
cmp eax, 0x100db770
je 0x1003c444
sub eax, 0x100db748
sar eax, 2
cmp eax, 0xffffffff
je 0x1003c444
test eax, eax
js 0x1003c44c
cmp eax, 9
jg 0x1003c44c
mov ecx, dword [esp + 0x10]
add al, 0x30
mov edx, ecx
cmp dword [ecx + 0x14], 0xf
jbe 0x1003c42a
mov edx, dword [ecx]
movups xmm0, xmmword [esp + 0x30]
mov byte [edx], al
mov al, 1
mov dword [ecx + 0x28], 0x200
movups xmmword [ecx + 0x18], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov ecx, esp
push str.Invalid_digit_value
call fcn.10003260
push 1
push 0x67
push str.C:ErikZXingCPP_srcZXAlgorithms.h
lea ecx, [esp + 0x54]
call fcn.10003770
push 0x100f2ba4
mov eax, ecx
push eax
call fcn.10071b0a
int3
Function at 0x1005cc50
Capabilities:
Access peb ldr_data

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 0x10090c05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x14], eax
mov esi, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x60
mov dword [ebp - 0x18], 0
call fcn.10070024
mov ecx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ebx + 0x10]
add esp, 4
mov dword [ebp - 0x18], edi
movsd xmm0, qword [ecx]
movsd qword [edi + 0x10], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x18], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x28], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x38], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [edi + 0x48], xmm0
movq xmm0, qword [eax + 0x40]
movq qword [edi + 0x58], xmm0
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov word [edi + 0xc], 0
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 4], 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], cl
jne 0x1005cd32
movsd xmm1, qword [edi + 0x10]
mov eax, edx
nop dword [eax + eax]
movsd xmm0, qword [eax + 0x10]
mov edx, eax
comisd xmm0, xmm1
seta cl
test cl, cl
je 0x1005cd26
mov eax, dword [eax]
jmp 0x1005cd29
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
movzx ecx, cl
je 0x1005cd10
cmp dword [esi + 4], 0x2aaaaaa
je 0x1005cd61
push edi
push ecx
push edx
mov ecx, esi
call fcn.1001f7a0
mov ecx, dword [ebx + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.1000d5d0
int3
Function at 0x100618e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
push edi
cmp ecx, 7
ja 0x10061a9a
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov edi, 5
mov eax, dword [edx*4 + 0x100e4a40]
mov dword [ebp - 0x18], 1
lea ebx, [eax*8]
or ebx, ecx
lea ecx, [edi - 1]
mov eax, ebx
sar eax, cl
mov edi, ecx
mov ecx, dword [esi + 4]
and al, 1
mov byte [ebp + 0xb], al
cmp ecx, dword [esi + 8]
je 0x10061971
mov byte [ecx], al
inc dword [esi + 4]
jmp 0x1006197d
lea eax, [ebp + 0xb]
push eax
push ecx
mov ecx, esi
call fcn.100061b0
test edi, edi
jne 0x10061954
mov edx, 0x537
mov ecx, ebx
call fcn.10061860
mov ebx, eax
mov edi, 0xa
mov eax, dword [esi + 4]
lea ecx, [edi - 1]
mov edx, ebx
mov edi, ecx
sar edx, cl
and dl, 1
mov byte [ebp + 0xb], dl
cmp eax, dword [esi + 8]
je 0x100619b2
mov byte [eax], dl
inc dword [esi + 4]
jmp 0x100619be
lea ecx, [ebp + 0xb]
push ecx
push eax
mov ecx, esi
call fcn.100061b0
test edi, edi
jne 0x10061994
xor eax, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 1
mov ebx, 0xf
nop dword [eax]
lea ecx, [ebx - 1]
mov edx, 0x5412
sar edx, cl
mov ebx, ecx
and dl, 1
mov byte [ebp + 0xb], dl
cmp eax, edi
je 0x100619fe
mov byte [eax], dl
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10061a11
lea ecx, [ebp + 0xb]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100061b0
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
test ebx, ebx
jne 0x100619e0
mov ebx, dword [esi + 4]
mov ecx, dword [esi]
sub ebx, ecx
mov edx, dword [ebp - 0x2c]
sub eax, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], ebx
cmp ebx, eax
jne 0x10061aa1
xor ebx, ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x10061a4f
mov edi, ecx
mov cl, byte [edx + ebx]
xor byte [ebx + edi], cl
inc ebx
mov eax, dword [esi + 4]
mov edi, dword [esi]
sub eax, edi
cmp ebx, eax
jb 0x10061a34
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
sub eax, ecx
cmp eax, 0xf
jne 0x10061abc
test edx, edx
je 0x10061a87
sub edi, edx
mov eax, edx
cmp edi, 0x1000
jb 0x10061a7d
mov edx, dword [eax - 4]
add edi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10061afd
push edi
push edx
call fcn.10070054
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push str.Invalid_mask_pattern
jmp 0x10061aa6
push str.BitArray::xor__:_Sizes_dont_match
lea ecx, [ebp - 0x38]
call fcn.10002240
push 0x100f2af8
lea eax, [ebp - 0x38]
push eax
call fcn.10071b0a
mov ecx, esi
call fcn.100031f0
mov edx, eax
lea ecx, [ebp - 0x50]
call fcn.100092a0
push eax
mov edx, str.Should_not_happen_but_we_got:
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.1000aa00
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10061430
push 0x100f2cc8
lea eax, [ebp - 0x38]
push eax
call fcn.10071b0a
call fcn.1007800c
int3
Function at 0x1007b070
Capabilities:
Parse pe header

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

Function at 0x1007c0f0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100959b8
push 0x100959b0
push str.FlsAlloc
push 0x1f
call fcn.1007bfb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007c124
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009213c]
call esi
jmp 0x1007c12a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1007c16e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100959c8
push 0x100959c0
push str.FlsGetValue
push 0x21
call fcn.1007bfb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007c1a5
push dword [ebp + 8]
mov ecx, esi
call dword [0x1009213c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1007c1ad
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100959d0
push 0x100959c8
push str.FlsSetValue
push 0x22
call fcn.1007bfb8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1007c1e7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1009213c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]