joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4baf10
Capabilities:
Encode data using xor
Get hostname
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56228d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x2c8], esi
mov dword [ebp - 0x2b8], 0
call fcn.004bb190
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2b4]
mov ecx, dword [0x5c6138]
push 0x1000004
mov dword [ebp - 0x2b8], 1
mov dword [ebp - 0x2bc], eax
call fcn.004a8130
test eax, eax
je 0x4bb037
lea ecx, [ebp - 0x2c4]
push ecx
push 4
lea ecx, [ebp - 0x2bc]
push ecx
push 0
push 0
push 0x1f019
push 0
push 0
mov ecx, eax
call fcn.004a7bf0
test eax, eax
jne 0x4bb037
cmp word [ebp - 0x274], ax
jne 0x4bafcb
xor ecx, ecx
jmp 0x4bafe3
lea ecx, [ebp - 0x274]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bafd4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x274]
push eax
lea ecx, [esi + 0x34]
call fcn.0041e3a0
cmp word [ebp - 0x2b0], 0
jne 0x4bb001
xor ecx, ecx
jmp 0x4bb01f
lea ecx, [ebp - 0x2b0]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb010
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [esi + 4]
call fcn.0041e3a0
mov eax, dword [ebp - 0x2b4]
mov dword [esi], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
test eax, eax
je 0x4bb05f
mov al, byte [ebp - 0x248]
test al, al
je 0x4bb056
cmp al, 1
jne 0x4bb05f
push 8
push str.NOTEBOOK
jmp 0x4bb066
push 7
push str.DESKTOP
lea ecx, [esi + 0x4c]
call fcn.0041e3a0
lea eax, [edi + 0x1c0]
push eax
lea edx, [edi + 0x1a8]
lea ecx, [ebp - 0x23c]
call fcn.004bf9e0
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x228], 8
mov edi, dword [ebp - 0x23c]
jae 0x4bb0a5
lea edi, [ebp - 0x23c]
mov eax, dword [ebp - 0x22c]
xor ecx, ecx
mov edx, 0x811c9dc5
lea ebx, [eax + eax]
test ebx, ebx
je 0x4bb0d1
lea esp, [esp]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4bb0c0
lea eax, [ebp - 0x2c0]
mov dword [esi + 0x70], edx
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x2c0], 0x105
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4bb12f
cmp word [ebp - 0x224], 0
jne 0x4bb106
xor ecx, ecx
jmp 0x4bb11f
lea ecx, [ebp - 0x224]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bb110
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [esi + 0x1c]
call fcn.0041e3a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x228], 8
jb 0x4bb14b
push dword [ebp - 0x23c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 4
Function at 0x4bcb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562861
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c04b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push 0xffffffffffffffff
push 0
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [esi + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0041db50
mov dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x24]
call fcn.004bf180
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.004bf410
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c8500
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e4
mov eax, dword [0x5c04b4]
xor eax, esp
mov dword [esp + 0x3e0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
test eax, eax
je 0x4c856d
push 0x1c0
lea eax, [esp + 0x24]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea esi, [edi + 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esp + 0x14]
mov ecx, edi
call fcn.004c8170
cmp eax, 0xffffffff
jne 0x4c8586
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret 0xc
imul esi, eax, 0x1c0
mov ecx, 0x70
mov eax, dword [esp + 0x10]
sub eax, 0xffffff80
push eax
add esi, dword [edi + 0x9c]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x76]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046cc70
test al, al
je 0x4c856d
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4c856d
mov byte [esp + 0xf], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR120.dll_srand]
add esp, 4
lea ecx, [esp + 0x1e0]
call fcn.0050c420
test al, al
je 0x4c86c4
push 0x58b194
mov edx, 0x104
lea ecx, [esp + 0x1e4]
call fcn.0052fae0
push 0x105
mov edx, ebx
lea ecx, [esp + 0x1e8]
call fcn.0050a2b0
add esp, 8
test eax, eax
je 0x4c86c4
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push ebx
call dword [0x5c008c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c86c0
mov esi, dword [esp + 0x14]
cmp esi, 1
jbe 0x4c866e
cmp byte [esi + edi - 1], 0
jne 0x4c866e
dec esi
push 0
lea eax, [esp + 0x20]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4c86b9
cmp dword [esp + 0x1c], esi
jne 0x4c86b9
push ebx
call dword [0x5c001c]
push edi
mov byte [esp + 0x13], 1
call dword [sym.imp.MSVCR120.dll_free]
mov al, byte [esp + 0x13]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret 0xc
push ebx
call dword [0x5c001c]
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4c86cf
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.MSVCR120.dll_free]
mov ecx, dword [esp + 0x3f0]
add esp, 4
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00553510
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c95a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
mov ecx, esi
call fcn.004c8fa0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c9638
imul eax, ebx, 0x412
xor ecx, ecx
mov dword [ebp + 8], eax
add eax, dword [esi + 0x9c]
cmp cx, word [eax]
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
je 0x4c95eb
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x9c]
add edx, 0x208
add eax, edx
xor edx, edx
cmp dx, word [eax]
je 0x4c9606
push eax
call ecx
mov edx, dword [esi + 0xa0]
sub edx, ebx
dec edx
je 0x4c9632
mov ecx, dword [ebp + 8]
add ecx, dword [esi + 0x9c]
imul eax, edx, 0x412
push eax
lea eax, [ecx + 0x412]
push eax
push ecx
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
dec dword [esi + 0xa0]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4c9980
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov edx, 0x104
push edi
lea ecx, [ebp - 0x210]
call fcn.0050a320
test al, al
je 0x4c9abb
push str.SupportRequests_
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0052fae0
add esp, 4
lea eax, [ebp - 0x210]
push 0
push eax
call dword [sym.imp.MSVCR120.dll_wcschr]
push 0x58b228
mov edx, 0x104
mov dword [ebp - 0x464], eax
lea ecx, [ebp - 0x210]
call fcn.0052fae0
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c9abb
lea ebx, [esi + 0x80]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4c9a3f
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 0x9c], 0
push ebx
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [ebp - 0x464]
xor ecx, ecx
mov edx, 0x104
mov word [eax], cx
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x210]
call fcn.0052fae0
add esp, 4
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004c9ad0
lea eax, [ebp - 0x460]
push eax
push edi
call ebx
test eax, eax
jne 0x4c9a60
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553510
mov esp, ebp
pop ebp
ret
Function at 0x4c9ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x434]
push esi
push edi
push eax
mov dword [ebp - 0x430], ecx
xor edi, edi
mov dword [ebp - 0x42c], ebx
mov byte [ebp - 0x421], 0
call dword [sym.imp.MSVCR120.dll__time32]
add esp, 4
lea eax, [ebp - 0x420]
push 0x412
push edi
push eax
call sub.MSVCR120.dll_memset
push ecx
xor edx, edx
mov ecx, ebx
call fcn.00532bb0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c9c8a
mov ecx, esi
call fcn.00531240
cmp eax, 1
je 0x4c9c81
push 4
push str.SUPPORT
xor edx, edx
mov ecx, esi
call fcn.00532810
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c9c81
lea eax, [ebp - 0x428]
mov edx, ebx
push eax
push str.CONFIRMED
mov ecx, esi
call fcn.00534400
add esp, 8
test eax, eax
je 0x4c9b8a
cmp dword [ebp - 0x428], edi
setne byte [ebp - 0x10]
lea eax, [ebp - 0x428]
mov edx, ebx
push eax
push str.TIME
mov ecx, esi
call fcn.00534400
add esp, 8
test eax, eax
je 0x4c9bac
mov edi, dword [ebp - 0x428]
push esi
call fcn.00532e00
mov edx, dword [ebp - 0x42c]
lea ecx, [ebp - 0x420]
add esp, 4
call fcn.0044ed40
mov edx, dword [ebp - 0x42c]
lea ecx, [ebp - 0x218]
call fcn.0044ed40
lea eax, [ebp - 0x218]
push 0x2e
push eax
call dword [sym.imp.MSVCR120.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4c9bf2
xor ecx, ecx
mov word [eax], cx
push str..dat
mov edx, 0x104
lea ecx, [ebp - 0x218]
call fcn.0052fae0
add esp, 4
lea ecx, [ebp - 0x218]
call fcn.0050a140
test al, al
jne 0x4c9c22
xor eax, eax
mov word [ebp - 0x218], ax
cmp byte [ebp - 0x10], 0
je 0x4c9c8a
test edi, edi
je 0x4c9c8a
mov ecx, dword [ebp - 0x434]
cmp edi, ecx
jg 0x4c9c8a
lea eax, [edi + 0x93a80]
cmp eax, ecx
jl 0x4c9c8a
mov edi, dword [ebp - 0x430]
lea esi, [edi + 0x80]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x420]
push eax
lea ecx, [edi + 0x98]
call fcn.004c9d10
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.00532e00
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp ax, word [ebp - 0x420]
je 0x4c9ca4
lea eax, [ebp - 0x420]
push eax
call esi
xor ecx, ecx
cmp cx, word [ebp - 0x218]
je 0x4c9cd1
lea ecx, [ebp - 0x218]
push ecx
call esi
mov al, byte [ebp - 0x421]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret 4
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00553510
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce200
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 0x14]
push ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4ce29b
cmp word [ebx + 8], 2
push esi
jne 0x4ce262
cmp word [ebx + 0xa], 4
jne 0x4ce262
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4ce262
lea ecx, [ecx]
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.004ce180
mov dword [edi], eax
test eax, eax
je 0x4ce28d
add esi, 4
lea edi, [eax + 0x1c]
mov eax, dword [esi]
test eax, eax
jne 0x4ce240
push 0x400
push dword [ebx]
mov ebx, dword [ebp + 0x10]
push 0x401
push ebx
call dword [sym.imp.MSVCR120.dll_strncpy_s]
add esp, 0x10
mov byte [ebx + 0x400], 0
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop esi
pop edi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x4ce2ab.11001
jmp dword [eax*4 + 0x4ce2dc]
pop edi
mov eax, 0x2af9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov eax, 0x2afa
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
mov eax, 0x2afb
pop ebx
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, edx
push ebx
push esi
mov dword [ebp - 8], eax
mov esi, ecx
mov eax, dword [eax]
push edi
cmp eax, 0x14
jae 0x4ced53
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 4]
mov ebx, dword [ebp + 8]
add eax, 0xfffffff4
push ecx
push edi
push ebx
lea ecx, [esi + 8]
mov dword [ebp - 4], eax
call fcn.00547270
add esp, 0xc
test eax, eax
jne 0x4cedc4
mov dword [esi], eax
xor edx, edx
mov dword [esi + 4], eax
mov word [esi + 8], ax
mov eax, 0x8b1f
mov word [esi], ax
or eax, 0xffffffff
mov byte [esi + 2], 8
test edi, edi
je 0x4cedad
movzx ecx, byte [edx + ebx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x58e240]
cmp edx, edi
jb 0x4ced92
mov ecx, dword [ebp - 4]
not eax
mov dword [ecx + esi + 4], eax
lea eax, [ecx + 0xc]
mov dword [ecx + esi + 8], edi
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d0ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x5c04b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xd8], ebx
test edx, edx
jne 0x4d0afb
lea eax, [edx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4d0b10
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553510
mov esp, ebp
pop ebp
ret
push esi
push edi
mov ecx, 0x33
lea edi, [ebp - 0xd4]
mov esi, str._Weve_all_heard_that_a_million_monkeys_banging_on_a_million_typewriters_will_eventually_reproduce_the_entire_works_of_Shakespeare._Now__thanks_to_the_Internet__we_know_this_is_not_true._____Robert_Wilensky
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xd4]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d0b30
sub ecx, esi
cmp dword [ebp + 0xc], 0
je 0x4d0ba5
cmp dword [ebp + 0x14], 0
je 0x4d0b71
test edx, edx
je 0x4d0ba5
mov esi, ebx
mov edi, edx
mov ebx, dword [ebp + 0x10]
sub ebx, esi
lea eax, [ebx + esi]
xor edx, edx
div ecx
mov al, byte [esi]
lea esi, [esi + 1]
xor al, 0xa5
add al, 0x54
xor al, byte [ebp + edx - 0xd4]
mov byte [esi - 1], al
dec edi
jne 0x4d0b52
jmp 0x4d0b9c
test edx, edx
je 0x4d0ba5
mov eax, dword [ebp + 0x10]
mov esi, ebx
sub eax, ebx
mov edi, edx
mov ebx, eax
xor edx, edx
lea eax, [esi + ebx]
div ecx
mov al, byte [ebp + edx - 0xd4]
mov dl, byte [esi]
cmp dl, al
je 0x4d0b98
xor al, dl
mov byte [esi], al
inc esi
dec edi
jne 0x4d0b80
mov ebx, dword [ebp - 0xd8]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xe0]
push edx
mov edx, ebx
call fcn.004fec60
mov ecx, dword [ebp - 4]
add esp, 4
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
pop esi
inc eax
pop ebx
call fcn.00553510
mov esp, ebp
pop ebp
ret
Function at 0x4d16c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x10]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
test esi, esi
je 0x4d16df
mov dword [esi], 0
test eax, eax
je 0x4d1881
test esi, esi
je 0x4d1881
lea ecx, [edi + 2]
mov dword [esi], 0
mov eax, 0xaaaaaaab
mul ecx
push ebx
mov ebx, dword [ebp + 8]
shr edx, 1
lea edx, [edx*4 + 2]
test ebx, ebx
je 0x4d1876
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
jb 0x4d1876
add ecx, ebx
cmp ecx, ebx
jbe 0x4d1876
mov eax, 0xaaaaaaab
xor esi, esi
mul edi
xor ecx, ecx
mov dword [ebp - 4], esi
mov eax, edx
shr eax, 1
mov dword [ebp - 0x14], eax
je 0x4d17d1
mov dword [ebp - 0xc], eax
jmp 0x4d1750
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx esi, byte [eax + edi]
movzx edx, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 4], eax
mov eax, esi
sar eax, 2
and esi, 3
and eax, 0x3f
shl esi, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, edx
sar eax, 4
and edx, 0xf
and eax, 0xf
shl edx, 2
or eax, esi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 1], al
mov eax, edi
sar eax, 6
and edi, 0x3f
and eax, 3
or eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 2], al
movzx eax, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 3], al
add ecx, 4
dec dword [ebp - 0xc]
jne 0x4d1750
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
sub edi, eax
dec edi
je 0x4d182f
dec edi
jne 0x4d1863
mov eax, dword [ebp - 8]
movzx edx, byte [esi + eax]
movzx esi, byte [esi + eax + 1]
mov eax, edx
sar eax, 2
and edx, 3
and eax, 0x3f
shl edx, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov eax, esi
sar eax, 4
and eax, 0xf
or eax, edx
and esi, 0xf
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 2], al
mov byte [ecx + ebx + 3], 0x3d
jmp 0x4d1860
mov eax, dword [ebp - 8]
movzx edx, byte [esi + eax]
mov eax, edx
and edx, 3
sar eax, 2
and eax, 0x3f
shl edx, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx + 1], al
mov word [ecx + ebx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp + 0x10]
mov byte [ecx + ebx], 0
inc ecx
pop ebx
pop edi
mov dword [eax], ecx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov dword [esi], edx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d5e10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor esi, esi
not eax
push edi
mov edi, ecx
test edx, edx
je 0x4d5e3d
movzx ecx, byte [esi + edi]
inc esi
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x58e240]
cmp esi, edx
jb 0x4d5e22
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x4d6fe0
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret
Function at 0x4d9630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5644c6
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5c04b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 8]
mov dword [ecx], vtable.AuthenticodeBase.0
mov dword [eax], vtable.ByteArray.0
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 2
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ebp - 4], 3
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0xffffffff
mov dword [ecx + 0x44], 0xffffffff
mov word [ecx + 0x48], 0
mov byte [ecx + 0x4a], 0
mov dword [ecx + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret