joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ea30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c50
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [edi + 0x4c]
push eax
xor ebx, ebx
push ebx
push edi
push 0x40e7a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x6c], eax
cmp eax, ebx
jne 0x40eaef
xor ecx, ecx
push 0x19
mov eax, str.CreateOutPutReadingThread
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00406cf0
mov dword [ebp - 4], ebx
lea esi, [ebx + 8]
cmp dword [edi + 0x10], ebx
je 0x40eada
lea edx, [ebp - 0x48]
push str.ERROR:
push edx
lea ebx, [ebp - 0x2c]
call fcn.00408eb0
add esp, 8
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [edi + 0x10]
mov edx, eax
call fcn.0040b4e0
cmp dword [ebp - 0x34], esi
jb 0x40eada
mov eax, dword [ebp - 0x48]
push eax
call fcn.00418932
add esp, 4
cmp dword [ebp - 0x18], esi
jb 0x40eaeb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00418932
add esp, 4
xor al, al
jmp 0x40eafc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret
Function at 0x40ebb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c10
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [0x43ee88]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
cmp dword [edi + 8], esi
jle 0x40ec15
push 1
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
mov eax, dword [edi + 0x6c]
cmp eax, esi
je 0x40ec82
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x40ec7f
cmp dword [edi + 0x10], esi
je 0x40ec7f
mov dword [ebp - 0x20], esi
xor ecx, ecx
push 0x3b
mov eax, str.ERROR:_Could_not_terminate_the_hOutPutReadingThread_thread.
lea esi, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
call fcn.00406cf0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [edi + 0x10]
push eax
mov ebx, esi
call fcn.0040b7a0
cmp dword [ebp - 0x1c], 8
jb 0x40ec7a
mov edx, dword [ebp - 0x30]
push edx
call fcn.00418932
add esp, 4
mov edi, dword [ebp - 0x50]
xor esi, esi
mov dword [edi + 0x6c], esi
mov esi, edi
call fcn.0040ece0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret
Function at 0x40f7d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fa70
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
or edi, 0xffffffff
mov dword [ebp - 0x4c], 0
call fcn.0040ee40
mov dword [ebp - 0x54], eax
test eax, eax
je 0x40f938
xor ecx, ecx
push ecx
mov word [ebp - 0x2c], cx
push esi
or eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00406970
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
push str.HKEY_CURRENT_USER
mov edi, 0x11
mov ecx, ebx
call fcn.00409300
test eax, eax
jne 0x40f896
lea edx, [ebp - 0x48]
push edx
mov ebx, esi
call fcn.0040fc90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402a70
mov edi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], edi
jb 0x40f89b
mov eax, dword [ebp - 0x48]
push eax
call fcn.00418932
add esp, 4
jmp 0x40f89b
mov edi, 8
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40f8cc
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40f8d7
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x54]
and ecx, 0x100
or ecx, 0x20006
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40f923
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x14], edi
jb 0x40f90c
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x4c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], edi
jb 0x40f934
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00418932
add esp, 4
mov eax, esi
jmp 0x40f93a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret
Function at 0x40fb00
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fa70
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
or edi, 0xffffffff
mov dword [ebp - 0x4c], 0
call fcn.0040ee40
mov dword [ebp - 0x54], eax
test eax, eax
je 0x40fc68
xor ecx, ecx
push ecx
mov word [ebp - 0x2c], cx
push esi
or eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00406970
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x10]
push str.HKEY_CURRENT_USER
mov edi, 0x11
mov ecx, ebx
call fcn.00409300
test eax, eax
jne 0x40fbc6
lea edx, [ebp - 0x48]
push edx
mov ebx, esi
call fcn.0040fc90
add esp, 4
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402a70
mov edi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], edi
jb 0x40fbcb
mov eax, dword [ebp - 0x48]
push eax
call fcn.00418932
add esp, 4
jmp 0x40fbcb
mov edi, 8
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40fbfc
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x40fc07
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
neg ecx
sbb ecx, ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp - 0x54]
and ecx, 0x100
or ecx, 0x20006
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40fc53
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x14], edi
jb 0x40fc3c
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x4c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], edi
jb 0x40fc64
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00418932
add esp, 4
mov eax, esi
jmp 0x40fc6a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret
Function at 0x412bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x430bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x43c4c0]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [0x43c4c0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
mov word [esp + 0x10], ax
mov eax, edi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412c24
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x14]
call fcn.00406cf0
mov ecx, esi
push ecx
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x43ee8c]
mov edx, eax
call fcn.0040b4e0
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x412c79
mov edx, dword [esp + 0x10]
push edx
call fcn.00418932
add esp, 4
push 0
push 0
push edi
push 0x412b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x43ee60], eax
test eax, eax
jne 0x412ce4
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
push 0x1e
mov eax, str.PCSUService:_SendHTTPRequest:
lea esi, [esp + 0x30]
mov dword [esp + 0x44], 7
call fcn.00406cf0
mov dword [esp + 0x58], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea edi, [esp + 0x2c]
call fcn.00410090
cmp dword [esp + 0x40], 8
jb 0x412ce4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00418932
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0041893d
mov esp, ebp
pop ebp
ret
Function at 0x417570
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430e49
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov esi, ecx
mov dword [ebp - 0x4c], edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
push edi
mov eax, 0x4354dc
mov dword [ebp - 0x50], esi
mov ebx, edx
call fcn.00406cf0
mov dword [ebp - 4], edi
push 8
mov dword [ebp - 0x4c], 1
call fcn.00418b13
add esp, 4
cmp eax, edi
je 0x4175e4
mov dword [eax + 4], edi
mov byte [eax], 1
mov edi, eax
lea ecx, [ebp - 0x48]
push str.SELECT_Value_FROM_Settings_WHERE_Name
push ecx
call fcn.00408eb0
push eax
mov eax, 0x437608
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.0040dc70
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00417070
add esp, 4
cmp dword [ebp - 0x18], 8
mov bl, al
jb 0x41762d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00418932
add esp, 4
xor eax, eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x417656
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00418932
add esp, 4
test bl, bl
je 0x417673
test edi, edi
je 0x41767c
cmp byte [edi], 0
jne 0x417673
mov eax, dword [edi + 4]
push 0
push eax
or eax, 0xffffffff
mov ecx, esi
call fcn.00406970
test edi, edi
je 0x41767c
call fcn.00412a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041893d
mov esp, ebp
pop ebp
ret

Function at 0x417a30
Capabilities:
Get logon sessions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov byte [ebp - 1], 0
call dword [sym.imp.Secur32.dll_LsaEnumerateLogonSessions]
mov edi, dword [sym.imp.Secur32.dll_LsaFreeReturnBuffer]
test eax, eax
jne 0x417ab1
push esi
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x417ab0
push ebx
mov ebx, dword [sym.imp.Secur32.dll_LsaGetLogonSessionData]
mov edx, dword [ebp - 0x10]
lea eax, [edx + esi*8]
test eax, eax
je 0x417a92
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], 0
call ebx
test eax, eax
mov eax, dword [ebp - 8]
jne 0x417a8b
test eax, eax
je 0x417a92
cmp dword [eax + 0x24], 2
je 0x417a9a
test eax, eax
je 0x417a92
push eax
call edi
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x417a62
jmp 0x417aaf
mov edx, dword [eax + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [eax + 0x34]
push eax
mov byte [ebp - 1], 1
mov dword [ecx + 4], edx
call edi
pop ebx
pop esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x417abb
push eax
call edi
mov al, byte [ebp - 1]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41893d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c4c0]
jne 0x418947
repz ret
jmp fcn.0041e0d7
Function at 0x42a2e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c4c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041f3ac
and dword [ebp - 0x14], 0
cmp dword [0x43ee04], 0
mov dword [ebp - 0x18], eax
jne 0x42a397
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42a43f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x42a43f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43ee04], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43ee08], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43ee0c], eax
call edi
push eax
call esi
mov dword [0x43ee14], eax
test eax, eax
je 0x42a397
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43ee10], eax
mov eax, dword [0x43ee10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42a3f0
cmp dword [0x43ee14], ecx
je 0x42a3f0
push eax
call esi
push dword [0x43ee14]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42a3f0
test ebx, ebx
je 0x42a3f0
call edi
test eax, eax
je 0x42a3e7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42a3e7
test byte [ebp - 8], 1
jne 0x42a3f0
or dword [ebp + 0x10], 0x200000
jmp 0x42a423
mov eax, dword [0x43ee08]
cmp eax, dword [ebp - 0x18]
je 0x42a423
push eax
call esi
test eax, eax
je 0x42a423
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a423
mov eax, dword [0x43ee0c]
cmp eax, dword [ebp - 0x18]
je 0x42a423
push eax
call esi
test eax, eax
je 0x42a423
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43ee04]
call esi
test eax, eax
je 0x42a43f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42a441
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041893d
leave
ret
Function at 0x101bfbbc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101d85e0]
jne 0x101bfbc6
repz ret
jmp fcn.101bfe6d

Function at 0x101c066e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101d85cc], 0
mov byte [0x101d85d0], 0
mov dword [0x101d85c8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c06cc
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, 0x25fd
mov dword [0x101d85c8], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101c06fe
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101d85c0], 0x25fd
mov eax, dword [0x101d85c8]
add eax, 1
mov dword [0x101d85c8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c06cc
jmp 0x101c06b3
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x101d85d4], 0
add eax, 0xfffff560
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101d85cc]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101d85d4], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101d85cc], edx
mov esi, dword [ebp - 0x28]
mov dword [0x101d85c0], esi
mov bl, byte [ebx + ecx]
mov byte [0x101d85d0], bl
mov dword [0x101d85c4], 0x21ee
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101d85d0]
mov ecx, dword [0x101d85cc]
mov byte [esi + ecx], bl
mov ecx, dword [0x101d85c0]
add ecx, 0xfffff153
mov dword [0x101d85c0], ecx
mov edx, dword [0x101d85c8]
add edx, 1
mov dword [0x101d85c8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x101c06fe
jmp 0x101c06ab
Function at 0x101c07c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101d85c0]
add esi, 0xffffeeb0
mov dword [0x101d85c0], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101c084d
mov eax, dword [ebp - 0x34]
add eax, 0x15c8
mov dword [0x101d85c4], 0x20b8
mov dword [ebp - 0x38], eax
jmp 0x101c090a
lea eax, [ebp - 0x24]
mov dword [0x101d85c4], 0x19f0
mov dword [ebp - 0x3c], eax
call fcn.101c05b7
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.101c022a
xor ecx, ecx
mov dword [0x101d85c4], 0x22ca
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
je 0x101c090a
jmp 0x101c0879
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101c2458]
mov dh, byte [eax + 0x101c2429]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x101c080a
jmp 0x101c084d
mov eax, dword [ebp - 0x40]
mov dword [0x101d85c0], 0x16e2
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.101c0d67
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101d85c4], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101d85c0], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x18], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x101c07f0
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x101c0c39
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101d85c4], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101d85c0], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101c0cc8
mov dword [0x101d85c0], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101c0d09
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101c0d5f
mov dword [0x101d85c4], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101c0c79
jmp 0x101c0c92
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101c0d1d
jmp 0x101c0c92
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101c0cf5
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x101c0cc8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101c0c9c
jmp 0x101c0c92
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101c0cb7
jmp 0x101c0c92
mov dword [0x101d85c4], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101c0c92
mov eax, 1
mov dword [0x101d85c0], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101c0c92
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x101c115c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101c13c4
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101c1198
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d85c0], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101d85c4], 0x241c
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101c1235
jmp 0x101c1240
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101d85c4], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x101d85c0], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x101c1235
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x101c129a
jmp 0x101c126e
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x101c120a
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x101c120a
mov al, byte [ebp - 0x42]
test al, 1
jne 0x101c11d9
jmp 0x101c12a7
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x34]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
jb 0x101c1252
jmp 0x101c1235