joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
or ebp, 0xffffffff
jmp 0x5653b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5653b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5653a8
mov eax, 1
add ebx, ebx
jne 0x5653cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5653dc
jne 0x5653fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5653fb
dec eax
add ebx, ebx
jne 0x5653e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5653c0
add ebx, ebx
jne 0x5653f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56544d
xor ecx, ecx
sub eax, 3
jb 0x565413
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x565482
sar eax, 1
mov ebp, eax
jmp 0x56541e
add ebx, ebx
jne 0x56541e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5653ec
inc ecx
add ebx, ebx
jne 0x56542c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5653ec
add ebx, ebx
jne 0x565439
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56542e
jne 0x56544a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56542e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56546c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56545e
jmp 0x5653ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56546c
add edi, ecx
jmp 0x5653ae
pop esi
mov edi, esi
mov ecx, 0x692c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56548a
cmp byte [edi], 0x1b
jne 0x56548a
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 0x56548f
lea edi, [esi + 0x161000]
mov eax, dword [edi]
or eax, eax
je 0x565507
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180ce8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x180e14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5654bc
mov ecx, edi
jns 0x5654eb
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 + 0x180e18]
or eax, eax
je 0x565501
mov dword [ebx], eax
add ebx, 4
jmp 0x5654d9
call dword [esi + 0x180e20]
mov ebp, dword [esi + 0x180e1c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x56553b
sub esp, 0xffffff80
jmp 0x4db658
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 0x4018a6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018e5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018e5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018e5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018e5
cmp dword [ecx + 0x74], 0xe
jbe 0x4018e5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4016e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
mov eax, dword [0x4566e4]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x214]
push 0x8000
call fcn.00405730
mov esi, eax
mov eax, dword [esp + 0x21c]
add esp, 4
push 0xff
test eax, eax
jne 0x40172b
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40173e
mov edx, dword [0x45a808]
lea ecx, [esp + 0x10]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.00408ffd
add esp, 0xc
push esi
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00405795
mov ecx, dword [esp + 0x210]
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00403b8c
add esp, 0x204
ret

Function at 0x401840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x4566e4]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
lea eax, [esp + 8]
push eax
push 1
xor esi, esi
push esi
push str.Control_PanelDesktopWindowMetrics
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4018d2
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push str.MessageFont
push ecx
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4018c7
cmp dword [esp + 4], 0x5c
jne 0x4018b3
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
cmp dword [esp + 4], 0x3c
jne 0x4018c7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov esi, eax
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x90]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00403b8c
add esp, 0x90
ret
Function at 0x4033e0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov edi, ecx
push ebx
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ebx
mov ebp, eax
call esi
test eax, eax
je 0x403571
push ebp
call esi
test eax, eax
je 0x403571
cmp dword [edi + 0x18], 0
jne 0x403424
push ebp
mov ecx, edi
call fcn.00403190
push 0x30
call fcn.00405730
push 0x30
mov esi, eax
push 0
push esi
call fcn.00405450
add esp, 0x10
push esi
push ebx
mov ecx, edi
call fcn.004031d0
lea eax, [esp + 0x14]
push eax
push ebp
mov ecx, edi
call fcn.00403130
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
sub edi, dword [esp + 0x14]
sub ebp, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov cl, byte [esp + 0x3c]
mov ebx, 0x80000000
mov dword [esi + 8], ebx
test cl, 1
je 0x40348f
mov dword [esi + 8], 0
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x14]
mov dword [esi + 0xc], edx
test cl, 2
je 0x4034af
mov eax, edi
cdq
sub eax, edx
mov dword [esi + 8], 0x32
mov edx, dword [esp + 0x24]
sar eax, 1
sub edx, eax
sub edx, dword [esp + 0x14]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
test cl, 4
je 0x4034c9
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
test cl, 8
je 0x4034e9
mov eax, ebp
cdq
sub eax, edx
mov dword [esi + 0x10], 0x32
mov edx, dword [esp + 0x28]
sar eax, 1
sub edx, eax
sub edx, dword [esp + 0x18]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ebx
test cl, 0x10
je 0x403503
mov dword [esi + 0x18], 0x64
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x1c], eax
test cl, 0x20
je 0x403521
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x18], 0x32
sub eax, dword [esp + 0x2c]
add eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
test cl, 0x40
je 0x40353b
mov dword [esi + 0x20], 0x64
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x30]
mov dword [esi + 0x24], edx
test cl, cl
jns 0x403558
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0x20], 0x32
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x18]
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x10]
push esi
call fcn.00403110
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 8
push str.Invalid_window_handle_passed_to_TAnchors::AddAnchor_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
Function at 0x403830
Capabilities:
Get file version info

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4566e4]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x224]
push ebx
mov ebx, dword [esp + 0x224]
push esi
push edi
xor esi, esi
push 0x206
lea edx, [esp + 0x22]
xor ecx, ecx
push esi
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov word [esp + 0x28], cx
call fcn.00405450
add esp, 0xc
mov dword [esp + 0xc], esi
cmp ebx, esi
jne 0x403896
push 0x103
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ebx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x403920
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x403905
mov edx, dword [esp + 0x10]
push esi
push edi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4038f9
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x4429c0
push esi
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
push esi
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00403b8c
add esp, 0x21c
ret
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00403b8c
add esp, 0x21c
ret

Function at 0x403b8c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4566e4]
jne 0x403b96
repz ret
jmp fcn.00409017
Function at 0x410745
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b71d
and dword [ebp - 4], 0
cmp dword [0x459d64], 0
mov ebx, eax
jne 0x4107f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4108a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4108a7
push eax
call fcn.0040b6ab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x459d64], eax
call esi
push eax
call fcn.0040b6ab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x459d68], eax
call esi
push eax
call fcn.0040b6ab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459d6c], eax
call esi
push eax
call fcn.0040b6ab
pop ecx
mov dword [0x459d74], eax
test eax, eax
je 0x4107f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b6ab
pop ecx
mov dword [0x459d70], eax
mov eax, dword [0x459d70]
cmp eax, ebx
je 0x41084e
cmp dword [0x459d74], ebx
je 0x41084e
push eax
call fcn.0040b726
push dword [0x459d74]
mov esi, eax
call fcn.0040b726
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41084e
test edi, edi
je 0x41084e
call esi
test eax, eax
je 0x410845
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410845
test byte [ebp - 0xc], 1
jne 0x41084e
or dword [ebp + 0x10], 0x200000
jmp 0x410887
mov eax, dword [0x459d68]
cmp eax, ebx
je 0x410887
push eax
call fcn.0040b726
pop ecx
test eax, eax
je 0x410887
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410887
mov eax, dword [0x459d6c]
cmp eax, ebx
je 0x410887
push eax
call fcn.0040b726
pop ecx
test eax, eax
je 0x410887
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459d64]
call fcn.0040b726
pop ecx
test eax, eax
je 0x4108a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4108a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421290
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00401650
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016b0
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x421323
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x4212eb
mov ecx, dword [ebp + 8]
push ecx
call fcn.004312d0
add esp, 4
movzx edx, al
test edx, edx
je 0x4212e9
mov eax, 3
jmp 0x421328
jmp 0x421323
push 0x444e3c
mov eax, dword [ebp - 8]
push eax
call fcn.0040537c
add esp, 8
test eax, eax
jne 0x421307
mov eax, 5
jmp 0x421328
push str..DAT
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040537c
add esp, 8
test eax, eax
jne 0x421323
mov eax, 4
jmp 0x421328
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x421550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 5
mov eax, dword [ebp + 8]
push eax
call fcn.00431c40
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x421658
push str..zlib
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00405562
add esp, 8
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00432940
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x421646
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00432470
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421633
push 0
push 0
push 2
push 0
push 1
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x421620
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [0x45a5e0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [0x45a5e0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0040564f
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x421c00
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
push 0x8000000
push 2
lea ecx, [ebp - 0x18]
push ecx
push 0
push 4
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.Ntdll.dll_NtCreateSection]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x421ca2
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 2
push 0
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.Ntdll.dll_NtMapViewOfSection]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x421c98
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.Ntdll.dll_NtClose]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x422350
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401650
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x10000
mov ecx, dword [ebp + 0xc]
push ecx
push 0x89
lea edx, [ebp - 0xc]
push edx
call fcn.0042e2c0
add esp, 0xc
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x422507
push 4
push 0x28
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x4223c5
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov eax, dword [ebp - 0x38]
push eax
push 8
call fcn.004011a0
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.Ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4224fd
push 5
push 0x18
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00422150
add esp, 0x24
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
and eax, 2
jne 0x4224e5
push 0x16
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.Ntdll.dll_NtQueryInformationFile]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x422499
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004222b0
add esp, 0x1c
push 1
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.Ntdll.dll_NtQueryEaFile]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x4224e5
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004220a0
add esp, 0x18
mov ecx, dword [ebp - 8]
push ecx
push 0
call fcn.004011a0
mov edx, dword [eax + 0x30]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.Ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.Ntdll.dll_NtClose]
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret
Function at 0x422820
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00405450
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x30], 0x44cdc4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x422875
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x422877
xor eax, eax
mov esp, ebp
pop ebp
ret