joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e2fe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x28]
test edx, edx
jle 0x4e3012
mov eax, dword [esi + 0x24]
sub eax, edx
test eax, eax
jle 0x4e3005
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.005681e0
add esp, 0xc
mov eax, dword [esi + 0x28]
sub dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sub eax, ecx
test eax, eax
jle 0x4e3070
push 0
push eax
mov eax, dword [esi + 0x1c]
add eax, ecx
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jns 0x4e3046
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x4e3048
pop edi
xor al, al
pop esi
ret
je 0x4e3041
mov ecx, esi
call fcn.004e2ba0
test al, al
je 0x4e306d
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x24]
cmp byte [esi + 0x4c], 0
je 0x4e306d
mov ecx, dword [esi + 0x54]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
add dword [esi + 0x24], edi
pop edi
mov al, 1
pop esi
ret

Function at 0x4e3080
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004e2f90
mov edi, eax
test edi, edi
jle 0x4e30d9
mov ecx, esi
call fcn.004e2ba0
test al, al
je 0x4e30b4
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x4e30b4
mov ecx, dword [esi + 0x50]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x38]
push 0
push edi
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_send
test eax, eax
jns 0x4e30cf
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.004e2fa0
pop edi
mov al, 1
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c8ee0

Function at 0x4ea080
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67fc5e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x78031c]
test al, 1
jne 0x4ea0db
or eax, 1
mov dword [0x78031c], eax
mov ecx, 0x780318
mov dword [ebp - 4], 0
call fcn.004d1f60
push 0x6943f0
call fcn.0056810c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x7474a0]
push 0xffffffffffffffff
push 0x3c
call fcn.004d5c70
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x780318
mov eax, esp
sub esp, 0x18
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x2c]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x3c]
movdqu xmmword [eax + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x4c]
movdqu xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esi + 0xc]
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp], xmm0
call fcn.004d2f50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4eba80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
test al, al
je 0x4eba9c
push 5
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x4ece50
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x780368], eax
cmp dword [0x782094], eax
je 0x4ecf9a
push 8
lea ecx, [ebp - 0x18]
mov dword [0x782094], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004efca0
add esp, 0xc
mov dword [0x782060], eax
cmp dword [0x725778], eax
je 0x4ecf9a
push 0x78036c
mov dword [0x725778], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x780368]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x4ecf06
sub eax, 0xd
je 0x4ecef3
dec eax
jne case.default.0x4ecf18
mov byte [0x780376], al
mov dword [0x781840], 0x72576a
jmp 0x4ecf7f
mov byte [0x780376], 1
mov dword [0x781840], 0x725770
jmp 0x4ecf7f
mov eax, ecx
mov byte [0x780376], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x4ecf18
jmp dword [eax*4 + 0x4ecfa8]
mov byte [0x780376], 0
mov dword [0x781840], 0x72575e
jmp 0x4ecf7f
mov dword [0x781840], 0x725764
jmp 0x4ecf7f
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x781840], 0x725758
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x781840]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.0056f90e
mov ecx, dword [0x781840]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x78205c], 0x4e8
je 0x4ecf9a
mov eax, dword [0x782060]
mov dword [0x78205c], eax
call fcn.004ed0c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret
Function at 0x4ed7f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x4eda3d
mov ecx, dword [0x780368]
cmp dword [0x782090], ecx
je 0x4eda8b
cmp byte [0x78035e], 0
mov eax, 0x404
mov dword [0x782090], ecx
je 0x4ed85b
cmp cx, ax
jne 0x4ed85b
mov dword [0x780418], 0x7000404
mov eax, 0x7000404
mov dword [0x78041c], 0
jmp 0x4eda3f
cmp ecx, 0xe0080404
je 0x4ed887
cmp ecx, 0xe0090404
je 0x4ed887
cmp ecx, 0xe00a0404
je 0x4ed887
cmp ecx, 0xe00b0404
je 0x4ed887
cmp ecx, 0xe00e0804
jne 0x4eda29
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x4eda29
cmp dword [0x780354], 0
jne 0x4ed94e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4ed94e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4ed94e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4ed94e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4ed94e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x4eda29
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x780368]
mov ebx, eax
test ebx, ebx
je 0x4eda29
call fcn.0056cd10
mov eax, esp
push eax
push ebx
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4eda29
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6a7b64
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4eda29
mov edx, dword [ebp - 0x408]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x780354], 0
jne 0x4eda7a
mov eax, 0x404
cmp si, ax
jne 0x4eda58
cmp ecx, 0x4020000
je 0x4eda7a
cmp ecx, 0x4030000
je 0x4eda7a
cmp ecx, 0x4040000
je 0x4eda7a
cmp ecx, 0x5000000
je 0x4eda7a
cmp ecx, 0x5010000
je 0x4eda7a
cmp ecx, 0x5020000
je 0x4eda7a
cmp ecx, 0x6000000
je 0x4eda7a
mov dword [0x780418], 0
mov dword [0x78041c], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x4eda29
cmp ecx, 0x4010000
je 0x4eda7a
cmp ecx, 0x4020000
je 0x4eda7a
cmp ecx, 0x5030000
jne 0x4eda29
mov eax, esi
or eax, ecx
mov dword [0x780418], eax
mov eax, dword [edx + 0xc]
mov dword [0x78041c], eax
mov eax, dword [edi*4 + 0x780418]
jmp 0x4eda3f
Function at 0x4edbe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x780368]
push ebx
cmp eax, 0xe00e0804
je 0x4eddb2
cmp eax, 0xe0090404
je 0x4eddb2
mov ebx, dword [0x780418]
test ebx, ebx
je 0x4eddb2
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x4edda1
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x6aa080]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x6aa082]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x6aa068]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x6aa078]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x4edc98
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4edca8
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x4edd8c
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4edd69
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x4edd34
cmp al, 0x22
je 0x4edd4a
cmp al, 0x23
je 0x4edd4a
cmp ebx, 0x5010000
je 0x4edd44
cmp ebx, 0x5020000
jne 0x4edd69
sub al, 0x22
cmp al, 2
ja 0x4edd69
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005688a8
mov esp, ebp
pop ebp
ret
Function at 0x4ee060
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x78035c], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x4ee22b
cmp byte [0x782078], 0
mov dword [0x780364], eax
jne 0x4ee0c2
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4ee0c2
push 0x782074
push 0x6a9edc
push 1
push 0
push 0x6e0cb8
mov byte [0x782078], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x780378
mov dword [0x780378], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x78035d], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4ee1aa
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4ee100
mov eax, dword [str.imm32.dll]
mov dword [ecx], eax
mov eax, dword [0x6a9f9c]
mov dword [ecx + 4], eax
mov ax, word [0x6a9fa0]
mov word [ecx + 8], ax
mov al, byte [0x6a9fa2]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x78040c], eax
test eax, eax
je 0x4ee1a3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x78040c]
mov dword [0x780344], eax
call esi
push str.ImmLockIMCC
push dword [0x78040c]
mov dword [0x780348], eax
call esi
push str.ImmUnlockIMCC
push dword [0x78040c]
mov dword [0x78034c], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x78040c]
mov dword [0x780350], eax
call esi
pop esi
test eax, eax
je 0x4ee1aa
push 0xffffffffffffffff
call eax
jmp 0x4ee1aa
mov byte [0x78035d], 1
push dword [0x780364]
mov byte [0x78035c], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x780364]
call sub.IMM32.dll_ImmReleaseContext
call fcn.004ece50
call fcn.004ece20
push 2
call fcn.004ef070
add esp, 4
call fcn.004ef420
test eax, eax
setne byte [0x78035e]
call fcn.004ecfc0
cmp byte [0x78035e], 0
je 0x4ee22b
mov eax, dword [0x780368]
and eax, 0x3ff
cmp eax, 4
jne 0x4ee21a
call fcn.004ed230
mov byte [0x780361], 1
test eax, eax
jne 0x4ee221
mov byte [0x780361], 0
push 0
call fcn.004ef5c0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.005688a8
mov esp, ebp
pop ebp
ret 4
Function at 0x4ee880
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67fe5b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x20], 0
je 0x4ee969
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4ee969
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x828]
call fcn.0043c4e0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x4ee952
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x810]
push 0x400
push edx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push dword [0x782060]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.004ee240
mov ecx, dword [0x781844]
test ecx, ecx
je 0x4ee952
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x814], 0x10
jb 0x4ee969
push dword [ebp - 0x828]
call fcn.00567fdc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret

Function at 0x4f1190
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x4f11a9
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x4f6dc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x4f6dd0
mov edx, dword [ecx]
jmp 0x4f6dd2
mov edx, ecx
mov ecx, dword [ecx + 0x10]
xor eax, eax
push ebx
push esi
add ecx, edx
xor ebx, ebx
push edi
mov edi, ecx
xor esi, esi
sub edi, edx
cmp edx, ecx
cmova edi, ebx
test edi, edi
je 0x4f6e03
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x4f6df0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4f70a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680540
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x50], ecx
mov esi, dword [ecx]
mov dword [ebp - 0x54], esi
test esi, esi
jle 0x4f7202
jmp 0x4f70f0
mov esi, dword [ecx + eax]
mov ecx, dword [ecx + eax + 4]
sub esi, 4
add eax, 8
mov dword [ebp - 0x48], esi
cmp dword [edx + 0x1420], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x44], eax
je 0x4f7123
mov eax, dword [edx + 0x141c]
mov esi, dword [edx + 0x142c]
mov esi, dword [esi + eax*4]
mov eax, dword [ebp - 0x44]
jmp 0x4f7125
xor esi, esi
test esi, esi
je 0x4f71f1
lea ecx, [ecx]
push 0xffffffffffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x2c], 0xf
push 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00441970
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a3be0
add esp, 8
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 4], 2
jb 0x4f717e
push dword [ebp - 0x40]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x2c], 0xf
mov ebx, ecx
mov dword [ebp - 0x30], 0
sub ebx, edx
mov byte [ebp - 0x40], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x4f71c4
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x4f71b1
cmp dword [ebp - 0x58], eax
je 0x4f7220
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4f71e1
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4f7130
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
add eax, esi
dec dword [ebp - 0x54]
jne 0x4f70f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x20]
call fcn.004fc360
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.005015f0
mov esi, dword [ebp - 0x48]
cmp esi, eax
je 0x4f7258
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
push str.CEterPackManager::RetrieveHybridCryptPackKeys_tcryptokey_length_of_file__s__is_not_matched._received__d____haved__d_
call fcn.004c4030
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4f7270
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
jmp 0x4f71f4
Function at 0x4f7280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x680580
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp + 8]
mov ebx, 4
mov dword [ebp - 0x44], edx
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x4f7401
jmp 0x4f72d0
mov eax, dword [edx + ebx]
add ebx, 4
cmp dword [ecx + 0x1420], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
je 0x4f72f6
mov eax, dword [ecx + 0x141c]
mov esi, dword [ecx + 0x142c]
mov esi, dword [esi + eax*4]
jmp 0x4f72f8
xor esi, esi
test esi, esi
je 0x4f73f8
push 0xffffffffffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x14], 0xf
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00441970
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a3be0
add esp, 8
cmp dword [ebp - 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x4f734e
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x14], 0xf
mov ebx, ecx
mov dword [ebp - 0x18], 0
sub ebx, edx
mov byte [ebp - 0x28], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x4f7394
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x4f7381
cmp dword [ebp - 0x54], eax
je 0x4f73c0
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4f73b1
push dword [ebp - 0x40]
call fcn.00567fdc
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4f7300
mov ebx, dword [ebp - 0x50]
jmp 0x4f73f2
mov ecx, dword [esi + 0x20]
call fcn.004fc360
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x50]
add ecx, ebx
push ecx
mov ecx, eax
call fcn.00501660
add ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 0x10
jb 0x4f73f2
push dword [ebp - 0x40]
call fcn.00567fdc
add esp, 4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
dec dword [ebp - 0x4c]
jne 0x4f72d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 4
Function at 0x4f78e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 8], esi
call fcn.004f7510
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x14]
cmp dword [eax + edx*4], 0
lea ebx, [eax + edx*4]
mov dword [ebp + 8], ebx
je 0x4f79c3
push edi
lea esp, [esp]
mov edi, dword [ebx]
cmp dword [edi + 0x1c], 0x10
jb 0x4f791d
mov esi, dword [edi + 8]
jmp 0x4f7920
lea esi, [edi + 8]
mov eax, dword [edi + 0x18]
xor edx, edx
add eax, esi
xor ebx, ebx
mov ecx, eax
sub ecx, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
cmp esi, eax
mov eax, dword [ebp - 4]
cmova eax, ecx
test eax, eax
je 0x4f7953
mov edi, edi
movzx ecx, byte [esi]
lea esi, [esi + 1]
imul edx, edx, 0x1000193
inc ebx
xor edx, ecx
cmp ebx, eax
jb 0x4f7940
mov esi, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [esi + 4]
mov eax, edx
and eax, 0x7fffffff
mov dword [edi + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x4f7990
lea ecx, [ecx]
mov ecx, dword [eax + 4]
shr ecx, 0x1f
not ecx
test cl, 1
jne 0x4f7990
mov ecx, edx
mov edi, eax
or ecx, 0x80000000
mov dword [eax + 4], ecx
mov eax, dword [eax]
test eax, eax
jne 0x4f7970
mov eax, dword [esi + 0x14]
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
test eax, eax
jne 0x4f79a8
mov eax, dword [ebp + 8]
mov ebx, edi
mov dword [ecx], eax
mov dword [ebp + 8], ebx
jmp 0x4f79b9
mov eax, dword [eax]
mov edx, dword [edi]
mov ebx, dword [ebp + 8]
mov dword [edi], eax
mov ecx, dword [ecx]
mov eax, dword [ebx]
mov dword [ecx], eax
mov dword [ebx], edx
cmp dword [ebx], 0
jne 0x4f7910
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4fb830
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x6a267c
lea esi, [edi + 0x255]
push esi
call fcn.0056ae3a
add esp, 8
test eax, eax
je 0x4fb85a
push eax
call fcn.0056acff
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
je 0x4fb868
pop edi
xor al, al
pop esi
ret
push 0x6a3b7c
push esi
call fcn.0056ae3a
mov esi, eax
add esp, 8
test esi, esi
je 0x4fb863
push esi
push 1
push 4
push 0x6aa550
call fcn.0056d103
push esi
push 1
push 4
push 0x6aa554
call fcn.0056d103
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.0056d103
push esi
call fcn.0056acff
add esp, 0x34
mov al, 1
pop edi
pop esi
ret

Function at 0x4fb8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp dword [edx + 0x13e4], 0x20
je 0x4fb904
xor al, al
pop ebp
ret 4
cmp byte [edx + 0x365], 0
jne 0x4fb945
cmp dword [edx + 0x13e8], 0x10
push esi
push edi
lea edi, [edx + 0x13d4]
jb 0x4fb920
mov edi, dword [edi]
mov esi, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], esi
inc ecx
mov eax, dword [edx + 0x13e4]
add esi, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x4fb925
pop edi
mov byte [edx + 0x365], 1
pop esi
mov al, 1
pop ebp
ret 4