joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b760
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3c42
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x50]
call fcn.00414ac0
lea esi, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.0041b4b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], edi
jne 0x41b7fc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.DeleteSplitTunnelRoutes___GetSplitTunnelingFilePath_failed___d_
push edi
push edi
call fcn.00432650
add esp, 0x10
cmp dword [ebp - 0x1c], 8
jb 0x41b7d8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a9dd8
add esp, 4
lea eax, [ebp - 0x50]
xor edx, edx
push eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
call fcn.00414bb0
xor al, al
jmp 0x41b85e
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x41b808
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x41b82a
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
cmp eax, 2
je 0x41b82a
call esi
push eax
push str.DeleteSplitTunnelRoutes___DeleteFile_failed___d_
jmp 0x41b7bc
cmp dword [ebp - 0x1c], 8
jb 0x41b83c
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a9dd8
add esp, 4
lea eax, [ebp - 0x50]
xor edx, edx
push eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
call fcn.00414bb0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 4

Function at 0x41ba60
Capabilities:
Create thread

Disassembly:
mov eax, edx
push esi
mov dword [0x528250], 0x52d530
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ba70
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, 0x528254
call fcn.0041ef70
mov eax, dword [0x52d790]
test eax, eax
je 0x41baa1
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x41baf4
push 0
push 0
push 0x528250
push 0x41bb00
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x52d790], eax
test eax, eax
jne 0x41baf4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ConnectionManager::SendFeedback
push str._s:_CreateThread_failed___d_
push 0
push 0
call fcn.00432650
mov eax, dword [0x52c1bc]
add esp, 0x14
push 0
push 0
push 0x466
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x41f960
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b62
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x52d4c0]
xor ebx, ebx
push ebx
mov esi, ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00414ac0
mov dword [ebp - 4], ebx
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41f9b2
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004082f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x52d4c4
mov byte [ebp - 4], 1
call fcn.004078d0
cmp dword [ebp - 0x18], 0x10
jb 0x41f9e9
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a9dd8
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call esi
push 0x4e1134
call esi
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00414bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x426410
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d387a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.00414ac0
mov dword [esp + 0x50], ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4264b3
cmp dword [esi + 0x28], 0x10
lea edi, [esi + 0x14]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
jb 0x426479
mov ecx, dword [edi]
jmp 0x42647b
mov ecx, edi
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
mov ebx, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push 1
push eax
push ecx
call ebx
test eax, eax
jne 0x4264cc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1d0
movzx eax, byte [esi + 4]
push str.HTTPSRequest::ValidateServerCert:_d___CryptStringToBinaryA_failed___d_
push eax
push 0
call fcn.00432650
add esp, 0x14
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x54], 0xffffffff
call fcn.00414bb0
xor al, al
jmp 0x42658b
mov edx, dword [esp + 0x18]
push 0x52b148
push edx
call fcn.004aa4dd
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x4264fd
movzx eax, byte [esi + 4]
push str.ValidateServerCert:_memory_allocation_failed
push eax
push ecx
call fcn.00432650
add esp, 0xc
jmp 0x4264b3
cmp dword [edi + 0x14], 0x10
mov eax, dword [esi + 0x24]
jb 0x426508
mov edi, dword [edi]
push 0
push 0
lea edx, [esp + 0x20]
push edx
push ecx
push 1
push eax
push edi
call ebx
test eax, eax
jne 0x42652d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x1e0
jmp 0x42649f
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
cmp dword [edx + 8], ecx
jne 0x426568
xor eax, eax
mov byte [esp + 0x17], 1
test ecx, ecx
je 0x426568
mov esi, dword [edx + 4]
jmp 0x426550
mov dl, byte [esi + eax]
mov edi, dword [esp + 0x1c]
cmp dl, byte [eax + edi]
jne 0x426563
inc eax
cmp eax, ecx
jb 0x426550
jmp 0x426568
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a9dd8
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x54], 0xffffffff
call fcn.00414bb0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 4
Function at 0x4273f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc84b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004983e3
push 4
mov dword [ebp - 4], 0
call fcn.004a9f06
mov edi, eax
add esp, 4
test edi, edi
je 0x42746c
call fcn.0049821c
mov dword [edi], eax
call fcn.00498097
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.004983a4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x427462
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.004983cc
jmp 0x42746e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431700
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x431721
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, eax
shr ecx, 6
and cl, 1
mov byte [esi], cl
mov edx, eax
shr edx, 1
mov cl, al
and dl, 1
and cl, 1
mov byte [esi + 1], dl
mov byte [esi + 2], cl
mov edx, eax
mov ecx, eax
shr edx, 5
shr ecx, 2
shr eax, 4
and dl, 1
and cl, 1
and al, 1
mov byte [esi + 5], al
mov byte [esi + 3], dl
mov byte [esi + 4], cl
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x431770
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateMutexW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
xor esi, esi
push esi
call edi
push str.GlobalB88F6262_9CC8_44EF_887D_FB77DC89BB8C
push 0
push 0
call ebx
mov dword [0x52d7d4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x52d7d0], eax
cmp eax, 0xb7
jne 0x4317b1
add esi, 0x64
cmp esi, 0x190
jl 0x431781
pop edi
pop esi
mov eax, 0x52d7d0
pop ebx
ret
Function at 0x4322e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d09d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ebp - 0x2c]
call fcn.00431f90
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x10]
push 0x4fe5b4
mov edi, 3
call fcn.00427270
test eax, eax
sete bl
cmp dword [ebp - 0x18], 8
jb 0x432344
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004a9dd8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
test bl, bl
je 0x432381
mov edx, dword [0x52d414]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x52d414]
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x432390
mov ecx, dword [0x52d414]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret

Function at 0x4328c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x52d7d0], 0xb7
push esi
mov esi, ecx
jne 0x432916
push 0x52c288
push 0x52c1c0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x432905
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x30
mov dword [0x52c350], esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [0x52d800]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push 0
push esi
push 0
push 0
push 0xc8
push eax
add ecx, 0xffffff38
push ecx
sub edx, eax
push edx
push 0xcf0000
push 0x52c288
push 0x52c1c0
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov dword [0x52c1bc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x52c1bc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x438810
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3bfa
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
lea ecx, [esp + 0x10]
call fcn.00414ac0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], 0
mov edx, dword [esi + 0x10]
mov eax, dword [edx]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
push 0
push 2
call eax
test eax, eax
je 0x43887d
lea ecx, [esp + 8]
push ecx
jmp 0x4388c3
push 8
call fcn.004388f0
push 0
push 0
push esi
push 0x4389f0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x4388be
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x4fee40
push 0
push 0
call fcn.00432650
add esp, 0x10
lea edx, [esp + 8]
push edx
jmp 0x4388c3
lea eax, [esp + 8]
push eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00414bb0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 4
Function at 0x443610
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp byte [edi + 0x26c], 0
je 0x443638
mov byte [eax], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, dword [edi + 0x268]
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x443698
add edi, 0x274
cmp dword [edi + 0x14], 8
jb 0x44366b
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push 0x45e
push str.PlonkConnection::CheckForConnected
push str._s:_d:_s:_PeekNamedPipe_failed___d_
push 1
push ebx
call fcn.00432650
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x4437b1
inc eax
push eax
call fcn.0049842b
mov ecx, dword [edi + 0x268]
add esp, 4
push ebx
mov esi, eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push eax
push esi
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x443707
cmp dword [edi + 0x288], 8
jb 0x4436de
mov ebx, dword [edi + 0x274]
jmp 0x4436e4
lea ebx, [edi + 0x274]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ebx
push 0x469
push str.PlonkConnection::CheckForConnected
push str._s:_d:_s:_ReadFile_failed___d_
push 0
push 0
call fcn.00432650
add esp, 0x1c
mov edx, dword [ebp - 8]
lea ebx, [edi + 0x274]
mov byte [esi + edx], 0
cmp dword [ebx + 0x14], 8
jb 0x44371e
mov eax, dword [ebx]
jmp 0x443720
mov eax, ebx
push esi
push eax
push 0x46f
push str.PlonkConnection::CheckForConnected
push str._s:_d:_s:_Plonk_output:_____S___
push 1
push 0
call fcn.00432650
push 0x50019c
push esi
call fcn.004aa6b0
test eax, eax
push esi
setne byte [ebp - 1]
call fcn.004a9da3
add esp, 0x28
cmp byte [ebp - 1], 0
je 0x4437b1
mov eax, dword [edi + 0x268]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
jne 0x4437a1
cmp dword [ebx + 0x14], 8
jb 0x443773
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ebx
push 0x47a
push str.PlonkConnection::CheckForConnected
push str._s:_d:_s:_CloseHandle_failed___d_
push 0
push 0
call fcn.00432650
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov dword [edi + 0x268], 0xffffffff
mov byte [ecx], 1
mov edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [edi + 0x26c], al
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x450e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d63d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], edi
mov word [esp + 0xc], ax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
push 4
mov dword [esp + 0x64], edi
push str.SSH
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0x443be0
call fcn.0041ef70
push 4
push 0x4ff460
lea ecx, [esp + 0x30]
call fcn.0041ef70
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0x44ffa0
call fcn.004511b0
mov esi, dword [0x52d88c]
sub esi, dword [0x52d888]
sar esi, 6
cmp dword [esp + 0x3c], 8
jb 0x450f2e
mov edx, dword [esp + 0x28]
push edx
call fcn.004a9dd8
add esp, 4
xor eax, eax
cmp dword [esp + 0x20], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
jb 0x450f55
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004a9dd8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret

Function at 0x450f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d63d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], edi
mov word [esp + 0xc], ax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
push 3
mov dword [esp + 0x64], edi
push 0x4fe5ac
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0x443890
call fcn.0041ef70
push 3
push 0x4fe5ac
lea ecx, [esp + 0x30]
call fcn.0041ef70
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0x44ffa0
call fcn.004511b0
mov esi, dword [0x52d88c]
sub esi, dword [0x52d888]
sar esi, 6
cmp dword [esp + 0x3c], 8
jb 0x45104e
mov edx, dword [esp + 0x28]
push edx
call fcn.004a9dd8
add esp, 4
xor eax, eax
cmp dword [esp + 0x20], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
jb 0x451075
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004a9dd8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x4510a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d63d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], edi
mov word [esp + 0xc], ax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], cx
push 3
mov dword [esp + 0x64], edi
push 0x4fe5b4
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0x4559a0
call fcn.0041ef70
push 3
push 0x4fe5b4
lea ecx, [esp + 0x30]
call fcn.0041ef70
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0x44ffa0
call fcn.004511b0
mov esi, dword [0x52d88c]
sub esi, dword [0x52d888]
sar esi, 6
cmp dword [esp + 0x3c], 8
jb 0x45115e
mov edx, dword [esp + 0x28]
push edx
call fcn.004a9dd8
add esp, 4
xor eax, eax
cmp dword [esp + 0x20], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
jb 0x451185
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004a9dd8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret

Function at 0x4523c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
mov dword [ebp - 0x238], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x238]
push eax
push esi
mov dword [ebp - 0x23c], esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x452495
mov ebx, dword [sym.imp.KERNEL32.DLL_OpenProcess]
lea ecx, [ecx]
lea ecx, [ebp - 0x214]
push edi
push ecx
call fcn.004aad9e
add esp, 8
test eax, eax
jne 0x45247f
mov edx, dword [ebp - 0x230]
push edx
push eax
push 0x1f0fff
call ebx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x452452
push 0x1388
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x452472
push edi
push str.TerminateProcess_failed_for_process_with_name__s
push 0
push 0
call fcn.00432650
push str.Please_terminate_this_process_manually
push 0
push 0
call fcn.00432650
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x23c]
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x452410
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
Function at 0x4524b0
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x5254e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x52c350]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
movzx ecx, word [ebp + 8]
push 0xa
push ecx
push edx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x42c], eax
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x452502
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___FindResource_failed___d_
jmp 0x4526a7
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x452520
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___LoadResource_failed___d_
jmp 0x4526a7
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov dword [ebp - 0x430], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x418]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp eax, 0xf6
ja 0x45269b
test eax, eax
je 0x45269b
push edi
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x45258b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___PathCombine_failed___d_
jmp 0x4526a7
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x210]
push eax
xor bl, bl
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x452636
mov esi, dword [ebp - 0x424]
mov eax, dword [ebp - 0x430]
push 0
lea edx, [ebp - 0x420]
push edx
push esi
push eax
push edi
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x452686
cmp dword [ebp - 0x420], esi
jne 0x452686
push edi
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
test eax, eax
je 0x452686
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x210]
call fcn.0041c3e0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp - 0x419]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test bl, bl
jne 0x45267e
cmp eax, 0x20
jne 0x45267e
mov edi, dword [ebp - 0x428]
call fcn.004523c0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x210]
push ecx
mov byte [ebp - 0x419], 1
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x452630
jmp 0x4525b9
push eax
push str.ExtractExecutable___CreateFile_failed___d_
jmp 0x4526a7
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___WriteFile_FlushFileBuffers_failed___d_
jmp 0x4526a7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.ExtractExecutable___GetTempPath_failed___d_
push 0
push 0
call fcn.00432650
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004a91d2
mov esp, ebp
pop ebp
ret