joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a40
Capabilities:
Get disk information

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0xc
mov eax, dword [0x4110fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
lea eax, [esi + 0x43]
push eax
lea eax, [ebp - 0xc]
push str._c:_
push eax
call fcn.00401cb9
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x401a7d
inc esi
cmp esi, 0xd
jl 0x401a53
lea eax, [ebp - 0xc]
push eax
call fcn.00401ab2
test eax, eax
pop ecx
pop esi
je 0x401aa4
push 2
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.004015f3
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x401aa6
sub eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401caa
leave
ret

Function at 0x401ab2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4110fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x108]
push str._sreadme.1xt
push eax
sub esi, esi
call fcn.00401cb9
add esp, 0xc
push esi
push esi
push 1
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x401afe
inc esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00401caa
leave
ret

Function at 0x401b21
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x4348f4]
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00402ce6
push dword [esp + 0x24]
call fcn.00401df1
pop ecx
pop ecx
call fcn.00401dfe
xor edx, edx
mov ecx, 0x4538
div ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
sub edi, edi
push edi
push edi
push 3
push edi
push edi
push 0x80000000
push dword [esp + 0x44]
push edx
pop esi
add esi, 0x8ff1
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
mov dword [esp + 0x1c], eax
call ebp
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x401b91
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push 3
push edi
push 2
push 0x40000000
push dword [esp + 0x30]
call ebx
push eax
pop ebx
push edi
push ebx
call ebp
mov ecx, 0x16e360
cmp dword [esp + 0x10], ecx
jbe 0x401bc4
sub esi, eax
add esi, ecx
jmp 0x401bcd
cmp dword [esp + 0x10], eax
ja 0x401bcd
sub esi, esi
inc esi
push esi
call fcn.00402d80
pop ecx
push 2
push edi
push edi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401bfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
sub eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x401c0b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4110fc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x258]
push ecx
push eax
lea eax, [ebp - 0x114]
push str._s_s
push eax
sub ebx, ebx
mov dword [ebp - 0x258], 0x2a2e2a
call fcn.00401cb9
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401c99
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [ebp - 0x254]
push eax
push edi
call esi
test eax, eax
je 0x401c99
cmp ebx, 4
jge 0x401c94
lea eax, [ebp - 0x254]
push eax
push edi
inc ebx
call esi
test eax, eax
jne 0x401c7b
cmp ebx, 4
jl 0x401c99
sub eax, eax
inc eax
jmp 0x401c9b
sub eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401caa
leave
ret

Function at 0x401caa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4110fc]
jne 0x401cb4
repz ret
jmp fcn.00403039

Function at 0x403d3b
Capabilities:
Terminate process

Disassembly:
push ebp
push esp
pop ebp
push dword [0x434164]
call fcn.004041ee
test eax, eax
pop ecx
je 0x403d51
pop ebp
jmp eax
push 2
call fcn.004077da
pop ecx
pop ebp
jmp fcn.00403c3f
Function at 0x404531
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push edi
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x40454c
call fcn.00404284
sub eax, eax
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x434168], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x43416c], eax
call esi
push str.FlsFree
push edi
mov dword [0x434170], eax
call esi
cmp dword [0x434168], 0
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x434174], eax
je 0x4045ac
cmp dword [0x43416c], 0
je 0x4045ac
cmp dword [0x434170], 0
je 0x4045ac
test eax, eax
jne 0x4045d0
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x43416c], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x434168], 0x404251
mov dword [0x434170], esi
mov dword [0x434174], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x411284], eax
je 0x4046b0
push dword [0x43416c]
push eax
call esi
or eax, eax
je 0x4046b0
call fcn.004069c2
push dword [0x434168]
call fcn.00404182
push dword [0x43416c]
mov dword [0x434168], eax
call fcn.00404182
push dword [0x434170]
mov dword [0x43416c], eax
call fcn.00404182
push dword [0x434174]
mov dword [0x434170], eax
call fcn.00404182
add esp, 0x10
mov dword [0x434174], eax
call fcn.00408ff4
or eax, eax
je 0x4046ab
push 0x404410
push dword [0x434168]
call fcn.004041ee
pop ecx
call eax
cmp eax, 0xffffffff
mov dword [0x411280], eax
je 0x4046ab
push 0x214
push 1
call fcn.0040517d
push eax
pop esi
or esi, esi
pop ecx
pop ecx
je 0x4046ab
push esi
push dword [0x411280]
push dword [0x434170]
call fcn.004041ee
pop ecx
call eax
test eax, eax
je 0x4046ab
push 0
push esi
call fcn.004042c1
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x4046b2
call fcn.00404284
xor eax, eax
pop esi
pop edi
ret
Function at 0x4070e0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x4346e8]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
sub ebx, ebx
sub esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x407129
call edi
mov esi, eax
cmp esi, ebx
je 0x407110
mov dword [0x4346e8], 1
jmp 0x407132
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x407124
mov eax, ebp
mov dword [0x4346e8], eax
jmp 0x407129
mov eax, dword [0x4346e8]
cmp eax, 1
jne 0x4071b6
cmp esi, ebx
jne 0x407145
call edi
mov esi, eax
cmp esi, ebx
jne 0x407145
xor eax, eax
jmp 0x40720e
cmp word [esi], bx
push esi
pop eax
je 0x40715a
add eax, ebp
cmp word [eax], bx
jne 0x40714c
add eax, ebp
cmp word [eax], bx
jne 0x40714c
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
push eax
pop ebp
cmp ebp, ebx
je 0x4071ab
push ebp
call fcn.0040513d
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x4071ab
push ebx
push ebx
push ebp
push eax
push dword [esp + 0x24]
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x4071a7
push dword [esp + 0x10]
call fcn.0040504a
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x40720e
cmp eax, ebp
je 0x4071be
cmp eax, ebx
jne 0x40713e
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push eax
pop esi
cmp esi, ebx
je 0x40713e
cmp byte [esi], bl
je 0x4071dc
inc eax
cmp byte [eax], bl
jne 0x4071d2
inc eax
cmp byte [eax], bl
jne 0x4071d2
sub eax, esi
inc eax
push eax
pop ebp
push ebp
call fcn.0040513d
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x4071fa
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x40713e
push ebp
push esi
push edi
call fcn.00405260
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
sub ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
or esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
xor eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
test eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
test eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41959d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041ce03
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041ce03
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x419633
mov dword [ebp - 0x18], esp
mov eax, 0x10
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x419630
push 6
call fcn.0041ce15
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x11
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x41965f
push 6
call fcn.0041ce15
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x12
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x41968d
push 6
call fcn.0041ce15
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x409875
push 0
mov eax, 0x13
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x4196b9
push 6
call fcn.0041ce15
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x14
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x419748
push 6
call fcn.0041ce15
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 3
call fcn.0041ce21
cmp dword [ebp - 0x18], esp
je 0x41976d
push 6
call fcn.0041ce15
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x419775
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041ce0f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041ce0f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4c951e
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], dh
mov ecx, dword [esp + 0x5c]
lea esp, [esp + 0x80]
jmp 0x4b201b

Function at 0x4de4b9
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
pop dword [esp + 0x12]
jmp 0x4de4d9
mov edi, dword [edi*4 + reloc.KERNEL32.dll_HeapAlloc]
pushal
jmp 0x4de4a2
mov edi, dword [edi*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 0x18
lea esp, [esp + 0x15]
jmp 0x4de5c4
and edi, ecx
sub esp, 0x1a
mov word [esp + 4], di
lea esp, [esp + 2]
jmp 0x4de4c3
movzx ebx, byte [esi + 2]
pushal
pop word [esp + 5]
mov byte [esp + 0xf], dh
lea esp, [esp + 2]
jmp 0x4de4fa
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 0xa
mov bl, byte [esp + 1]
add esp, 9
lea esp, [esp + 1]
jmp 0x4de514
lea esp, [esp + 3]
and ebx, ecx
pushal
lea esp, [esp + 0x58]
jmp 0x4de540

Function at 0x4de616
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 0x50]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
mov edx, dword [esi + 4]
jmp 0x4de61f
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
mov edi, dword [esp]
mov di, 0x3525
lea edi, [esi - 0xd]
jmp 0x4de651
push word [esp + 0x13]
lea esp, [esp + 2]
jmp 0x4de5d4
push dword [esp + 2]
and edx, ecx
pushal
jmp 0x4de5fe
mov dword [esi], edi
rol di, cl
mov di, word [esp]
mov di, 0xd173
lea edi, [ecx + edi]
jmp 0x4de5e4

Function at 0x4de68f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 2]
jmp 0x4de8f2
push ebx
mov ebx, edi
lea ebx, [ebx*4]
lea ebx, reloc.KERNEL32.dll_HeapAlloc
jmp 0x4de76b
and ebx, ecx
lea esp, [esp + 0x20]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
setge bl
jmp 0x4de74e
add esp, 0x15
mov dword [esp + 3], ecx
lea esp, [esp + 3]
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 0x18
call fcn.004de6d8
pop word [esp + 0x17]
lea esp, [esp + 2]
jmp 0x4de6da
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
btr ebx, esp
bts ebx, esp
movzx ebx, byte [esi + 6]
pushal
jmp 0x4de6f2
and edx, ecx
cmc
call fcn.004de851
cmp esi, dword [eax + reloc.KERNEL32.dll_HeapAlloc]
daa
lodsd eax, dword [esi]
cmp eax, 0x3c71b744
jge 0xb65d136f
lea ebx, [esp + ebp]
movzx ebx, byte [esi + 9]
sub esp, 6
lea esp, [esp + 2]
pop esi
or dword [ebx + reloc.KERNEL32.dll_HeapAlloc], eax
and al, 2
jmp 0x4de738
mov edi, dword [ebx]
pop ebx
and ebx, ecx
lea esp, [esp + 0x40]
jmp 0x4de724
and edi, ecx
push edx
sub esp, 0xe
cmc
lea esp, [esp + 2]
jmp 0x4de698
Function at 0x4de6d1
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x4de3cc
movzx ebx, byte [esi + 0x11]
bswap edx
lea edi, [ecx*4]
xchg edx, edi
jmp 0x4de67a
bsr di, bp
pushal
cmc
lea esp, [esp + 0x20]
mov ecx, 0xff
jmp 0x4b020f
lea esp, [esp + 4]
lea ecx, [eax - 1]
shr ebx, 0xb
mov dword [ebp - 4], ecx
jmp 0x4de3f0
add esi, 0x10
call fcn.004de461
push eax
mov eax, ebx
lea eax, [eax*4]
lea eax, reloc.KERNEL32.dll_HeapAlloc
jmp 0x4de528
mov ebx, dword [eax]
pop eax
jmp 0x4de584
and ebx, ecx
call 0x4de56d
and edx, ecx
sub esp, 0xa
lea esp, [esp + 2]
jmp 0x4de645
mov edx, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
call fcn.004de616
mov edi, edx
sub esp, 6
pushal
lea esp, [esp + 2]
jmp 0x4de6b7
mov edi, dword [edi*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 8
push word [esp + 5]
call fcn.004de68f
xchg esp, eax
sbb ecx, dword [ebx - 0x151e212]
leave
push 0x2c9d1c8b
movsb byte es:[edi], byte [esi]
dec ebx
add byte [eax + 0x66], ah
mov edi, dword [esp]
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
pushal
mov di, word [esp]
lea esp, [esp + 0x20]
jmp 0x4de4f2
shr edi, 0x18
sub esp, 2
stc
lea esp, [esp + 2]
jmp 0x4de65d
xchg ch, dl
jmp 0x4de40e

Function at 0x4de82f
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 1
push word [esp]
lea esp, [esp + 1]
push esi
jmp 0x4de80b

Function at 0x4de851
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0xe
lea esp, [esp + 2]
push ecx
mov ecx, esi
jmp 0x4de7fa
xor edi, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
adc edx, esi
bsr dx, bp
bsr dx, bp
jmp 0x4de776
lea esp, [esp + 2]
and edx, ecx
cmc
lea esp, [esp + 8]
jmp 0x4de796
mov edi, dword [esp]
jmp 0x4de821
mov di, word [esp]
inc edi
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
rol edi, 0x1b
bswap edi
jmp 0x4de7bb
lea ecx, [ecx + 8]
mov edx, dword [ecx]
pop ecx
mov dword [esi + 4], edi
jmp 0x4de7d2
push edx
call fcn.004de82f
mov esi, edi
jmp 0x4de8d2
mov edi, edx
sub esp, 0x1a
lea esp, [esp + 2]
shr edi, 0x18
jmp 0x4de805
mov edx, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 2
jmp 0x4de7ae
and edi, ecx
call fcn.004de879
lea esp, [esp + 0x50]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
bswap ebx
neg ebx
jmp 0x4de9e3
lea esi, [esi*4]
lea esi, reloc.KERNEL32.dll_HeapAlloc
mov edi, dword [esi]
pop esi
jmp 0x4de893
mov edi, edx
jmp 0x4de9ed
movzx ebx, byte [esi + 0xa]
pushal
call fcn.004de96b
shr edi, 0x18
call 0x4de9f6
out dx, eax
call fcn.004dea8e
clc
je 0x4de9e8
lea edi, [edi + edi*4 - 0x12]
popal
int1
nop
arpl cx, dx
and byte [ebx - 0x66], ah
cmc
in al, 0x66
bsf edi, eax
mov edi, 0x9400122
jmp 0x4de9cc

Function at 0x4de879
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
and ebx, ecx
sub esp, 2
mov byte [esp], bh
lea esp, [esp + 1]
sub esp, 0x16
jmp 0x4de8b9
mov edi, dword [edi*4 + reloc.KERNEL32.dll_HeapAlloc]
sub esp, 0xe
lea esp, [esp + 2]
jmp 0x4de860
lea esp, [esp + 3]
jmp 0x4de89a
Function at 0x4de902
Capabilities:
Encrypt data using aes

Disassembly:
and ebx, ecx
lea esp, [esp + 0x40]
jmp 0x4de90e
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_HeapAlloc]
clc
movzx ebx, byte [esi + 0xd]
jmp 0x4de948
and edx, ecx
mov edx, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
and edx, ecx
jmp 0x4de9b2
setle dh
stc
clc
jmp 0x4de99b
lea eax, [eax + 0xc]
mov edx, dword [eax]
pop eax
sub esp, 4
lea esp, [esp + 3]
call fcn.004de9c8
cwde
and esi, dword [ebx - reloc.KERNEL32.dll_HeapAlloc]
cli
popfd
insb byte es:[edi], dx
fist word [ecx]
nop
push eax
mov eax, esi
jmp 0x4de97b
stc
push esp
lea esp, [esp + 4]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_HeapAlloc]
lea edx, [edi*4]
jmp 0x4de955

Function at 0x5892d1
Capabilities:
Parse pe header

Disassembly:
pop dword [esp + 4]
pop word [esp + 1]
lea esp, [esp + 2]
jmp 0x58926b
mov dword [esp + 0x50], ebx
pushal
pop word [esp + 0x13]
call fcn.005892c3
insd dword es:[edi], dx
stc
imul ecx, dword [eax], reloc.KERNEL32.dll_HeapAlloc
invalid
je 0x5892a8
pop ds
mov dword [esp + 0x78], esp
push edx
push dword [esp + 2]
mov word [esp], di
call 0x5892d1
scasb al, byte es:[edi]
aas
scasd eax, dword es:[edi]
retf 0xee39
or ah, byte [esi - 1]
je 0x5892d1
pop es
push edx
lea esp, [esp + 2]
jmp 0x589288
sbb eax, 0x24448f66
sbb eax, 0x648dd1eb
and al, 1
lea esp, [esp + 1]
call fcn.00589363
cmp byte [edx + 0x1ca25730], ah
jp 0x5892c9
ja 0x5892f6
loope 0x58932c
lcall 0x74ff, 0x6617e4f5
and al, 0xb
pop word [esp + 1]
push dword [esp + 0xc]
and al, 0xc
push word [esp + 1]
call fcn.00589252
lea esp, [esp + 9]
mov byte [esp + 0xb], ah
lea esp, [esp + 0x14]
lea esp, [esp]
lea esp, [esp + 3]
mov dword [esp + 0x84], esi
jmp 0x58937f
add dword [ecx + reloc.KERNEL32.dll_HeapAlloc], ecx
add byte [eax], al
pushal
push dword [esp + 0x18]
mov word [esp + 0x1e], di
jmp 0x589302
push esp
push dword [esp]
call fcn.00589369
pop edx
fisttp word [edi + 0x2a]
fld dword [ecx]
mov al, 0x30
cmpsb byte [esi], byte es:[edi]
sal dword [eax], 0xd1
lodsd eax, dword [esi]
mov esp, 0x124648d

Function at 0x589329
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0x84], ebp
Function at 0x589458
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push eax
jmp 0x58700f
call fcn.00587014
jmp 0x5893c4
movzx ebx, word [eax + 0x3c]
jmp 0x589412
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x5893f5
je 0x58909d
sub eax, 0x10000
jmp 0x5893c8
add ebx, eax
cmp word [ebx], 0x4550
je 0x586698
jne 0x5893fb
inc esi
into
pop esp
cmp edx, esi
add dl, ah
arpl bx, si
xchg esi, eax
mov word gs:[edx], gs
movsb byte es:[edi], byte [esi]
cmp bl, byte [ebp - 0x54]
inc edx
pop esp
rol dword [ecx + 0x20], 1
sal dword [ebx], cl
ficom word [edx - 0x40]
cmpsd dword [esi], dword es:[edi]
push edx
mov ecx, 0x2247d75c
sar dword [edx + ebx*8], 1
dec eax
fidivr word [ecx - 0x1a8b55b8]
jne 0x58946b
out dx, eax
add al, 0x86
push ss
test bl, ah
push ds
mov ecx, 0x2474ff07
push dword [esp + 1]
lea esp, [esp + 3]
invalid
ja 0x589462
invalid
invalid
xor al, 0xc5
lodsd eax, dword [esi]
cmp dword [ecx - reloc.KERNEL32.dll_HeapAlloc], ebp
sbb cl, byte [eax - 0x124ce511]
jg 0x589469
mov bh, byte [ecx + 0x31]
lds edx, [eax - 0x3a]
mov eax, dword [reloc.KERNEL32.dll_HeapAlloc]
pop ebp
and al, 0xd7
imul eax, ebp, 0x5e
int3