joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003be30
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [0x1017b0f0], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [0x1017b0e8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f00
mov esi, eax
mov dword [esp + 0x14], 0x30
push 0
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x1003bd20
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.APPINSTALLTIPS
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esp + 0xc]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1003bf46
lea eax, [esp + 0x40]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1003bf3c
mov eax, dword [esp + 0x40]
push 0
push 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
push 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esp + 0x20]
mov dword [esp + 0x60], 1
mov dword [esp + 0x6c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0x824
push dword [0x1017b868]
call fcn.10055fa4
add esp, 0xc
push 0
push esi
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
push 0x100e3908
push str.APPINSTALLTIPS
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x1017b0ec], eax
test eax, eax
je 0x1003bff4
call fcn.10040980
test eax, eax
je 0x1003bff4
cmp dword [ebp + 0x14], 0
je 0x1003bfa6
call fcn.10042060
push ecx
call fcn.1003c550
push ecx
call fcn.1003c6a0
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x58]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x1003bff4
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x58]
push eax
call edi
lea eax, [esp + 0x58]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x64]
push eax
call esi
test eax, eax
jne 0x1003bfd5
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10056351
mov esp, ebp
pop ebp
ret
Function at 0x1003cac0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100567e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._adb_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10055f38
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push eax
call esi
test eax, eax
jne 0x1003cb5b
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1003cb5b
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x1003cb5b
lea ecx, [ebp - 0x20c]
call fcn.1003e080
push str.tadb.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
lea eax, [ebp - 0x20c]
pop esi
je 0x1003cb9c
push 0x104
push dword [0x1017b860]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x1003cbb0
push eax
push 0x104
push dword [0x1017b860]
call fcn.10055fa4
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1017b864], 1
call fcn.10056351
mov esp, ebp
pop ebp
ret

Function at 0x1003cc40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
call fcn.10055db0
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003cc78
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
push esi
push 0x208
push 0
push edi
call fcn.100567e0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003ccb8
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1003cd02
push ebx
mov ebx, dword [ebp + 8]
mov edi, edi
cmp dword [ebp - 0x228], ebx
je 0x1003ccec
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1003ccd0
jmp 0x1003cd01
lea eax, [ebp - 0x20c]
push eax
push 0x104
push edi
call fcn.10055fa4
add esp, 0xc
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
xor ecx, ebp
pop edi
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
Function at 0x1003cd20
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xa7c], ecx
push 0x206
push eax
mov word [ebp - 0x620], ax
xor ebx, ebx
lea eax, [ebp - 0x61e]
push eax
call fcn.100567e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.100567e0
add esp, 0x18
lea eax, [ebp - 0x828]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1003cf4b
push str.TencentAndroidServer_
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.100567e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.100567e0
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.10055fa4
push 0x100e3ba8
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.10055f38
add esp, 0x30
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003ce3e
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1003ce50
test byte [ebp - 0xa78], 0x10
je 0x1003cf0d
lea eax, [ebp - 0xa4c]
push 0x100e3f24
push eax
call fcn.10056d04
add esp, 8
test eax, eax
je 0x1003cf0d
mov eax, 0x100e3f28
lea ecx, [ebp - 0xa4c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1003ceaa
test dx, dx
je 0x1003cea6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1003ceaa
add ecx, 4
add eax, 4
test dx, dx
jne 0x1003ce84
xor eax, eax
jmp 0x1003ceaf
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003cf0d
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10055fa4
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10055f38
push str._tadb.exe
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10055f38
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003cf21
lea eax, [ebp - 0xa78]
push eax
push esi
call edi
test eax, eax
jne 0x1003ce50
jmp 0x1003cf26
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x1003cf4b
lea eax, [ebp - 0x210]
push eax
push 0x104
push dword [ebp - 0xa7c]
call fcn.10055fa4
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056351
mov esp, ebp
pop ebp
ret
Function at 0x1003d690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x44
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x100e3908
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1003d71f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1003d740
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 0x10]
push 0
push eax
push 0
push 0
push 0
push ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ecx, eax
test ecx, ecx
jne 0x1003d785
mov dword [edi], 0x7d1
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1003d792
mov dword [edi], 0x7d2
test ecx, ecx
je 0x1003d7f2
test eax, eax
je 0x1003d7f2
inc eax
push esi
push eax
mov dword [ebp - 8], eax
call fcn.10055db0
mov esi, eax
add esp, 4
test esi, esi
je 0x1003d7d7
push 0
lea eax, [ebp - 0xc]
mov dword [esi], 0
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003d7ea
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jae 0x1003d7d5
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi], 0x7d4
jmp 0x1003d7d5
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0x7d3
xor ecx, ebp
pop edi
pop ebx
call fcn.10056351
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003dc30
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.100567e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._adb_
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003dccc
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1003dccc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003dccc
lea ecx, [ebp - 0x220]
call fcn.1003e080
push str.history.dat
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.10055f38
push dword [ebp + 8]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
push 0x100e3a14
push eax
movdqu xmmword [ebp - 0x16], xmm0
call fcn.10006b80
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push str.history
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
Function at 0x1003dd30
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push eax
call fcn.100567e0
add esp, 0xc
lea eax, [ebp - 0x234]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._adb_
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.10055f38
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x234]
add esp, 0xc
push eax
call edi
test eax, eax
jne 0x1003ddcb
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1003ddcb
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x1003ddcb
lea ecx, [ebp - 0x234]
call fcn.1003e080
push esi
push str.history.dat
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.10055f38
add esp, 0xc
lea eax, [ebp - 0x234]
xor esi, esi
push eax
call edi
push dword [ebp + 8]
test eax, eax
mov ecx, 1
xorps xmm0, xmm0
cmove esi, ecx
xor eax, eax
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
push 0x100e3a14
push eax
movdqu xmmword [ebp - 0x16], xmm0
call fcn.10006b80
xor eax, eax
xorps xmm0, xmm0
cmp dword [ebp + 0xc], eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x1a], ax
setne al
push eax
lea eax, [ebp - 0x2c]
push 0x100e3a14
push eax
movdqu xmmword [ebp - 0x2a], xmm0
call fcn.10006b80
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push str.history
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
pop esi
je 0x1003de7e
lea eax, [ebp - 0x234]
push eax
call edi
test eax, eax
je 0x1003de7e
lea ecx, [ebp - 0x234]
call fcn.1003e080
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10056351
mov esp, ebp
pop ebp
ret 8
Function at 0x1003de90
Capabilities:
Get file size
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xc8
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x30], eax
call fcn.100567e0
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x34], ebx
cmp ebx, 0xffffffff
jne 0x1003defc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1003df1c
xor edi, edi
jmp 0x1003e033
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1003df3d
xor edi, edi
jmp 0x1003e033
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1003df54
xor edi, edi
jmp 0x1003e033
push esi
call fcn.10057dfa
add esp, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1003df7a
xor edi, edi
jmp 0x1003e033
mov esi, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x24]
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1003df97
xor edi, edi
jmp 0x1003e033
push esi
call fcn.10055eb4
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x28], 4
push 0
push eax
push 0
push 2
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x1003dfc4
xor edi, edi
jmp 0x1003e033
push dword [ebp - 0x28]
call fcn.10055db0
add esp, 4
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
push 0
push ecx
push eax
push 2
push dword [ebp - 0x1c]
call esi
test eax, eax
je 0x1003e033
xor eax, eax
xorps xmm0, xmm0
xor esi, esi
mov word [ebp - 0x18], ax
movdqu xmmword [ebp - 0x16], xmm0
mov word [ebp - 6], ax
cmp dword [ebp - 0x28], eax
jbe 0x1003e02e
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x18]
push str._02x
push eax
call fcn.10006b80
lea eax, [ebp - 0x18]
push eax
push 0x64
push ebx
call fcn.10055f38
inc esi
add esp, 0x18
cmp esi, dword [ebp - 0x28]
jb 0x1003e003
mov ebx, dword [ebp - 0x34]
mov edi, 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003e041
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003e051
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
je 0x1003e05c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056351
mov esp, ebp
pop ebp
ret 4
Function at 0x1003e190
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.iphlpapi.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1003e2b7
push eax
mov ecx, 0x13ad
call fcn.100428c0
mov dword [ebp - 0x214], eax
test eax, eax
je 0x1003e2b7
push eax
push esi
push 0x411
call edi
mov edi, eax
test edi, edi
je 0x1003e23a
push 0x208
call fcn.10055db0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1003e23a
push 0x208
push esi
push ebx
call fcn.100567e0
add esp, 0xc
push 0x208
push ebx
push esi
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1003e23a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x1003e2b7
mov esi, 1
jmp 0x1003e2b7
push dword [ebp - 0x214]
call fcn.1003cc40
mov edi, eax
test edi, edi
je 0x1003e2b1
push str.tadb.exe
push edi
call fcn.10056d04
add esp, 8
test eax, eax
jne 0x1003e2b1
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.100567e0
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.1003cd20
test eax, eax
je 0x1003e2a8
lea eax, [ebp - 0x210]
push eax
push 0x104
push dword [0x1017b860]
call fcn.10055fa4
add esp, 0xc
mov dword [0x1017b864], esi
push edi
call fcn.10055d78
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1003e324
push eax
mov ecx, 0x4a13
call fcn.100428c0
test eax, eax
je 0x1003e324
push eax
push 0
push 0x411
call edi
mov ebx, eax
test ebx, ebx
je 0x1003e324
push 0x208
call fcn.10055db0
mov edi, eax
add esp, 4
test edi, edi
je 0x1003e324
push 0x208
push 0
push edi
call fcn.100567e0
add esp, 0xc
push 0x208
push edi
push 0
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x1003e324
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056351
mov esp, ebp
pop ebp
ret
Function at 0x1003e340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c65af
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x100e8ab4
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.1003f5e0
lea eax, [ebp - 0x14]
mov dword [esi + 0x3c], 0
lea ebx, [edi + 0x10]
mov ecx, esi
push eax
mov dword [esi + 0x38], ebx
call fcn.1003fc60
push eax
mov dword [ebp - 4], 2
call fcn.1003fb20
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1003e40a
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x1003e40a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x18]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x1003e42f
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.100405a0
mov dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, ebx
call fcn.1003f320
lea eax, [ebx + 4]
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [ebx + 0xc], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 0x14]
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x45], 0
mov dword [ebx + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov dword [ebx + 0x50], 0
mov eax, dword [0x1017c8b8]
mov dword [ebx + 0x48], eax
mov eax, edi
mov dword [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003f010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c6638
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1003f164
cmp byte [ebx + 0x45], 0
je 0x1003f164
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1003f070
xor al, al
jmp 0x1003f166
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x1003f0b0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1003f0f1
dec eax
je 0x1003f0f5
sub eax, 2
je 0x1003f14b
xor bl, bl
jmp 0x1003f14d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1003f12c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10059f5d
add esp, 0x10
cmp esi, eax
jne 0x1003f0ed
cmp byte [ebx + 0x45], 0
je 0x1003f14b
test esi, esi
jne 0x1003f0b0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.100357f0
jmp 0x1003f0b0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x1003f160
push dword [esp + 0x18]
call fcn.100559ce
add esp, 4
mov al, bl
jmp 0x1003f166
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10056351
mov esp, ebp
pop ebp
ret