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

Disassembly:
push 0xffffffffffffffff
push 0x404c6a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4197a0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4197a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov esi, ecx
push 0x10
mov dword [esp + 0x1c], esi
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x4018c1
mov ecx, eax
call sub.MFC80.DLL_Ordinal_384
mov ebp, eax
jmp 0x4018c3
xor ebp, ebp
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 0
push 0x42
push edi
mov ecx, ebp
mov dword [esp + 0x3c], 0xffffffff
call edx
test eax, eax
jne 0x4018e5
xor eax, eax
jmp 0x4019e3
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
mov ecx, ebp
call edx
mov ebx, eax
push ebx
call sub.MFC80.DLL_Ordinal_265
add esp, 4
push 2
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push 0xffffffffffffffff
push 0xfffffffffffffffb
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
push 5
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
mov ecx, esi
call fcn.00401610
xor byte [esp + 0x1c], al
xor byte [esp + 0x1d], al
xor byte [esp + 0x1e], al
xor byte [esp + 0x1f], al
xor byte [esp + 0x20], al
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov edi, str.love
lea esi, [esp + 0x1c]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4018de
mov edx, dword [ebp]
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 0x3c]
push ebx
push edi
mov ecx, ebp
call eax
xor esi, esi
test ebx, ebx
jle 0x401993
mov al, bl
sub al, 5
jmp 0x401980
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + 0x78]
xor dl, al
xor byte [esi + edi], dl
add esi, 1
cmp esi, ebx
jl 0x401980
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
push 0
push 0
push 0
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
push ebx
push edi
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push 0
add ebx, 0xfffffffb
push ebx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x54]
mov ecx, ebp
call edx
push edi
call sub.MFC80.DLL_Ordinal_266
mov eax, dword [ebp]
mov edx, dword [eax + 4]
add esp, 4
push 1
mov ecx, ebp
call edx
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0040402a
add esp, 0x20
ret 4
Function at 0x403bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
mov dword [esp + 8], ecx
call sub.MFC80.DLL_Ordinal_1084
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x403c77
call sub.MFC80.DLL_Ordinal_1084
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x403c77
push edi
call sub.MFC80.DLL_Ordinal_1084
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x403c1d
pop edi
pop esi
pop ebp
pop ecx
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x403c66
test ebx, ebx
je 0x403c66
push edi
push eax
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.004037e0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8

Function at 0x40402a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4197a0]
jne 0x404034
repz ret
jmp fcn.004046a4
Function at 0x404270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edx]
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00403336
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004032eb
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00403326
mov byte [esi + 0x7a], al
sbb ch, byte [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x412920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42e9bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.0042d028
mov edx, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov dword [esp + 0x38], 1
xor eax, eax
lea ecx, [esi + 0xef0]
cmp dword [ecx], 0x1fe0101
je 0x41297d
inc eax
add ecx, 0x150
cmp eax, 0x10
jl 0x412963
mov eax, dword [esp + 0x40]
jmp 0x412993
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 4
mov eax, dword [eax + esi + 0xefc]
mov ecx, eax
xor eax, edi
xor ecx, edx
xor eax, 0x33333238
xor ecx, 0x33333238
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x40]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x412e40
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x158
push ebx
push esi
push edi
mov edi, dword [0x43d710]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x168]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov word [esp + 0x4c], ax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
push ecx
push edx
push eax
push eax
push 0x10
push eax
push eax
mov dword [esp + 0x34], eax
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x3c], 0x44
push eax
push 0
mov dword [esp + 0x70], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x158
ret 4
Function at 0x412f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ea48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebx
call fcn.0042d028
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 1
cmp dword [eax - 8], ebx
je 0x413083
mov ecx, dword [esp + 0x34]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
shl ecx, 4
add esi, ecx
mov eax, dword [esi + 0xef8]
cmp eax, ebx
je 0x412f92
lea edi, [eax - 0x80]
jmp 0x412f9b
mov edi, dword [esi + 0xef4]
sub edi, 0x70
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esp + 0x30]
push ebx
push ebx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x412fe5
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
push str.Can_not_open_chunk_file__s_
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push edx
call sub.MFC42.DLL_AfxMessageBox
jmp 0x413075
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::GetLength
cmp eax, edi
jbe 0x4130b7
cmp dword [esi + 0xef0], 0x3fc0100
jne 0x413049
push ebx
push ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Seek
lea eax, [esp + 0x34]
push 4
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Read
cmp dword [esp + 0x34], 0x8000006c
jne 0x413038
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
push ecx
push str.The_size_of_ZIP_compressed_default_base_file__s_is_too_big
push edx
jmp 0x413058
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
push str.The_size_of_default_base_file__s_is_too_big__you_can_compress_it_and_try_again.
push ecx
jmp 0x413058
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push edx
push str.the_chunk_file_size_of__s_is_too_big_
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0042d0a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0042d0a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x414fa0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x414fe0
mov ecx, dword [esp + 8]
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [ecx]
shl edx, 0x18
xor eax, edx
inc ecx
mov edx, 8
test eax, 0x80000000
je 0x414fd6
add eax, eax
xor eax, 0x4c11db7
jmp 0x414fd8
shl eax, 1
dec edx
jne 0x414fc6
dec esi
jne 0x414fb7
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x415030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
jle 0x415066
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x43cfcc]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x415045
pop edi
pop ebx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x417ee0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
add ecx, 4
push ecx
mov ecx, dword [esp + 8]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
ret 8

Function at 0x417f10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
add ecx, 4
push ecx
mov ecx, dword [esp + 8]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret 8

Function at 0x417f30
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
add ecx, 4
push ecx
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 0x43cf7c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret 0x10
Function at 0x425390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x430a33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CDC::CDC
lea ebp, [esi + 0x10]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [ebp + 4], edi
mov dword [ebp], 0x4348c0
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x43482c
mov edx, dword [ebx + 0xc]
xor eax, eax
cmp edx, edi
mov byte [esp + 0x2c], 1
sete al
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x4254a8
cmp ebx, edi
jne 0x4253fc
xor eax, eax
jmp 0x4253ff
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
lea edi, [esi + 0x20]
je 0x42543f
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x58]
jmp 0x42545c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
mov eax, dword [ebx + 4]
sub ecx, edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
test ebp, ebp
je 0x425486
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
jmp 0x4254ba
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x4254e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x430a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x43482c
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x425570
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x425537
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x425561
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x425576
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x425576
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4329dc
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4329f0
mov dword [esp + 0x1c], 0xffffffff
call fcn.0042d2b0
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x105bb108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105bb258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105bb12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105bb11a
add dl, dl
jne 0x105bb139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105bb18c
xor eax, eax
add dl, dl
jne 0x105bb146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105bb22d
add dl, dl
jne 0x105bb155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105bb160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105bb16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105bb176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105bb182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105bb125
mov eax, 1
add dl, dl
jne 0x105bb19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105bb1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105bb191
sub eax, ebx
mov ebx, 1
jne 0x105bb1d8
mov ecx, 1
add dl, dl
jne 0x105bb1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105bb1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105bb1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105bb125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105bb1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105bb1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105bb1e6
cmp eax, 0x7d00
jae 0x105bb21d
cmp eax, 0x500
jb 0x105bb218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105bb125
cmp eax, 0x7f
ja 0x105bb220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105bb125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105bb24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105bb125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x438487
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4384c2
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4384a9
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4384ba
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4384c4
inc edi
add eax, 0x28
cmp edi, esi
jb 0x43849f
xor eax, eax
pop edi
pop esi
ret
Function at 0x1000edd3
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10011b2c
push ebx
push esi
call fcn.10011a58
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100119ec
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011ad9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011b2b
push edi
push eax
call fcn.10012a4a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011af9
call fcn.10010534
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011b2a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100119ec
add esp, 0x20
test eax, eax
jne 0x10011b18
push edi
call fcn.10010534
jmp 0x10011b20
push ebx
call fcn.10010534
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10011d99
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019888
push 0x10019880
push str.FlsAlloc
push 0x1f
call fcn.10011cb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011dcd
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x10011dd3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10011e17
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019898
push 0x10019890
push str.FlsGetValue
push 0x21
call fcn.10011cb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011e4e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10011e56
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsSetValue
push 0x22
call fcn.10011cb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011e90
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10017510
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001753d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001753d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0xae191d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae191d
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx