joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42db40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4485c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x42db9f
push ecx
mov ecx, dword [edi + 4]
push 0xffffffffffffffec
push ecx
call ebx
mov edx, dword [edi + 4]
push 0xffffffffffffffec
push edx
call esi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x80
cmp eax, ecx
je 0x42dbd8
mov eax, dword [edi + 4]
push ecx
push 0xffffffffffffffec
push eax
call ebx
mov ecx, dword [edi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
call fcn.004325af
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
push 0
push 0x3e8
push ecx
push edx
call fcn.0043cea0
mov ecx, eax
movzx eax, word [esp + 0x1c]
mov esi, edx
cdq
add ecx, eax
adc esi, edx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], esi
call fcn.004139a0
mov eax, dword [0x45c8e8]
cdq
push edx
push eax
mov eax, dword [0x45c8e4]
cdq
push edx
push eax
call fcn.004012c0
push 0
mov dword [0x45a118], eax
call fcn.004325ba
add esp, 0x14
push eax
call fcn.00431754
add esp, 4
lea esi, [esp + 0xc]
call fcn.0042da60
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
mov esi, dword [edi + 0xd4]
lea ebx, [edi + 0xd4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x42dcd1
cmp dword [esi + 0xc], 0
jl 0x42dcc7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42dcc7
call fcn.00401a60
mov dword [esp + 0x10], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42dcbc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x10]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x42dcd1
push ecx
push ebx
mov ebx, dword [ecx - 0xc]
call fcn.00402080
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dcf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
cmp dword [0x45cc04], eax
je 0x42dd0d
mov dword [edi + 0xd0], 2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x42e4b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447af0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [ebp - 0x10], ebx
call fcn.00401e30
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
push ecx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x10], ebx
je 0x42e587
mov ecx, dword [ebp + 8]
mov esi, dword [ecx - 0xc]
cmp esi, ebx
jge 0x42e524
push 0x80070057
call fcn.00402060
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x42e542
mov eax, esi
lea ecx, [ebp + 8]
call fcn.00402000
mov ecx, dword [ebp + 8]
lea eax, [esi + esi]
push eax
push ecx
mov ecx, dword [ebp - 0x10]
push 1
push ebx
push str.Start_Page
push ecx
call edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0043169d
add esp, 8
cmp eax, ebx
jl 0x42e51a
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jg 0x42e51a
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
push str.Software__Policies__Microsoft__Internet_Explorer__Control_Panel
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push ebx
push str.Software__Policies__Microsoft__Internet_Explorer__Control_Panel
push closesocket
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x42e5db
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42e60c
push 4
lea ecx, [ebp - 0x1c]
push ecx
push 4
push ebx
push str.HomePage
push eax
call edi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e63e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x218], ax
call fcn.004338d0
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push closesocket
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42e7e0
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
push eax
push eax
mov dword [0x45a11c], eax
mov eax, dword [ebp - 0x21c]
push str.Start_Page
push eax
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x21c]
push ecx
mov dword [0x45a11c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x218]
call fcn.00401e30
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x42e743
push 0x80004005
call fcn.00402060
mov esi, dword [ebp - 0x224]
mov eax, esi
jmp 0x42e750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e776
test dx, dx
je 0x42e772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e776
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e750
xor eax, eax
jmp 0x42e77b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
or edx, 0xffffffff
test al, al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
je 0x42e7cd
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42e808
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e7e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e806
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x42eeb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
lea edi, [ebx + 0x78]
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xb4], 0
jne 0x42ef6d
push str.ClientClientProcess_e61cb8cd_5c3f_4a47_b775_25bf9735b36b
push 0
push 0xf001f
mov dword [ebx + 0xb4], 1
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
test esi, esi
je 0x42ef28
mov edi, dword [0x45c8e4]
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [eax], edi
jle 0x42ef15
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 4]
jmp 0x42ef63
push str.ClientClientProcess_e61cb8cd_5c3f_4a47_b775_25bf9735b36b
push 0x14
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x42ef63
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x42ef63
mov ecx, dword [0x45c8e4]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebx + 0xb4], 0
test edi, edi
je 0x42ef78
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430c5e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45b824], 0
push esi
push edi
jne 0x430bd4
call fcn.00430b40
test eax, eax
je 0x430c19
mov eax, dword [0x45b824]
cmp eax, 1
jne 0x430bf5
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x430c19
jmp 0x430c5b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x430c5b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x430c1d
xor eax, eax
jmp 0x430c5b
mov eax, dword [esi]
push dword [0x45b824]
call edi
mov edi, eax
test edi, edi
je 0x430c3f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x430c5b
lea edi, [esi + 0xff0]
push esi
push dword [0x45b824]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x430c45
mov eax, esi
pop edi
pop esi
ret
jmp 0x430bc0

Function at 0x430efe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4590c0]
jne 0x430f08
repz ret
jmp fcn.00433996
Function at 0x43ee77
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4590c0]
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.004357d6
and dword [ebp - 0x14], 0
cmp dword [0x45c70c], 0
mov dword [ebp - 0x18], eax
jne 0x43ef2a
push 0x44d6fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43efd2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44d6f0
push ebx
call edi
test eax, eax
je 0x43efd2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x44d6e0
push ebx
mov dword [0x45c70c], eax
call edi
push eax
call esi
push 0x44d6cc
push ebx
mov dword [0x45c710], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45c714], eax
call edi
push eax
call esi
mov dword [0x45c71c], eax
test eax, eax
je 0x43ef2a
push 0x44d698
push ebx
call edi
push eax
call esi
mov dword [0x45c718], eax
mov eax, dword [0x45c718]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x43ef83
cmp dword [0x45c71c], ecx
je 0x43ef83
push eax
call esi
push dword [0x45c71c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x43ef83
test ebx, ebx
je 0x43ef83
call edi
test eax, eax
je 0x43ef7a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43ef7a
test byte [ebp - 8], 1
jne 0x43ef83
or dword [ebp + 0x10], 0x200000
jmp 0x43efb6
mov eax, dword [0x45c710]
cmp eax, dword [ebp - 0x18]
je 0x43efb6
push eax
call esi
test eax, eax
je 0x43efb6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43efb6
mov eax, dword [0x45c714]
cmp eax, dword [ebp - 0x18]
je 0x43efb6
push eax
call esi
test eax, eax
je 0x43efb6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45c70c]
call esi
test eax, eax
je 0x43efd2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43efd4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430efe
leave
ret
Function at 0x440f70
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x453c30
push 0x4362e0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x440fba
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x440ff0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x44117b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x441028
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x44117b
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x441054
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x44117b
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x441077
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x441126
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.00433c00
add esp, 8
test eax, eax
jne 0x441121
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4410c2
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x4410c4
jmp 0x441126
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x4410f1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x4410f3
jmp 0x441126
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x441107
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x44117b
jmp 0x44106e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x44117b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x441430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x441451
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x441463
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4415ab
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4415a8
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x44158c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.00433de0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00433de0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x441569
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x441567
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00433de0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x441570
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4418c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x45c724]
mov dword [ebp - 4], eax
jmp 0x4418d9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x4418f6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x4418d0
mov esp, ebp
pop ebp
ret

Function at 0x441900
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x45c734], eax
je 0x44191e
mov eax, 0x10dd
jmp 0x4419ff
mov eax, dword [0x45c744]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44199c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x44197a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x44197a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00441a70
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00430ef3
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x441926
mov dword [0x45c744], 0
call fcn.00441a10
mov ecx, dword [0x45c740]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x4419e9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00430ef3
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x4419b4
mov dword [0x45c740], 0
mov dword [0x45c734], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x441f70
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x441f85
xor eax, eax
jmp 0x441ffa
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x441fb2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x441ff5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x441ff3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x441fef
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x441ff3
xor eax, eax
jmp 0x441ffa
jmp 0x441fa9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4420a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x45c738], 0
je 0x4420b9
mov eax, dword [0x45c738]
jmp 0x442159
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4420cb
xor eax, eax
jmp 0x442159
push 8
call fcn.00431099
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442121
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x44210a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00430ef3
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x45c738], eax
mov dword [0x45c73c], 0
mov eax, dword [ebp - 4]
jmp 0x442159
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x44213b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4420eb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x45c740]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x45c740], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4