joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425170
Capabilities:
Accept command line arguments

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4251bd
push esi
lea ecx, [esp + 4]
push ecx
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x4251b5
cmp dword [esp + 4], 4
jle 0x4251b5
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4251b5
push eax
call fcn.004420a6
add esp, 4
and eax, 1
mov dword [0x49e7c8], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
pop ecx
ret

Function at 0x425790
Capabilities:
Access peb ldr_data
Check if file exists
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45bf39
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x10]
push ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
call fcn.0040ff70
mov esi, dword [esp + 0x30]
push str.360Base.dll
push eax
push esi
mov dword [esp + 0x34], 1
call fcn.0040f5f0
add esp, 0x14
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425864
lea ecx, [esp + 0x14]
push 0x465bf4
push ecx
call fcn.00415f70
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x24], 2
call fcn.0040f7c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425864
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x427c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c208
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00427910
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00427ab0
cmp dword [esp + 0x24], 0x10
jb 0x427cea
mov edx, dword [esp + 0x10]
push edx
call fcn.004404db
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004404e6
add esp, 0x30
ret 0x1c

Function at 0x427d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c238
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov esi, ecx
xor ecx, ecx
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x50]
push edx
push ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.004279e0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00427b80
cmp dword [esp + 0x24], 8
jb 0x427dac
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004404db
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004404e6
add esp, 0x30
ret 0x1c
Function at 0x428720
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
push edi
mov eax, 0x10
je 0x428844
cmp dword [esi + 0x34], eax
jb 0x428740
mov ecx, dword [esi + 0x20]
jmp 0x428743
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], eax
jb 0x42874d
mov eax, dword [esi + 4]
jmp 0x428750
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push ecx
push eax
push edi
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_n_r_n
push ebp
call fcn.00441954
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428770
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x14]
sub eax, edx
cmp dword [esi + 0x34], 0x10
push ebx
lea ebx, [ecx + eax + 0x3c]
mov dword [esp + 0x10], ebx
jb 0x428793
mov esi, dword [esi + 0x20]
jmp 0x428796
add esi, 0x20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42889b
xor esi, esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x42882f
push esi
lea edx, [esp + 0x28]
push edx
push 0x400
add ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push edi
mov dword [esp + 0x38], esi
call ebp
test eax, eax
je 0x428817
lea esp, [esp]
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x428817
cmp esi, dword [esp + 0x14]
ja 0x428817
push 0
add esi, eax
lea eax, [esp + 0x28]
push eax
push 0x400
lea ecx, [ebx + esi]
push ecx
push edi
call ebp
test eax, eax
jne 0x4287f0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
lea eax, [esi + edx]
mov edx, dword [esp + 0x1c]
mov ecx, 0xa0d
mov word [eax + edx], cx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + esi + 2]
pop ebx
pop ebp
pop edi
pop esi
add esp, 8
ret 0xc
cmp dword [esi + 0x34], eax
jb 0x42884e
mov ecx, dword [esi + 0x20]
jmp 0x428851
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], eax
jb 0x42885b
mov eax, dword [esi + 4]
jmp 0x42885e
lea eax, [esi + 4]
mov edi, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edi
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push eax
call fcn.00441954
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428880
mov ecx, dword [esi + 0x30]
sub eax, edx
add ecx, dword [esi + 0x14]
pop edi
lea eax, [ecx + eax + 0x31]
pop esi
add esp, 8
ret 0xc
mov eax, ebx
pop ebx
pop ebp
pop edi
pop esi
add esp, 8
ret 0xc
Function at 0x4288b0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
cmp eax, edx
jne 0x428902
push 0x471af0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], str.connection_failed...
call fcn.004409b1
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x428948
push 0x471af0
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], str.response_failed...
call fcn.004409b1
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xc], 0
mov eax, 0x428948
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428ea0
Capabilities:
Get file size

Disassembly:
sub esp, 8
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], eax
cmp dword [ecx + 0xa0], eax
jbe 0x428f91
mov eax, dword [ecx + 0x9c]
push ebx
mov ebx, dword [ecx + 0x88]
push ebp
mov ebp, dword [eax]
push esi
push edi
lea ebx, [ebx]
mov esi, dword [ecx + 0x9c]
mov eax, dword [ecx + 0x88]
test ebx, ebx
je 0x428ee4
cmp ebx, eax
je 0x428ee9
call fcn.00443abe
cmp ebp, esi
je 0x428f89
test ebx, ebx
jne 0x428f1c
call fcn.00443abe
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x428f06
call fcn.00443abe
mov eax, dword [ebp + 8]
xor edi, edi
cmp byte [eax + 0x38], 0
je 0x428f5b
cmp dword [eax + 0x34], 0x10
jb 0x428f20
mov eax, dword [eax + 0x20]
jmp 0x428f23
mov eax, dword [ebx]
jmp 0x428efc
add eax, 0x20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x428f52
lea edi, [eax + 0x1800]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x428f60
mov edi, 0x2000
add dword [esp + 0x10], edi
test ebx, ebx
jne 0x428f85
call fcn.00443abe
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x428f79
call fcn.00443abe
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x14]
jmp 0x428ed0
mov eax, dword [ebx]
jmp 0x428f6f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x42a500
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push edi
xor edi, edi
cmp dword [0x49e92c], 0x40
jae 0x42a61a
mov ecx, dword [esp + 0x48]
push esi
lea esi, [ecx + eax]
cmp esi, 0x80000000
jae 0x42a528
lea esi, [edi + 1]
jmp 0x42a52e
sub esi, 0x7fff0000
mov edx, dword [esp + 0x54]
push ebp
lea ebp, [edx + eax]
cmp ebp, 0x80000000
jae 0x42a546
add ebp, 0x7ff80000
jmp 0x42a54b
mov ebp, 0xfff80000
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, ebp
jae 0x42a618
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x42a590
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42a5e9
cmp dword [esp + 0x20], 0x10000
jne 0x42a5da
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x42a5de
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x42a5de
lea eax, [ecx + esi - 1]
xor edx, edx
div ecx
push 0x20
push 0x3000
push 0x6c
imul eax, ecx
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x42a5ed
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea esi, [edx + eax]
cmp esi, ebp
jb 0x42a590
test edi, edi
je 0x42a617
xor eax, eax
nop
cmp dword [eax*4 + 0x49e828], 0
je 0x42a60a
inc eax
cmp eax, 0x40
jb 0x42a5f0
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
inc dword [0x49e92c]
mov dword [eax*4 + 0x49e828], edi
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
Function at 0x42a670
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x2cc], eax
mov eax, dword [esp + 0x2d4]
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x42a738
test esi, esi
je 0x42a738
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x42a759
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetThreadContext]
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x10001
xor edi, edi
call ebp
test eax, eax
je 0x42a778
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x42a6f0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x2e8]
cmp eax, ecx
jb 0x42a733
mov edx, dword [esp + 0x2ec]
add ecx, edx
cmp eax, ecx
jae 0x42a733
push esi
call ebx
cmp edi, 3
jge 0x42a74e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x10]
push eax
push esi
inc edi
call ebp
test eax, eax
jne 0x42a6f0
mov eax, esi
pop ebx
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.004404e6
add esp, 0x2d0
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42a735
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.004404e6
add esp, 0x2d0
ret
mov ecx, dword [esp + 0x2d8]
pop edi
pop ebp
mov eax, esi
pop esi
xor ecx, esp
call fcn.004404e6
add esp, 0x2d0
ret

Function at 0x42a7a0
Capabilities:
Resume thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [esp + 0xc], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x49e934], esi
jbe 0x42a802
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
mov eax, dword [0x49e930]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [0x49e930]
mov eax, dword [edx + esi*4]
push eax
call ebp
inc esi
cmp esi, dword [0x49e934]
jb 0x42a7e0
pop ebp
pop ebx
mov ecx, dword [0x49e930]
push ecx
call fcn.00440dee
mov edx, dword [esp + 0xc]
add esp, 4
xor eax, eax
push edx
mov dword [0x49e930], eax
mov dword [0x49e934], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ecx
ret
Function at 0x42aa70
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
xor ebp, ebp
xor esi, esi
call fcn.0042a430
mov eax, edi
call fcn.0042a480
mov ebx, eax
mov eax, dword [esp + 0x7c]
call fcn.0042a480
push 0x50
lea ecx, [esp + 0x28]
push ebp
push ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00440500
lea edx, [esp + 0x28]
push edx
push 5
mov ecx, ebx
call fcn.0042a9a0
mov edi, eax
add esp, 0x14
cmp edi, 5
jb 0x42ac1b
push edi
push ebx
call fcn.0042a830
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov eax, ebx
call fcn.0042a500
mov esi, eax
add esp, 0x18
cmp esi, ebp
je 0x42ac16
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edi
mov ebp, eax
xor eax, eax
push ebx
push ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x42abf8
lea edx, [esp + 0x10]
push edx
push 0x40
push 0x6c
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x42abdc
xor ebp, ebp
lea eax, [esi + 0x2c]
test edi, edi
jbe 0x42ab62
mov edx, ebx
sub edx, eax
mov cl, byte [edx + eax]
mov byte [eax], cl
mov byte [esi + ebp + 0x4c], cl
inc ebp
inc eax
cmp ebp, edi
jb 0x42ab53
lea ecx, [edi + ebx]
lea eax, [esi + edi + 0x2c]
call fcn.0042a4c0
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
jae 0x42ab7c
mov eax, ebx
sub eax, ebp
jmp 0x42ab80
mov eax, ebp
sub eax, ebx
mov ecx, ebp
cmp eax, 0x7fff0000
jbe 0x42aba9
lea eax, [esi + 0xc]
call fcn.0042a4c0
sub eax, esi
sub eax, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea ecx, [esi + 0xc]
mov eax, ebx
call fcn.0042a4c0
push edi
lea eax, [esi + 0x2c]
mov dword [esi + 8], ebp
mov ebp, dword [esp + 0x18]
push eax
push ebp
mov dword [esi + 4], edi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x6c
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [esi], 0
je 0x42ac08
mov eax, dword [esp + 0x78]
lea edx, [esi + 0x2c]
mov dword [eax], edx
jmp 0x42ac16
push 1
mov ecx, esi
call fcn.0042a630
add esp, 4
xor esi, esi
call fcn.0042a7a0
call fcn.0042a470
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x64
ret
Function at 0x43ab30
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x25c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [esp + 0x260]
mov ecx, dword [esp + 0x264]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43ab9d
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
jne 0x43abb6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004404e6
add esp, 0x25c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [esp + 0x10]
push ecx
push 0x40
lea edx, [esp + 0x230]
push edx
push esi
mov dword [esp + 0x20], ebx
call edi
test eax, eax
je 0x43abe7
mov eax, 0x5a4d
cmp word [esp + 0x224], ax
je 0x43ac08
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004404e6
add esp, 0x25c
ret
mov edx, dword [esp + 0x260]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
mov dword [esp + 0x24], ebx
call ebp
cmp eax, 0xffffffff
je 0x43ac96
push ebx
lea eax, [esp + 0x14]
push eax
push 0xf8
lea ecx, [esp + 0x34]
push ecx
push esi
call edi
test eax, eax
je 0x43ac96
mov edx, 0x8664
cmp word [esp + 0x2c], dx
jne 0x43acb8
mov ecx, dword [esp + 0x264]
push ebx
lea eax, [esp + 0x28]
push eax
push ecx
push esi
mov dword [esp + 0x34], ebx
call ebp
cmp eax, 0xffffffff
je 0x43ac96
push ebx
lea edx, [esp + 0x14]
push edx
push 0x108
lea eax, [esp + 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x43ac96
mov eax, dword [esp + 0x1c8]
cmp eax, ebx
je 0x43ac96
mov edi, dword [esp + 0x1cc]
cmp edi, ebx
jne 0x43acce
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x268]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x25c
ret
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x43ac96
mov edi, dword [esp + 0xc4]
cmp edi, ebx
je 0x43ac96
lea ecx, [edi + eax]
cmp ecx, dword [esp + 0x18]
ja 0x43ac96
cmp ecx, eax
jb 0x43ac96
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
call ebp
cmp eax, 0xffffffff
je 0x43ac96
mov ebp, dword [esp + 0x20]
push ebx
push edi
mov ecx, ebp
call fcn.0043aa90
push ebx
lea edx, [esp + 0x14]
push edx
push edi
push ebx
mov ecx, ebp
call fcn.0043a000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x43ac97
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x43ac9f
Function at 0x43ad30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45c44c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.Mv6h.0
call fcn.0041d4c0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call fcn.0041d4c0
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
call fcn.0041d4c0
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 2
call fcn.0041d4c0
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 3
call fcn.0041d4c0
mov dword [esi + 0xa4], ebx
mov eax, 0xf
mov dword [esi + 0xa8], eax
mov byte [esi + 0x94], bl
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], ebx
mov byte [esi + 0xb0], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4401d5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49eae0], 0
push esi
jne 0x440148
call fcn.0044006e
test eax, eax
je 0x44018b
mov eax, dword [0x49eae0]
cmp eax, 1
jne 0x440169
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44018b
pop esi
ret
push eax
call dword [0x49eae8]
test eax, eax
jne 0x4401d3
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 0x44018f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x49eae0]
call dword [0x49eae8]
mov edi, eax
test edi, edi
je 0x4401b4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4401d0
mov edi, esi
add esi, 0xff0
push edi
push dword [0x49eae0]
call dword [0x49eae4]
add edi, 0x10
cmp edi, esi
jb 0x4401bc
mov eax, edi
pop edi
pop esi
ret
jmp 0x440135

Function at 0x4404e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49c23c]
jne 0x4404f0
repz ret
jmp fcn.0044783d

Function at 0x45416a
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.00448eb8
and dword [ebp - 4], 0
cmp dword [0x49f674], 0
mov ebx, eax
jne 0x45421b
push 0x46db1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4542cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x4542cc
push eax
call fcn.00448e46
mov dword [esp], 0x46db00
push edi
mov dword [0x49f674], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f678], eax
call esi
push eax
call fcn.00448e46
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x49f67c], eax
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f684], eax
test eax, eax
je 0x45421b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00448e46
pop ecx
mov dword [0x49f680], eax
mov eax, dword [0x49f680]
cmp eax, ebx
je 0x454273
cmp dword [0x49f684], ebx
je 0x454273
push eax
call fcn.00448ec1
push dword [0x49f684]
mov esi, eax
call fcn.00448ec1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x454273
test edi, edi
je 0x454273
call esi
test eax, eax
je 0x45426a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45426a
test byte [ebp - 0xc], 1
jne 0x454273
or dword [ebp + 0x10], 0x200000
jmp 0x4542ac
mov eax, dword [0x49f678]
cmp eax, ebx
je 0x4542ac
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4542ac
mov eax, dword [0x49f67c]
cmp eax, ebx
je 0x4542ac
push eax
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f674]
call fcn.00448ec1
pop ecx
test eax, eax
je 0x4542cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4542ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret