joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x48b225
cmp dword [ebp + 0xc], 0xa
jae 0x48b236
mov dword [ebp - 0x10], 0xffffffff
jmp 0x48b30d
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.004a3dc4
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0048b130
add esp, 0x14
test eax, eax
je 0x48b306
push 0x43e27c
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004a3fe2
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x48b29b
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x48b30d
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
call fcn.004a4197
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 8]
je 0x48b2c7
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x48b30d
call dword [0x436248]
xor edx, edx
mov ecx, 0x1f4
div ecx
mov dword [ebp - 0x20], edx
call dword [0x436248]
xor edx, edx
mov ecx, 0x3e8
div ecx
add edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004a4197
add esp, 0x10
jmp 0x48b30d
mov dword [ebp - 0x10], 0xfffffffd
cmp dword [ebp - 0x14], 0
je 0x48b31f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004a4290
add esp, 4
cmp dword [ebp - 4], 0
je 0x48b331
mov eax, dword [ebp - 4]
push eax
call fcn.004a3e8e
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x48ea20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x48ea30
xor eax, eax
jmp 0x48ebcd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x48eb8e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x43d5c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x43d5c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x43d5c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x43d5c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x43d5c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x43d5c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x43d5c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x43d5c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x48ea39
cmp dword [ebp + 0x10], 0
je 0x48ebc7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x43d5c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x48eb94
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x20
call sym.___main
mov dword [esp], str.Write_a_number:
call sym._printf
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0x405075
call sym._scanf
mov eax, dword [esp + 0x1c]
cmp eax, 0x95
jg 0x4014a7
mov dword [esp], str.oleg_hui
call sym._puts
jmp 0x4014cc
mov eax, dword [esp + 0x1c]
cmp eax, 0x96
jle 0x4014c0
mov dword [esp], str.ti_hui
call sym._puts
jmp 0x4014cc
mov dword [esp], str.pidarok
call sym._puts
mov dword [esp], str.pause
call sym._system
mov eax, 0
leave
ret
Function at 0x467760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
jmp 0x46777a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467770
mov eax, 1
add ebx, ebx
jne 0x467793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4677a4
jne 0x4677c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677c3
dec eax
add ebx, ebx
jne 0x4677b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467788
add ebx, ebx
jne 0x4677bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467815
xor ecx, ecx
sub eax, 3
jb 0x4677db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46784a
sar eax, 1
mov ebp, eax
jmp 0x4677e6
add ebx, ebx
jne 0x4677e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677b4
inc ecx
add ebx, ebx
jne 0x4677f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4677b4
add ebx, ebx
jne 0x467801
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4677f6
jne 0x467812
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4677f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467834
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467826
jmp 0x467776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467834
add edi, ecx
jmp 0x467776
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467852
cmp byte [edi], 0
jne 0x467852
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 0x467857
mov ebp, dword [esi + 0x676d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4678b2
sub esp, 0xffffff80
jmp 0x407c28

Function at 0x40893e
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
push edi
pop edx
call fcn.0040896c
add edi, 1
xor dword [eax], esi
mov edi, 0x4716d78b
add edx, 0x69623361
add eax, 1
add edi, edx
dec edi
cmp eax, ebx
jne fcn.0040893e
ret
Function at 0x40ea50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb40
push ebx
push 0x40eb50
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ead0
mov al, 0x6a
call fcn.0040e660
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea24
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ead9
call fcn.0040ea24
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb2c
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ed0b
jmp 0x40ecff
cmp dword [esi + 0x10], 0x1000
jne 0x40eceb
test byte [esi + 0x15], 1
jne 0x40eceb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec9c
cmp ebp, 2
je 0x40ec9c
cmp ebp, 0x10
je 0x40ec9c
cmp ebp, 0x20
jne 0x40ecb8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40ecb8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecc9
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec38
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40ecbc
cmp byte [esp + 4], 0
je 0x40eceb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ed0b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec71
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40893d
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
sub edi, 0xc3c57734
call fcn.0040895d
xor dword [ecx], edx
inc ecx
cmp ecx, esi
jne fcn.0040893d
ret
Function at 0x406420
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046f4
call fcn.00407081
push 4
mov dword [esp + 0x18], 0
call fcn.00407f26
mov edi, eax
add esp, 4
test edi, edi
je 0x406494
push ebx
call fcn.00406f59
mov dword [edi], eax
call fcn.00406d18
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407042
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406488
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040706a
pop ebx
jmp 0x406496
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408991
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d520]
jne 0x40899b
repz ret
jmp fcn.0040d0ec
Function at 0x411d32
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d520]
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.0040b091
and dword [ebp - 0x14], 0
cmp dword [0x430374], 0
mov dword [ebp - 0x18], eax
jne 0x411de5
push 0x403954
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403948
push ebx
call edi
test eax, eax
je 0x411e8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403938
push ebx
mov dword [0x430374], eax
call edi
push eax
call esi
push 0x403924
push ebx
mov dword [0x430378], eax
call edi
push eax
call esi
push 0x403908
push ebx
mov dword [0x43037c], eax
call edi
push eax
call esi
mov dword [0x430384], eax
test eax, eax
je 0x411de5
push 0x4038f0
push ebx
call edi
push eax
call esi
mov dword [0x430380], eax
mov eax, dword [0x430380]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411e3e
cmp dword [0x430384], ecx
je 0x411e3e
push eax
call esi
push dword [0x430384]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411e3e
test ebx, ebx
je 0x411e3e
call edi
test eax, eax
je 0x411e35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411e35
test byte [ebp - 8], 1
jne 0x411e3e
or dword [ebp + 0x10], 0x200000
jmp 0x411e71
mov eax, dword [0x430378]
cmp eax, dword [ebp - 0x18]
je 0x411e71
push eax
call esi
test eax, eax
je 0x411e71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e71
mov eax, dword [0x43037c]
cmp eax, dword [ebp - 0x18]
je 0x411e71
push eax
call esi
test eax, eax
je 0x411e71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x430374]
call esi
test eax, eax
je 0x411e8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408991
leave
ret
Function at 0x4292b0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b5100], 0x37
jne 0x429348
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404228
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404240
push 0x404290
push 0x4042d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b5104]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x435164]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x4295b0
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file
Read .ini file

Disassembly:
mov eax, dword [0x7b5100]
mov ecx, dword [0x435164]
sub esp, 0xdbc
push ebx
push ebp
shr eax, 3
xor ebx, ebx
push esi
push edi
cmp eax, ebx
jbe 0x4297c4
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4295e6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b5100], 0x1c
jne 0x4295fd
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], 0x20
jmp 0x42963a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x30]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b4084], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b4084], eax
mov edx, dword [0x7b4084]
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b5100], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x4296d4
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0x7b5100], 0x979
mov dword [0x7b4088], 0xff6b3619
mov dword [0x7b408c], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x42973f
push 0x404120
push 0
lea eax, [esp + 0x5d0]
push eax
push 0x404198
push 0x4041b8
push 0x404214
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea ecx, [esp + 0x1cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7b5100]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x429761
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x429638
cmp eax, 0x8d4
jne 0x42977d
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x7b5100], 0x17
jne 0x4297b3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x4295e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdbc
ret
Function at 0x403e0d
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x403e0f
ret

Function at 0x405730
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov esi, dword [eax - 0x7d]
in al, dx
or bh, dl
jecxz 0x405796
or byte [edi + 0x33], dl
inc eax
test ebx, ebx
invalid
push esi
push ebx
mov dword [ebp - 4], esi
call fcn.00406d60
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 4], 2
jne 0x4057ce
mov edx, dword [esi]
push 1
push 0
push 0
push edx
call fcn.0040a4b0
cmp eax, 0xec011176
aam 0x12
sbb edi, esi
add byte [ecx - 0x38f81500], al
mov dword [edi + ecx*2], eax
add byte [eax], al
test eax, 0x850876f8
div byte [ebp - 0x30]
clc
jbe 0x4057d9
test esi, esi
jne 0x4057a5
out dx, al
lds edx, [0xfc758bda]
mov esi, dword [ebp - 4]
test esi, esi
ja 0x405803
jl 0x4057e0
cmp ebx, 0x2dc6c0
jecxz 0x405803
push esi
push ebx
call 0x413c1d
push 0
push 2
das
push ebx
call 0x64b5e7
mov esi, dword [edx - 0x1403aa77]
popfd
mov ebx, dword [ebp + 0x2e]
mov esi, ebx
cmp dword [esi + 4], 2
jne 0x405818
mov eax, dword [esi]
push 9
push eax
sbb edi, dword [eax - 0x7b38ffb5]
jbe 0x405823
test byte [esi + 8], dh
dec ebp
jne 0x405808
mov esi, ebx
mov esp, dword [edx + 0x74ac8504]
add cl, byte [ebx + 0x6a006a0e]
add byte [edx], ch
add al, 0x85
lodsb al, byte [esi]
je 0x40582a
mov ecx, dword [esi]
push 0
push 0
push 0
out dx, al
call 0x8c40a4b0
in eax, dx
jbe 0x405841
imul esi, esi, 0x5fbfe454
pop ebx
mov esp, ebp
pop ebp
in eax, 0x5d
sub byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop
Function at 0x437230
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x418015
lea edi, [esi - 0x17015]
push edi
jmp 0x43724a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x437251
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x437240
mov eax, 1
add ebx, ebx
jne 0x437263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x437258
jne 0x437274
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x437258
xor ecx, ecx
sub eax, 3
jb 0x437288
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4372fa
mov ebp, eax
add ebx, ebx
jne 0x437293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4372a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4372c4
inc ecx
add ebx, ebx
jne 0x4372b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4372a5
jne 0x4372c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4372a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4372e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4372d5
jmp 0x437246
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4372e4
add edi, ecx
jmp 0x437246
pop esi
mov edi, esi
mov ecx, 0x1a9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x437302
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x437307
lea edi, [esi + 0x35000]
mov eax, dword [edi]
or eax, eax
je 0x43736f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x37698]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x37718]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43732d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x37720]
or eax, eax
je 0x437369
mov dword [ebx], eax
add ebx, 4
jmp 0x43734a
call dword [esi + 0x3771c]
mov ebp, dword [esi + 0x37724]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x373ca]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4373bb
sub esp, 0xffffff80
jmp 0x414ac0
Function at 0x423850
Capabilities:
Hash data using sha256

Disassembly:
push ebp
jmp 0x4238b2
ret
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
pop ebp
je 0x423883
jne 0x423883
jmp dword [0x41e104]
Function at 0x467b40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, eax
push esi
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
sub edx, edx
add eax, ecx
push edi
or ebx, ebx
je 0x467b7c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x467b74
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x467b7e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x467b64
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x467c50
Capabilities:
Parse pe header

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