joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f2ef3
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, eax
call fcn.004859d2
mov ebx, dword [sym.imp.WS2_32.dll_send]
mov byte [ebp - 1], 1
jmp 0x4f2f80
jle 0x4f2f23
add dword [ebp - 8], eax
sub dword [ebp + 0xc], eax
add dword [ebp + 8], eax
jmp 0x4f2f30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x4f2f9b
cmp dword [ebp + 0xc], 0
je 0x4f2f91
cmp byte [ebp - 1], 0
mov ecx, dword [ebp + 0x10]
jne 0x4f2f6e
test ecx, ecx
js 0x4f2f6e
lea esi, [ebp - 0x10]
call fcn.004859d2
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [ebp - 0x14]
push 0
push 0x2710
push ecx
push eax
call fcn.0057a080
mov ecx, dword [ebp + 0x10]
sub ecx, eax
test ecx, ecx
jle 0x4f2f91
push ecx
push 1
call fcn.004f2e20
mov byte [ebp - 1], 0
test eax, eax
js 0x4f2f9b
je 0x4f2f91
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x64]
call ebx
test eax, eax
jne 0x4f2f16
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
or eax, 0xffffffff
jmp 0x4f2f94

Function at 0x4f2fa0
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x606ab0
call fcn.0055fbb0
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp word [edx], 0x5a4d
jne 0x4f3005
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x4f3005
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x4f3005
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4f3005
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4f300e
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.0055fbf5
ret
Function at 0x4f30fe
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x7ff80000
push edi
jbe 0x4f311d
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x4f3124
mov dword [ebp - 4], 0x10000
cmp esi, 0x80000000
jae 0x4f3137
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x4f313e
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x6385c4]
test eax, eax
mov ecx, dword [0x6385c0]
jne 0x4f3158
test ecx, ecx
je 0x4f316d
mov eax, ecx
mov dword [0x6385c4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x4f316d
cmp edx, dword [ebp - 4]
jb 0x4f316d
cmp edx, dword [ebp - 8]
jbe 0x4f3298
mov eax, ecx
test ecx, ecx
jmp 0x4f3191
test eax, eax
je 0x4f318c
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4f318c
cmp ecx, dword [ebp - 4]
jb 0x4f318c
cmp ecx, dword [ebp - 8]
jbe 0x4f3298
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x6385c4], eax
jne 0x4f3173
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, dword [ebp - 4]
mov dword [ebp + 8], esi
mov ebx, 0x3000
jbe 0x4f325a
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x4f31ca
mov esi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4f320a
mov eax, 0x10000
cmp dword [ebp - 0x30], eax
jne 0x4f31ea
cmp dword [ebp - 0x34], eax
jae 0x4f31fa
mov esi, dword [ebp - 0x3c]
add esi, 0xffff0000
cmp esi, dword [ebp - 4]
ja 0x4f31b8
jmp 0x4f320a
push 0x40
push ebx
push eax
push esi
call edi
test eax, eax
mov dword [0x6385c4], eax
jne 0x4f3266
mov esi, dword [ebp + 8]
jmp 0x4f325a
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x4f3221
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4f325f
mov eax, 0x10000
cmp dword [ebp - 0x14], eax
jne 0x4f3251
cmp dword [ebp - 0x18], eax
jb 0x4f3251
push 0x40
push ebx
push eax
push esi
call edi
test eax, eax
mov dword [0x6385c4], eax
jne 0x4f3266
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x4f320f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [0x6385c0]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x6385c0], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x4f328a
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x4f325f
cmp esi, dword [ebp - 8]
ja 0x4f325f
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.0055fda0
add esp, 0xc
mov eax, esi
jmp 0x4f3261
Function at 0x4f32e0
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x606ad0
call fcn.0055fbb0
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4f3338
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x5a4d
jne 0x4f3331
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4f3331
cmp word [ecx + 0x14], 0
je 0x4f3331
mov dword [ebp - 4], 0xfffffffe
jmp 0x4f333a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.0055fbf5
ret

Function at 0x4f3352
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x6385cc], edi
je 0x4f3365
mov eax, 0x10dd
jmp 0x4f33c0
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x6385cc
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4f335e
push esi
mov esi, dword [0x6385c0]
mov dword [0x6385c8], edi
mov dword [0x6385dc], edi
mov dword [0x6385d8], edi
mov dword [0x6385d0], edi
mov dword [0x6385d4], edi
jmp 0x4f33b9
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x4f33a3
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x4f33c3
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6385cc], eax
je 0x4f33d9
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x6385dc]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4f3424
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x4f3415
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x4f3415
call fcn.004f32bf
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.0055da69
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4f33e8
mov dword [0x6385dc], ebx
call fcn.004f30d7
mov esi, dword [0x6385d8]
cmp esi, ebx
je 0x4f3451
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.0055da69
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4f3439
pop edi
pop esi
mov dword [0x6385d8], ebx
mov dword [0x6385cc], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4f36a8
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x6385d0]
test eax, eax
jne 0x4f3718
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x4f36c4
xor eax, eax
jmp 0x4f3717
push esi
push 8
call fcn.0055db17
mov esi, eax
test esi, esi
pop ecx
jne 0x4f36d8
push 8
pop edi
jmp 0x4f36f3
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x4f3704
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0055da69
pop ecx
and dword [0x6385d4], 0
mov dword [0x6385d0], edi
mov eax, edi
jmp 0x4f3716
mov eax, dword [0x6385d8]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x6385d8], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x4f9e30
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4f9e14
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4f9e32
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
js 0x4f9e56
js 0x4f9e56
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4f9e90
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
or byte gs:[eax], al
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4f9e77
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4f9e80
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4f9e8a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4f9e6c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4f9df6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4f9edd
dec eax
je 0x4f9ed4
sub eax, 3
je 0x4f9ecb
mov dword [ebp - 4], 0x40
jmp 0x4f9efa
mov dword [ebp - 4], 4
jmp 0x4f9ee0
mov dword [ebp - 4], 0x20
jmp 0x4f9ee0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4f9f2c
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4f9eac
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004f973d
push ss
mov ebx, 0x75ff5f5c
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4f9f38
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x55c9d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x631350]
jne 0x55c9de
repz ret
jmp fcn.00563a1b
Function at 0x57607c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x631350]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0056453e
and dword [ebp - 0x14], 0
cmp dword [0x63a958], 0
mov dword [ebp - 0x18], eax
jne 0x57612f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5761d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5761d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x63a958], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x63a95c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x63a960], eax
call edi
push eax
call esi
mov dword [0x63a968], eax
test eax, eax
je 0x57612f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x63a964], eax
mov eax, dword [0x63a964]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x576188
cmp dword [0x63a968], ecx
je 0x576188
push eax
call esi
push dword [0x63a968]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x576188
test ebx, ebx
je 0x576188
call edi
test eax, eax
je 0x57617f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x57617f
test byte [ebp - 8], 1
jne 0x576188
or dword [ebp + 0x10], 0x200000
jmp 0x5761bb
mov eax, dword [0x63a95c]
cmp eax, dword [ebp - 0x18]
je 0x5761bb
push eax
call esi
test eax, eax
je 0x5761bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5761bb
mov eax, dword [0x63a960]
cmp eax, dword [ebp - 0x18]
je 0x5761bb
push eax
call esi
test eax, eax
je 0x5761bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x63a958]
call esi
test eax, eax
je 0x5761d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5761d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c9d4
leave
ret

Function at 0x57f0d0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x57f0f6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x57f0e0
ret
Function at 0x5913c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x5913f2
lea esp, [esp]
test cl, 3
je 0x5913f2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5c4f68]
add ecx, 1
sub esi, 1
jne 0x5913d0
cmp esi, 0x20
push ebx
push edi
jb 0x5915dc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x5c5368]
xor edx, dword [ebx*4 + 0x5c5768]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x5c4f68]
add ecx, 4
xor edx, dword [eax*4 + 0x5c5b68]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5c5368]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x5c5768]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5c4f68]
add ecx, 4
xor eax, dword [edx*4 + 0x5c5b68]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x5c5368]
xor edx, dword [ebx*4 + 0x5c5768]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x5c4f68]
xor edx, dword [eax*4 + 0x5c5b68]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5c5368]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x5c5768]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5c4f68]
xor eax, dword [edx*4 + 0x5c5b68]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x5c5368]
xor edx, dword [ebx*4 + 0x5c5768]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x5c4f68]
xor edx, dword [eax*4 + 0x5c5b68]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5c5368]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x5c5768]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5c4f68]
and edx, 0xff
xor eax, dword [edx*4 + 0x5c5b68]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x5c5368]
xor edx, dword [ebx*4 + 0x5c5768]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x5c4f68]
add ecx, 4
xor edx, dword [eax*4 + 0x5c5b68]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5c5368]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x5c5768]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5c4f68]
and edx, 0xff
xor eax, dword [edx*4 + 0x5c5b68]
sub edi, 1
jne 0x591402
cmp esi, 4
jb 0x591629
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x5c5368]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x5c5768]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x5c4f68]
and eax, 0xff
xor edi, dword [eax*4 + 0x5c5b68]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x5915e6
test esi, esi
pop edi
pop ebx
je 0x59164d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5c4f68]
add ecx, 1
sub esi, 1
jne 0x591630
not eax
pop esi
ret
Function at 0x591a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x591afe
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0055fe20
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x591ad1
sub eax, ebx
jmp 0x591ad3
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x591ac2
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x591af2
sub eax, ebx
jmp 0x591af4
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x591ae3
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x591bd2
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.00591800
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x591b49
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x591b5d
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x591a86
mov eax, dword [edi + 0x16c0]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jae 0x591bd2
mov esi, dword [edi + 0x6c]
add esi, edx
cmp eax, esi
jae 0x591ba1
sub ecx, esi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x591b84
mov ebx, 0x102
mov ecx, dword [edi + 0x38]
push ebx
add ecx, esi
push 0
push ecx
call fcn.0055fda0
add esp, 0xc
add ebx, esi
pop esi
pop ebp
mov dword [edi + 0x16c0], ebx
pop ebx
ret
lea edx, [esi + 0x102]
cmp eax, edx
jae 0x591bd2
sub esi, eax
add esi, 0x102
sub ecx, eax
cmp esi, ecx
jbe 0x591bbb
mov esi, ecx
mov ecx, dword [edi + 0x38]
push esi
add ecx, eax
push 0
push ecx
call fcn.0055fda0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebp
pop ebx
ret
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x431474
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004314f3
jae 0x431480
xor ecx, ecx
call fcn.004314f3
jae 0x4314aa
xor eax, eax
call fcn.004314f3
jae 0x4314bb
mov al, 0x10
call fcn.004314f3
adc al, al
jae 0x43149c
jne 0x4314e8
stosb byte es:[edi], al
jmp 0x431481
call fcn.004314ff
dec ecx
loop 0x4314c7
mov eax, ebp
call fcn.004314fd
jmp 0x4314e9
lodsb al, byte [esi]
shr eax, 1
je 0x43150f
adc ecx, 2
mov ebp, eax
jmp 0x4314e9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004314fd
cmp eax, 0x7d00
jae 0x4314e7
cmp eax, 0x500
jae 0x4314e8
cmp eax, 0x7f
ja 0x4314e9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x431481
pop ebp
ret 8

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x30f95353
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x581c2677
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6d58ca77
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6d58cade
jmp 0x6d58cb34
jmp 0x6d58cb8a
jmp 0x6d58cbe0
jmp 0x6d58cc36
jmp 0x6d58cc8c
jmp 0x6d58cce2
jmp 0x6d58cd38
jmp 0x6d58cd8e
jmp 0x6d58cde4
jmp 0x6d58ce3a
jmp 0x6d58ce90
jmp 0x6d58cee6
jmp 0x6d58cf3c
jmp 0x6d58cf92
jmp 0x6d58cfe8
jmp 0x6d58d03e
jmp 0x6d58d094
jmp 0x6d58d0ea
jmp 0x6d58d140
jmp 0x6d58d196
jmp 0x6d58d1ec
jmp 0x6d58d242
jmp 0x6d58d298
jmp 0x6d58d2ee
jmp 0x6d58d344
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6d58d3a0
jmp 0x6d58d3f6
jmp 0x6d58d44c
jmp 0x6d58d4a2
jmp 0x6d58d4f8
jmp 0x6d58d54e
jmp 0x6d58d5a4
jmp 0x6d58d5fa
jmp 0x6d58d650
jmp 0x6d58d6a6
jmp 0x6d58d6fc
jmp 0x6d58d752
jmp 0x6d58d7a8
jmp 0x6d58d7fe
jmp 0x6d58d854
jmp 0x6d58d8aa
jmp 0x6d58d900
jmp 0x6d58d956
jmp 0x6d58d9ac
jmp 0x6d58da02
jmp 0x6d58da58
jmp 0x6d58daae
jmp 0x6d58db04
jmp 0x6d58db5a
jmp 0x6d58dbb0
jmp 0x6d58dc06
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x6d58dc76
jmp 0x6d58dccc
jmp 0x6d58dd22
jmp 0x6d58dd78
jmp 0x6d58ddce
jmp 0x6d58de24
jmp 0x6d58de7a
jmp 0x6d58ded0
jmp 0x6d58df26
jmp 0x6d58df7c
jmp 0x6d58dfd2
jmp 0x6d58e028
jmp 0x6d58e07e
jmp 0x6d58e0d4
jmp 0x6d58e12a
jmp 0x6d58e180
jmp 0x6d58e1d6
jmp 0x6d58e22c
jmp 0x6d58e282
jmp 0x6d58e2d8
jmp 0x6d58e32e
jmp 0x6d58e384
jmp 0x6d58e3da
jmp 0x6d58e430
jmp 0x6d58e486
jmp 0x6d58e4dc
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x6d58e53b
jmp 0x6d58e591
jmp 0x6d58e5e7
jmp 0x6d58e63d
jmp 0x6d58e693
jmp 0x6d58e6e9
jmp 0x6d58e73f
jmp 0x6d58e795
jmp 0x6d58e7eb
jmp 0x6d58e841
jmp 0x6d58e897
jmp 0x6d58e8ed
jmp 0x6d58e943
jmp 0x6d58e999
jmp 0x6d58e9ef
jmp 0x6d58ea45
jmp 0x6d58ea9b
jmp 0x6d58eaf1
jmp 0x6d58eb47
jmp 0x6d58eb9d
jmp 0x6d58ebf3
jmp 0x6d58ec49
jmp 0x6d58ec9f
jmp 0x6d58ecf5
jmp 0x6d58ed4b
jmp 0x6d58eda1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6d58ee10
jmp 0x6d58ee66
jmp 0x6d58eebc
jmp 0x6d58ef12
jmp 0x6d58ef68
jmp 0x6d58efbe
jmp 0x6d58f014
jmp 0x6d58f06a
jmp 0x6d58f0c0
jmp 0x6d58f116
jmp 0x6d58f16c
jmp 0x6d58f1c2
jmp 0x6d58f218
jmp 0x6d58f26e
jmp 0x6d58f2c4
jmp 0x6d58f31a
jmp 0x6d58f370
jmp 0x6d58f3c6
jmp 0x6d58f41c
jmp 0x6d58f472
jmp 0x6d58f4c8
jmp 0x6d58f51e
jmp 0x6d58f574
jmp 0x6d58f5ca
jmp 0x6d58f620