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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x414de4
pop dword [ebp - 0xc]
mov eax, 0xaa527b93
add eax, 0x55eed251
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xdcd72eb9
add dword [ebp - 0x1c], 0x717b1692
mov dword [ebp - 0x18], 0xf8e9885c
add dword [ebp - 0x18], 0x3949c3e9
mov dword [ebp - 0x14], 0xc0be2baf
sub dword [ebp - 0x14], 0x7471e781
mov dword [ebp - 0x10], 0xa9ce66c3
add dword [ebp - 0x10], 0x5631993d
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x8f8369e2
add eax, 0x70be166e
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x691fdd48
sub dword [ebp - 0x1c], 0xf4ad73f2
mov dword [ebp - 0x18], 0x6e70f8d5
sub dword [ebp - 0x18], 0x2d049760
mov dword [ebp - 0x14], 0x659176cb
add dword [ebp - 0x14], 0xfdddf5a1
mov dword [ebp - 0x10], 0x4a8efa98
add dword [ebp - 0x10], 0xb5710568
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xbe0b1326
sub eax, 0xbdc992da
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9b1
push 0
call eax
mov ecx, 0xa4b7429b
sub ecx, 0xa4b6fdd4
xor edi, edi
add edi, eax
mov esi, 0xdd3126df
add esi, 0x2311b121
add esi, dword [ebp - 0xc]
mov ebx, 0xd394f98d
xor dword [ebp - 4], 0xacdecea6
mov edx, dword [esi]
sub edx, ebx
sub dword [ebp - 4], esi
mov dword [edi], edx
add edi, 4
add esi, 0x77d1cdae
sub esi, 0x77d1cdaa
loop 0x414f02
add eax, 0x640ce692
sub eax, 0x640be0a3
mov ebx, eax
add eax, 0xaeeb923a
add eax, 0x51146dcb
mov ecx, 0x6d7b3214
sub ecx, 0x6d3b3214
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x411df2
Capabilities:
Print debug messages

Disassembly:
jmp 0x42da71
push esi
mov esi, ecx
call fcn.00411ece
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x43963c
call fcn.0041160e
test eax, eax
jns 0x42dac0
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42dab9
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x43fd38], 1
mov eax, esi
pop esi
ret

Function at 0x414de4
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], ebx
dec edx
add ecx, 4
cmp ecx, eax
jne fcn.00414de4
sub esi, 1
mov edx, edi
dec esi
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x4306424c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4306425b
pop dword [ebp - 0x20]
mov eax, 0xc35c2d53
add eax, 0x7faa1508
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3e502
push 0
mov eax, 0x711326e
add eax, 0x3bf1deba
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xda817a4a
sub ecx, 0xda8122ac
mov esi, eax
mov edi, 0x43072600
add edi, dword [ebp - 0x20]
mov ebx, 0xf5241ab4
xor dword [ebp - 8], ebx
mov edx, dword [edi]
add dword [ebp - 0x10], 0x29df137a
sub edx, ebx
add dword [ebp - 0xc], ebx
mov dword [esi], edx
add dword [ebp - 0x14], 0xc09d5e2e
add esi, 4
add edi, 0x6487c721
sub edi, 0x6487c71d
loop 0x430642ae
add eax, 0x68c08e4b
sub eax, 0x68bf3d00
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3cd79453
add ecx, 0x62b6bad
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x5932e11c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x5932e12b
pop dword [ebp - 0x40]
mov eax, 0x4ca43fe1
add eax, 0xc8ea14a
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xaf406c60
sub dword [ebp - 0x50], 0x60ee2715
mov dword [ebp - 0x4c], 0x5851e1cd
add dword [ebp - 0x4c], 0xd9e16a78
mov dword [ebp - 0x48], 0xc00f5fe0
add dword [ebp - 0x48], 0x8c3ce44e
mov dword [ebp - 0x44], 0xe1f47711
sub dword [ebp - 0x44], 0xe1f47711
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xec5931a6
add dword [ebp - 0x50], 0x881937b0
mov dword [ebp - 0x4c], 0xae7d4f06
sub dword [ebp - 0x4c], 0x6d10ed91
mov dword [ebp - 0x48], 0x502ceffd
sub dword [ebp - 0x48], 0xecbd8391
mov dword [ebp - 0x44], 0x9195e754
add dword [ebp - 0x44], 0x6e6a18ac
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a7f8
push 0
call eax
mov ecx, 0xf954e1a3
add ecx, 0x6ab5db6
mov esi, eax
mov edi, 0xc3566a25
add edi, 0x95e055db
add edi, dword [ebp - 0x40]
mov edx, 0x7844aabc
sub edx, 0xe13a4898
mov dword [ebp - 0x10], 0xfd1cebe8
mov ebx, dword [edi]
add ebx, edx
xor dword [ebp - 0x18], 0x3b55f539
mov dword [esi], ebx
add esi, 0x1ce1af2f
sub esi, 0x1ce1af2b
add edi, 0x3fbd455a
add edi, 0xc042baaa
loop 0x5932e243
add eax, 0x1202a5c8
add eax, 0xedfe4a6f
xor ebx, ebx
add ebx, eax
add eax, 0x5adf9ae
sub eax, 0x5adf9a9
mov ecx, 0x7bd060b8
sub ecx, 0x229e60b8
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4086d9
pop dword [ebp - 0x50]
mov eax, 0xf752b696
add eax, 0x8edd043
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xcca1a113
sub dword [ebp - 0x60], 0x7e4f5bc8
mov dword [ebp - 0x5c], 0x10332ddd
add dword [ebp - 0x5c], 0x22001e68
mov dword [ebp - 0x58], 0x27bb8cbf
add dword [ebp - 0x58], 0x2490b76f
mov dword [ebp - 0x54], 0x2086a9f3
sub dword [ebp - 0x54], 0x2086a9f3
lea eax, [ebp - 0x60]
push eax
mov eax, 0x75911175
sub eax, 0x75504121
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xe22ebd78
sub dword [ebp - 0x60], 0x6dbc5422
mov dword [ebp - 0x5c], 0xd0b798e8
add dword [ebp - 0x5c], 0x70b4c88d
mov dword [ebp - 0x58], 0xc2c193a8
sub dword [ebp - 0x58], 0x5f52273c
mov dword [ebp - 0x54], 0xde248b18
sub dword [ebp - 0x54], 0xde248b18
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x38f99
push 0
call eax
mov ecx, 0x9cd548d5
add ecx, 0x632afcfd
mov edx, eax
mov ebx, 0x58680b61
add ebx, 0xa7d9a49f
add ebx, dword [ebp - 0x50]
mov esi, 0x395257a6
mov dword [ebp - 0x4c], 0x9f1b77fd
mov edi, dword [ebx]
xor dword [ebp - 0x3c], 0xf1cc52e2
sub edi, esi
sub dword [ebp - 0x30], ebx
mov dword [edx], edi
xor dword [ebp - 0x28], edx
add edx, 0x7e68c0c8
add edx, 0x81973f3c
add ebx, 4
loop 0x4087f0
add eax, 0x51a0ee2a
sub eax, 0x519fe40f
mov ebx, eax
add eax, 5
mov ecx, 0x8600986e
add ecx, 0x7a3f6792
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0xf79ca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92d000]
push edi
jmp 0xf79cba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xf79cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf79cb0
mov eax, 1
add ebx, ebx
jne 0xf79cd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xf79ce4
jne 0xf79d03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf79d03
dec eax
add ebx, ebx
jne 0xf79cf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xf79cc8
add ebx, ebx
jne 0xf79cff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xf79d55
xor ecx, ecx
sub eax, 3
jb 0xf79d1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xf79d8a
sar eax, 1
mov ebp, eax
jmp 0xf79d26
add ebx, ebx
jne 0xf79d26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf79cf4
inc ecx
add ebx, ebx
jne 0xf79d34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xf79cf4
add ebx, ebx
jne 0xf79d41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xf79d36
jne 0xf79d52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xf79d36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xf79d74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xf79d66
jmp 0xf79cb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xf79d74
add edi, ecx
jmp 0xf79cb6
pop esi
mov edi, esi
mov ecx, 0x1690d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xf79d92
cmp byte [edi], 0xca
jne 0xf79d92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xf79d97
lea edi, [esi + 0xb75000]
mov eax, dword [edi]
or eax, eax
je 0xf79e0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb8a174]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb8a32c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xf79dc4
mov ecx, edi
jns 0xf79df3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb8a334]
or eax, eax
je 0xf79e09
mov dword [ebx], eax
add ebx, 4
jmp 0xf79de1
call dword [esi + 0xb8a330]
mov ebp, dword [esi + 0xb8a338]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xf79e43
sub esp, 0xffffff80
jmp 0x67f1c6
Function at 0x100156f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xorpd xmm0, xmm0
movupd xmmword [edi + 0x10], xmm0
movupd xmmword [edi + 0x30], xmm0
xor eax, eax
mov dword [edi + 0x40], eax
movupd xmmword [edi + 0x20], xmm0
movupd xmmword [edi], xmm0
xor esi, esi
inc esi
mov ebx, esi
shl ebx, cl
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x10]
add ecx, 0xfffffffe
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.10011443
test eax, eax
js 0x10015789
mov eax, ebx
shr eax, 0x1f
add eax, ebx
sar eax, 1
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.10070a00
mov dword [edi + 0x18], eax
test eax, eax
je 0x10015789
mov edx, ebx
sar edx, 2
mov ecx, dword [edi + 0x3c]
cmp ecx, 1
je 0x100157a7
test ecx, ecx
jne 0x10015789
lea eax, [eax + edx*4]
mov dword [edi + 0x1c], eax
jmp 0x100157b2
lea eax, [edi + 0x18]
mov dword [esp], eax
call fcn.100709e0
mov dword [esp], edi
call fcn.10011ad1
xor eax, eax
dec eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add eax, 4
mov dword [edi + 0x1c], eax
mov esi, 2
movsd xmm2, qword [ebp + 0x14]
xorpd xmm3, xmm3
movapd xmm0, xmmword [0x10136cd0]
andpd xmm0, xmm2
ucomisd xmm0, xmm3
jb 0x100157d3
sqrtsd xmm0, xmm0
jmp 0x100157f8
movsd qword [esp], xmm0
mov dword [esp + 0x10], edx
call fcn.101151b0
xorpd xmm3, xmm3
movsd xmm2, qword [ebp + 0x14]
mov edx, dword [esp + 0x10]
fstp qword [esp + 0x48]
movsd xmm0, qword [esp + 0x48]
xor eax, eax
cmp ebx, 4
jl 0x1001579f
movsd qword [esp + 0x10], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edx
movsd xmm1, qword [0x10136cc8]
addsd xmm0, xmm1
cmpltsd xmm2, xmm3
andpd xmm0, xmm2
andnpd xmm2, xmm1
orpd xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
movsd qword [esp + 0x20], xmm0
shl esi, 2
mov dword [esp + 0x1c], esi
xorpd xmm0, xmm0
xor ebx, ebx
xor esi, esi
movapd xmmword [esp + 0x50], xmm2
movsd qword [esp + 0x30], xmm0
addsd xmm2, xmm0
mulsd xmm2, qword [0x101355d8]
divsd xmm2, qword [esp + 0x20]
movsd qword [esp + 0x28], xmm2
movsd qword [esp], xmm2
mov edi, edx
call fcn.10113710
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
movapd xmm1, xmmword [0x1012c670]
xorpd xmm0, xmm1
mulsd xmm0, qword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
movss dword [eax + ebx], xmm0
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
call fcn.10115150
movapd xmm2, xmmword [esp + 0x50]
mov edx, edi
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
xorpd xmm0, xmmword [0x1012c670]
mulsd xmm0, qword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
movss dword [eax + ebx], xmm0
movsd xmm0, qword [esp + 0x30]
addsd xmm0, qword [0x101355e0]
inc esi
add ebx, dword [esp + 0x1c]
cmp esi, edi
jl 0x1001584b
xor eax, eax
jmp 0x1001579f
Function at 0x1001e754
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
xor esi, esi
xorpd xmm0, xmm0
mov eax, esi
mov ecx, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov ebx, esi
sub ebx, eax
movapd xmm3, xmm0
movsd xmm1, qword [0x101349a0]
addsd xmm3, xmm1
movsd xmm2, qword [0x10134998]
mulsd xmm3, xmm2
divsd xmm3, qword [0x10138c78]
movsd qword [esp + 0x28], xmm3
lea eax, [esi - 6]
xorps xmm4, xmm4
cvtsi2sd xmm4, eax
lea eax, [esi + 2]
mov ecx, esi
sub ecx, 0x12
addsd xmm4, xmm1
mulsd xmm4, xmm2
movsd xmm3, qword [0x10137230]
divsd xmm4, xmm3
movsd qword [esp + 0x18], xmm4
xorps xmm4, xmm4
cvtsi2sd xmm4, ecx
addsd xmm4, xmm1
mulsd xmm4, xmm2
lea ecx, [esi + esi + 0x13]
xorps xmm1, xmm1
cvtsi2sd xmm1, ecx
divsd xmm4, xmm3
movsd qword [esp + 0x10], xmm4
mulsd xmm1, xmm2
mov dword [esp + 8], esi
cmovb eax, esi
divsd xmm1, qword [0x10138c80]
movsd qword [esp + 0x20], xmm1
lea ecx, [edx*4 + 0x10247860]
mov dword [esp + 0xc], ecx
lea edi, [eax*4 + 0x10247720]
xor esi, esi
movsd qword [esp + 0x30], xmm0
cmp ebx, 1
je 0x1001e833
cmp esi, 2
je 0x1001e925
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
call fcn.10115150
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
cmp esi, 3
je 0x1001e887
cmp esi, 1
jne 0x1001e8d3
xorpd xmm1, xmm1
cmp dword [esp + 8], 0x1d
ja 0x1001e8d7
mov eax, dword [esp + 8]
cmp eax, 0x18
jb 0x1001e8b7
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
call fcn.10115150
fstp qword [esp + 0x48]
movsd xmm1, qword [esp + 0x48]
jmp 0x1001e8d7
xorpd xmm1, xmm1
cmp dword [esp + 8], 6
jb 0x1001e8d7
mov eax, dword [esp + 8]
cmp eax, 0xb
ja 0x1001e8c6
movsd xmm0, qword [esp + 0x18]
movsd qword [esp], xmm0
call fcn.10115150
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
jmp 0x1001e8d7
movsd xmm1, qword [0x101355e0]
cmp eax, 0x11
jbe 0x1001e8d3
jmp 0x1001e8d7
movsd xmm1, qword [0x101355e0]
cmp eax, 0x12
jb 0x1001e8d7
movapd xmm1, xmm0
movsd qword [esp + 0x38], xmm1
movsd xmm0, qword [esp + 0x20]
movsd qword [esp], xmm0
call fcn.10113710
fstp qword [esp + 0x40]
movsd xmm0, qword [0x10138c88]
divsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 0x38]
mulsd xmm0, qword [0x10138c90]
cvtsd2ss xmm0, xmm0
cmp esi, 2
mov eax, edi
cmove eax, dword [esp + 0xc]
movss dword [eax], xmm0
movsd xmm0, qword [esp + 0x30]
inc esi
add edi, 0xa0
cmp esi, 4
jne 0x1001e825
addsd xmm0, qword [0x101355e0]
mov esi, dword [esp + 8]
inc esi
cmp esi, 0x24
jne 0x1001e766
xor eax, eax
mov ecx, 0x102479a4
movapd xmm0, xmmword [0x101349b0]
mov edx, 0xfffffffe
movss xmm1, dword [ecx + edx*4 - 0x27c]
movss dword [ecx + edx*4 + 4], xmm1
movss xmm1, dword [ecx + edx*4 - 0x278]
xorpd xmm1, xmm0
movss dword [ecx + edx*4 + 8], xmm1
add edx, 2
cmp edx, 0x26
jb 0x1001e95f
inc eax
add ecx, 0xa0
cmp eax, 4
jne 0x1001e95a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100677c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 0x14]
xor esi, esi
cmp ecx, 0x3ffffffe
ja 0x1006794f
lea eax, [ecx + 2]
mov edx, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax*4 + 1]
cmp eax, dword [ebp + 0xc]
jg 0x1006794f
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp ecx, 4
jl 0x10067878
mov edi, esi
nop word cs:[eax + eax]
mov esi, ecx
push dword [ebx]
call fcn.1010d8c5
add esp, 4
mov ecx, eax
shr ecx, 0x1a
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], cl
mov ecx, eax
shr ecx, 0x14
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], cl
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], cl
add ebx, 3
shr eax, 8
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], al
lea ecx, [esi - 3]
add edi, 4
cmp esi, 6
jg 0x10067810
mov esi, dword [ebp + 8]
test ecx, ecx
jne 0x10067882
jmp 0x10067902
mov edi, esi
test ecx, ecx
je 0x10067902
lea eax, [ecx - 1]
mov edx, ecx
and edx, 3
cmp eax, 3
jae 0x10067897
xor eax, eax
test edx, edx
jne 0x100678b1
jmp 0x100678d3
mov eax, ecx
and eax, 0xfffffffc
neg eax
nop
add ebx, 4
add eax, 4
jne 0x100678a0
mov eax, dword [ebx - 4]
bswap eax
test edx, edx
je 0x100678d3
xor esi, esi
mov dword [ebp - 0x10], edx
nop word cs:[eax + eax]
shl eax, 8
movzx edx, byte [ebx + esi]
or eax, edx
mov edx, dword [ebp - 0x10]
add esi, 1
cmp edx, esi
jne 0x100678c0
shl ecx, 3
test ecx, ecx
jle 0x100678ff
shl eax, 6
mov esi, dword [ebp + 8]
mov edx, eax
shr edx, cl
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], dl
add edi, 1
lea edx, [ecx - 6]
cmp ecx, 6
mov ecx, edx
jg 0x100678e0
jmp 0x10067902
mov esi, dword [ebp + 8]
mov eax, edi
sub eax, esi
test al, 3
je 0x1006794a
mov eax, edi
not eax
add eax, esi
and eax, 3
add eax, 1
push eax
push 0x3d
push edi
call fcn.10105ec0
add esp, 0xc
lea eax, [edi + 1]
mov ecx, eax
sub ecx, esi
test cl, 3
je 0x1006794c
lea eax, [edi + 2]
mov ecx, eax
sub ecx, esi
test cl, 3
je 0x1006794c
lea eax, [edi + 3]
mov ecx, eax
sub ecx, esi
add edi, 4
test cl, 3
cmove edi, eax
mov eax, edi
mov byte [eax], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10068f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 0x10]
lea edx, [ecx - 8]
mov eax, 0xffffffea
cmp edx, 0x18
ja 0x1006914f
mov edx, 1
xor esi, esi
xor edi, edi
shld edi, edx, cl
shl edx, cl
test cl, 0x20
cmovne edi, edx
cmovne edx, esi
mov ebx, dword [ebp + 0x14]
cmp ebx, edx
sbb esi, edi
jge 0x1006914f
mov edx, dword [ebp + 0x18]
cmp edx, 0x1000
je 0x10068fd6
cmp edx, 0x404
jne 0x1006914f
neg cl
shl ebx, cl
mov dword [ebp - 0x10], ebx
xor esi, esi
xor ebx, ebx
xor edi, edi
jmp 0x10069068
mov eax, esi
sar eax, 0x1f
mov edx, dword [ebp - 0x10]
and eax, edx
xor eax, ebx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
lea ecx, [eax + eax]
sar eax, 0x1f
and eax, edx
xor eax, ecx
push eax
call fcn.1010d8c5
mov edx, dword [ebp + 8]
add esp, 4
mov dword [edx + edi*4], eax
add edi, 1
add ebx, 0x2000000
add esi, 0x1000000
cmp edi, 0x100
je 0x100690e3
cmp dword [ebp + 0xc], 0
je 0x10068ff0
mov ecx, edi
shr ecx, 1
mov eax, edi
and eax, 1
neg eax
mov edx, dword [ebp + 0x14]
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
neg eax
and eax, edx
xor eax, ecx
mov edx, dword [ebp + 8]
jmp 0x1006904e
mov dword [edx + 0x400], 1
xor eax, eax
cmp dword [ebp + 0x18], 0x1000
jb 0x1006914f
mov ecx, 0xffffff00
nop dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx + ecx*4 + 0x400]
movzx esi, dl
shr edx, 8
mov edi, dword [ebp + 8]
xor edx, dword [edi + esi*4]
mov esi, dword [ebp + 8]
mov dword [esi + ecx*4 + 0x800], edx
movzx esi, dl
shr edx, 8
mov edi, dword [ebp + 8]
xor edx, dword [edi + esi*4]
mov esi, dword [ebp + 8]
mov dword [esi + ecx*4 + 0xc00], edx
movzx esi, dl
shr edx, 8
mov edi, dword [ebp + 8]
xor edx, dword [edi + esi*4]
mov esi, dword [ebp + 8]
mov dword [esi + ecx*4 + 0x1000], edx
inc ecx
jne 0x10069100
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret