joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417929
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x4539e8
call fcn.0044729e
mov eax, dword [ebp + 8]
mov esi, ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
call fcn.004041bd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x44]
call fcn.00416ccc
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x4c]
mov ebx, dword [esi + 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00414ffd
test al, al
jne 0x41799d
mov byte [0x46747b], 2
xor edi, edi
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], vtable.CConfigRead.0
call fcn.0041996d
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404bb6
mov eax, edi
call fcn.00447321
ret 4
mov ebx, dword [esi + 0x48]
lea edi, [esi + 0x30]
lea eax, [ebx + 0x4c]
call fcn.004019f8
lea eax, [ebx + 0x50]
lea edi, [esi + 0x34]
call fcn.004019f8
mov ecx, dword [esi + 0x4c]
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x44]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
lea edi, [esi + 0xc]
push edi
call fcn.004112bb
test eax, eax
jne 0x4179df
mov byte [0x467479], al
xor edi, edi
jmp 0x417a45
mov al, byte [edi]
mov byte [0x467479], al
mov eax, dword [esi + 0x30]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x417a45
lea ebx, [ebp - 0x30]
call fcn.0040b04b
add esi, 0x38
mov edi, esi
mov byte [ebp - 4], 2
call fcn.004019f8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00401550
call fcn.0040167f
mov eax, 0x45abec
mov ecx, esi
call fcn.00401c1e
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, str.QQPCDownload.exe
mov ecx, esi
call fcn.00401c1e
mov esi, dword [ebp - 0x34]
xor edi, edi
inc edi
mov esi, dword [esi + 0x50]
test esi, esi
je 0x417974
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
mov ebx, esi
call fcn.00401057
mov eax, dword [ebp - 0x30]
mov dword [0x467480], eax
jmp 0x417974
Function at 0x417a6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4536e2
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x464074]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x464074]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
mov dword [ecx + 4], eax
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x1b], bl
call fcn.0044fa20
pop ecx
mov dword [esp + 0x260], ebx
xor eax, eax
cmp dword [esp + 0x40], 0x10
push 7
mov byte [esp + 0x128], bl
pop ecx
lea edi, [esp + 0x125]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
jae 0x417afd
lea eax, [esp + 0x2c]
push 0x20
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.0042c4e0
add esp, 0xc
push 0x103
lea eax, [esp + 0x149]
push ebx
push eax
mov byte [esp + 0x150], bl
call fcn.0042b930
add esp, 0xc
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x128]
push eax
lea ebx, [esp + 0x20]
mov dword [esp + 0x20], 0x104
call fcn.00407c32
mov eax, ebx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x154]
call fcn.00416a3a
add esp, 0x10
mov ebx, eax
call fcn.004166d2
mov edi, eax
mov eax, dword [0x46652c]
neg edi
sbb edi, edi
mov ecx, 0x46652c
neg edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x268], 1
call fcn.00415bb8
mov byte [esp + 0x260], 2
mov eax, dword [eax]
push edi
push eax
push dword [esi + 8]
lea eax, [esp + 0x24]
push str.http:__c.pc.qq.com_fcgi_bin_xmldownurlquery_id_dguid_sdm_d
push eax
call fcn.00412230
mov byte [esp + 0x274], 1
mov eax, dword [esp + 0x34]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401550
lea ebx, [esp + 0x20]
call fcn.0040b04b
push eax
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x26c], 3
call fcn.00417f8a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00401550
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [esp + 0x44]
call fcn.004164bd
mov byte [esp + 0x260], 6
mov ebx, dword [esp + 0x18]
mov eax, ebx
call fcn.00409f86
mov eax, dword [esp + 0x1c]
lea esi, [esp + 0x60]
call fcn.00409f86
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x54]
test ecx, ecx
je 0x417c4b
mov edx, dword [ecx]
add eax, 0x24
push eax
lea eax, [esp + 0x48]
push eax
call dword [edx + 4]
test eax, eax
setne byte [esp + 0x17]
lea edi, [esp + 0x44]
call fcn.00417ca0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00401550
lea eax, [ebx - 0x10]
call fcn.00401550
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00404bb6
movzx eax, byte [esp + 0x17]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0042ba38
mov esp, ebp
pop ebp
ret 4
Function at 0x417cea
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20fc]
mov eax, 0x217c
call fcn.00440c80
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp + 0x20f8], eax
mov eax, dword [ebp + 0x2104]
push ebx
push 3
push 1
push closesocket
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ebx
call fcn.0040b1ad
test eax, eax
jge 0x417d44
cmp dword [ebp - 0x1c], ebx
je 0x417d3d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x417e29
push esi
push edi
xor eax, eax
mov byte [ebp + 0x20e8], bl
lea edi, [ebp + 0x20e9]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebp - 0x80]
stosb byte es:[edi], al
call fcn.00407099
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x2000
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x417d85
call fcn.0040c414
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x417d99
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x80]
call fcn.004077e3
jmp 0x417d62
cmp dword [ebp - 0x1c], ebx
je 0x417daa
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp + 0x20e8]
push eax
lea esi, [ebp - 0x80]
call fcn.004079ee
push 0xfe
lea eax, [ebp + 0x1fea]
push ebx
push eax
mov word [ebp + 0x1fe8], bx
call fcn.0042b930
add esp, 0x10
lea edi, [ebp + 0x1fe8]
xor esi, esi
movzx eax, byte [ebp + esi + 0x20e8]
push eax
push str._.2x
push 3
push edi
call fcn.0042c119
add esp, 0x10
add edi, 4
inc esi
cmp esi, 0x10
jb 0x417ddd
push dword [ebp - 0x24]
lea eax, [ebp + 0x1fe8]
push eax
call fcn.00430c7d
mov esi, eax
neg esi
sbb esi, esi
pop ecx
inc esi
cmp dword [ebp - 0x1c], ebx
pop ecx
je 0x417e25
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x20f8]
xor ecx, ebp
pop ebx
call fcn.0042ba38
add ebp, 0x20fc
leave
ret 4

Function at 0x417f8a
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x452ad9
call fcn.00447235
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [eax]
sub eax, 0x10
call fcn.00401bc6
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.0040167f
mov eax, 0x45abec
mov ecx, esi
call fcn.00401c1e
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, str.QQPCDownloadModule.xml
mov ecx, esi
call fcn.00401c1e
mov edi, dword [ebp + 8]
add edi, 0x1c
mov eax, esi
call fcn.004019f8
mov eax, esi
call fcn.0044730d
ret 0xc
Function at 0x4180a6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x464074]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call fcn.00416609
and dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
push 0x45b16c
push ecx
mov ecx, eax
call fcn.00403acd
pop ecx
pop ecx
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401550
mov esi, dword [0x46747c]
call fcn.0044ca80
and dword [eax + 4], 0
push 0x467478
mov dword [eax], 0x3f6
mov dword [eax + 0x10], esi
call fcn.0044ca80
mov edi, eax
call fcn.0041a303
call fcn.0044ca80
mov edi, eax
call fcn.0044cc20
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00401550
xor eax, eax
inc eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41888e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, 1
test ecx, ecx
je 0x4188b6
push 0
mov edx, dword [ebp - 0xb0]
push edx
call dword [ebp - 0xf8]
test eax, eax
jne 0x4188a1
jmp 0x4188b6
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4188b4
jmp 0x4188b6
jmp 0x418883
cmp dword [ebp - 0x24], 0x26000
jb 0x418c1c
cmp dword [ebp - 0x114], 0
jne 0x418c1c
mov byte [ebp - 0x9c], 0x6b
mov byte [ebp - 0x9b], 0x65
mov byte [ebp - 0x9a], 0x72
mov byte [ebp - 0x99], 0x6e
mov byte [ebp - 0x98], 0x65
invalid

Function at 0x41895f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x11c], eax
push 4
push 0x1000
push 0xff
push 0
call dword [ebp - 0xf0]
mov dword [ebp - 0xa4], eax
push 0xff
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call dword [ebp - 0xc4]
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00418e29
add byte [ebx - 0x7a38fb3c], al
dec esp
invalid
invalid
inc dword [eax]
add byte [eax], al
add byte [ebx - 0x11f73], cl
call dword [ecx - 0x75]
xchg ebp, eax
pushal
invalid
invalid
call dword [edx - 0x18]
xor eax, 0x83000003
les ecx, [eax]
mov dword [ebp - 0xc0], eax
jmp [edx + 2]
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call dword [ebp - 0xc0]
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
call dword [ebp - 0x100]

Function at 0x418cc9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x418cf9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
Function at 0x41c85e
Capabilities:
Check for outputdebugstring error
Check for time delay via gettickcount
Get hostname
Print debug messages

Disassembly:
push ebp
sub esp, 0x210
lea ebp, [esp - 4]
mov eax, dword [0x464074]
xor eax, ebp
mov dword [ebp + 0x210], eax
push 0x38
mov eax, 0x451e80
call fcn.00447235
mov edi, ecx
push esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
mov dword [ebp - 0x10], eax
call ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
imul eax, eax, 0xc
cmp ecx, dword [eax + 0x465644]
jae 0x41c8c3
mov ecx, dword [esi + 0x20]
cmp ecx, dword [eax + 0x465648]
jl 0x41c92a
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x1c]
imul ecx, ecx, 0xc
mov eax, dword [ebp - 0x10]
sub eax, edx
cmp eax, dword [ecx + 0x46564c]
jae 0x41c92a
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41c92a
push 0x45b3f4
mov dword [esi + 0x30], 1
call ebx
push edi
call ebx
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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 + 0x210]
xor ecx, ebp
call fcn.0042ba38
add ebp, 0x214
leave
ret
push 0x45b3fc
call ebx
push edi
call ebx
push edi
call dword [0x4674c0]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x41c99e
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
inc dword [esi + 0x20]
push 0x45b404
call ebx
push edi
lea ecx, [ebp - 0x38]
call fcn.004041bd
lea eax, [ebp - 0x38]
push eax
lea ebx, [esi + 0x24]
lea edi, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041ca61
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.00404bb6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2afc
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41ca44
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x41ca44
mov edi, 0x104
push edi
lea eax, [ebp + 0x109]
push 0
push eax
mov byte [ebp + 0x108], 0
call fcn.0042b930
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x108]
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp + 0x108]
push edi
push eax
call fcn.00431b9b
push edi
lea eax, [ebp + 1]
push 0
push eax
mov byte [ebp], 0
call fcn.0042b930
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.00431bb0
lea eax, [ebp]
push edi
push eax
call fcn.00431b9b
lea eax, [ebp]
push eax
lea eax, [ebp + 0x108]
push eax
call fcn.0042b9b0
add esp, 0x2c
test eax, eax
je 0x41ca44
lea edi, [esi + 0x24]
call fcn.0041cb22
xor edi, edi
mov dword [esi + 0x1c], edi
push 0x45b41c
mov dword [esi + 0x20], edi
call ebx
mov dword [esi + 0x30], edi
mov edi, dword [ebp - 0x10]
jmp 0x41c8fe
Function at 0x41d460
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x464074]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp ecx, edx
push esi
je 0x41d4d3
cmp eax, edx
jle 0x41d4d3
cmp edi, edx
je 0x41d4d3
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0041d5d0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0041d690
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0042ba38
add esp, 0x64
ret
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
xor al, al
call fcn.0042ba38
add esp, 0x64
ret

Function at 0x41de50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ddb8
push 0x44fcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x5a4d
jne 0x41dee1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41dee1
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x41dee1
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x41dee1
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
push esi
mov esi, dword [0x467450]
test esi, esi
je 0x41dfaa
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x41df93
pop edi
pop esi
pop ecx
ret
Function at 0x41e240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dda8
push 0x44fcb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41e2c4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp word [eax], 0x5a4d
jne 0x41e2bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e2bd
cmp word [ecx + 0x14], 0
je 0x41e2bd
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e380
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x46745c], eax
je 0x41e396
mov eax, 0x10dd
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [0x46746c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x41e411
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [esp]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call ebx
cmp dword [esi + 4], ebp
jne 0x41e400
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x41e400
mov edx, eax
and edx, 0xffff0000
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
mov dword [edx + 8], eax
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.0042b927
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x41e3b0
mov dword [0x46746c], ebp
call fcn.0041dfb0
mov esi, dword [0x467468]
cmp esi, ebp
je 0x41e447
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
lea esp, [esp]
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.0042b927
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x41e430
pop edi
pop esi
mov dword [0x467468], ebp
mov dword [0x46745c], ebp
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x41e760
Capabilities:
Suspend thread

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x467460]
test eax, eax
jne 0x41e7d5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp edi, eax
jne 0x41e77a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.0042baf1
mov esi, eax
add esp, 4
test esi, esi
jne 0x41e790
lea edi, [eax + 8]
jmp 0x41e7ad
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x41e7c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.0042b927
add esp, 4
pop esi
mov dword [0x467460], edi
mov eax, edi
mov dword [0x467464], 0
pop edi
ret
mov eax, dword [0x467468]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x467468], esi
xor eax, eax
pop esi
pop edi
ret
Function at 0x41e7e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x46745c], eax
je 0x41e802
pop edi
mov eax, 0x10dd
pop ebx
add esp, 0x14
ret
mov eax, dword [0x467460]
cmp eax, edi
jne 0x41e9f2
push esi
mov esi, dword [0x4674c0]
cmp esi, edi
jne 0x41e835
pop esi
mov eax, 6
pop edi
mov dword [0x467460], eax
mov dword [0x467464], 0x4674c0
pop ebx
add esp, 0x14
ret
push ebp
mov dword [esp + 0x10], edi
call fcn.0041e2e0
mov esi, 0x41ca4c
mov ebp, eax
call fcn.0041e2e0
cmp eax, ebp
mov dword [esp + 0x20], eax
jne 0x41e864
cmp dword [0x467458], ebx
jne 0x41e996
jmp 0x41e974
push 0x18
call fcn.0042baf1
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x41e87e
lea ebx, [eax + 8]
jmp 0x41e974
mov eax, ebp
call fcn.0041dfe0
mov edi, eax
test edi, edi
jne 0x41e893
lea ebx, [eax + 8]
jmp 0x41e974
mov esi, ebp
xor ebx, ebx
lea ecx, [ebx + edi]
lea eax, [esp + 0x14]
mov edx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
call fcn.0041eb10
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x41e8df
mov ecx, dword [esp + 0x1c]
mov ebx, esi
sub ebx, ebp
call fcn.0041df30
test eax, eax
jne 0x41e8df
cmp ebx, 5
jl 0x41e897
cmp ebx, 0x12
jbe 0x41e8f8
mov ebx, 6
jmp 0x41e974
cmp ebx, 5
jge 0x41e8d0
cmp dword [0x467458], 0
mov ebx, 9
jne 0x41e97a
jmp 0x41e974
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
lea ecx, [ebx + edi]
lea edx, [ebx + ebp]
mov dword [edi + 0x18], edx
lea eax, [edi + 0x17]
lea esi, [ecx + 5]
mov byte [eax], bl
mov byte [ecx], 0xe9
add ecx, 1
sub edx, esi
mov dword [ecx], edx
add ecx, 4
call fcn.0041df00
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push ebx
push ebp
mov dword [esp + 0x28], 0
call esi
test eax, eax
je 0x41e96c
mov ecx, ebp
call fcn.0041e240
mov ebx, eax
test ebx, ebx
je 0x41e9c2
cmp word [ebx + 0x1c], 0x6544
je 0x41e9c2
lea edx, [esp + 0x20]
push edx
push 0x40
push 0x40
push ebx
mov dword [esp + 0x30], 0
call esi
test eax, eax
jne 0x41e9aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x467460], ebx
test edi, edi
je 0x41e985
mov eax, edi
call fcn.0041e210
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e996
push eax
call fcn.0042b927
add esp, 4
pop ebp
pop esi
pop edi
mov eax, ebx
mov dword [0x467464], 0x4674c0
pop ebx
add esp, 0x14
ret
mov word [ebx + 0x1c], 0x6544
mov word [ebx + 0x1e], 0x6f74
mov word [ebx + 0x20], 0x7275
mov word [ebx + 0x22], 0x2173
mov eax, dword [esp + 0x10]
mov edx, dword [0x46746c]
mov dword [eax + 0xc], ebp
mov dword [eax + 4], 0
mov dword [eax + 8], 0x4674c0
mov dword [eax + 0x10], edi
mov ecx, dword [esp + 0x18]
pop ebp
mov dword [eax + 0x14], ecx
mov dword [eax], edx
mov dword [0x46746c], eax
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x14
ret