joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9e43cd
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa88b7b
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c8]
cmp edi, 4
jae 0x9e4263
mov eax, dword [edi*4 + 0xa9e8c4]
jmp 0x9e4268
mov eax, str.unknown_notification
push eax
push str._Exception_occured_during_DllMain__s_n
call fcn.009fe320
mov esi, dword [esp + 0x1d4]
push esi
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
call fcn.00a34a90
add esp, 0x10
cmp edi, 3
ja case.default.0x9e4297
mov ebx, dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp dword [edi*4 + 0x9e4418]
push 0xa9e9e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x9e439a
push str.NtRaiseHardError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x9e4331
mov edx, dword [esi]
mov ecx, dword [edx]
lea edx, [esp + 0x10]
mov dword [esp + 0xc], ecx
push edx
lea ecx, [esp + 0x10]
push 1
push ecx
push 0
push 1
push 0xc0000145
call eax
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x24], 2
jne 0x9e43c5
cmp dword [esp + 0x18], 5
jne 0x9e43c5
cmp dword [esp + 0x1c], 1
jne 0x9e43c5
mov edx, dword [esi]
mov eax, dword [edx]
jmp 0x9e43ca
lea ecx, [esp + 0xa8]
call fcn.00a16c20
mov edx, dword [esi]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1c0], 0
mov eax, dword [edx]
push eax
push str.The_application_failed_to_initialize_properly__0x_08x_._Click_on_OK_to_terminate_the_application.
push ecx
call fcn.00a173c0
add esp, 0xc
lea ecx, [esp + 0xa8]
push 0
push str.Application_error
call fcn.00a16d90
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00a16c40
jmp case.0x9e4297.2
push str.RtlNtStatusToDosError
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi]
test eax, eax
je 0x9e43ba
mov ecx, dword [edx]
push ecx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp case.default.0x9e4297
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp case.default.0x9e4297
mov eax, 0x80
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp eax, 0xffffffff
jne 0x9e43f3
pop edi
pop esi
or eax, eax
pop ebx
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
add esp, 0x1b8
ret
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
call ebx
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b8
ret
Function at 0x9e56b0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, dword [0xab5028]
sub esp, 0x144
test eax, eax
push esi
push edi
jne 0x9e5769
mov esi, dword [esp + 0x150]
lea eax, [esp + 8]
push esi
push str._s_ths_.tmp
push eax
mov dword [0xab5028], 1
call fcn.009e3530
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 8]
mov edi, eax
call fcn.009e3750
cmp edi, 0xffffffff
je 0x9e5769
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test byte [esp + 0x14], 0x10
jne 0x9e5754
lea edx, [esp + 0x40]
push edx
call fcn.009e3770
add esp, 4
cmp eax, 0x28
jne 0x9e5754
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
push esi
push 0xa9edcc
push ecx
call fcn.009e3530
mov edx, dword [eax]
add esp, 0x10
push edx
call ebp
lea ecx, [esp + 0x10]
call fcn.009e3750
lea eax, [esp + 0x14]
push eax
push edi
call ebx
test eax, eax
jne 0x9e5715
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x144
ret
Function at 0x9e7870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
or ecx, 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edx, dword [ebx]
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jae 0x9e7892
pop edi
pop ebx
add esp, 0x10
ret
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.mso.dll
lea edi, [ecx + edx - 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.00a871e0
add esp, 8
test eax, eax
pop esi
je 0x9e78e1
pop edi
xor eax, eax
pop ebx
add esp, 0x10
ret
mov edx, dword [ebx + 0x10]
push 0x10
push 1
push edx
call fcn.00a23120
test eax, eax
je 0x9e7981
push eax
mov eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x9e7981
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x9e7981
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa9ec94
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x9e7981
mov eax, dword [0xaa2204]
test byte [eax], 4
je 0x9e7960
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push str.Found_MSO.DLL_version__u._u._u._u_n
call fcn.009fe320
add esp, 0x14
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
cmp eax, 0xa0000
ja 0x9e7979
jne 0x9e7981
cmp dword [ecx + 0xc], 0xdad0001
jb 0x9e7981
pop edi
xor eax, eax
pop ebx
add esp, 0x10
ret
pop edi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x9eb340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x3c]
push edi
mov eax, dword [eax + ecx + 0x78]
test eax, eax
je 0x9eb384
mov ebx, dword [esp + 0x18]
mov esi, dword [eax + ecx + 0x10]
mov edi, dword [eax + ecx + 0x20]
mov edx, dword [eax + ecx + 0x24]
mov eax, dword [eax + ecx + 0x18]
sub ebx, esi
add edi, ecx
add edx, ecx
xor esi, esi
test eax, eax
jbe 0x9eb384
xor ebp, ebp
mov bp, word [edx]
cmp ebp, ebx
je 0x9eb38b
inc esi
add edx, 2
cmp esi, eax
jb 0x9eb373
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [edi + esi*4]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
ret

Function at 0x9ebd00
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0xa89428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
lea ecx, [esp + 0x10]
push edi
push str.sprof_CreateThread__s_d_d_d_n
call fcn.00a4fb80
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
cmp ebp, edi
je 0x9ebd44
cmp ebp, 0x2800
jae 0x9ebd44
mov ebp, 0x2800
push 0x20
call fcn.009ef380
add esp, 4
cmp eax, edi
je 0x9ebd72
mov dword [eax + 0x18], 1
mov ecx, dword [0xab500c]
mov dword [eax + 0x14], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x1c], edi
mov esi, eax
jmp 0x9ebd74
xor esi, esi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
cmp eax, edi
mov dword [esi], edx
je 0x9ebdbf
call fcn.009fe430
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
push edi
push ebx
test al, al
push esi
je 0x9ebdae
mov ecx, dword [esp + 0x34]
push 0x9ebc70
push ebp
push ecx
call dword [esp + 0x3c]
jmp 0x9ebdf1
mov edx, dword [esp + 0x34]
push fcn.009ebaa0
push ebp
push edx
call dword [esp + 0x3c]
jmp 0x9ebdf1
call fcn.009fe430
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
push edi
push ebx
test al, al
push esi
je 0x9ebde0
mov eax, dword [esp + 0x34]
push 0x9ebc70
push ebp
push eax
jmp 0x9ebdeb
mov ecx, dword [esp + 0x34]
push fcn.009ebaa0
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0xaa2204]
mov esi, eax
mov eax, dword [edx]
shr eax, 0x18
test al, 1
je 0x9ebe27
test edi, edi
je 0x9ebe0a
mov edi, dword [edi]
jmp 0x9ebe0c
xor edi, edi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push edi
push esi
push ebx
push ecx
push ebp
push edx
push str.CreateThread_start_addr_x_stack_size_x_param_x_flags_x____Handle_x_ThreadId_x_n
call fcn.009fe320
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00a4fbe0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x9ebe80
Capabilities:
Delete file

Disassembly:
mov ecx, dword [0xab4fc0]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
push edi
xor edi, edi
mov eax, dword [ecx + 4]
test eax, eax
je 0x9ebf33
mov edx, dword [ecx + 8]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x9ebf33
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 8]
test eax, eax
je 0x9ebf2d
cmp eax, dword [esi + 0x10]
je 0x9ebf2d
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x12
test dl, 1
je 0x9ebee0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push edx
push eax
push str._Freeing_tmp_DLL_stub_addr_x__s_for__s_n
call fcn.009fe320
add esp, 0x10
mov eax, dword [esi + 8]
push eax
call ebp
mov dword [esi + 8], 0
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x12
test dl, 1
je 0x9ebf11
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push eax
push ecx
push str._Deleting_tmp_DLL_stub__s_for__s_n
call fcn.009fe320
add esp, 0xc
mov edx, dword [0xab4fc0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0xab4fc0]
inc edi
jmp 0x9ebe91
call fcn.00a3e4b0
pop edi
pop esi
pop ebp
ret

Function at 0x9ec440
Capabilities:
Terminate process
Terminate thread

Disassembly:
mov eax, dword [0xab4fb8]
push ebp
mov ebp, dword [esp + 0xc]
test eax, eax
je 0x9ec45e
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x9ec468
mov dword [0xab4fb8], 1
mov eax, dword [0xaa2204]
mov dword [0xab4f48], 4
mov ecx, dword [eax]
shr ecx, 0x1d
test cl, 1
je 0x9ec48f
push ebp
push str.ExitProcess__x_n
call fcn.009fe320
add esp, 8
call fcn.009f8670
test al, al
je 0x9ec4b8
push 0x12c
call fcn.00a11bb0
mov al, byte [0xab53ad]
add esp, 4
test al, al
je 0x9ec4b8
push 0
call fcn.00a01b60
add esp, 4
push 1
push str.AutoShutdownServices
call fcn.00a350d0
add esp, 8
test eax, eax
je 0x9ec4d0
call fcn.00a0c0a0
push ebx
call fcn.009ec1c0
mov ecx, dword [0xab4fec]
call fcn.00a47f30
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0xab5018]
mov ebx, eax
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
cmp eax, ecx
je 0x9ec553
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [eax + 0xc], ebx
je 0x9ec52d
mov eax, dword [eax + 0x10]
push ebp
mov esi, dword [eax + 0x10]
push esi
call edi
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x1d
test dl, 1
je 0x9ec52d
push esi
push str.Shutdown_suspended_thread__x_n
call fcn.009fe320
add esp, 8
mov ecx, dword [0xab5018]
lea edx, [esp + 0x18]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
push edx
call fcn.009ee070
mov eax, dword [0xab5018]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
cmp eax, ecx
jne 0x9ec500
pop edi
pop esi
mov dword [0xab5020], 1
call fcn.009ec580
mov eax, dword [esp + 0xc]
pop ebx
test eax, eax
push ebp
je 0x9ec572
call eax
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x9ef700
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.00a7ede6
mov edi, eax
add esp, 4
xor al, al
cmp di, 0x61
mov dword [esp + 0x10], edi
mov byte [esp + 0x18], al
jb 0x9ef838
cmp di, 0x7a
ja 0x9ef838
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xab52f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xab5314]
cmp esi, eax
jb 0x9ef75e
mov ecx, esi
sub ecx, eax
cmp ecx, 0x3e8
jbe 0x9ef807
push ebx
push ebp
mov dword [0xab5314], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
push 0
push str.SandboxNetworkDrives
mov dword [0xab5268], edi
call fcn.00a350d0
push 0
push str.SandboxRemovableDisk
mov dword [esp + 0x28], eax
call fcn.00a350d0
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [0xab530c], 0
mov ebx, 0x61
lea ecx, [ebx - 0x61]
mov esi, 1
shl esi, cl
test edi, esi
je 0x9ef7fb
lea edx, [esp + 0x10]
mov byte [esp + 0x10], bl
push edx
mov byte [esp + 0x15], 0x3a
mov byte [esp + 0x16], 0x5c
mov byte [esp + 0x17], 0
call ebp
cmp eax, 3
je 0x9ef7f5
cmp eax, 2
jne 0x9ef7e8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9ef7fb
jmp 0x9ef7f5
cmp eax, 4
jne 0x9ef7fb
mov eax, dword [esp + 0x18]
test eax, eax
je 0x9ef7fb
or dword [0xab530c], esi
inc ebx
cmp ebx, 0x7a
jle 0x9ef7ac
mov edi, dword [esp + 0x1c]
pop ebp
pop ebx
lea ecx, [edi - 0x61]
mov eax, 1
shl eax, cl
mov ecx, dword [0xab530c]
pop esi
test eax, ecx
jne 0x9ef824
test dword [0xab5268], eax
jne 0x9ef829
mov byte [esp + 0x18], 1
push 0xab52f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esp + 0x18]
pop edi
add esp, 0x10
ret
Function at 0x9f1500
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [esi + esi]
push eax
call fcn.009ef3b0
lea ecx, [esp + 0x1c]
mov edi, eax
push ecx
push edi
push esi
call fcn.009f13e0
mov ebp, dword [esp + 0x24]
add esp, 0x10
test al, al
jne 0x9f1548
mov ebx, dword [esp + 0x1c]
test ebp, ebp
push ebx
push esi
je 0x9f153c
call ebp
mov dword [esp + 0x18], eax
jmp 0x9f155f
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [esp + 0x18], eax
jmp 0x9f155f
mov ebx, dword [esp + 0x1c]
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.009ef440
add esp, 4
test ebp, ebp
je 0x9f158e
mov edx, dword [0xaa2204]
mov eax, dword [edx]
shr eax, 0x14
test al, 1
je 0x9f158e
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push str.GetCurrentDirectoryA____0x_x___s__n
call fcn.009fe320
add esp, 0xc
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x9f50c0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0xa89c26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00a155c0
mov esi, dword [esp + 0x468]
lea ecx, [esp + 0x244]
push esi
mov dword [esp + 0x460], 0
call fcn.00a15040
mov eax, dword [eax + 8]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
push ecx
push 0
push eax
mov byte [esp + 0x470], 1
call fcn.009f1e00
lea ecx, [esp + 0x244]
mov bl, al
mov byte [esp + 0x45c], 0
call fcn.00a155e0
test bl, bl
mov ebx, dword [esp + 0x464]
je 0x9f515c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x9f5157
mov edi, dword [esp + 0x10]
jmp 0x9f516d
or edi, 0xffffffff
jmp 0x9f516d
test ebx, ebx
push esi
je 0x9f5165
call ebx
jmp 0x9f516b
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, eax
mov edx, dword [0xaa2204]
mov eax, dword [edx]
mov ecx, eax
shr ecx, 0x17
test cl, 1
jne 0x9f5196
shr eax, 3
test al, 1
je 0x9f51ae
cmp dword [esp + 0xc], 0xffffffff
jne 0x9f51ae
test esi, esi
je 0x9f51ae
cmp byte [esi], 0
je 0x9f51ae
test ebx, ebx
je 0x9f51ae
mov edx, dword [esp + 0x3c]
push edx
push edi
push esi
push str.GetFileAttributesA__s_____x__ls_n
call fcn.009fe320
add esp, 0x10
lea ecx, [esp + 0x34]
mov dword [esp + 0x45c], 0xffffffff
call fcn.00a155e0
mov ecx, dword [esp + 0x454]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret 8
Function at 0x9fc290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0xa8a13b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00a155c0
mov edi, dword [esp + 0x25c]
mov ebx, dword [esp + 0x258]
mov ebp, dword [esp + 0x254]
mov edx, dword [esp + 0x250]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x250]
mov esi, dword [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x250]
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x25c]
push eax
mov eax, dword [esp + 0x25c]
push ecx
mov ecx, dword [esp + 0x258]
push edx
push eax
push esi
push ecx
mov dword [esp + 0x25c], 0
call fcn.009fbf00
add esp, 0x30
test al, al
jne 0x9fc3b1
mov eax, dword [esp + 0x234]
push edi
test eax, eax
push ebx
push ebp
je 0x9fc374
mov edx, dword [esp + 0x25c]
mov ecx, dword [esp + 0x258]
mov ebx, dword [esp + 0x244]
push edx
mov edx, dword [esp + 0x258]
push ecx
mov ecx, dword [esp + 0x258]
push edx
mov edx, dword [esp + 0x258]
push ecx
push edx
push esi
push ebx
call eax
mov dword [esp + 0x10], eax
jmp 0x9fc3bc
mov eax, dword [esp + 0x25c]
mov ecx, dword [esp + 0x258]
mov edx, dword [esp + 0x254]
push eax
mov eax, dword [esp + 0x254]
push ecx
mov ecx, dword [esp + 0x254]
push edx
mov edx, dword [esp + 0x250]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [esp + 0x10], eax
jmp 0x9fc41a
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x238]
mov ecx, dword [esp + 0x234]
test ecx, ecx
je 0x9fc41a
mov ecx, dword [0xaa2204]
mov edx, dword [ecx]
shr edx, 0x1c
test dl, 1
je 0x9fc41a
test eax, eax
mov edx, 0xaa1d48
je 0x9fc3e5
mov edx, str._success_
test esi, esi
jne 0x9fc3ee
mov esi, 0xa9f46c
test ebx, ebx
mov ecx, 0xa9f46c
je 0x9fc3f9
mov ecx, ebx
mov ebx, dword [esp + 0x1c]
push ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi]
push ebx
push edi
push edx
push eax
push esi
push ecx
push str.CreateProcessW_app_ls_cmdline_ls_____x__s__h0x_x__pid0x_x___ls_n
call fcn.009fe320
mov eax, dword [esp + 0x30]
add esp, 0x20
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x22c], 0xffffffff
call fcn.00a155e0
mov ecx, dword [esp + 0x224]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 0x2c
Function at 0x9fc450
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.009fbf00
add esp, 0x30
test al, al
jne 0x9fc4cb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
pop ebp
pop ebx
ret 0x2c
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
ret 0x2c

Function at 0x9fcf20
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa8a20b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x250
lea ecx, [esp]
push ebx
push edi
push eax
push str._08x_th.ib
push 0x40
push ecx
xor ebx, ebx
call fcn.00a7e1f5
add esp, 0x10
lea edx, [esp + 8]
push edx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov edi, eax
cmp edi, ebx
je 0x9fcfe7
push esi
push ebx
push ebx
push ebx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x9fcfc6
mov eax, dword [esi + 8]
lea ecx, [esp + 0x4c]
add eax, esi
push eax
call fcn.00a152e0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x274]
push edx
mov dword [esp + 0x26c], ebx
call fcn.00a15a90
lea ecx, [esp + 0x4c]
mov dword [esp + 0x264], 0xffffffff
call fcn.00a155e0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop edi
pop ebx
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
add esp, 0x25c
ret
mov ecx, dword [esp + 0x258]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x25c
ret
Function at 0x9fdb90
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa8a268
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xab53c8
mov esi, eax
call fcn.00a47f30
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x10000
push 0xaf3c50
call ebx
cmp dword [0xaf3c50], 0x10000
je 0x9fdbf1
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call edi
cmp dword [0xaf3c50], 0x10000
jne 0x9fdbe1
mov eax, dword [0xaf3c0c]
mov ecx, dword [0xaf3be8]
cmp eax, ecx
jae 0x9fdc2d
push 0xffff0000
push 0xaf3c50
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0xab53c8
mov dword [esp + 0x24], 0xffffffff
test ecx, ecx
je 0x9fdd33
jmp 0x9fdd29
mov eax, dword [0xaf3c48]
test eax, eax
je 0x9fdc5b
push 0x10000
push eax
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
mov edx, dword [0xaf3c48]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0xaf3c4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0xaa220c]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x10]
add eax, 0x10000
push 0
push edx
mov dword [esp + 0x14], eax
push eax
mov eax, dword [0xaa220c]
adc ecx, 0
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [0xaa220c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [0xaa220c]
push 0
push edx
push eax
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0x10000
push edx
push ecx
push 2
push eax
mov dword [0xaf3c4c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov ecx, 0x4000
xor eax, eax
mov dword [0xaf3c48], edi
rep stosd dword es:[edi], eax
mov eax, dword [0xaf3c48]
push 0xffff0000
mov dword [0xaf3c0c], eax
add eax, 0x10000
push 0xaf3c50
mov dword [0xaf3be8], eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, 0xab53c8
mov dword [esp + 0x24], 0xffffffff
test edx, edx
je 0x9fdd33
mov ecx, 0xab53c8
call fcn.00a47f60
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x9fe470
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0xa8a2d6
push eax
mov dword fs:[0], esp
sub esp, 0x424
push ebx
push ebp
push esi
push edi
push str.ts_logmon
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x9fe5a9
push 0
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0xaf3c58], eax
mov dword [esp + 0x10], eax
xor esi, esi
lea edi, [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
je 0x9fe4ee
push edi
call ebp
inc esi
add edi, 0x20c
cmp esi, 0x80
jl 0x9fe4cb
jmp 0x9fe5a2
mov eax, dword [esp + 0x444]
lea ecx, [esp + 0x14]
push eax
call fcn.00a152e0
mov ecx, esi
push 0x100
shl ecx, 6
add ecx, esi
mov dword [esp + 0x440], 0
lea edx, [esi + ecx*2]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + edx*4]
mov ecx, eax
call fcn.00a15680
lea edx, [esi + 0x10c]
push eax
push edx
call fcn.00a7e8d0
or edi, 0xffffffff
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x43c], edi
call fcn.00a155e0
call fcn.009f9560
push eax
lea ecx, [esp + 0x228]
call fcn.00a152e0
push 0x100
mov ecx, eax
mov dword [esp + 0x440], 1
call fcn.00a15680
push eax
lea eax, [esi + 0xc]
push eax
call fcn.00a7e8d0
add esp, 0xc
lea ecx, [esp + 0x224]
mov dword [esp + 0x43c], edi
call fcn.00a155e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 8], eax
mov dword [esi], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x430
ret