joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455f90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x455fe7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x455fe7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x455fe7
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x455fee
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x45600e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push ebx
push edi
push eax
call fcn.00432140
add esp, 0xc
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 8]
xor edi, edi
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x456047
push eax
push dword [ebp + 8]
call fcn.00455e90
add esp, 8
mov edi, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x456054
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x456060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x456089
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
push dword [ebp + 0xc]
movzx eax, word [ebp + 8]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45615c
push ebx
push esi
push 0x400000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4560c3
xor esi, esi
jmp 0x45615b
push esi
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45615b
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4560f6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x45615b
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x456113
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x45615b
push dword [ebp + 8]
push esi
push eax
call fcn.00432140
add esp, 0xc
mov dword [ebp + 0xc], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
xor esi, esi
push eax
push esi
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x45614e
push eax
push dword [ebp + 0xc]
call fcn.00455e90
add esp, 8
mov esi, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x45615b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop ebx
mov dword [edi + 4], esi
test esi, esi
jne 0x45616b
pop edi
xor al, al
pop esi
pop ebp
ret 8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x456185
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4561a8
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.00455f20
pop edi
pop esi
pop ebp
ret 8
Function at 0x4573c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4573e7
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x457413
push 1
mov ecx, esi
call fcn.00457160
pop esi
pop ebp
ret 8
cmp dword [esi + 0x24], 0
push edi
je 0x4573f3
mov edi, dword [esi + 0x30]
jmp 0x4573f6
mov edi, dword [esi + 0x2c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x457412
test edi, edi
je 0x457412
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x457b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 0
push dword [eax - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
ret 4
Function at 0x459d60
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x28]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x459dc4
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x459db6
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x459db6
push edx
call fcn.00407840
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x459daf
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x459dc3
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00416a50
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x459e2a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x459e2a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x459e11
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x459e2a
jg 0x459e22
cmp dword [ebp - 8], 0x40000000
jbe 0x459e2a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x459ef0
Capabilities:
Check if file exists
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x459f2c
mov ebx, 0x80070057
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x459f4b
lea ebx, [eax + 1]
jmp 0x45a0e9
push 0x210
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x108
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push str.Temp
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov dword [ebp - 0x638], eax
test eax, eax
jne 0x459ff0
lea eax, [ebp - 0x214]
push eax
call edi
test eax, eax
je 0x459ff0
push 0x80
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x214]
push eax
call ebx
test eax, eax
jne 0x459ff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x214]
push eax
call edi
test eax, eax
je 0x459ff9
jmp 0x45a0b1
cmp dword [ebp - 0x638], 0
jne 0x45a037
push 0
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ebx, eax
test ebx, ebx
je 0x45a025
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45a0b1
push 0x92
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x210
lea eax, [ebp - 0x634]
push 0
push eax
call fcn.00432c40
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x210
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x634]
push 0
push 0
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
lea eax, [ebp - 0x424]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45a0c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x45a0e9
movzx ebx, bx
or ebx, 0x80070000
jmp 0x45a0e9
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x424]
push 4
push 0
push eax
call esi
push 4
mov edi, eax
lea eax, [ebp - 0x214]
push 0
push eax
call esi
xor ebx, ebx
test edi, edi
sete bl
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 4
Function at 0x45aa90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f1a7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4be5b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45aad7
xor eax, 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 0x14
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x24], ecx
call dword [eax + 4]
cmp dword [ebx + 4], 0
mov dword [ebp - 4], 0
je 0x45ac5f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push dword [ebp + 0xc]
push esi
push 0
push 0
call fcn.00440a9e
mov edi, eax
add esp, 0x18
mov dword [ebp + 0xc], edi
test edi, edi
je 0x45ac5f
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x45ab30
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0045aa00
mov eax, dword [ebx + 8]
add ebx, 8
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x45abbc
mov edi, dword [esi + 0x14]
test edi, edi
jne 0x45ab6a
lea ecx, [ebp - 0x14]
call fcn.0041a830
push esi
mov ecx, ebx
call fcn.0045ae50
push 0x18
push eax
call fcn.0042c4b6
add esp, 8
jmp 0x45abb2
lea eax, [ebp - 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45abaa
cmp dword [ebp - 0x18], 0x103
je 0x45abaa
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
mov ecx, edi
call fcn.0045a8f0
lea ecx, [ebp - 0x14]
call fcn.0041a830
push esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0045a470
jmp 0x45abb2
lea ecx, [ebp - 0x14]
call fcn.0041a830
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebx]
jne 0x45ab46
mov edi, dword [ebp + 0xc]
push 0x24
call fcn.0042cb31
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x45abe3
push dword [ebp + 0x18]
mov ecx, eax
push dword [ebp + 0x14]
push edi
call fcn.0045a500
mov edi, eax
jmp 0x45abe5
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x45ac4e
mov edx, dword [ebx]
mov esi, edx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45ac1d
mov ecx, dword [ebp - 0x10]
nop dword [eax]
cmp dword [eax + 0x10], ecx
jae 0x45ac0a
mov eax, dword [eax + 8]
jmp 0x45ac0e
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x45ac00
cmp esi, edx
je 0x45ac1d
cmp ecx, dword [esi + 0x10]
jae 0x45ac4b
lea eax, [ebp - 0x10]
mov ecx, ebx
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x49399c
call fcn.0041c890
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x20]
push eax
call fcn.0045a130
mov esi, dword [ebp - 0x20]
mov dword [esi + 0x14], edi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45ac5a
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov ebx, dword [ebp + 0xc]
jmp 0x45ac61
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 4
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x45b610
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x45b688
mov dword [edi + 0x1c], 1
cmp dword [edi], 0
jne 0x45b688
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x45b688
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
pop esi
test eax, eax
je 0x45b688
call eax
mov dword [edi + 0xc], eax
mov eax, 1
pop edi
pop ebp
ret 4

Function at 0x45b9c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.00432c40
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x45bab2
test edi, edi
je 0x45bab2
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x45bab2
cmp eax, 0x3fff
ja 0x45bab2
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45bab2
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x483fd8
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45bab2
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push 0
push edi
call fcn.00432c40
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x45bb80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45bbf8
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x45c0f0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b8720
push 0x431fe0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x45c2c4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c146
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x45c2c4
mov dword [ebp - 4], 0
call fcn.0045bb80
mov dword [ebp - 4], 0xfffffffe
jmp 0x45c18c
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.00432c40
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.00432c40
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x45c2c4
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.0046efe4
lea eax, [ebp - 0x224]
push eax
call fcn.0046f288
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x45c2c4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.0045bc10
add esp, 0xc
test eax, eax
je 0x45c2b7
lea eax, [ebp - 0xa24]
push eax
call fcn.0046f288
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45c278
test dx, dx
je 0x45c274
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45c278
add eax, 4
add ecx, 4
test dx, dx
jne 0x45c252
xor eax, eax
jmp 0x45c27d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45c2b7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45c2a3
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.0044e890
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x45c214
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 4
Function at 0x45c2f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b8760
push 0x431fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x4be5b4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x45c451
cmp word [esi], 0
je 0x45c451
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45c350
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x45c451
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c451
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.00432c40
push esi
push 0x493ae4
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0045c480
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.00432c40
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x45c418
cmp dword [ebp + 0x18], 0
je 0x45c418
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x45c42d
test esi, esi
je 0x45c43d
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x45c43d
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x45c45a
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x45c500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x45c51c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x45c670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba30
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4be5b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c6b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c6d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba70
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4be5b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c716
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x45c727
push 0x44
push esi
call fcn.0042c4b6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4