joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a5b0
Capabilities:
Resolve path using msvcrt

Disassembly:
sub esp, 0x320
push ebx
push esi
push edi
push 0
call dword [sym.imp.MSVCRT.dll_fflush]
or ecx, 0xffffffff
mov edi, 0x4017e4
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x481170]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4017e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], 0x408278
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x130]
mov dword [esp + 0x1c], 0x4017d4
push ecx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCRT.dll___p__pgmptr]
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
push 0x401758
lea ecx, [esp + 0x140]
push 0x408278
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x248]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x28
call fcn.0044a200
lea ecx, [esp + 0x10]
lea edx, [esp + 0x228]
push ecx
push edx
push 0
call dword [sym.imp.MSVCRT.dll__spawnv]
add esp, 0xc
cmp eax, 0xffffffff
pop edi
pop esi
pop ebx
jne 0x44a6e7
lea eax, [esp + 4]
push eax
push 0x40826c
push 0
call dword [sym.imp.MSVCRT.dll__spawnvp]
add esp, 0xc
add esp, 0x320
ret

Function at 0x44adf0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
mov dword [0x481114], 0
mov dword [0x481110], 0
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
push eax
push 0x481110
push esi
push edi
mov dword [0x481118], 0
call fcn.0044ad60
lea ecx, [esp + 8]
push ecx
push esi
call fcn.0040e300
lea edx, [esp + 8]
push edx
push esi
push edi
call fcn.00446cf0
mov al, byte [0x481160]
pop edi
test al, al
pop esi
je 0x44ae93
mov al, byte [0x49647a]
test al, al
je 0x44ae93
mov al, byte [0x496479]
test al, al
jne 0x44ae93
push 0x4080a8
lea eax, [esp + 4]
push 0x106a
push eax
call fcn.00431730
add esp, 0xc
call fcn.0040bbb0
push 0
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
add esp, 0x208
ret 0xc
Function at 0x44f450
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov ebx, 1
cmp word [ebp + 0x32], bx
jb 0x44f500
push esi
push edi
mov edi, dword [esp + 0x24]
lea eax, [ebp + 0x1c0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0040f950
lea ecx, [esp + 0x10]
push ecx
call fcn.0040f890
test al, al
je 0x44f4bd
mov esi, ebx
and esi, 0xffff
mov eax, dword [esp + 0x1c]
mov edi, eax
movsx edx, word [eax + 0x2c]
cmp edx, esi
je 0x44f4b3
lea eax, [esp + 0x10]
push eax
call fcn.0040f890
test al, al
jne 0x44f495
jmp 0x44f4bd
lea ecx, [esp + 0x10]
push ecx
call fcn.0040f8d0
mov ecx, dword [edi + 0x1c]
mov eax, 0x108
test ecx, 0x40000000
je 0x44f4d2
mov eax, 0x109
test ecx, 0x80000000
je 0x44f4dc
or al, 2
test ecx, 0x20000000
je 0x44f4e6
or al, 4
mov edx, dword [edi + 0x10]
push edx
push 0
push eax
push ebx
call fcn.004155f0
inc ebx
cmp bx, word [ebp + 0x32]
jbe 0x44f46e
pop edi
pop esi
push 0xffffffffffffffff
push 0
push 0x208
push 0
call fcn.004155f0
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x450520
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov cl, byte [esp + 0x1c]
sub esp, 0x200
mov eax, dword [edx + 0x1c]
push ebx
mov ebx, dword [edx + 0x18]
push esi
mov esi, dword [eax + 0x28]
test cl, cl
push edi
je 0x450550
mov eax, dword [edx + 4]
test ah, 0x10
je 0x450550
cmp byte [edx + 0x3c], 2
jne 0x450550
mov al, 1
jmp 0x450552
xor al, al
neg al
sbb al, al
mov edx, dword [edx]
and al, 0x49
mov edi, dword [esp + 0x224]
add al, 0x20
neg cl
sbb cl, cl
and cl, 0x46
movsx eax, al
add cl, 0x20
push eax
mov eax, dword [esp + 0x220]
movsx ecx, cl
push ecx
lea ecx, [edx + eax]
add ecx, edi
mov edi, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x21c]
sub edx, edi
push ecx
add edx, eax
mov eax, dword [0x481164]
push edx
movsx edx, word [esi + 0x2c]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push edx
push 0x4085a4
push eax
call esi
mov al, byte [esp + 0x238]
add esp, 0x20
test al, al
je 0x4505d6
mov ecx, dword [0x481164]
push ecx
push 1
push 8
push 0x408598
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
jmp 0x450668
cmp ebx, dword [0x481000]
jne 0x4505f9
mov edx, dword [0x481164]
push edx
push 1
push 0x10
push 0x408584
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
jmp 0x450668
mov eax, dword [ebx + 0x64]
mov ecx, dword [esp + 0x22c]
mov edi, dword [sym.imp.MSVCRT.dll__splitpath]
cmp eax, ecx
je 0x450633
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0
push 0
push edx
call edi
mov ecx, dword [0x481164]
lea eax, [esp + 0x20]
push eax
push 0x408580
push ecx
call esi
add esp, 0x20
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x10c]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push ecx
call edi
mov ecx, dword [0x481164]
lea edx, [esp + 0x120]
lea eax, [esp + 0x20]
push edx
push eax
push 0x40142c
push ecx
call esi
add esp, 0x24
mov edx, dword [0x481164]
push edx
push 0xa
call dword [sym.imp.MSVCRT.dll_fputc]
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x200
ret 0x20
Function at 0x451260
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov eax, dword [0x4964b4]
sub esp, 0x44
test eax, eax
jne 0x451281
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x24]
mov dword [0x4964b4], ecx
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [0x480f20], 0x4000000
mov eax, dword [esp + 8]
and eax, 0xffff0000
cmp eax, 0x4000000
ja 0x4512ab
mov dword [0x480f20], eax
add esp, 0x44
ret

Function at 0x451520
Capabilities:
Get disk size

Disassembly:
mov ecx, dword [0x481154]
sub esp, 0x14
lea eax, [esp]
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
mov al, byte [esp + 0x14]
add esp, 0x14
test al, al
je 0x45157a
push ebx
push esi
push edi
mov edi, 0x407870
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4515bc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
imul ecx, dword [esp + 8]
xor edx, edx
div ecx
cmp eax, dword [esp + 0xc]
sbb eax, eax
neg eax
add esp, 0x14
ret 4
mov al, 1
add esp, 0x14
ret 4

Function at 0x4517c0
Capabilities:
Terminate process

Disassembly:
push 0x4964b0
mov dword [0x481198], 0xf
call fcn.00439610
mov al, byte [0x480ed4]
test al, al
je 0x4517ec
push 0x1787
push 0
call fcn.00431710
add esp, 8
mov al, byte [0x4690c4]
test al, al
je 0x4517fa
call fcn.00415270
push 1
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x451810
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x4690c4]
test al, al
je 0x45181e
call fcn.00415270
mov al, byte [0x481161]
mov dword [0x481198], 0xf
test al, al
push 0x4964b0
je 0x451859
call fcn.00439610
push 0x1771
push 0
call fcn.00431710
add esp, 8
push 1
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00439610
push 0xff1
push 0
call fcn.00431730
add esp, 8
push 0
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x45e850
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [0x496868]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, ebp
je 0x45e8ba
cmp eax, ebp
jne 0x45e882
push 0x244
call fcn.00451b20
mov dword [0x496868], eax
mov eax, dword [0x496864]
cmp eax, ebp
je 0x45e894
push eax
call edi
mov dword [0x496864], ebp
mov eax, dword [0x496868]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [0x496864], eax
jne 0x45e8e0
pop edi
mov dword [0x496864], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov ecx, dword [0x496864]
push eax
push ecx
call ebx
test eax, eax
jne 0x45e8e0
mov edx, dword [0x496864]
push edx
call edi
pop edi
mov dword [0x496864], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [0x496868]
test byte [eax], 0x10
jne 0x45e8ba
pop edi
pop esi
pop ebp
add eax, 0x2c
pop ebx
ret 4

Function at 0x45f150
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_getenv]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_free]
push esi
test eax, eax
je 0x45f185
push eax
call ebx
add esp, 4
test eax, eax
je 0x45f185
push eax
call fcn.00451ba0
mov esi, eax
push esi
call fcn.0045eef0
push esi
call ebp
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [0x481040], 0
cmp eax, 1
jle 0x45f1c2
mov ecx, dword [esp + 0x14]
push edi
lea edi, [eax - 1]
lea esi, [ecx + 4]
mov eax, dword [esi]
cmp byte [eax], 0x40
jne 0x45f1b3
inc eax
push eax
call fcn.0045efb0
jmp 0x45f1bb
push 0
push eax
call fcn.0045ec20
add esi, 4
dec edi
jne 0x45f1a3
pop edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45f1e8
push eax
call ebx
add esp, 4
test eax, eax
je 0x45f1e8
push eax
call fcn.00451ba0
mov esi, eax
push esi
call fcn.0045eef0
push esi
call ebp
add esp, 4
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x467faf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409280
push 0x467ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x496950], 0xffffffff
or dword [0x496954], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x496940]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x49693c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x49694c], eax
call fcn.004680e7
cmp dword [0x4694e0], 0
jne 0x468032
push 0x4680e4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004680d2
push 0x469020
push 0x46901c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x496938]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x496934]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x469018
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.0040dbb0
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403e59
pop dword [ebp - 0x3c]
mov eax, 0x403e59
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x2d0b4bf7
add dword [ebp - 0x4c], 0x2146f954
mov dword [ebp - 0x48], 0x3d819eaf
add dword [ebp - 0x48], 0xf4b1ad96
mov dword [ebp - 0x44], 0xc306e272
sub dword [ebp - 0x44], 0x76ba9e44
mov dword [ebp - 0x40], 0x834dcb6d
add dword [ebp - 0x40], 0x7cb23493
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x7301a14
add eax, 0xf9105650
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x8647cba1
sub dword [ebp - 0x4c], 0x11d5624b
mov dword [ebp - 0x48], 0x58ed5fd5
add dword [ebp - 0x48], 0xe87f01a0
mov dword [ebp - 0x44], 0x5cce18dc
add dword [ebp - 0x44], 0x6a15390
mov dword [ebp - 0x40], 0xf6b1bf72
add dword [ebp - 0x40], 0x94e408e
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x37c71
push 0
call eax
mov ecx, 0x4c1f
xor esi, esi
add esi, eax
mov edx, 0x9e5078f2
add edx, 0x61f0870e
add edx, dword [ebp - 0x3c]
mov edi, 0x9005d644
add edi, 0x7cc7daec
xor dword [ebp - 0x18], ecx
mov ebx, dword [edx]
sub ebx, edi
xor dword [ebp - 0xc], 0x7d4b269a
mov dword [esi], ebx
sub dword [ebp - 0x28], esi
add esi, 4
add edx, 0xcf66a455
sub edx, 0xcf66a451
loop 0x403f6d
add eax, 0x1234f
xor ebx, ebx
add ebx, eax
add eax, 0x8b1aa1c8
sub eax, 0x8b1aa1c3
mov ecx, 0x6c888d4a
sub ecx, 0x6c488d4a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x1007c35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1007c44
pop dword [ebp - 0x4c]
mov eax, 0x6f1a5c78
add eax, 0x91e61fcc
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x2f61b613
add dword [ebp - 0x5c], 0x1ef08f38
mov dword [ebp - 0x58], 0xecba6e7
add dword [ebp - 0x58], 0x2367a55e
mov dword [ebp - 0x54], 0xb00c968f
sub dword [ebp - 0x54], 0x63c05261
mov dword [ebp - 0x50], 0xc10294de
sub dword [ebp - 0x50], 0xc10294de
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xa6a9a46b
add eax, 0x5a566ce9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x263a7d6c
sub dword [ebp - 0x5c], 0xb1c81416
mov dword [ebp - 0x58], 0xe3681bf
sub dword [ebp - 0x58], 0xccca204a
mov dword [ebp - 0x54], 0xc3c208b
sub dword [ebp - 0x54], 0xa8ccb41f
mov dword [ebp - 0x50], 0xf7b80f4d
add dword [ebp - 0x50], 0x847f0b3
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xa0af7e42
add eax, 0x6050927e
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x39836
push 0
call eax
mov ecx, 0x7e9ac6f7
add ecx, 0x816589fe
mov edi, eax
mov edx, 0x10e6000
add edx, dword [ebp - 0x4c]
mov esi, 0xe3623332
sub dword [ebp - 0xc], edi
mov ebx, dword [edx]
sub dword [ebp - 0x44], 0xc3b43d9f
xor ebx, esi
sub dword [ebp - 0x38], 0xac897433
mov dword [edi], ebx
xor dword [ebp - 0x24], edx
add edi, 0x6160d539
sub edi, 0x6160d535
add edx, 0xebaaf6a0
sub edx, 0xebaaf69c
loop 0x1007d5a
add eax, 0x4897e1e3
sub eax, 0x4896ab3c
mov ebx, eax
add eax, 0xb34c08a3
sub eax, 0xb34c089e
mov ecx, 0x8f8e5139
sub ecx, 0x8e8e5139
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x407cde
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40d55c
mov eax, esi
mov edx, 8
test al, 1
je 0x407cfa
shr eax, 1
xor eax, 0xedb88320
jmp 0x407cfc
shr eax, 1
dec edx
jne 0x407ced
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407ce6
pop esi
ret

Function at 0x407d29
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40d558], 0
jne 0x407d35
call fcn.00407cde
push 1
push 0x40d558
call fcn.004043ce
mov eax, edi
test esi, esi
je 0x407d60
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40d55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x407d3b
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x7741a690
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 0x7741a6ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7741a6c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7741a6d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7741a6b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7741a7a0
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 0x7741a7d1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7741a7d1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7741a7d1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x77421180
Capabilities:
Encode data using xor

Disassembly:
call 0x774210f9
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 0x77421129
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 0x77421145
xor edx, 0
jmp 0x77421150
xor edx, edx
jmp 0x77421167
jmp 0x77421173
xor eax, eax
push 0x8427d7c0
call 0x77421180
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x774211bc
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 0x77421195
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 0x774211d3
add eax, 0
jno 0x774211d8
add esi, 0
ret 0x10
Function at 0x77421f41
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 0x77421f63
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 0x77422105
cmp edi, dword [ebp + 0x10]
jb 0x77422105
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.77421a2d
inc edi
jmp 0x77421fec
jmp 0x77421ff9
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77421a2d
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77421a2d
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 0x7742204d
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 0x77422031
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7742207b
add dword [eax], 0x39
jle 0x77422057
sub al, 0xf5
mov ch, al
call fcn.77422090
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77423d68
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 0x77423d7e
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 0x77423d8f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77423dd0
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 0x7742613c
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 0x77426085
add ebx, 0
push ecx
call 0x7742609a
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, 0x73b0707e
sub ebx, dword [0x73b268bd]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73b268ad
call fcn.77421b64
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.77421072
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x774261f8
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x774261f8
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 0x774261af
mov eax, 1
lock xchg dword [0x73b268b9], eax
push 0x3dd1fc71
call 0x7742613c
push esi
add esp, 8
cmp eax, 0
jne 0x77426125
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7742614b
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x77426160
cmp ecx, edx
cmp eax, 0
je 0x77426185
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 0x7742616f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7742619e
dec eax
loope 0x774261a1
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x73b268b9], 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 0x774261d5
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x774261ea
jmp 0x774261f5
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x774260e3
Function at 0x7742d25d
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 0x7742d533
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73b13531
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73b0a4f7
push 0xffffffffffffffff
call fcn.7742445d
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 0x7742d2c7
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.7742d2df
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 0x7742d527
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7742d4fb