joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40877c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
push esi
push edi
lea eax, [ebp - 0x10]
push eax
mov edi, 0x4b6
push edi
mov esi, ecx
call fcn.0040717e
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push 1
inc eax
inc eax
push edi
mov ecx, esi
mov dword [esi + 0x58], eax
call fcn.0040719b
push 1
inc edi
push edi
mov ecx, esi
call fcn.0040719b
and dword [ebp - 0x2c4], 0
push 0x2b0
lea eax, [ebp - 0x2c0]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x103
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push 0
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2c4]
push edi
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4077e4
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.0040844b
mov ecx, esi
mov edi, eax
call fcn.00407dff
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40a7f0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret

Function at 0x40ab10
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
add edi, 1
xor ebx, ebx
cmp edi, 0x38
je 0x40ab4a
lea esp, [esp]
and edi, 0x3f
jne 0x40ab3e
push esi
call fcn.0040a840
add esp, 4
mov byte [esi + edi + 0x28], bl
add edi, 1
cmp edi, 0x38
jne 0x40ab30
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.0040a840
mov edx, dword [esp + 0x18]
add esp, 4
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edi, dword [esi + eax*4]
bswap edi
bswap ecx
mov dword [edx], edi
mov dword [edx + 4], ecx
add eax, 2
add edx, 8
cmp eax, 8
jb 0x40ab73
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
pop ebx
ret
Function at 0x40ad50
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
push esi
mov esi, ecx
cmp dword [esi], 0x3f
jne 0x40adc3
xor eax, eax
cmp dword [esi + 4], eax
jbe 0x40ad72
mov cl, byte [esi + eax + 8]
mov byte [esi + eax + 0x20], cl
add eax, 1
cmp eax, dword [esi + 4]
jb 0x40ad62
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
jbe 0x40ad9e
lea esp, [esp]
cmp eax, 0x20
jae 0x40aecc
mov edx, dword [esi + 0x18]
mov dl, byte [ecx + edx]
mov byte [eax + esi + 0x20], dl
add ecx, 1
add eax, 1
cmp ecx, dword [esi + 0x1c]
jb 0x40ad80
cmp eax, 0x20
jae 0x40aecc
mov edx, 0x20
sub edx, eax
push edx
lea ecx, [eax + esi + 0x20]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
pop esi
add esp, 0x74
ret
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x1c]
push ebx
push ebp
lea eax, [eax + ecx + 8]
xor ebp, ebp
xor ebx, ebx
cmp eax, ebp
push edi
mov dword [esp + 0x10], eax
je 0x40ade7
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov edx, dword [esi + 4]
push edx
lea eax, [esi + 8]
push eax
push ebx
call sub.MSVCRT.dll_memcpy
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 4]
push ecx
push edx
add eax, ebx
push eax
call sub.MSVCRT.dll_memcpy
mov edi, dword [esi + 4]
add edi, ebx
add edi, dword [esi + 0x1c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov ecx, dword [esi]
add esp, 0x18
mov eax, 1
xor edx, edx
mov dword [esp + 0x1c], 0x6a09e667
mov dword [esp + 0x20], 0xbb67ae85
mov dword [esp + 0x24], 0x3c6ef372
mov dword [esp + 0x28], 0xa54ff53a
mov dword [esp + 0x2c], 0x510e527f
mov dword [esp + 0x30], 0x9b05688c
mov dword [esp + 0x34], 0x1f83d9ab
mov dword [esp + 0x38], 0x5be0cd19
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.004187d0
mov ebp, eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.0040aa50
add esp, 0xc
xor eax, eax
jmp 0x40ae90
add byte [eax + edi], 1
jne 0x40ae9e
add eax, 1
cmp eax, 8
jb 0x40ae90
mov eax, dword [esp + 0x18]
add ebp, 0xffffffff
adc eax, 0xffffffff
mov ecx, ebp
or ecx, eax
mov dword [esp + 0x18], eax
jne 0x40ae76
add esi, 0x20
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0040ab10
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x74
ret
Function at 0x4108bb
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4108e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4108e1
xor al, al
jmp 0x410901
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00418790
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x418200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420a80], ecx
add edx, 1
cmp edx, 0x100
jb 0x418202
cmp edx, 0x800
jae 0x4182eb
mov edi, edi
mov eax, dword [edx*4 + 0x420680]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420a80]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420a7c], eax
jb 0x4182c0
mov eax, 0x418ac0
mov dword [0x420a7c], eax
mov dword [0x422a80], eax
mov dword [0x420a78], 0x4189e0
call fcn.00418520
test eax, eax
jne 0x418317
mov dword [0x422a80], 0x4189e0
ret
Function at 0x406ac0
Capabilities:
Accept command line arguments
Get geographical location

Disassembly:
mov dword [0x7f6077], edx
lea ecx, [0x7f608a]
mov dword [ecx + 8], 0x89
mov dword [esp - 0x20], eax
xchg dword [0x7f6086], esi
mov eax, ebp
add dword [0x809d10], eax
mov esi, esp
add dword [0x809d0c], esi
mov esi, 8
add dword [0x809d0c], 4
mov dword [esp - 8], ebx
mov dword [0x7f6066], edx
mov dword [0x7f601d], esi
call sub.kernel32.dll_GetCommandLineA
mov dword [0x7f607d], ebx
sub dword [0x7f60c9], eax
cmp word [0x7f6058], 0
jge 0x406b25
inc edi
xchg dword [0x7f60a7], eax
mov dword [0x7f6025], ebx
mov dword [esp - 0x12], ecx
mov dword [0x7f6016], eax
mov dword [0x80a014], 1
call fcn.00402ca4
mov dword [0x7f60b5], edi
dec ebx
dec ecx
mov dword [0x7f60a7], ebx
push 0xff
push 0
push 0
mov eax, dword [0x80a014]
push eax
call sub.kernel32.dll_GetLocaleInfoA
call fcn.00402d6c
inc dword [0x80a014]
cmp dword [0x80a014], 2
jne 0x406b45
sub dword [0x7f6102], edx
add dword [0x7f60e9], esi
mov dword [0x7f60da], edx
mov byte [0x7f609f], 0x4f
dec ebx
call fcn.00402d6c
mov dword [0x7f60aa], ecx
mov dword [0x7f60f1], esi
mov dword [0x7f6022], eax
and dword [0x7f6065], ebx
mov dword [0x7f6083], 0x119f2
call fcn.00406c38
mov dword [0x7f6054], edx
mov dword [0x7f60ee], ebx
mov dword [0x7f6108], edi
call fcn.007f2838
mov dword [0x7f601f], 0x12974
and ebx, 0xc7
mov dword [0x7f60b4], esi
ret
Function at 0x407e4b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x407e55
repz ret
jmp fcn.0040dc7c

Function at 0x40ac81
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
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.00406260
and dword [ebp - 0x14], 0
cmp dword [0x449030], 0
mov dword [ebp - 0x18], eax
jne 0x40ad34
push 0x402228
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40addc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40221c
push ebx
call edi
test eax, eax
je 0x40addc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x40220c
push ebx
mov dword [0x449030], eax
call edi
push eax
call esi
push 0x4021f8
push ebx
mov dword [0x449034], eax
call edi
push eax
call esi
push 0x4021dc
push ebx
mov dword [0x449038], eax
call edi
push eax
call esi
mov dword [0x449040], eax
test eax, eax
je 0x40ad34
push 0x4021c4
push ebx
call edi
push eax
call esi
mov dword [0x44903c], eax
mov eax, dword [0x44903c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ad8d
cmp dword [0x449040], ecx
je 0x40ad8d
push eax
call esi
push dword [0x449040]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ad8d
test ebx, ebx
je 0x40ad8d
call edi
test eax, eax
je 0x40ad84
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ad84
test byte [ebp - 8], 1
jne 0x40ad8d
or dword [ebp + 0x10], 0x200000
jmp 0x40adc0
mov eax, dword [0x449034]
cmp eax, dword [ebp - 0x18]
je 0x40adc0
push eax
call esi
test eax, eax
je 0x40adc0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40adc0
mov eax, dword [0x449038]
cmp eax, dword [ebp - 0x18]
je 0x40adc0
push eax
call esi
test eax, eax
je 0x40adc0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449030]
call esi
test eax, eax
je 0x40addc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40adde
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407e4b
leave
ret
Function at 0x414780
Capabilities:
Connect pipe
Delete directory
Delete file
Get common file path
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
mov eax, 0x1414
call fcn.0040eb50
cmp dword [0x7f8b1c], 0x37
jne 0x414844
push 0x403430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
lea eax, [esp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403440
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
lea edx, [esp + 0x418]
push edx
push 0x403454
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov eax, dword [0x7f8f30]
mov edx, dword [0x7f8600]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1414
ret
Function at 0x414e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x7f8b1c]
sub esp, 0x484
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatA]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x414f16
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x40376c
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x403798
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x4486e0]
mov dword [0x7f8b1c], eax
jne 0x414eb5
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x4486d4]
mov dword [0x7f8f30], edx
call fcn.00414aa0
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Function at 0x7ffe53ad
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
stc
and bh, 0xff
cld
lea esp, [esp]
cld
and bh, 0xff
nop
lea esp, [esp]
cld
add eax, 0
clc
add eax, 0
clc
and bh, 0xff
stc
and bh, 0xff
nop
pushal
inc eax
popal
cld
push edx
cdq
pop edx
clc
add eax, 0
cld
pushal
inc eax
popal
nop
pushal
inc eax
popal
nop
pushal
inc eax
popal
stc
pushal
inc eax
popal
clc
push edx
cdq
pop edx
nop
add eax, 0
cld
and bh, 0xff
nop
and bh, 0xff
cld
pushal
inc eax
popal
cld
push edx
cdq
pop edx
cld
add eax, 0
cld
add eax, 0
cld
pushal
inc eax
popal
clc
and bh, 0xff
cld
push edx
cdq
pop edx
cld
pushal
inc eax
popal
nop
clc
call 0x7ffe5426
pop edx
nop
lea esp, [esp]
push eax
pop eax
stc
xor dx, dx
cld
and bh, 0xff
add edx, 0xd5e0
cld
lea esp, [esp]
add eax, 0
xor ecx, ecx
mov cl, 0x1e
push edx
cdq
pop edx
cld
pushal
inc eax
popal
cld
clc
xor byte [ecx + edx], 0xdc
loop 0x7ffe544f
clc
push edx
cdq
pop edx
push dword fs:[0x24]
nop
and bh, 0xff
cld
cld
cld
pop dword [edx + 0xa]
and bh, 0xff
lea esp, [esp]
mov cl, 0xff
cld
push edx
loop 0x7ffe5473
stc
stc
mov dword [edx + 0x11], 0xffffacbb
stc
pushal
inc eax
popal
and bh, 0xff
mov ecx, dword [eax + 0x2c]
stc
cld
mov dword [edx + 0x1b], ecx
add eax, 0
cld
nop
mov dword [edx + 0x100], ecx
nop
and bh, 0xff
cld
nop
mov dword [eax + 0x2c], esp
cld
lea esp, [esp]
cld
push 0
cld
cld
push 0
pushal
inc eax
popal
nop
lea esp, [esp]
cld
stc
push 0
cld
cld
push 0
nop
and bh, 0xff
clc
pushal
inc eax
popal
clc
push 0x30
cld
cld
push 0x20
and bh, 0xff
push 0
push 0
cld
pushal
inc eax
popal
stc
add edx, 0xffff7f33
pushal
inc eax
popal
lea esp, [esp]
push edx
stc
push edx
stc
push edx
cdq
pop edx
nop
cld
cld
cld
push 0
cld
cld
clc
call dword [edx + 0x8210]
cld
nop
add esp, 0x3f8
lea esp, [esp]
cld
nop
xor eax, eax
inc eax
clc
push edx
cdq
pop edx
push edx
cdq
pop edx
ret 0xc
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
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 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
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 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x9bf5b0a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..7LWLf
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x72d76cb1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219