joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b73
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x408130
call fcn.00404904
mov edi, 0x94
mov eax, edi
call fcn.00404950
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x412abc], ecx
mov eax, dword [esi + 4]
mov dword [0x412ac8], eax
mov edx, dword [esi + 8]
mov dword [0x412acc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x412ac0], esi
cmp ecx, 2
je 0x403bd3
or esi, 0x8000
mov dword [0x412ac0], esi
shl eax, 8
add eax, edx
mov dword [0x412ac4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x403c0e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403c0e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x403c26
cmp eax, 0x20b
je 0x403c13
mov dword [ebp - 0x1c], esi
jmp 0x403c3a
cmp dword [ecx + 0x84], 0xe
jbe 0x403c0e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x403c34
cmp dword [ecx + 0x74], 0xe
jbe 0x403c0e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.004048b1
pop ecx
test eax, eax
jne 0x403c66
cmp dword [0x412aac], 1
jne 0x403c53
call fcn.0040405a
push 0x1c
call fcn.00403ee3
push 0xff
call fcn.00403d4c
pop ecx
pop ecx
call fcn.0040480f
mov dword [ebp - 4], esi
call fcn.00404664
test eax, eax
jge 0x403c7f
push 0x1b
call fcn.00403b4e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x412ff4], eax
call fcn.00404542
mov dword [0x412aa4], eax
call fcn.004044a0
test eax, eax
jge 0x403ca5
push 8
call fcn.00403b4e
pop ecx
call fcn.0040426d
test eax, eax
jge 0x403cb6
push 9
call fcn.00403b4e
pop ecx
call fcn.00403d7c
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x403cc9
push eax
call fcn.00403b4e
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00404204
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x403cea
movzx eax, word [ebp - 0x34]
jmp 0x403ced
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.004034ab
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x403d0b
push edi
call fcn.00403ea3
call fcn.00403ec5
jmp 0x403d3d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0040493f
ret
Function at 0x403de1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x412afc], esi
push edi
jne 0x403e01
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x412af8], esi
mov byte [0x412af4], al
jne 0x403e67
mov ecx, dword [0x412fe8]
test ecx, ecx
je 0x403e48
mov eax, dword [0x412fe4]
sub eax, 4
cmp eax, ecx
jmp 0x403e41
mov eax, dword [eax]
test eax, eax
je 0x403e33
call eax
mov eax, dword [0x412fe4]
sub eax, 4
cmp eax, dword [0x412fe8]
mov dword [0x412fe4], eax
jae 0x403e2b
mov eax, 0x40a01c
mov esi, 0x40a020
cmp eax, esi
mov edi, eax
jae 0x403e67
mov eax, dword [edi]
test eax, eax
je 0x403e60
call eax
add edi, 4
cmp edi, esi
jb 0x403e58
mov eax, 0x40a024
mov esi, 0x40a028
cmp eax, esi
mov edi, eax
jae 0x403e86
mov eax, dword [edi]
test eax, eax
je 0x403e7f
call eax
add edi, 4
cmp edi, esi
jb 0x403e77
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x403ea1
push dword [ebp + 8]
mov dword [0x412afc], 1
call fcn.00403d4c
pop ecx
pop ebp
ret

Function at 0x403ee3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x412970]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x412848]
je 0x403f10
inc eax
cmp eax, 0x12
jb 0x403f01
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x412848]
jne 0x404044
mov eax, dword [0x412aac]
cmp eax, 1
je 0x40401f
cmp eax, edx
jne 0x403f40
cmp dword [0x412844], 1
je 0x40401f
cmp ecx, 0xfc
je 0x404044
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403f79
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00404b50
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00404d80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403fbb
lea eax, [ebp - 0x10c]
push eax
call fcn.00404d80
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4084a0
push edi
call fcn.00404c50
add esp, 0x10
push edi
call fcn.00404d80
push dword [esi + 0x41284c]
mov ebx, eax
call fcn.00404d80
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00404950
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00404b50
push edi
push ebx
call fcn.00404b60
push 0x408480
push ebx
call fcn.00404b60
push dword [esi + 0x41284c]
push ebx
call fcn.00404b60
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00404a49
add esp, 0x2c
jmp 0x404044
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x41284c]
push dword [esi]
call fcn.00404d80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00404e3c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404a49
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x412c14], ebx
push esi
push edi
jne 0x404ac9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x404b04
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x412c14], eax
je 0x404b04
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x412c18], eax
call esi
cmp dword [0x412abc], 2
mov dword [0x412c1c], eax
jne 0x404ac9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x412c24], eax
je 0x404ac9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x412c20], eax
mov eax, dword [0x412c20]
test eax, eax
je 0x404b0e
call eax
test eax, eax
je 0x404af5
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x412c24]
test eax, eax
je 0x404af5
test byte [ebp - 8], 1
jne 0x404b0e
cmp dword [0x412ac8], 4
jb 0x404b08
or byte [ebp + 0x12], 0x20
jmp 0x404b2d
xor eax, eax
jmp 0x404b3d
or byte [ebp + 0x12], 4
jmp 0x404b2d
mov eax, dword [0x412c18]
test eax, eax
je 0x404b2d
call eax
mov ebx, eax
test ebx, ebx
je 0x404b2d
mov eax, dword [0x412c1c]
test eax, eax
je 0x404b2d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x412c14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4071f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00404950
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40728d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x412abc]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x40728d
cmp eax, 1
je 0x4072a5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40728d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x407262
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x407289
xor eax, eax
inc eax
jmp 0x4072c1
cmp esi, ebx
jae 0x407291
xor eax, eax
jmp 0x4072c1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x412abc]
jmp 0x4072a7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7a096af2
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x7a096ef9
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x7a096b20
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x7a096b2c
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x7a096fba
cmp dword [0x7a20a03c], edi
je 0x7a1076cc
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
je 0x7a096fba
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x7a096fb1
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi]
jne 0x7a096fb1
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 4]
jne 0x7a096fb1
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x7a096fb0
push edi
push edi
push edi
push 2
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x7a096fb0
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x7a096fa7
xor ecx, ecx
inc ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x7a096b2f
push eax
lea ecx, [ebp - 0x118]
call fcn.7a0afae6
cmp dword [ebp - 0x118], 0x55464131
jne 0x7a107705
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x7a096f27
or dword [ebp + 8], 0xffffffff
jmp 0x7a096f2a
Function at 0x7a099652
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.7a0963ee
inc eax
push 0x18
mov dword [ebp - 4], eax
call fcn.7a09152c
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x7a0996f3
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], ebx
cmp dword [0x7a20a03c], edi
je 0x7a10770e
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x7a0996ed
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x7a0996ed
push esi
push edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x7a0996ed
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.7a0996f7
pop edi
pop esi
pop ebx
leave
ret 4
push esi
call fcn.7a0915c7
xor eax, eax
jmp 0x7a0996e6
push ebx
lea ecx, [ebp - 0x110]
call fcn.7a0afae6
cmp dword [ebp - 0x110], 0x55464131
jne 0x7a107747
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x7a0996ae
or ebx, 0xffffffff
jmp 0x7a0996b0

Function at 0x7a099ee3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
cmp dword [0x7a20a03c], esi
push 1
push esi
je 0x7a10513e
push dword [0x7a20a5c4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x7a099f3c
push dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push esi
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x7a099f33
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4
push dword [0x7a20cda4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x7a099f0f
Function at 0x7a09a3cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x7a20a118], 0
je 0x7a10e453
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x7a09a40f
cmp dword [ebp + 0xc], 1
jne 0x7a10e4a2
leave
ret 0x10
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.7a0afae6
cmp dword [ebp - 0x110], 0x55464131
jne 0x7a10e4a2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x10c]
mov dword [ebp - 4], 0x104
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7a09a40f
cmp dword [ebp + 0xc], 1
je 0x7a10e4aa
push 0xd
pop eax
jmp 0x7a09a40f
mov eax, dword [ebp + 0x14]
shr eax, 1
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
call fcn.7a12b44b
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
jmp 0x7a09a40f

Function at 0x7a09b19c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0x14]
or word [eax + 0x84], 0xffff
push ebx
push esi
push edi
mov word [eax + 0x32], cx
mov cx, word [ebp + 0x10]
xor edx, edx
mov word [eax + 0x20], cx
push 9
pop ecx
mov ebx, 0x7a0f284c
mov esi, ebx
lea edi, [eax + 0x44]
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebp + 0x14]
mov esi, dword [ebp + 0xc]
imul ecx, ecx, 0x38
mov byte [eax], 0x47
mov byte [eax + 1], 0x44
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x1c], 3
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x68], edx
mov word [eax + 0x22], 0x7fff
mov word [eax + 0x24], 0x7fff
mov word [eax + 0x26], 0x8000
mov word [eax + 0x28], 0x8000
mov word [eax + 0x86], dx
mov dword [eax + 0x88], edx
mov word [eax + 0x2a], dx
mov word [eax + 0x2e], dx
mov dword [eax + 0x34], 2
mov dword [eax + 0x38], edx
mov word [eax + 0x3c], dx
mov word [eax + 0x3e], dx
mov word [eax + 0x40], dx
mov word [eax + 0x42], dx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0x80], edx
mov esi, dword [esi + 8]
add ecx, esi
push 9
mov dword [eax + 0x8c], ecx
mov word [ecx + 0x28], dx
pop ecx
mov esi, ebx
lea edi, [eax + 0x90]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [eax + 0xb4], 1
pop ebx
pop ebp
ret 0x10
Function at 0x7a0ad30c
Capabilities:
Create thread

Disassembly:
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
cmp edi, ebx
je 0x7a0fd0eb
push esi
mov esi, 0x7a20a640
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [0x7a20a6b0], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x7a20a6ac
push ebx
push ebx
push 0x7a0e1388
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x7a20a658], eax
pop esi
je 0x7a0fd0eb
xor eax, eax
mov dword [0x7a20a6a0], 1
inc eax
pop edi
pop ebx
ret
call fcn.7a0e1414
xor eax, eax
jmp 0x7a0ad36e

Function at 0x7a0afd98
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.7a0afcf3
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x7a10e515
push 0x80
push 3
push 1
push 0x80000000
push dword [ebp + 8]
call fcn.7a0af83c
cmp eax, 0xffffffff
mov dword [esi + 0x1c], eax
jne 0x7a10e51f
call fcn.7a0afde5
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, 0x8007000e
jmp 0x7a0afdde
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x7a0afdd9
cmp dword [ebp - 4], ebx
jne 0x7a0afdd9
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x7a0afdd9
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x7a0afdd9
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 4
xor eax, eax
jmp 0x7a0afdde
Function at 0x7a0bc0a0
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ecx + 0x48]
and ecx, 0x40000
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x20000
jmp 0x7a0bc0ee
mov eax, dword [esp + 4]
mov edx, 0x365
cmp eax, edx
jbe 0x7a0fd4b6
mov edx, 0x4e4
cmp eax, edx
ja 0x7a0fd60f
je 0x7a0bc108
sub eax, 0x36a
je 0x7a0fd601
sub eax, 0x3a
je 0x7a0bc095
sub eax, 4
je 0x7a0b7c42
sub eax, 0xd
je 0x7a0bc0fd
dec eax
jne 0x7a0fd5dd
mov ecx, dword [ecx + 0x48]
and ecx, 0x100000
xor eax, eax
or ecx, eax
jne 0x7a0fd673
xor eax, eax
ret 4
mov ecx, dword [ecx + 0x48]
and ecx, 0x80000
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 1
jmp 0x7a0bc0ee
je 0x7a0fd5cb
add edx, 0xfffffff4
cmp eax, edx
ja 0x7a0fd561
je 0x7a0fd556
sub eax, 0x1b5
je 0x7a0fd54b
sub eax, 0x10f
je 0x7a0fd53d
sub eax, 0x1d
je 0x7a0fd52f
sub eax, 0x26
je 0x7a0fd521
sub eax, 0x4b
je 0x7a0fd513
dec eax
dec eax
je 0x7a0fd505
sub eax, 3
jne 0x7a0bc0f8
mov ecx, dword [ecx + 0x4c]
and ecx, 0x2000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x4000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x8000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x1000000
jmp 0x7a0fd5d4
sub eax, 0x35c
je 0x7a0fd5c0
dec eax
je 0x7a0fd5b5
dec eax
je 0x7a0fd5aa
dec eax
je 0x7a0fd59f
dec eax
je 0x7a0fd594
dec eax
je 0x7a0fd589
dec eax
jne 0x7a0bc0f8
mov ecx, dword [ecx + 0x4c]
and ecx, 0x20000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x40000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x80000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x100000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x200000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x400000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x800000
jmp 0x7a0fd5d4
mov ecx, dword [ecx + 0x4c]
and ecx, 0x10000
xor eax, eax
or eax, ecx
jmp 0x7a0bc0f2
sub eax, 0x12c
je 0x7a0fd5f6
dec eax
jne 0x7a0bc0f8
mov ecx, dword [ecx + 0x48]
and ecx, 4
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 2
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x10000
jmp 0x7a0bc0ee
sub eax, 0x4e5
je 0x7a0fd668
dec eax
je 0x7a0fd65d
dec eax
je 0x7a0fd652
dec eax
je 0x7a0fd647
dec eax
je 0x7a0fd639
sub eax, 0x68
jne 0x7a0bc0f8
mov ecx, dword [ecx + 0x48]
and ecx, 0x200000
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x80
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x40
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x20
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 0x10
jmp 0x7a0bc0ee
mov ecx, dword [ecx + 0x48]
and ecx, 8
jmp 0x7a0bc0ee
xor eax, eax
inc eax
jmp 0x7a0bc0fa
Function at 0x7a0cc4a1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
pop eax
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], pe_nt_image_headers32
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.7a0cc23f
mov bh, 0x26
clc
pop es
lea eax, [ebp - 0x58]
push eax
call fcn.7a0cc24f
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.7a0cc204
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
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 0x7a0cc52d
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
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.7a0cc23f
invalid