joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a451a
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x4d7216
call fcn.004b6e84
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x4a4548
call fcn.0049d3c8
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x4a4543
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4a4590
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.004b6e04
push eax
call fcn.00486d50
add esp, 0x14
push ebx
push edi
call fcn.004a44ed
xor eax, eax
jmp 0x4a46b1
cmp eax, 0x104
jb 0x4a45ad
test edi, edi
je 0x4a4589
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00487e00
jmp 0x4a4589
call fcn.0049dc5a
push eax
lea ecx, [ebp - 0x15c]
call fcn.0049d5b0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.004a3de2
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x4a46a6
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4a4618
push ebx
push edi
call fcn.004a44ed
lea ecx, [esi - 0x10]
call fcn.00487d40
jmp 0x4a4589
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x4a4634
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x4a46a6
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4a46a6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4a4604
cmp eax, dword [ebp - 0x158]
jbe 0x4a4604
lea eax, [ebp - 0x124]
push eax
call fcn.004b6a50
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x4a46b9
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.004b55bc
push eax
call fcn.00486d50
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00487d40
xor eax, eax
inc eax
call fcn.004b6e33
ret 0xc
test edi, edi
je 0x4a460b
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00487e00
jmp 0x4a460b

Function at 0x4a6fa7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4a6fec
call fcn.004a4af7
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a6fec
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4a7008
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0049ce52
mov ebx, eax
test edi, edi
je 0x4a7006
test esi, esi
je 0x4a7006
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4abc38
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4abc86
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.004b6a50
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4abc7b
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4abc69
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0049d3c8
int3

Function at 0x4aeefe
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4fa7e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4aef90
test esi, esi
je 0x4aef90
push esi
call fcn.004b6a50
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.004b4310
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x4aef75
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x4aef75
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4aef7d
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3861
mov esp, ebp
pop ebp
ret 8
call fcn.0049d3c8
int3
Function at 0x4b157f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x4d7b95
call fcn.004b6e84
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.004a4af7
push ebx
mov ecx, dword [eax + 4]
call fcn.004a1341
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x22c]
push dword [eax]
push esi
call fcn.004b132e
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00487d40
inc bl
je 0x4b172d
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.004b4310
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x4b16e9
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.004b4310
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004b151d
test eax, eax
jne 0x4b16d4
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.004b04af
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00487e00
mov dword [ebp - 0x230], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x22c]
call ebx
test eax, eax
je 0x4b1657
lea ecx, [ebp - 0x22c]
call fcn.004a1327
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.004b0aba
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00487d40
lea ecx, [ebp - 0x22c]
call fcn.004a1327
lea ecx, [ebp - 0x23c]
call fcn.004a1327
mov eax, dword [ebp - 0x230]
call fcn.004b6e33
ret
Function at 0x4c849d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4fa7e0]
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.004c33a9
mov dword [ebp - 0x14], eax
cmp dword [0x503c28], esi
jne 0x4c8590
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c851d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c8670
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c8670
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c8670
push eax
call ebx
push 0x4e00ac
push edi
mov dword [0x503c28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4e00bc
push edi
mov dword [0x503c2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x503c30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x503c38], eax
test eax, eax
je 0x4c858d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x503c34], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c85b5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c85a8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c85ca
push 4
pop eax
jmp 0x4c8672
cmp dword [ebp - 0x14], esi
je 0x4c85ca
push dword [0x503c28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c85af
mov eax, dword [0x503c34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4c8628
cmp dword [0x503c38], edi
je 0x4c8628
push eax
call ebx
push dword [0x503c38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c8628
test eax, eax
je 0x4c8628
call ecx
test eax, eax
je 0x4c861d
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 0x4c861d
test byte [ebp - 8], 1
jne 0x4c8628
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c8658
mov eax, dword [0x503c2c]
cmp eax, edi
je 0x4c8655
push eax
call ebx
test eax, eax
je 0x4c8655
call eax
mov esi, eax
test esi, esi
je 0x4c8655
mov eax, dword [0x503c30]
cmp eax, edi
je 0x4c8655
push eax
call ebx
test eax, eax
je 0x4c8655
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x503c28]
call ebx
test eax, eax
je 0x4c8670
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c8672
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3861
mov esp, ebp
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xb2a7ec2
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x33314b78
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x100
lea eax, [ebp - 0x204]
mov ebx, ecx
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4010d7
push 4
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4010e7
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call edi
push esi
call edi
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x4010d6
push 0xf01ff
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4010d3
lea eax, [ebp - 0x220]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4010d0
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call edi
push ebx
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401664
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401664
mov esp, ebp
pop ebp
ret
Function at 0x401330
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402605
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
push 0xc0
movups xmmword [ebp - 0x34], xmm0
call fcn.00401672
mov dword [ebp - 0x34], eax
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], 0x5f
mov dword [ebp - 0x24], 0x5a
mov ecx, 0x2d
mov esi, 0x403208
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov word [eax + 0xb4], cx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
push 0x40
cmovae eax, dword [ebp - 0x34]
push 0x4031b4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x4013fb
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4013f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4013f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004016a2
add esp, 8
push 4
call fcn.00401672
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401300
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x401610
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40147b
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x401448
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x40145e
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401664
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x401f27
Capabilities:
Parse pe header

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

Disassembly:
push 0xffffffffffffffff
push 0x1016ac60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
call fcn.10127080
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], ebx
call fcn.10154190
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0xc]
push 1
push eax
push ecx
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 1
call fcn.101270f0
test eax, eax
jle 0x1000ad96
lea ecx, [esp + 0x20]
call fcn.10049700
mov ecx, eax
call fcn.10154a90
push eax
push 0x1019984c
add esi, 0x10
push str._s__caoslib___s
push esi
call fcn.101552a0
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], bl
call fcn.10154250
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0xffffffff
call fcn.101270c0
pop edi
pop esi
mov eax, 0x1392
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc
cmp edi, 0x3f3
jne 0x1000ada7
push 0xf
push str.0_0_t
jmp 0x1000adb6
cmp edi, 0x3f4
jne 0x1000ae01
push 0x13
push str.010_r
mov esi, dword [esp + 0x6c]
mov ecx, esi
call fcn.101544f0
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.10154880
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], bl
call fcn.10154250
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0xffffffff
call fcn.101270c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc
push 0x10198ef8
lea ecx, [esi + 0x10]
call fcn.10154630
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], bl
call fcn.10154250
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0xffffffff
call fcn.101270c0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov eax, 0x138f
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc
Function at 0x1003b5a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1016bcb8
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x44]
push ebp
push edi
test ebx, ebx
jne 0x1003b5da
pop edi
pop ebp
mov eax, 0x3e9
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x218]
cmp eax, 0x3ef
je 0x1003b825
cmp eax, 0x3f0
je 0x1003b825
cmp eax, 0x3f1
je 0x1003b825
cmp eax, 0x3f2
je 0x1003b825
cmp eax, 0x3f3
je 0x1003b825
cmp eax, 0x3f6
je 0x1003b825
cmp eax, 0x3f7
je 0x1003b825
cmp eax, 0x3f8
je 0x1003b825
cmp eax, 0x3fa
je 0x1003b825
push ebx
call fcn.10013240
push 4
push 5
push ebx
call fcn.100133a0
add esp, 0x10
test eax, eax
jle 0x1003b691
push 0
push 0
push 0
push 0x1019a7a0
push str.DSTK_CRYPT_VerifyMAC
push 0
push 0x3f5
push ebx
call fcn.10013000
add esp, 0x20
mov eax, 0x3f5
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1003b800
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1003b800
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1003b7f3
mov ebp, dword [esp + 0x68]
test ebp, ebp
je 0x1003b7f3
mov eax, dword [esp + 0x50]
dec eax
cmp eax, 3
ja case.default.0x1003b6cf
jmp dword [eax*4 + 0x1003b838]
call fcn.10126fa0
jmp 0x1003b6f0
call fcn.10126fb0
jmp 0x1003b6f0
call fcn.10126f90
jmp 0x1003b6f0
call fcn.10126f80
push esi
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.10129070
mov edx, dword [esp + 0x60]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x48], 0
mov eax, 0x101d18f0
je 0x1003b71f
mov esi, dword [esp + 0x64]
test esi, esi
je 0x1003b71f
mov eax, edx
mov ecx, esi
mov edx, dword [esp + 0x68]
push ebp
push edx
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x6c]
push eax
push ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.10129360
test eax, eax
pop esi
jle 0x1003b797
lea ecx, [esp + 0xc]
call fcn.10049700
mov ecx, eax
call fcn.10154a90
push eax
push 0
push 0
push 0x1019e080
push str.DSTK_CRYPT_VerifyMAC
push 1
push 0x1395
push ebx
call fcn.10013000
add esp, 0x20
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.101290b0
pop edi
pop ebp
mov eax, 0x1395
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
call fcn.101290b0
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push 0
push 0
push 0
push 0x1019dfe8
push str.DSTK_CRYPT_VerifyMAC
push 0
push 0x1393
push ebx
call fcn.10013000
add esp, 0x20
mov eax, 0x1393
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
push 0
push 0
push 0
push str.MAC
jmp 0x1003b80b
push 0
push 0
push 0
push 0x1019dfcc
push str.DSTK_CRYPT_VerifyMAC
push 0
push 0x3ec
push ebx
call fcn.10013000
add esp, 0x20
mov eax, 0x3ec
mov ecx, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret