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

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x415060]
xor eax, ebp
lds ecx, [ecx + 0x2a485]
add byte [esi - 0x77], dl
test dword [eax - 0x77000000], ecx
lea eax, [eax + eax - 0x6a770000]
add byte [eax], 0
add byte [ecx + 0x75897c5d], cl
js 0x40abe5
jge 0x40acd2
mov word [ebp + 0xa0], ss
mov word [ebp + 0x94], cs
mov word [ebp + 0x70], ds
mov word [ebp + 0x6c], es
mov word [ebp + 0x68], fs
mov word [ebp + 0x64], gs
pushfd
pop dword [ebp + 0x98]
mov esi, dword [ebp + 0x2ac]
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
mov dword [ebp - 0x28], 0x10001
mov dword [ebp + 0x90], esi
mov eax, dword [eax - 4]
push 0x50
mov dword [ebp + 0x8c], eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00408150
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x80], 0xc000000d
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x40acfb
test esi, esi
jne 0x40acfb
push 2
call fcn.0040d803
pop ecx
push 0xc000000d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
pop esi
call fcn.004080b5
add ebp, 0x2a8
leave
ret
Function at 0x626380
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call fcn.005f96f0
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret
Function at 0x64d7a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x666b3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call 0x5d57fc28
lea esi, [edi + 4]
mov dword [edi], 0x6ea23c
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call 0xf574eb64
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call 0x4d18e398
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ecb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409aef
mov dword [ebp - 0x14], eax
cmp dword [0x816080], esi
jne 0x40eda6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ed33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ee86
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ee86
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ee86
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x816080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x816084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x816088], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x816090], eax
test eax, eax
je 0x40eda3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81608c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40edcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40edbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ede0
push 4
pop eax
jmp 0x40ee88
cmp dword [ebp - 0x14], esi
je 0x40ede0
push dword [0x816080]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40edc5
mov eax, dword [0x81608c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ee3e
cmp dword [0x816090], edi
je 0x40ee3e
push eax
call ebx
push dword [0x816090]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ee3e
test eax, eax
je 0x40ee3e
call ecx
test eax, eax
je 0x40ee33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ee33
test byte [ebp - 8], 1
jne 0x40ee3e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ee6e
mov eax, dword [0x816084]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
call eax
mov esi, eax
test esi, esi
je 0x40ee6b
mov eax, dword [0x816088]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x816080]
call ebx
test eax, eax
je 0x40ee86
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ee88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414c
mov esp, ebp
pop ebp
ret
Function at 0x40ecb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409aef
mov dword [ebp - 0x14], eax
cmp dword [0x815fa0], esi
jne 0x40eda6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ed33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ee86
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ee86
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ee86
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x815fa0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x815fa4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x815fa8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815fb0], eax
test eax, eax
je 0x40eda3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x815fac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40edcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40edbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ede0
push 4
pop eax
jmp 0x40ee88
cmp dword [ebp - 0x14], esi
je 0x40ede0
push dword [0x815fa0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40edc5
mov eax, dword [0x815fac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ee3e
cmp dword [0x815fb0], edi
je 0x40ee3e
push eax
call ebx
push dword [0x815fb0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ee3e
test eax, eax
je 0x40ee3e
call ecx
test eax, eax
je 0x40ee33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ee33
test byte [ebp - 8], 1
jne 0x40ee3e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ee6e
mov eax, dword [0x815fa4]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
call eax
mov esi, eax
test esi, esi
je 0x40ee6b
mov eax, dword [0x815fa8]
cmp eax, edi
je 0x40ee6b
push eax
call ebx
test eax, eax
je 0x40ee6b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x815fa0]
call ebx
test eax, eax
je 0x40ee86
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ee88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414c
mov esp, ebp
pop ebp
ret
Function at 0x41fcd2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41fd11
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41fd11
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41fd11
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41fd11
cmp dword [ecx + 0x74], 0xe
jbe 0x41fd11
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x421251
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b5ec
push 0x42b5e4
push str.FlsAlloc
push 0x1f
call fcn.00421534
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421285
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x42128b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4212cf
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b5fc
push 0x42b5f4
push str.FlsGetValue
push 0x21
call fcn.00421534
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421306
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42130e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b604
push 0x42b5fc
push str.FlsSetValue
push 0x22
call fcn.00421534
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421348
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x424574
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4a9014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4245bf
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004246ea
test al, al
jne 0x4245b9
sub edx, 2
cmp edx, edi
jne 0x42459f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4245e1
lea eax, [edi + 2]
cmp edx, eax
je 0x4245e1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004244c0
add esp, 0x10
jmp 0x4246db
push esi
lea ecx, [ebp - 0x255]
call fcn.004246ea
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x424624
push dword [ebp - 0x25c]
jmp 0x4245d1
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x424661
cmp word [ebp - 0x226], 0
je 0x424682
cmp word [ebp - 0x226], ax
jne 0x424661
cmp word [ebp - 0x224], 0
je 0x424682
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004244c0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4246ce
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42463b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4246b6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4246db
push 0x42470e
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00427850
add esp, 0x10
jmp 0x4246ab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f402
leave
ret
Function at 0x40f197
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a16b
mov dword [ebp - 0x14], eax
cmp dword [0x4309fc], esi
jne 0x40f28a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f217
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f36a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f36a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f36a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4309fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x430a00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x430a04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430a0c], eax
test eax, eax
je 0x40f287
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430a08], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f2af
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f2a2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push 4
pop eax
jmp 0x40f36c
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push dword [0x4309fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f2a9
mov eax, dword [0x430a08]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f322
cmp dword [0x430a0c], edi
je 0x40f322
push eax
call ebx
push dword [0x430a0c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f322
test eax, eax
je 0x40f322
call ecx
test eax, eax
je 0x40f317
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f317
test byte [ebp - 8], 1
jne 0x40f322
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f352
mov eax, dword [0x430a00]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
call eax
mov esi, eax
test esi, esi
je 0x40f34f
mov eax, dword [0x430a04]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4309fc]
call ebx
test eax, eax
je 0x40f36a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f36c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040482b
mov esp, ebp
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x555b4c4a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6544624a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401780
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, edx
mov ebx, ecx
push str.ANDROID_PRODUCT_OUT
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
add esp, 4
test eax, eax
je 0x4018cb
mov ebp, eax
cmp byte [eax], 0
je 0x4018cb
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x4018d5
mov ecx, eax
cmp eax, 0xb
jae 0x4017ec
mov eax, ecx
add al, cl
mov byte [esp], al
lea esi, [esp + 1]
test ecx, ecx
jne 0x401819
jmp 0x401828
mov dword [esp + 0xc], ebx
mov ebx, ecx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
mov esi, ecx
call fcn.00420210
mov ecx, esi
add esp, 4
mov esi, eax
mov dword [esp + 8], eax
add ebx, 2
mov dword [esp], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 4], ecx
push ecx
push ebp
push esi
mov ebp, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, ebp
add esp, 0xc
mov byte [esi + ecx], 0
mov ecx, esp
push 0x579640
call fcn.00424050
movsd xmm0, qword [eax]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
movzx eax, byte [edi]
test al, 1
je 0x40186c
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
jmp 0x40186f
inc edi
shr eax, 1
lea ecx, [esp + 0x10]
push eax
push edi
call fcn.00423e00
movsd xmm0, qword [eax]
movsd qword [ebx], xmm0
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
test byte [esp + 0x10], 1
je 0x4018af
push dword [esp + 0x18]
call fcn.004203b0
add esp, 4
test byte [esp], 1
je 0x4018c1
push dword [esp + 8]
call fcn.004203b0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
push str.ANDROID_PRODUCT_OUT_not_set
call fcn.004286b0
mov ecx, esp
call fcn.00423320
nop dword [eax]
Function at 0x402030
Capabilities:
Terminate process

Disassembly:
push edi
push esi
push eax
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call edi
add esp, 4
push str.fastboot:_usage:
push eax
call fcn.004018e0
add esp, 8
lea eax, [esp + 0x14]
mov dword [esp], eax
push 2
call edi
add esp, 4
mov ecx, eax
mov edx, esi
push dword [esp]
call fcn.00402090
add esp, 4
push 2
call edi
add esp, 4
push 0x5786b5
push eax
call fcn.004018e0
add esp, 8
push 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop dword [eax + eax]
Function at 0x4031d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov byte [esp], 0x14
mov dword [esp + 1], 0x746f6c73
mov dword [esp + 5], 0x756f632d
mov word [esp + 9], 0x746e
mov byte [esp + 0xb], 0
mov eax, dword [ecx]
lea edx, [esp + 0xc]
mov esi, esp
push 0
push edx
push esi
call dword [eax + 0x14]
test eax, eax
je 0x403246
test byte [esp], 1
je 0x403234
push dword [esp + 8]
call fcn.004203b0
add esp, 4
xor esi, esi
test byte [esp + 0xc], 1
jne 0x4032d6
jmp 0x4032e2
test byte [esp + 0xc], 1
je 0x403253
mov ebp, dword [esp + 0x14]
jmp 0x403257
lea ebp, [esp + 0xd]
dec ebp
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
nop
movsx ebx, byte [ebp + 1]
inc ebp
push ebx
call esi
add esp, 4
test eax, eax
jne 0x403260
mov esi, 0xa
cmp bl, 0x30
jne 0x403295
movzx eax, byte [ebp + 1]
mov esi, 0x10
cmp al, 0x78
je 0x403295
cmp al, 0x58
mov eax, 0x10
mov esi, 0xa
cmove esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push esi
push eax
push ebp
call fcn.0047c4f0
add esp, 0xc
mov ebx, eax
mov edi, edx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor esi, esi
cmp dword [eax], 0
je 0x4032ec
test byte [esp], 1
jne 0x40330b
test byte [esp + 0xc], 1
je 0x4032e2
push dword [esp + 0x14]
call fcn.004203b0
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x18]
cmp ebp, eax
je 0x4032f9
cmp byte [eax], 0
je 0x403320
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
test byte [esp], 1
je 0x4032cf
push dword [esp + 8]
call fcn.004203b0
add esp, 4
test byte [esp + 0xc], 1
jne 0x4032d6
jmp 0x4032e2
mov eax, ebx
sar eax, 0x1f
xor eax, edi
je 0x40333d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x22
test byte [esp], 1
je 0x4032cf
jmp 0x40330b
mov esi, ebx
test byte [esp], 1
je 0x4032cf
jmp 0x40330b