joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x417008]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx]
push esi
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x26c], 0
push str.__C:
push eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0x183bd4
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x260]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x402390
push 0
lea eax, [ebp - 0x298]
push eax
push 0x28
lea eax, [ebp - 0x294]
push eax
push 0xc
lea eax, [ebp - 0x26c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x402390
cmp dword [ebp - 0x278], 7
jne 0x402390
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402ab0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00402ab0
mov esp, ebp
pop ebp
ret
Function at 0x40c294
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417008]
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.004064c3
mov dword [ebp - 0x14], eax
cmp dword [0x41934c], esi
jne 0x40c387
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c314
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x40c467
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c467
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x40c467
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41934c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x419350], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x419354], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x41935c], eax
test eax, eax
je 0x40c384
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x419358], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x40c3ac
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c39f
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c3c1
push 4
pop eax
jmp 0x40c469
cmp dword [ebp - 0x14], esi
je 0x40c3c1
push dword [0x41934c]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x40c3a6
mov eax, dword [0x419358]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, edi
je 0x40c41f
cmp dword [0x41935c], edi
je 0x40c41f
push eax
call ebx
push dword [0x41935c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c41f
test eax, eax
je 0x40c41f
call ecx
test eax, eax
je 0x40c414
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 0x40c414
test byte [ebp - 8], 1
jne 0x40c41f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c44f
mov eax, dword [0x419350]
cmp eax, edi
je 0x40c44c
push eax
call ebx
test eax, eax
je 0x40c44c
call eax
mov esi, eax
test esi, esi
je 0x40c44c
mov eax, dword [0x419354]
cmp eax, edi
je 0x40c44c
push eax
call ebx
test eax, eax
je 0x40c44c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41934c]
call ebx
test eax, eax
je 0x40c467
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c469
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402ab0
mov esp, ebp
pop ebp
ret
Function at 0x401b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x589288
push 0x104
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
push 0x420700
push str.TName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
jne 0x401b96
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409348
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x41b2a0
push 1
push 0
push 0x41b2c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401be6
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
mov ecx, 1
cmovns esi, ecx
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00409348
mov esp, ebp
pop ebp
ret

Function at 0x401c00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040b750
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x1a
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x4206fc
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040938f
add esp, 0xc
lea eax, [ebp - 0x210]
push str.wenguanjia_
push 0x104
push eax
call fcn.0040938f
add esp, 0xc
push 0x589490
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x401cae
push 0x589288
push 0x104
push 0x589490
push 0x420700
push str.StartMenuPath
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x589490
call fcn.00401910
call fcn.00401b40
lea ecx, [ebp - 0x210]
call fcn.00401910
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409348
mov esp, ebp
pop ebp
ret
Function at 0x406770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x340
call fcn.00409aaf
mov edi, eax
add esp, 4
test edi, edi
je 0x4067a2
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 0x134], 0xffffffff
jmp 0x4067a4
xor edi, edi
cmp dword [edi], 0
jne 0x4067fa
cmp dword [edi + 4], 0xffffffff
jne 0x4067fa
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4206fc
push 0x104
push esi
call fcn.0040938f
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
call fcn.00404f20
add esp, 8
test eax, eax
jne 0x4067ea
mov eax, dword [ebp - 4]
jmp 0x4067ff
mov ecx, eax
call fcn.004052e0
mov dword [edi], eax
mov eax, dword [0x58969c]
jmp 0x4067ff
mov eax, 0x1000000
mov dword [0x589698], eax
test eax, eax
je 0x406819
push edi
call fcn.00409343
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 8
call fcn.00409aaf
add esp, 4
mov dword [eax + 4], edi
pop edi
mov dword [eax], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x407180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x10b8
call fcn.00409aaf
mov edi, eax
add esp, 4
test edi, edi
je 0x40729d
push str.http:__tj.114caijing.com:8800_
push 0x824
push edi
call fcn.004093fb
add esp, 0xc
lea eax, [edi + 0x104c]
push str.wenguanjia_REPORT
push 0x32
push eax
call fcn.004093fb
add esp, 0xc
mov dword [edi + 0x10b0], 0xb
call fcn.004072b0
push 1
mov dword [edi + 0x10b4], eax
call fcn.00409aaf
add esp, 4
mov dword [0x5896a0], eax
mov ecx, edi
call fcn.00407730
push 0x589288
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40729d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0040b750
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [edi + 0x1048]
push 0x42267c
push eax
call fcn.00407fc0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x589288
push eax
push str.Service_Value
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [edi + 0x10b4]
lea eax, [ebp - 0x210]
push 0x42267c
push eax
call fcn.00407fc0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x589288
push eax
push str.InstallID
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00409348
mov esp, ebp
pop ebp
ret
Function at 0x408740
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x408857
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x408857
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jb 0x408857
push esi
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
test ebx, ebx
je 0x40884c
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x408835
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 0x10]
jae 0x408812
mov ecx, dword [ebp + 0xc]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
movzx ecx, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 0xc]
jb 0x408777
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
shl bl, 2
movzx ecx, bl
pop esi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x408860
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x5896d0], 1
mov byte [0x5896a4], 0
call fcn.00409b25
add esp, 4
mov dword [0x5896c8], eax
test eax, eax
je 0x4088bc
mov ecx, esi
mov dword [0x5896cc], eax
mov dword [0x5896e0], 0x67452301
mov dword [0x5896e4], 0xefcdab89
mov dword [0x5896e8], 0x98badcfe
mov dword [0x5896ec], 0x10325476
pop esi
jmp fcn.00409110
pop esi
ret
Function at 0x4142a2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.0040e5bb
mov dword [ebp - 0x14], eax
cmp dword [0x589008], esi
jne 0x414395
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x414322
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x414475
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x414475
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414475
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x589008], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x58900c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x589010], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x589018], eax
test eax, eax
je 0x414392
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x589014], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4143ba
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4143ad
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4143cf
push 4
pop eax
jmp 0x414477
cmp dword [ebp - 0x14], esi
je 0x4143cf
push dword [0x589008]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4143b4
mov eax, dword [0x589014]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41442d
cmp dword [0x589018], edi
je 0x41442d
push eax
call ebx
push dword [0x589018]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41442d
test eax, eax
je 0x41442d
call ecx
test eax, eax
je 0x414422
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 0x414422
test byte [ebp - 8], 1
jne 0x41442d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41445d
mov eax, dword [0x58900c]
cmp eax, edi
je 0x41445a
push eax
call ebx
test eax, eax
je 0x41445a
call eax
mov esi, eax
test esi, esi
je 0x41445a
mov eax, dword [0x589010]
cmp eax, edi
je 0x41445a
push eax
call ebx
test eax, eax
je 0x41445a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x589008]
call ebx
test eax, eax
je 0x414475
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x414477
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409348
mov esp, ebp
pop ebp
ret
Function at 0x626911
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x62692e
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x626933
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x626973
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x6269b1
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x6269b9
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.006269df
pop ecx
test eax, eax
pop ecx
jne 0x6269a7
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x626980
jmp 0x6269b9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x6269d7
cmp dword [ebp - 4], esi
jbe 0x6269d7
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x6269d7
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x6269da
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x626a09
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x626a15
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x626a20
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
Function at 0x1026c280
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1033db00]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call fcn.100dd3e0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1026c3fc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.100dcd28
test eax, eax
je 0x1026c3e9
cmp dword [ebp - 0x28], 0x10
jb 0x1026c3cd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100dfbb3
cmp dword [ebp - 0x1c], eax
jne 0x1026c3cd
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100dfbb3
cmp dword [ebp - 0x20], eax
je 0x1026c3cd
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1026c354
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x103e6010]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100dfbb3
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x1026c352
jmp 0x1026c3e9
jmp 0x1026c3ad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x1026c3ad
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x103e6010]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100dfbb3
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1026c397
jmp 0x1026c3e9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.100da3f7
test eax, eax
jne 0x1026c2d3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100dfbb3
push edx
mov ecx, ebp
push eax
lea edx, [0x1026c428]
call fcn.100decef
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dd796
add esp, 0x30
cmp ebp, esp
call fcn.100dfbb3
mov esp, ebp
pop ebp
ret
Function at 0x1026c440
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.1026c280
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1026c50b
mov dword [ebp - 4], 0
jmp 0x1026c49c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1026c50b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100dfbb3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1026c509
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100dfbb3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.1026c0a0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100dfbb3
jmp 0x1026c493
pop esi
add esp, 8
cmp ebp, esp
call fcn.100dfbb3
mov esp, ebp
pop ebp
ret

Function at 0x1026c520
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1026c5cb
mov dword [ebp - 4], 0
jmp 0x1026c553
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x1026c5ae
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100dfbb3
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1026c5ac
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100dfbb3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100dfbb3
jmp 0x1026c54a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x103e6010]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100dfbb3
pop esi
add esp, 8
cmp ebp, esp
call fcn.100dfbb3
mov esp, ebp
pop ebp
ret