joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101199cf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x101bd708]
add edx, 0xffffef19
mov dword [0x101bd70c], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10119224
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0x147c00
mov ecx, dword [0x101bd6f4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x1011a0c6]
mov ecx, dword [0x101bd6f8]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x101bd6fc]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x101bd700]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x101bd704]
mov dword [esp + 0x6c], ecx
mov dword [0x101bd70c], 0x717
mov dword [0x101bd708], 0x127a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10119aa1
mov eax, dword [esp + 0x18]
add eax, 0x3c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x10119ab5
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10119a6e
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [0x101bd708], 0x25db
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
call fcn.10119b21
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10119b19
lea eax, [esp + 0x38]
mov dword [0x101bd708], 0xf39
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10119f5f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10119b21
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x101bd708], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101bd708], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10119bcd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x19], dl
xor eax, eax
mov cl, byte [ebp - 0x19]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x10119c3e
jmp 0x10119ba0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x10119c80
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop ebp
ret
xor eax, eax
mov dword [0x101bd708], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10119cb3
jmp 0x10119ba0
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ecx
je 0x10119c0c
mov eax, 0x19cd
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
jl 0x10119bcd
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [0x101bd70c], eax
mov dword [0x101bd708], 0x6b6
mov eax, dword [ebp - 0x10]
cmp word [eax + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], edx
je 0x10119b62
jmp 0x10119ba0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x2d], dl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x10119c63
jmp 0x10119ba0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x10119b88
jmp 0x10119ba0
mov dword [0x101bd708], 0xffffe770
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x2e], dl
xor eax, eax
mov cl, byte [ebp - 0x2e]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x10119ba9
jmp 0x10119ba0
mov eax, 1
mov dword [0x101bd70c], 0x369d
mov dword [ebp - 0x20], eax
jmp 0x10119ba0
Function at 0x10119f5f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x101bd708]
add edx, 0xffffe61c
mov dword [0x101bd70c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x101bd708], 0x1cc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10177d7c]
mov dh, byte [eax + 0x10177d4d]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10119f93
lea eax, [ebp - 0x24]
mov dword [0x101bd708], 0x179a
mov dword [ebp - 0x34], eax
call fcn.1011a211
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10118dae
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1011a0be
mov eax, dword [ebp - 0x38]
mov dword [0x101bd70c], 0x12d8
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101bd70c]
add ecx, 0x206f
mov dword [0x101bd708], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
call fcn.10118f5e
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101bd708], 0x22f9
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x101bd70c], 0x2203
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov esi, dword [0x101bd708]
add esi, 0xffffe791
mov dword [0x101bd708], esi
add ecx, 0x1ce8
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1011a0b5
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10001150
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x10001211
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x100011bb
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x100011ef
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100011ef
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x1000117e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10001220
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x100012d4
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10001277
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100012ba
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x10006020]
je 0x1000128e
or dh, 2
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x100012a7
test al, 0x40
je 0x1000129e
mov ecx, dword [ebx + 0x20]
jmp 0x100012a5
test al, 0x80
je 0x100012ba
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x100012ba
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x10001244
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10001a40
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004518
push 0x10002fde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010ad2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1001c68c], 0
push esi
push edi
jne 0x10010a48
call fcn.100109b4
test eax, eax
je 0x10010a8d
mov eax, dword [0x1001c68c]
cmp eax, 1
jne 0x10010a69
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10010a8d
jmp 0x10010acf
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10010acf
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10010a91
xor eax, eax
jmp 0x10010acf
mov eax, dword [esi]
push dword [0x1001c68c]
call edi
mov edi, eax
test edi, edi
je 0x10010ab3
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x10010acf
lea edi, [esi + 0xff0]
push esi
push dword [0x1001c68c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10010ab9
mov eax, esi
pop edi
pop esi
ret
jmp 0x10010a34

Function at 0x10010e30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c578]
jne 0x10010e3a
repz ret
jmp fcn.1001165a

Function at 0x10011310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1001131f
pop dword [ebp - 0x4c]
mov eax, 0x4139f4a
add eax, 0xbed73d5
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3961f
push 0
mov eax, 0x1f09dae5
sub eax, 0xf08a9e9
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xc1cdbd65
sub ecx, 0xc1cd73cd
mov ebx, eax
mov edi, 0x1f4fc7dd
add edi, 0xf0b23e23
add edi, dword [ebp - 0x4c]
mov edx, 0x3e774b40
sub edx, 0x54140b1e
xor dword [ebp - 0x2c], eax
mov esi, dword [edi]
xor dword [ebp - 0x10], 0xd86bf3b0
sub esi, edx
xor dword [ebp - 0x3c], 0xe9072339
mov dword [ebx], esi
xor dword [ebp - 0x14], 0x94339d9b
add ebx, 4
add edi, 0x1c5bfe10
add edi, 0xe3a401f4
loop 0x1001137e
add eax, 0x11933
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xcbbc5107
add ecx, 0x4443aef9
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x417432
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x417441
pop dword [ebp - 0x2c]
mov eax, 0xe1cebf11
add eax, 0x1e72b530
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x860469a9
sub dword [ebp - 0x3c], 0x37b2245e
mov dword [ebp - 0x38], 0xa6749a5
sub dword [ebp - 0x38], 0xd833fd60
mov dword [ebp - 0x34], 0x751658f5
add dword [ebp - 0x34], 0xd735eb39
mov dword [ebp - 0x30], 0xd0bc658f
add dword [ebp - 0x30], 0x2f439a71
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x12777289
add eax, 0xedcabdeb
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xd6df8906
add dword [ebp - 0x3c], 0x9d92e050
mov dword [ebp - 0x38], 0x396c064
add dword [ebp - 0x38], 0x3dd5a111
mov dword [ebp - 0x34], 0x4cc9f614
sub dword [ebp - 0x34], 0xe95a89a8
mov dword [ebp - 0x30], 0xbe74d1da
add dword [ebp - 0x30], 0x418b2e26
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xa9815274
add eax, 0x56c0deb0
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b72e
push 0
call eax
mov ecx, 0x3ef6
xor ebx, ebx
add ebx, eax
mov edx, 0xb7baef96
add edx, 0x4888546a
add edx, dword [ebp - 0x2c]
mov edi, 0xd06c7b9d
xor dword [ebp - 0x24], 0x43d1a025
mov esi, dword [edx]
add dword [ebp - 0x28], edi
add esi, edi
sub dword [ebp - 0xc], esi
mov dword [ebx], esi
sub dword [ebp - 0x1c], 0x2aa66b76
add ebx, 4
add edx, 0x895f8c6a
sub edx, 0x895f8c66
loop 0x417559
add eax, 0xeeab
xor ebx, ebx
add ebx, eax
add eax, 0xca4ee7fd
add eax, 0x35b11808
mov ecx, 0x38957f16
add ecx, 0xc7aa80ea
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x423d0e
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x486a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x49600c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x49600c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
xor esi, esi
push eax
push esi
push 0x4000
push 0x402ab4
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x423d7b
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x495c1c
push eax
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp eax, esi
jne 0x423d8a
mov dword [esp + 0x4c], esi
jmp 0x423d9e
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x4034e0
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x88], esi
push eax
push dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.0042675e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 2
call fcn.0041ae72
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423e0f
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x423ea6
test byte [0x498580], 4
je 0x423df9
push ecx
push ecx
mov edx, edi
mov ecx, 0x406948
call fcn.0042370d
mov dword [esp + 0x14], 0x80070057
lea eax, [esp + 0x14]
push 0x495c1c
jmp 0x423d75
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x423e16
sub ecx, edx
sar ecx, 1
lea eax, [edi + ecx*2]
push eax
jmp 0x423e9a
push ebx
push edi
lea ecx, [esp + 0x28]
call fcn.004266cb
mov byte [esp + 0x88], 3
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x423e4d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423e85
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x423e67
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423e85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x423ed8
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 2
call fcn.0041b746
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
mov ebx, eax
test ebx, ebx
jne 0x423e2b
or dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004267d8
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00484070
mov esp, ebp
pop ebp
ret
test byte [0x498580], 8
je 0x423eef
push ecx
push ecx
mov edx, edi
mov ecx, 0x406938
call fcn.0042370d
test esi, esi
jg 0x423ef9
mov dword [esp + 0x1c], esi
jmp 0x423f05
movzx eax, si
or eax, 0x80070000
mov dword [esp + 0x1c], eax
push 0x495c1c
lea eax, [esp + 0x20]
jmp 0x423d75
Function at 0x42b720
Capabilities:
Read file via mapping

Disassembly:
push 0xd0
mov eax, 0x48795b
call fcn.004847e9
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 4], ebx
push ecx
mov ecx, edi
mov dword [ebp - 0xcc], edi
mov byte [ebp - 0xc8], al
mov dword [ebp - 0xc0], ebx
call fcn.0041c49d
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
push 0x420110
mov dword [ebp - 0xc0], 1
call fcn.004222a0
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], 8
jb 0x42b780
mov esi, dword [esi]
lea eax, [ebp - 0x5c]
mov edx, SysReAllocString
push eax
push ecx
push ecx
push 3
push ebx
push ecx
mov ecx, esi
call fcn.0042032b
push eax
lea ecx, [ebp - 0x7c]
call fcn.00421f12
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0041ae72
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xffffffff
je 0x42b8c3
call fcn.00423b06
mov esi, eax
test esi, esi
je 0x42b8c3
push 0x420110
lea ecx, [ebp - 0x44]
call fcn.004222a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00421f12
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0041ae72
cmp dword [ebp - 0x9c], 0xffffffff
je 0x42b8b4
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp eax, ebx
jne 0x42b81d
mov dword [ebp - 0x1c], ebx
jmp 0x42b82d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4036ec
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
push ebx
push ebx
push ebx
push 4
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042d01d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0041ae72
mov edx, dword [ebp - 0xbc]
test edx, edx
je 0x42b8a5
mov eax, 0xfeff
shr esi, 1
cmp word [edx], ax
jne 0x42b8a5
push dword [ebp - 0xc8]
add edx, 2
lea ecx, [ebp - 0xdc]
dec esi
push esi
call fcn.0042b8dd
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0041c40d
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 9
call fcn.0041addb
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.004267d8
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00421f5b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], bl
call fcn.00421f5b
mov eax, edi
call fcn.00484789
ret 0xc
Function at 0x484a10
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 0x484a4e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x484a46
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x484a50
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x484a36
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x484b30
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 0x484b46
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x484b61
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40efc6
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f254
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor edi, edi
mov ebx, 1
lea ecx, [esi + 0xcc]
call fcn.00441779
lea ecx, [esi + 0xd0]
mov dword [ebp - 4], edi
call fcn.00441779
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], bl
call fcn.00441779
mov byte [ebp - 4], 2
lea ecx, [esi + 0xd8]
call fcn.00441779
mov byte [ebp - 4], 3
lea ecx, [esi + 0xdc]
call fcn.00441779
mov byte [ebp - 4], 4
lea ecx, [esi + 0xe0]
call fcn.00441779
mov byte [ebp - 4], 5
lea ecx, [esi + 0xe4]
call fcn.00441779
mov byte [ebp - 4], 6
lea ecx, [esi + 0xe8]
call fcn.00441779
mov byte [ebp - 4], 7
lea ecx, [esi + 0xec]
call fcn.00441779
mov byte [ebp - 4], 8
lea ecx, [esi + 0xf0]
call fcn.00441779
mov byte [ebp - 4], 9
lea ecx, [esi + 0xcc]
call fcn.00441859
lea ecx, [esi + 0xf0]
call fcn.00441859
lea ecx, [esi + 0xe0]
call fcn.00441859
lea ecx, [esi + 0xe4]
call fcn.00441859
lea ecx, [esi + 0xd0]
call fcn.00441859
lea ecx, [esi + 0xd4]
call fcn.00441859
lea ecx, [esi + 0xd8]
call fcn.00441859
mov dword [esi + 4], 0x1ae
mov dword [esi], 0xcf
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 8], 0x1af
mov dword [esi + 0x1c], edi
nop
call fcn.0045d54f
push ebx
mov dword [esi + 0xb0], eax
nop
call fcn.0045d558
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xf4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xac], 2
mov eax, esi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xc0], 0x2b11
mov dword [esi + 0xc4], 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f8ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [ebp - 0x10]
add ecx, 0x1d0
jmp 0x403160