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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
push edi
mov edi, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
cmp edi, eax
jae 0x10a712a
mov eax, 0x83e0
mov edx, 0x7c1f
push ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [edi + ecx*2]
add esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ecx
cmp edi, ecx
jae 0x10a7106
movzx ecx, word [esi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [esi]
movzx esi, word [edi]
mov ebx, ecx
and ebx, eax
mov edi, esi
and edi, eax
add edi, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add edi, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
and ecx, edx
and ebx, eax
lea edi, [edi + ebx + 0x10040]
mov ebx, esi
and ebx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 8]
and ecx, edx
lea ecx, [ebx + ecx + 0x802]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
mov esi, dword [ebp - 0x14]
and edi, edx
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add edi, 4
add esi, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp edi, dword [ebp - 0x24]
jb 0x10a7064
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [ebx + 0x60]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x60]
lea edi, [edi + ebx*2]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 0x2c]
jb 0x10a7045
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x10a7135
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
push edi
mov edi, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
cmp edi, eax
jae 0x10a7257
mov eax, 0xf0f0
mov edx, 0xf0f
push ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [edi + ecx*2]
add esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ecx
cmp edi, ecx
jae 0x10a7233
movzx ecx, word [esi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [esi]
movzx esi, word [edi]
mov ebx, ecx
and ebx, eax
mov edi, esi
and edi, eax
add edi, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add edi, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
and ecx, edx
and ebx, eax
lea edi, [edi + ebx + 0x2020]
mov ebx, esi
and ebx, edx
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, edx
add ebx, ecx
mov ecx, dword [ebp - 8]
and ecx, edx
lea ecx, [ebx + ecx + 0x202]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and ecx, eax
lea ecx, [esi + ecx + 0x2020]
mov esi, dword [ebp - 0x14]
and edi, edx
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add edi, 4
add esi, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp edi, dword [ebp - 0x24]
jb 0x10a7191
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [ebx + 0x60]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x60]
lea edi, [edi + ebx*2]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 0x2c]
jb 0x10a7172
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x10a7262
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
add edi, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
cmp ebx, edi
jae 0x10a7371
mov eax, 0xe3
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
add esi, ebx
add edx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], esi
cmp ebx, esi
jae 0x10a7352
movzx ecx, byte [ebx + 1]
movzx esi, byte [ebx]
movzx edi, byte [edx + 1]
movzx edx, byte [edx]
mov dword [ebp - 4], ecx
mov ebx, edx
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov dword [ebp - 0x1c], edx
and edx, 0x1c
mov ebx, edi
and ebx, eax
lea ebx, [ecx + ebx + 0x42]
mov ecx, esi
and ecx, 0x1c
add ecx, edx
mov edx, dword [ebp - 4]
and edx, 0x1c
add ecx, edx
shr ebx, 2
mov edx, edi
and edx, 0x1c
lea ecx, [ecx + edx + 8]
shr ecx, 2
xor bl, cl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edi, eax
and bl, 0x1c
lea ecx, [esi + edi + 0x42]
shr ecx, 2
xor bl, cl
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], bl
mov ebx, dword [ebp - 0xc]
inc ebx
inc ebx
inc edx
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp ebx, dword [ebp - 0x20]
jb 0x10a72ba
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
cmp ebx, edi
jb 0x10a729c
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10a740e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
push edi
mov edi, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], eax
cmp edi, eax
jae 0x10a752d
mov edx, 0xe3
mov eax, 0xff1c
push ebx
mov dword [ebp - 0xc], esi
mov esi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [edi + ecx*2]
add esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ecx
cmp edi, ecx
jae 0x10a7509
movzx ecx, word [esi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [esi]
movzx esi, word [edi]
mov ebx, ecx
and ebx, edx
mov edi, esi
and edi, edx
add edi, ebx
mov ebx, dword [ebp - 4]
and ebx, edx
add edi, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
and ecx, eax
and ebx, edx
lea edi, [edi + ebx + 0x42]
mov ebx, esi
and ebx, eax
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add ebx, ecx
mov ecx, dword [ebp - 8]
and ecx, eax
lea ecx, [ebx + ecx + 0x208]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and ecx, eax
lea ecx, [esi + ecx + 0x208]
mov esi, dword [ebp - 0x14]
and edi, edx
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add edi, 4
add esi, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp edi, dword [ebp - 0x24]
jb 0x10a746a
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [ebx + 0x60]
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x60]
lea edi, [edi + ebx*2]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 0x2c]
jb 0x10a744b
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x10a7633
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x6c]
imul ebx, dword [edx + 0x60]
push edi
mov edi, dword [edx + 0x20]
add ebx, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], ebx
cmp edi, ebx
jae 0x10a7749
mov eax, 0xff00
push esi
mov esi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [edi + edx*2]
add esi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], edx
cmp edi, edx
jae 0x10a7729
movzx ebx, word [esi]
movzx edx, word [edi + 2]
movzx ecx, word [esi + 2]
mov dword [ebp - 4], edx
movzx edx, word [edi]
movzx edi, bl
movzx esi, dl
add esi, edi
movzx edi, byte [ebp - 4]
add esi, edi
movzx edi, cl
lea edi, [esi + edi + 2]
mov dword [ebp - 0xc], ebx
mov esi, edx
and esi, eax
and ebx, eax
add esi, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add esi, ebx
mov ebx, ecx
shr edi, 2
and ebx, eax
lea esi, [esi + ebx + 0x200]
shr esi, 2
xor edi, esi
mov esi, dword [ebp - 0xc]
and esi, eax
and edx, eax
add edx, esi
mov esi, dword [ebp - 4]
and esi, eax
add edx, esi
mov esi, dword [ebp - 0x14]
and ecx, eax
and edi, 0xff
lea ecx, [edx + ecx + 0x200]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add edi, 4
add esi, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp edi, dword [ebp - 0x20]
jb 0x10a768c
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov edx, dword [edx]
mov esi, dword [edx + 0x60]
lea edi, [edi + esi*2]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jb 0x10a766d
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x10a7754
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, ecx
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push esi
mov esi, dword [eax]
mov ebx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x6c]
imul edi, dword [esi + 0x60]
add edi, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], edi
cmp ebx, edi
jae 0x10a7863
mov eax, 0xf0
mov edx, dword [esi + 0x60]
mov esi, dword [esi + 0x68]
add esi, ebx
add edx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], esi
cmp ebx, esi
jae 0x10a7844
movzx ecx, byte [ebx + 1]
movzx esi, byte [ebx]
movzx edi, byte [edx + 1]
movzx edx, byte [edx]
mov dword [ebp - 4], ecx
mov ebx, edx
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov dword [ebp - 0x1c], edx
and edx, 0xf
mov ebx, edi
and ebx, eax
lea ebx, [ecx + ebx + 0x20]
mov ecx, esi
and ecx, 0xf
add ecx, edx
mov edx, dword [ebp - 4]
and edx, 0xf
add ecx, edx
shr ebx, 2
mov edx, edi
and edx, 0xf
lea ecx, [ecx + edx + 2]
shr ecx, 2
xor bl, cl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
and edi, eax
and bl, 0xf
lea ecx, [esi + edi + 0x20]
shr ecx, 2
xor bl, cl
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], bl
mov ebx, dword [ebp - 0xc]
inc ebx
inc ebx
inc edx
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp ebx, dword [ebp - 0x20]
jb 0x10a77ac
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx + 4]
add ecx, dword [esi + 0x60]
mov esi, dword [edx]
mov edx, dword [esi + 0x60]
lea ebx, [ebx + edx*2]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
cmp ebx, edi
jb 0x10a778e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
cmp eax, edi
je 0x1000116a
push ebx
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
cmp ebx, edi
je 0x10001169
push esi
lea eax, [ebx + ebx]
xor esi, esi
cmp eax, edi
je 0x1000105f
lea edi, [eax + 0x13]
and edi, 0xfffffff0
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x1000105d
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
xor edi, edi
cmp esi, edi
je 0x10001168
mov eax, dword [ebp + 0xc]
push edi
push edi
push ebx
push esi
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call fcn.1001dfd0
test eax, eax
jne 0x10001168
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.name.key
push esi
call ebx
test eax, eax
je 0x100010a3
push edi
push edi
push esi
push 0x1001b1d0
jmp 0x10001114
mov eax, dword [ebp + 8]
call fcn.100206c0
test eax, eax
je 0x100010cf
push edi
push edi
push esi
push 0x10020810
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x10001168
lea edx, [ebp + 0xc]
push edx
jmp 0x10001126
push str._secrets.key
push esi
call ebx
test eax, eax
je 0x100010f7
push edi
push edi
push esi
push 0x100220d0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x10001168
lea eax, [ebp + 0xc]
push eax
jmp 0x10001126
push str.sign.key
push esi
call ebx
test eax, eax
je 0x10001148
call fcn.10022b40
test eax, eax
je 0x10001148
push edi
push edi
push esi
push 0x10022bb0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
je 0x10001168
lea ecx, [ebp + 0xc]
push ecx
push esi
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10001168
test byte [ebp + 0xc], 2
jne 0x10001168
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10001168
push esi
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
pop edi
pop ebp
ret 8
Function at 0x10001720
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x100017b2
jmp 0x10001750
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x10001750
cmp ecx, dword [ebp + 8]
jge 0x1000182e
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x100017f1
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100018b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
cmp ecx, dword [esi + 4]
jae 0x100018da
mov eax, ecx
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, dword [esi + 4]
jb 0x100018c0
mov dword [esi + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [esi + 8]
cmp ebx, ecx
jae 0x1000196a
lea eax, [ecx*4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, dword [esi]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x10001929
test ebx, ebx
je 0x1000190f
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001905
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebx*4]
push ecx
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
test ebx, ebx
je 0x1000194a
nop
dec ebx
mov dword [edi + ebx*4], 0
jne 0x10001940
mov edx, dword [edi]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], edx
mov ecx, edx
pop edi
mov eax, dword [esi + 4]
pop ebx
cmp eax, ecx
jae 0x10001980
mov edx, dword [esi]
mov dword [edx + eax*4], 0
inc eax
cmp eax, ecx
jb 0x10001972
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10002740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x1000275d
mov edi, edi
mov ecx, dword [ebp + 8]
dec eax
mov dword [ecx + eax*4], 0
jne 0x10002750
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002770
sub eax, edx
jne 0x10002780
pop ebx
pop ebp
ret 0xc
push esi
mov dword [ebp + 0x10], eax
fild dword [ebp + 0x10]
push edi
test eax, eax
jns 0x10002792
fadd qword [0x1004ae38]
fmul qword [0x1004ae40]
sub esp, 8
fstp qword [esp]
call fcn.100026d0
mov esi, eax
push 1
push esi
call dword [sym.imp.MSVCRT.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
jne 0x100027bf
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov al, byte [ebx]
test al, al
je 0x1000281f
mov dword [ebp + 0x10], ebx
jmp 0x100027d0
movsx eax, al
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x100027df
mov eax, ecx
jmp 0x100027f7
lea edx, [eax - 0x61]
cmp edx, 5
ja 0x100027ec
sub eax, 0x57
jmp 0x100027f7
lea ecx, [eax - 0x41]
cmp ecx, 5
ja 0x10002812
sub eax, 0x37
test esi, esi
je 0x10002812
lea ecx, [edi + esi - 1]
mov edx, esi
movzx ebx, byte [ecx]
shl ebx, 4
add eax, ebx
mov byte [ecx], al
shr eax, 8
dec ecx
dec edx
jne 0x10002801
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
mov al, byte [eax]
test al, al
jne 0x100027d0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
call fcn.10002670
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10002850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, eax
mov dword [ebp - 4], ebx
cmp ebx, edi
ja 0x10002866
mov dword [ebp - 4], edi
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 4
push ebx
call esi
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x10002883
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 4]
push 4
push eax
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000289c
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push edx
push esi
push eax
mov eax, edi
call fcn.10001eb0
test edi, edi
je 0x100028cb
mov eax, dword [ebp + 8]
mov ecx, esi
sub ecx, eax
lea esp, [esp]
mov edx, dword [ecx + eax]
mov dword [eax], edx
add eax, 4
dec edi
jne 0x100028c0
mov eax, ebx
test ebx, ebx
je 0x100028db
dec eax
mov dword [esi + eax*4], 0
jne 0x100028d1
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [sym.imp.MSVCRT.dll_free]
call esi
add esp, 4
mov eax, ebx
test ebx, ebx
je 0x10002902
mov edx, dword [ebp + 0x10]
dec eax
mov dword [edx + eax*4], 0
jne 0x100028f5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
push eax
call esi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10002920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
lea edi, [ebx + ebx]
push 4
push edi
call dword [sym.imp.MSVCRT.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10002946
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
mov eax, esi
call fcn.10001c70
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push edx
push edi
push esi
push eax
mov eax, ebx
call fcn.10002850
test edi, edi
je 0x1000297a
jmp 0x10002970
dec edi
mov dword [esi + edi*4], 0
jne 0x10002970
mov ecx, dword [esi]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x18]
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14