joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55de40
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x804
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x55de60
mov eax, 1
mov ecx, 0x6de880
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x6de8a8
jl 0x55dea0
mov byte [0x6e09a8], 0x63
mov byte [0x6df90b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x6e09a8], al
mov byte [eax + 0x6df8a8], bl
inc ebx
cmp ebx, 0x100
jl 0x55ded8
xor ecx, ecx
lea ebx, [ebx]
movzx esi, byte [ecx + 0x6e09a8]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x6e05a8], eax
rol eax, 8
mov dword [ecx*4 + 0x6e01a8], eax
rol eax, 8
mov dword [ecx*4 + 0x6dfda8], eax
rol eax, 8
mov dword [ecx*4 + 0x6df9a8], eax
movzx eax, byte [ecx + 0x6df8a8]
test eax, eax
je 0x55e006
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x55e00e
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x6df4a8], edx
rol edx, 8
mov dword [ecx*4 + 0x6df0a8], edx
rol edx, 8
mov dword [ecx*4 + 0x6deca8], edx
rol edx, 8
mov dword [ecx*4 + 0x6de8a8], edx
inc ecx
cmp ecx, 0x100
jl 0x55df50
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x804
ret
Function at 0x55e5d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x118], eax
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [esp + 0x124]
je 0x55e621
sub eax, 0x40
je 0x55e619
sub eax, 0x40
jne 0x55e7d4
mov dword [edi], 0xe
jmp 0x55e627
mov dword [edi], 0xc
jmp 0x55e627
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [esp + 0x10]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0055e070
mov eax, dword [esp + 0x14]
shl eax, 4
add eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x55e7bd
nop
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x6e09a8]
mov edx, dword [edx*4 + 0x6de8a8]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6deca8]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6df0a8]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6df4a8]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x6e09a8]
and edx, 0xff
movzx edx, byte [edx + 0x6e09a8]
mov edx, dword [edx*4 + 0x6df4a8]
xor edx, dword [edi*4 + 0x6de8a8]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6deca8]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6df0a8]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x6e09a8]
and edx, 0xff
movzx edx, byte [edx + 0x6e09a8]
mov edx, dword [edx*4 + 0x6df4a8]
xor edx, dword [edi*4 + 0x6de8a8]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6deca8]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6df0a8]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x6e09a8]
and edx, 0xff
movzx edx, byte [edx + 0x6e09a8]
mov edx, dword [edx*4 + 0x6df4a8]
xor edx, dword [edi*4 + 0x6de8a8]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6deca8]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x6e09a8]
xor edx, dword [edi*4 + 0x6df0a8]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x55e670
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, esp
call fcn.00565c32
add esp, 0x11c
ret
Function at 0x55f560
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x730
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x738]
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x55f599
xor eax, eax
jmp 0x55f72e
test eax, eax
je 0x55f592
push edi
push ebx
push 1
lea eax, [esp + 0x1a]
push 1
push eax
call fcn.00566115
push 0x200
xor edi, edi
lea ecx, [esp + 0x54c]
push edi
push ecx
add esi, 0x10
call fcn.00565680
lea edx, [esp + 0x30]
push edx
push str._02X
push esi
call fcn.00567a32
add esp, 0x28
test eax, eax
jle 0x55f60e
lea esp, [esp]
cmp edi, 0x200
jge 0x55f60e
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add esi, 2
push str._02X
mov byte [esp + edi + 0x540], al
push esi
inc edi
call fcn.00567a32
add esp, 0xc
test eax, eax
jg 0x55f5e0
push ebp
push 0x100
lea edx, [esp + 0x540]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0055e5d0
mov ebp, dword [esp + 0x758]
mov cl, byte [esp + 0x75c]
add esp, 0xc
xor edi, edi
mov byte [esp + 0x13], cl
test ebp, ebp
jle 0x55f6ed
push ebx
push 0x10
lea edx, [esp + 0x144]
push 1
push edx
call fcn.00566115
add esp, 0x10
cmp eax, 0x10
jne 0x55f716
lea eax, [esp + 0x13c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0055e7f0
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
lea esi, [ecx + edi + 1]
mov cl, byte [esp + eax + 0x13c]
add byte [esp + 0x13], cl
mov byte [esi + eax - 1], cl
mov cl, byte [esp + eax + 0x13d]
add byte [esp + 0x14], cl
mov byte [esi + eax], cl
mov cl, byte [esp + eax + 0x13e]
add byte [esp + 0x15], cl
mov byte [esi + eax + 1], cl
mov cl, byte [esp + eax + 0x13f]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x55f691
add dl, byte [esp + 0x15]
mov ebx, dword [esp + 0x1c]
add dl, byte [esp + 0x14]
add edi, 0x10
add byte [esp + 0x13], dl
cmp edi, ebp
jl 0x55f645
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00566115
mov al, byte [esp + 0x26]
add esp, 0x10
cmp al, byte [esp + 0x17]
jne 0x55f716
cmp al, byte [esp + 0x13]
jne 0x55f716
mov eax, 1
jmp 0x55f72c
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x734]
pop esi
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x730
ret 0x10

Function at 0x565c32
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6a1068]
jne 0x565c3c
repz ret
jmp fcn.0056e37f
Function at 0x5723e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6a1068]
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.00570315
and dword [ebp - 0x14], 0
cmp dword [0x6e0f5c], 0
mov dword [ebp - 0x18], eax
jne 0x572496
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x57253e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x57253e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x59a1dc
push ebx
mov dword [0x6e0f5c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x6e0f60], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6e0f64], eax
call edi
push eax
call esi
mov dword [0x6e0f6c], eax
test eax, eax
je 0x572496
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6e0f68], eax
mov eax, dword [0x6e0f68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5724ef
cmp dword [0x6e0f6c], ecx
je 0x5724ef
push eax
call esi
push dword [0x6e0f6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5724ef
test ebx, ebx
je 0x5724ef
call edi
test eax, eax
je 0x5724e6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5724e6
test byte [ebp - 8], 1
jne 0x5724ef
or dword [ebp + 0x10], 0x200000
jmp 0x572522
mov eax, dword [0x6e0f60]
cmp eax, dword [ebp - 0x18]
je 0x572522
push eax
call esi
test eax, eax
je 0x572522
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x572522
mov eax, dword [0x6e0f64]
cmp eax, dword [ebp - 0x18]
je 0x572522
push eax
call esi
test eax, eax
je 0x572522
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6e0f5c]
call esi
test eax, eax
je 0x57253e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x572540
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c32
leave
ret
Function at 0x401982
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x4019a8
inc edi
cmp edi, 0x1f6502b1
jl 0x40198e
cmp dword [0x280fabc], 0x400
jne 0x4019e8
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401de1
push esi
call fcn.00401f47
push esi
call fcn.00401f56
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x4019f9
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a21
inc edi
cmp edi, 0x263ff
jl 0x4019ea
mov eax, dword [0x421c14]
mov dword [0x280fabc], eax
call fcn.004016e4
mov edi, 0x3078f
cmp dword [0x280fabc], 0x51f
jne 0x401a4d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a35
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10
Function at 0x74011487
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x74049f04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, 0x104
lea ecx, [ebp - 0x108]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x740114c2
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x740114e1
cmp byte [ebp + eax - 0x108], 0x5c
je 0x740114e1
sub eax, 1
jns 0x740114d2
lea ecx, [ebp - 0x20c]
mov edx, ecx
sub eax, edx
lea edx, [ebp - 0x107]
add edx, eax
lea eax, [esi + 0x7ffffefa]
test eax, eax
je 0x7401150c
mov al, byte [edx + ecx]
test al, al
je 0x7401150c
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x740114f3
test esi, esi
pop esi
jne 0x74011512
dec ecx
lea eax, [ebp - 0x210]
mov byte [ecx], 0
push eax
push 0x74002850
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x7401156e
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x74011539
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x74002884
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.7403f010
leave
ret

Function at 0x740157d3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x7404cf1c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
test eax, eax
je 0x7401580f
push eax
push 1
lea eax, [ebp - 4]
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push dword [0x7404cf1c]
lea eax, [ebp - 8]
push 1
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x20
leave
ret

Function at 0x74015811
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x7404cf1c]
test eax, eax
je 0x74015828
push eax
push edx
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret
Function at 0x7403f1d0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7403f20e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7403f206
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7403f210
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7403f1f6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7403f2e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7403f311
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7403f311
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7403f311
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x74055314
Capabilities:
Encode data using xor

Disassembly:
call 0x7405528d
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x740552bd
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x740552d9
xor edx, 0
jmp 0x740552e4
xor edx, edx
jmp 0x740552fb
jmp 0x74055307
xor eax, eax
push 0x8427d7c0
call 0x74055314
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x74055350
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x74055329
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x74055367
add eax, 0
jno 0x7405536c
add esi, 0
ret 0x10
Function at 0x740560d5
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x740560f7
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x74056299
cmp edi, dword [ebp + 0x10]
jb 0x74056299
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.74055bc1
inc edi
jmp 0x74056180
jmp 0x7405618d
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74055bc1
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74055bc1
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x740561e1
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x740561c5
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7405620f
add dword [eax], 0x39
jle 0x740561eb
sub al, 0xf5
mov ch, al
call fcn.74056224
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x74057efc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x74057f12
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x74057f23
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.74057f64
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x7405a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7405a219
add ebx, 0
push ecx
call 0x7405a22e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6ddd60f8
sub ebx, dword [0x6ddf5937]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6ddf5927
call fcn.74055cf8
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.74055206
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7405a38c
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7405a38c
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x7405a343
mov eax, 1
lock xchg dword [0x6ddf5933], eax
push 0x3dd1fc71
call 0x7405a2d0
push esi
add esp, 8
cmp eax, 0
jne 0x7405a2b9
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7405a2df
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7405a2f4
cmp ecx, edx
cmp eax, 0
je 0x7405a319
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x7405a303
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7405a332
dec eax
loope 0x7405a335
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6ddf5933], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7405a369
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7405a37e
jmp 0x7405a389
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7405a277
Function at 0x740613f1
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x740616c7
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dde25ab
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6ddd9571
push 0xffffffffffffffff
call fcn.740585f1
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x7406145b
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.74061473
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x740616bb
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7406168f
Function at 0x74070ec1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x74070ee3
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x74070ee3
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x74070ee3
ret
cmp word [ebx + 4], 0x14c
jne 0x74070ee3
test word [ebx + 0x16], 2
je 0x74070ee3
test word [ebx + 0x16], 0x100
je 0x74070ee3
cmp word [ebx + 0x18], 0x10b
jne 0x74070ee3
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x74070ee3
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x74070f6f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x74070f03
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.74057e4e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x74070ee3
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x74070f6f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x74070ee3
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x74070ee3
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x74070ee3
ret
cmp word [ebx + 4], 0x14c
jne 0x74070ee3
test word [ebx + 0x16], 2
je 0x74070ee3
test word [ebx + 0x16], 0x100
je 0x74070ee3
cmp word [ebx + 0x18], 0x10b
jne 0x74070ee3
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x74070ee3
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x74070f6f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x74070f03
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.74057e4e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x74070ee3
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8