joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ab70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
push edi
test esi, esi
je 0x1000ad28
cmp dword [0x1017bd9c], ebx
jne 0x1000ad28
cmp dword [esi + 0x24], ebx
jne 0x1000ad28
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000ad28
lea ecx, [ebp - 4]
push ecx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1017be54], ebx
je 0x1000abfe
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push edx
push eax
push str.SetProgressBarPos__1___d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ebx, dword [esi + 0x7050]
mov eax, edi
sub eax, dword [esi + 0x7040]
mov ecx, edx
sbb ecx, dword [esi + 0x7044]
add dword [esi + 0x7048], eax
mov dword [esi + 0x7040], edi
mov edi, dword [esi + 0x7054]
adc dword [esi + 0x704c], ecx
mov dword [esi + 0x7044], edx
test edi, edi
jl 0x1000ad23
jg 0x1000ac4a
test ebx, ebx
je 0x1000ad23
or eax, ecx
mov ebx, dword [esi + 0x7038]
jne 0x1000ac92
mov ecx, dword [esi + 0x704c]
mov edx, dword [esi + 0x7048]
push eax
push 0xffff
push ecx
push edx
call fcn.10107120
mov ecx, dword [esi + 0x7050]
push edi
push ecx
push edx
push eax
call fcn.10107160
cmp eax, ebx
jbe 0x1000ad23
mov edi, eax
mov eax, esi
call fcn.10008b00
jmp 0x1000ad23
mov ecx, dword [esi + 0x7068]
add ecx, dword [esi + 0x7080]
mov eax, dword [esi + 0x706c]
adc eax, dword [esi + 0x7084]
cmp eax, edx
jg 0x1000ad19
jl 0x1000acb5
cmp ecx, dword [ebp - 8]
ja 0x1000ad19
mov eax, dword [esi + 0x704c]
mov ecx, dword [esi + 0x7048]
push 0
push 0xffff
push eax
push ecx
call fcn.10107120
mov ecx, dword [esi + 0x7050]
push edi
push ecx
push edx
push eax
call fcn.10107160
cmp eax, ebx
jbe 0x1000aceb
mov edi, eax
mov eax, esi
call fcn.10008b00
xor eax, eax
mov dword [esi + 0x7074], eax
mov dword [esi + 0x7068], eax
mov dword [esi + 0x706c], eax
mov dword [esi + 0x7060], eax
mov dword [esi + 0x7064], eax
mov dword [esi + 0x7080], eax
mov dword [esi + 0x7084], eax
jmp 0x1000ad23
mov dword [esi + 0x7074], 0
mov ebx, 1
pop edi
mov eax, ebx
mov dword [0x1017bd9c], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ad40
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x220], 1
cmp eax, ebx
je 0x1000ae8a
cmp edi, ebx
je 0x1000ae8a
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000ae74
lea eax, [ebp - 0x218]
push eax
push esi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
or eax, dword [ebp - 0x218]
push esi
je 0x1000ae6e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x206
lea edx, [ebp - 0x212]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x214], cx
call fcn.10105240
push 0x103
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.10102ddd
lea ecx, [ebp - 0x214]
push 0x5c
push ecx
call fcn.10102ec2
add esp, 0x20
cmp eax, ebx
je 0x1000ae10
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x214]
push ecx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x228]
mov edx, ecx
or edx, eax
je 0x1000ae74
cmp dword [ebp - 0x218], eax
jb 0x1000ae74
ja 0x1000ae56
cmp dword [ebp - 0x21c], ecx
jb 0x1000ae74
mov dword [ebp - 0x220], ebx
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x220]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.101026e9
mov esp, ebp
pop ebp
ret
Function at 0x10025016
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1002505d
call fcn.10016096
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002505d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10025079
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10024b16
mov esi, eax
test edi, edi
je 0x10025077
test ebx, ebx
je 0x10025077
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10025458
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1011e4f0
call fcn.10104ceb
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x1002547d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100254cf
call fcn.1001064f
push eax
lea ecx, [ebp - 0x10]
call fcn.10001760
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1010483a
push eax
call fcn.10001860
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10001b10
mov eax, esi
call fcn.10104dc3
ret 8

Function at 0x10025f21
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10025bc5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10025f6b
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10009ea0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004cf0
jmp 0x10025f76
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1001a549
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10025f7c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.10025122
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10025fb9
call fcn.10025bc5
mov dword [esi + 0xc], 1
jmp 0x10025fbe
call fcn.10025bc5
cmp dword [esi], 0
je 0x10026007
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x10025fdf
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10009ea0
jmp 0x10025ff1
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.10001c70
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004cf0
jmp 0x1002602b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1002602b
push dword [esi]
push dword [ebp + 8]
call fcn.1001a549
pop esi
pop ebp
ret 0xc

Function at 0x1004dbc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.10016096
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004dbfb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1004d7ff
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1004dc59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x1004dc7d
cmp dword [edi + 0x74], 0
jne 0x1004dc7d
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.10016096
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1004dc1a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1007e13a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x1007e154
call fcn.10016096
mov esi, dword [eax + 0xc]
push dword [0x101789ac]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1007e172
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1007e16a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x1007e19f
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x1007e16c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1007e068
mov esi, eax
jmp 0x1007e191

Function at 0x100c8ece
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100fce0b
call fcn.10015ac7
cmp dword [eax + 0x14], 0
jne 0x100c8eeb
mov ecx, esi
pop esi
jmp fcn.100c89d3
pop esi
ret

Function at 0x100cc085
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100a9a4d
call fcn.10015ac7
cmp dword [eax + 0x14], 0
jne 0x100cc0a2
mov ecx, esi
pop esi
jmp fcn.100cba58
pop esi
ret

Function at 0x100de5f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100de60e
mov edi, dword [esi + 0xc]
jmp 0x100de64e
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100de627
call fcn.10018f2a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100de63c
call fcn.10018f2a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100de64e
call fcn.10018f2a
call fcn.10016096
cmp dword [eax + 0x3c], 0
je 0x100de663
push edi
mov ecx, ebx
call fcn.100dd4aa
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100de510
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100de681
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100de68d
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x101026e9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10173500]
jne 0x101026f3
repz ret
jmp fcn.10109664
Function at 0x10115d2b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10173500]
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.1010c23b
and dword [ebp - 0x14], 0
cmp dword [0x1017b17c], 0
mov dword [ebp - 0x18], eax
jne 0x10115dde
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10115e86
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10152180
push ebx
call edi
test eax, eax
je 0x10115e86
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10152170
push ebx
mov dword [0x1017b17c], eax
call edi
push eax
call esi
push 0x1015215c
push ebx
mov dword [0x1017b180], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1017b184], eax
call edi
push eax
call esi
mov dword [0x1017b18c], eax
test eax, eax
je 0x10115dde
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1017b188], eax
mov eax, dword [0x1017b188]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10115e37
cmp dword [0x1017b18c], ecx
je 0x10115e37
push eax
call esi
push dword [0x1017b18c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10115e37
test ebx, ebx
je 0x10115e37
call edi
test eax, eax
je 0x10115e2e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10115e2e
test byte [ebp - 8], 1
jne 0x10115e37
or dword [ebp + 0x10], 0x200000
jmp 0x10115e6a
mov eax, dword [0x1017b180]
cmp eax, dword [ebp - 0x18]
je 0x10115e6a
push eax
call esi
test eax, eax
je 0x10115e6a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10115e6a
mov eax, dword [0x1017b184]
cmp eax, dword [ebp - 0x18]
je 0x10115e6a
push eax
call esi
test eax, eax
je 0x10115e6a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1017b17c]
call esi
test eax, eax
je 0x10115e86
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10115e88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101026e9
leave
ret
Function at 0x1006b8a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1006ba40
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1006b964
cmp dword [ebp - 4], 0x50000000
jb 0x1006b8e1
cmp dword [ebp - 4], 0x80000000
ja 0x1006b8e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x1006b8ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10075f70
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1006b907
jmp 0x1006b964
cmp dword [ebp - 0x14], 0x10000
jne 0x1006b94a
cmp dword [ebp - 0x18], 0x10000
jb 0x1006b94a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1006b93d
mov eax, dword [ebp - 8]
jmp 0x1006b966
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1006b95f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1006ba40
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1006b8ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1006b970
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1006ba70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1006ba2c
cmp dword [ebp - 4], 0x50000000
jb 0x1006b9ac
cmp dword [ebp - 4], 0x80000000
ja 0x1006b9ac
mov dword [ebp - 4], 0x80010000
jmp 0x1006b985
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10075f70
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1006b9d2
jmp 0x1006ba2c
cmp dword [ebp - 0x14], 0x10000
jne 0x1006ba15
cmp dword [ebp - 0x18], 0x10000
jb 0x1006ba15
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1006ba08
mov eax, dword [ebp - 8]
jmp 0x1006ba2e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1006ba27
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1006ba70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1006b985
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1006c1a0
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 0x1006c1b5
xor eax, eax
jmp 0x1006c22a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x1006c1e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x1006c225
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x1006c223
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x1006c21f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x1006c223
xor eax, eax
jmp 0x1006c22a
jmp 0x1006c1d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1006c3f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101e8708]
mov dword [ebp - 4], eax
jmp 0x1006c409
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1006c426
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 0x1006c400
mov esp, ebp
pop ebp
ret
Function at 0x1006c870
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101e8718], eax
je 0x1006c88e
mov eax, 0x10dd
jmp 0x1006c96f
mov eax, dword [0x101e8728]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1006c90c
lea ecx, [ebp - 0x1c]
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 0x1006c8ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1006c8ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1006bf10
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 - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1006dd09
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1006c896
mov dword [0x101e8728], 0
call fcn.1006c230
mov ecx, dword [0x101e8724]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1006c959
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1006dd09
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1006c924
mov dword [0x101e8724], 0
mov dword [0x101e8718], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1006ce60
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x101e871c], 0
je 0x1006ce79
mov eax, dword [0x101e871c]
jmp 0x1006cf19
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1006ce8b
xor eax, eax
jmp 0x1006cf19
push 8
call fcn.1006de48
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1006cee1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1006ceca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1006dd09
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x101e871c], eax
mov dword [0x101e8720], 0
mov eax, dword [ebp - 8]
jmp 0x1006cf19
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1006cefb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1006ceab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x101e8724]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x101e8724], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4