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

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.4a6079e4
mov eax, ebx
call fcn.4a607b38
mov eax, dword [ebx]
call fcn.4a607a64
test eax, eax
jle 0x4a611c61
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x4a611c56
pop esi
pop ebx
ret

Function at 0x4a612d0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a612e0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
call fcn.4a608f2c
mov esi, eax
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0x30]
mov ecx, 1
mov edx, dword [0x4a612518]
call fcn.4a609150
add esp, 4
lea eax, [esi + esi*2]
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x38]
mov dword [edx + eax*8], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [edx + eax*8 + 4], ecx
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [edx + eax*8 + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edx + eax*8 + 0xc], ecx
test edi, edi
jne 0x4a612d8e
test esi, esi
jle 0x4a612d8e
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x30]
lea eax, [eax + edi*8 + 0x10]
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + edi*8 - 8]
call fcn.4a607948
jmp 0x4a612d9f
lea eax, [esi + esi*2]
mov edx, dword [ebx + 0x30]
lea eax, [edx + eax*8 + 0x10]
mov edx, edi
call fcn.4a607948
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
test esi, esi
jne 0x4a612df7
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4a612dd2
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x10]
call fcn.4a60824c
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.user32.dll_SetWindowTextW
jmp 0x4a612df7
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x30]
mov edx, dword [edx + 0x10]
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 4]
call fcn.4a607ee8
push eax
mov eax, dword [ebx + 0x28]
push eax
call sub.user32.dll_SetWindowTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a612e14
lea eax, [ebp - 4]
call fcn.4a6075ac
ret
Function at 0x4a61553c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a61563a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x4a615598
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 0x20]
call dword [0x4a6c7fec]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x4a61561c
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.4a60824c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a61561c
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.4a60801c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.4a60824c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4a61561c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4a61564c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a61561c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a615641
lea eax, [ebp - 0x20]
call fcn.4a6075ac
lea eax, [ebp - 4]
call fcn.4a6075ac
ret
Function at 0x4a615a64
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4a615a6c
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a615c5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.4a607588
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x4a615ac6
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call dword [0x4a6c7ff0]
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.4a608314
jmp 0x4a615c27
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.4a60824c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a615c27
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.4a608364
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4a615c27
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a615c70
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a615b65
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
jne 0x4a615b37
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x4a615b65
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, esi
call fcn.4a615748
jmp 0x4a615c27
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a615c74
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a615c27
cmp dword [ebp - 0x14], 0
je 0x4a615c27
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4a615cb4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.4a60df30
mov edx, dword [ebp - 0x14]
movzx edx, word [edx]
call fcn.4a60df24
mov cx, 0x30
mov edx, 8
call fcn.4a610a4c
mov eax, dword [ebp - 0x30]
mov ecx, 0x7fffffff
mov edx, 2
call fcn.4a6085ac
push dword [ebp - 0x2c]
push 0x4a615ce4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.4a6084c4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.4a608348
mov eax, dword [ebp - 0x24]
call fcn.4a608148
push eax
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4a615c27
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.4a6082a4
mov eax, dword [ebp - 0x34]
mov ebx, dword [0x4a6ce658]
mov ebx, dword [ebx]
mov edx, esi
call ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a615c66
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.4a6075e8
lea eax, [ebp - 0x24]
call fcn.4a6075d0
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.4a607618
lea eax, [ebp - 4]
call fcn.4a607588
ret
Function at 0x4a615d00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0x40
push 0x1000
push 0x11
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov ebx, eax
mov dword [ebp - 4], ebx
mov eax, ebx
mov byte [eax], 0x58
mov byte [eax + 1], 0x68
mov dword [eax + 2], esi
mov byte [eax + 6], 0x50
mov byte [eax + 7], 0xff
mov byte [eax + 8], 0x25
lea edx, [eax + 0xd]
mov dword [eax + 9], edx
mov dword [eax + 0xd], edi
lea eax, [ebp - 8]
push eax
push 0x20
push 0x11
push 0
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4a6168a8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x4a6168f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 2
mov edi, esi
mov eax, edi
call fcn.4a6178d4
test al, al
jne 0x4a6168ea
cmp word [edi], 0x5a4d
jne 0x4a6168ea
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x4a6168ea
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a616900
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4a616aac
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
cmp byte [0x4a6c8010], 0
jne 0x4a616b8d
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4a616aff
push 0x10000
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov ebx, eax
push 0x8000
push ebx
push esi
call sub.kernel32.dll_GetModuleFileNameW_1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileW_1
mov esi, eax
jmp 0x4a616b30
push 0x105
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov ebx, eax
push 0x104
push ebx
push esi
call sub.kernel32.dll_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileA
mov esi, eax
push ebx
call sub.kernel32.dll_LocalFree_1
cmp esi, 0xffffffff
je 0x4a616b8d
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4a616b5b
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingW
mov ebx, eax
jmp 0x4a616b6d
push 0
push 0
push 0
push 2
push 0
push esi
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4a616b87
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
push ebx
call sub.kernel32.dll_CloseHandle_1
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4a61711c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a617236
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.4a6075ac
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x4a617165
push ebx
mov eax, edi
call fcn.4a60824c
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov ebx, eax
jmp 0x4a6171d2
movzx eax, bl
cmp ebx, eax
jne 0x4a61718f
push ebx
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 4]
call fcn.4a607ee8
push eax
push esi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
jmp 0x4a6171d2
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.4a6082a4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 8]
call fcn.4a607ee8
push eax
lea eax, [ebp - 0x10]
mov edx, edi
mov ecx, 0
call fcn.4a608094
mov eax, dword [ebp - 0x10]
call fcn.4a607ee8
push eax
push esi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x4a61720b
push ebx
push esi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x4a61720b
push 0
push ebx
push esi
call sub.kernel32.dll_SizeofResource
push eax
push edi
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp + 8]
pop ecx
call fcn.4a607744
mov eax, edi
call fcn.4a60df3c
push edi
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a61723d
lea eax, [ebp - 0x10]
call fcn.4a6075ac
lea eax, [ebp - 0xc]
call fcn.4a607588
lea eax, [ebp - 8]
mov edx, 2
call fcn.4a607618
ret
Function at 0x4a61ee1c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x4a61ef66
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x4a61ee44
cmp dword [ebx + 4], 0
jne 0x4a61ef66
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4a61ee6a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x4a61ee6a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
push edx
push eax
call fcn.4a61ed70
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x4a61ef66
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x4a61ef19
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4a61eebf
push 4
push 0x1000
push 0x100000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
xor edx, edx
call fcn.4a61edb0
test al, al
je 0x4a61ef0f
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4a61ef0f
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x4a61ef0f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
jmp 0x4a61ef37
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
jmp 0x4a61ef37
push dword [ebx + 0xc]
push dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 4
call fcn.4a61ee04
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x4a61ef66
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
call fcn.4a623138
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [edx], eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a61f330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov esi, dword [ebx + 0x24]
sub esi, dword [ebx + 0x5c]
sub esi, dword [ebx + 0x54]
test esi, esi
jne 0x4a61f361
cmp dword [ebx + 0x54], 0
jne 0x4a61f361
cmp dword [ebx + 0x5c], 0
jne 0x4a61f361
mov esi, dword [ebp - 8]
jmp 0x4a61f40c
cmp esi, 0xffffffff
jne 0x4a61f36c
dec esi
jmp 0x4a61f40c
mov eax, dword [ebx + 0x54]
mov edx, dword [ebp - 8]
sub edx, 0x106
add edx, dword [ebp - 8]
cmp eax, edx
jb 0x4a61f40c
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 8]
lea edx, [eax + edx]
mov ecx, dword [ebp - 8]
xchg edx, eax
call fcn.4a604a4c
mov eax, dword [ebp - 8]
sub dword [ebx + 0x58], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x54], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x2c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x4a61f3ce
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x4a61f3d3
mov word [edx], 0
dec eax
test eax, eax
jne 0x4a61f3b0
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x28]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x4a61f3ff
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x4a61f404
mov word [edx], 0
dec eax
test eax, eax
jne 0x4a61f3e1
add esi, dword [ebp - 8]
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
push edx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
cmp edx, dword [esp + 4]
jne 0x4a61f428
cmp eax, dword [esp]
pop edx
pop eax
je 0x4a61f496
push ebp
mov eax, dword [ebx + 0x54]
add eax, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x20]
add edx, eax
mov eax, ecx
mov ecx, esi
call fcn.4a61f2bc
pop ecx
add dword [ebx + 0x5c], eax
cmp dword [ebx + 0x5c], 3
jb 0x4a61f470
mov eax, dword [ebx + 0x54]
mov edx, dword [ebx + 0x20]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x40]
shl eax, cl
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x20]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x3c]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x5c], 0x106
jae 0x4a61f496
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0x18]
jne 0x4a61f340
cmp eax, dword [ecx + 0x14]
jne 0x4a61f340
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a6209ec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x4a620b39
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x4a620a14
cmp dword [ebx + 4], 0
jne 0x4a620b39
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4a620a3a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x4a620a3a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
push edx
push eax
call fcn.4a61ed70
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x4a620b39
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x4a620ae9
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x4a620a8f
push 4
push 0x1000
push 0x100000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
xor edx, edx
call fcn.4a61edb0
test al, al
je 0x4a620adf
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4a620adf
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x4a620adf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
jmp 0x4a620b07
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
jmp 0x4a620b07
push dword [ebx + 0xc]
push dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 4
call fcn.4a61ee04
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
cmp dword [ebx + 0xc], 0
jne 0x4a620b39
cmp dword [ebx + 8], 0
jne 0x4a620b39
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cdq
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
sub dword [ebx + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push esi
mov esi, eax
dec ecx
test ecx, ecx
jl 0x4a62315c
inc ecx
mov eax, edx
mov edx, esi
xor dl, byte [eax]
movzx edx, dl
mov edx, dword [edx*4 + 0x4a6c953c]
shr esi, 8
xor edx, esi
mov esi, edx
inc eax
dec ecx
jne 0x4a623143
mov eax, esi
pop esi
ret
Function at 0x4a623d5c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x4a623d78
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.4a62399c
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x48], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x44], ecx
inc edi
cmp edi, 9
jne 0x4a623dd9
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1048]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.4a62399c
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x4a623e1f
add ebx, 0x400
dec edi
jne 0x4a623e1d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a623e64
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff98
push ebx
push esi
push edi
mov byte [ebp - 0x104d], cl
mov dword [ebp - 0x104c], edx
mov edi, eax
mov ebx, dword [ebp + 0x14]
lea esi, [ebp - 0x105c]
push esi
push edi
mov esi, 0x4a6c9940
lea edi, [ebp - 0x48]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x4a6c9988
lea edi, [ebp - 0x1048]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
mov dword [ebp - 0x1068], ebx
mov eax, dword [ebp - 0x1068]
call fcn.4a607a64
push eax
mov eax, ebx
call fcn.4a607ee8
pop edx
call fcn.4a623d5c
pop ecx
mov ebx, edi
cmp byte [ebp - 0x104d], 0
je 0x4a623ef5
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 1
jmp 0x4a623f08
lea eax, [ebp - 4]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 0xffffffff
mov eax, dword [ebp - 0x104c]
shr eax, 3
dec eax
test eax, eax
jl 0x4a624028
inc eax
mov dword [ebp - 0x1064], eax
cmp dword [ebp + 0x10], 0
jne 0x4a623f2b
cmp dword [ebp + 0xc], 0
je 0x4a623fa8
mov dword [esi], 7
lea eax, [ebp + 0xc]
add eax, dword [esi]
movzx edx, byte [eax]
inc edx
and dl, 0xff
mov byte [eax], dl
lea eax, [ebp + 0xc]
add eax, dword [esi]
cmp byte [eax], 0
jne 0x4a623f52
dec dword [esi]
cmp dword [esi], 0xffffffff
jne 0x4a623f33
lea eax, [ebp + 0xc]
mov eax, dword [eax]
call fcn.4a623970
mov dword [esi], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.4a623970
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, esi
mov ecx, dword [ebp - 0x1054]
call fcn.4a62399c
pop ecx
mov eax, dword [esi]
call fcn.4a623970
xor dword [ebx], eax
mov eax, dword [ebp - 0x1060]
call fcn.4a623970
lea edx, [ebx + 4]
xor dword [edx], eax
jmp 0x4a624019
cmp byte [ebp + 8], 0
jne 0x4a624000
mov edi, ebx
mov eax, dword [edi]
call fcn.4a623970
mov dword [esi], eax
lea eax, [ebx + 4]
mov eax, dword [eax]
call fcn.4a623970
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, esi
mov ecx, dword [ebp - 0x1054]
call fcn.4a62399c
pop ecx
mov eax, dword [esi]
call fcn.4a623970
mov dword [edi], eax
mov eax, dword [ebp - 0x1060]
call fcn.4a623970
lea edx, [ebx + 4]
mov dword [edx], eax
jmp 0x4a624019
push ebp
mov eax, dword [ebp - 0x1058]
push eax
mov edx, ebx
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x1054]
call fcn.4a62399c
pop ecx
add ebx, 8
dec dword [ebp - 0x1064]
jne 0x4a623f21
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10