joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4600ea
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 0x460131
call fcn.00460aae
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x460131
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x46014d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045fc64
mov esi, eax
test edi, edi
je 0x46014b
test ebx, ebx
je 0x46014b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4621b2
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x4621d6
cmp dword [edi + 0x54], 0
jne 0x4621d6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00460aae
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.00462173
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 0x4696f2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x469727
xor eax, eax
jmp 0x46977a
lea eax, [ebp - 0x210]
push eax
call fcn.0046ec6b
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x469758
push 0x49a048
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004713af
add esp, 0xc
test eax, eax
jne 0x469723
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004713af
add esp, 0xc
test eax, eax
jne 0x469723
lea eax, [ebp - 0x210]
push eax
call fcn.00469664
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a0d3
leave
ret

Function at 0x46a0d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b185c]
jne 0x46a0dd
repz ret
jmp fcn.0047276c
Function at 0x47b8e0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00472157
and dword [ebp - 4], 0
cmp dword [0x4b5bac], 0
mov ebx, eax
jne 0x47b991
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47ba42
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49be90
push edi
call esi
test eax, eax
je 0x47ba42
push eax
call fcn.004720e5
mov dword [esp], 0x49be80
push edi
mov dword [0x4b5bac], eax
call esi
push eax
call fcn.004720e5
mov dword [esp], 0x49be6c
push edi
mov dword [0x4b5bb0], eax
call esi
push eax
call fcn.004720e5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b5bb4], eax
call esi
push eax
call fcn.004720e5
pop ecx
mov dword [0x4b5bbc], eax
test eax, eax
je 0x47b991
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004720e5
pop ecx
mov dword [0x4b5bb8], eax
mov eax, dword [0x4b5bb8]
cmp eax, ebx
je 0x47b9e9
cmp dword [0x4b5bbc], ebx
je 0x47b9e9
push eax
call fcn.00472160
push dword [0x4b5bbc]
mov esi, eax
call fcn.00472160
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47b9e9
test edi, edi
je 0x47b9e9
call esi
test eax, eax
je 0x47b9e0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47b9e0
test byte [ebp - 0xc], 1
jne 0x47b9e9
or dword [ebp + 0x10], 0x200000
jmp 0x47ba22
mov eax, dword [0x4b5bb0]
cmp eax, ebx
je 0x47ba22
push eax
call fcn.00472160
pop ecx
test eax, eax
je 0x47ba22
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47ba22
mov eax, dword [0x4b5bb4]
cmp eax, ebx
je 0x47ba22
push eax
call fcn.00472160
pop ecx
test eax, eax
je 0x47ba22
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b5bac]
call fcn.00472160
pop ecx
test eax, eax
je 0x47ba42
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47ba44
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4028d5
Capabilities:
Terminate process

Disassembly:
call 0x4a6000
push 0x18
push 0x4029f8
call fcn.004032a6
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4150e8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x404373
xor esi, esi
inc esi
cmp dword [0x4150ec], esi
je 0x404385
cmp dword [0x4150ec], 0
jne 0x402a1e
mov dword [0x4150ec], esi
push 0x4029f4
push 0x4029e4
call sub.MSVCR120_CLR0400.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x404392
cmp dword [0x4150ec], esi
jne 0x402973
push 0x4029e0
push 0x4029cc
call sub.MSVCR120_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x4150ec], 2
test edi, edi
jne 0x402980
xor eax, eax
mov ecx, 0x4150e8
xchg dword [ecx], eax
cmp dword [0x4150f8], 0
jne 0x4043a3
mov eax, dword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
nop
nop
nop
nop
nop
nop
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402a14
cmp cl, 0x22
je 0x4043d1
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x4043e2
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029a0
test cl, cl
je 0x402a29
test edi, edi
je 0x402a29
jmp 0x4029a7
mov dword [0x415244], esi
jmp 0x402950
mov al, byte [esi]
test al, al
je 0x402a39
cmp al, 0x20
ja 0x402a39
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402a29
push ebx
push esi
push 0
push 0x400000
call fcn.00403044
mov dword [0x415060], eax
cmp dword [0x415064], 0
jne 0x40441a
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_exit]
test ecx, ecx
je 0x402a82
push ecx
call fcn.0040117d
jmp 0x402a82
mov eax, esi
pop esi
pop ebp
ret 4
cmp eax, edx
jne 0x402905
xor esi, esi
inc esi
mov edi, esi
jmp 0x402918
push 0x1f
call sub.MSVCR120_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402950
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404435
push 0x4150f8
call fcn.0040fdd0
pop ecx
test eax, eax
je 0x40298d
push 0
push 2
push 0
mov esi, dword [0x4150f8]
mov ecx, esi
call dword [0x416268]
call esi
jmp 0x40298d
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x4029b0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029c3
cmp dword [0x415244], 0
jne 0x40442e
call dword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x415060]
mov dword [ebp - 4], 0xfffffffe
call fcn.004032ee
ret
Function at 0x437bef
Capabilities:
Shutdown system

Disassembly:
push 0x20
mov eax, 0x4b1d98
call fcn.0046afbc
lea eax, [ebp - 0x2c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x437c3e
push str.OpenProcessToken_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.00402829
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
pop ecx
lea edx, [ebp - 0x24]
call fcn.00414071
pop ecx
mov ecx, dword [ebp - 0x24]
jmp 0x437cc8
lea eax, [ebp - 0x1c]
xor esi, esi
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 2
pop edi
push esi
push esi
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], edi
push eax
push esi
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x437c92
push str.AdjustTokenPrivileges_failed_in_RebootOS.
lea ecx, [ebp - 0x24]
call fcn.00402829
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
jmp 0x437c2d
push SysReAllocString
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x437cd0
push str.ExitWindowsEx_failed_in_RebootOS.
lea ecx, [ebp - 0x28]
call fcn.00402829
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.00414071
pop ecx
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046af66
ret
Function at 0x413dbc
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46a0e2
call fcn.0042a1e6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413de1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x413e27
lea ecx, [ebp - 0x10]
call fcn.00404f70
mov ecx, dword [esi + 0x50]
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.00408c39
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401150
mov eax, esi
call fcn.0042a2be
ret 8

Function at 0x4185ab
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
add dword [0x4c8c1e], edi
call fcn.0044487f
add byte [ebx - 0x40ac2797], bh
rol eax, 0xf
xor edi, ebx
rol esi, 0xb
xor edx, esp
xchg edi, edx
mov edi, esi
inc eax
not edi
or ebx, 0xb5cda4b9
movsb byte es:[edi], byte [esi]
int 0xb5
movsb byte es:[edi], byte [esi]
int 0xb5
shr ebx, 9
dec ecx
jne 0x418587
or dword [0x4c8aaf], ecx
test dword [0x48d7fd], ebp
jne 0x4185c5
and edx, eax
mov ecx, 0x3bf82364
xchg edx, eax
dec edx
shr eax, 0x1b
ror edi, 0x17
not esi
call fcn.00447a4f
sub esi, dword [0x48e05e]
inc ebx
sub edi, esp
mov dword [0x4c8b0f], eax
add edi, edx
neg esi
xor eax, 0xff5d7f4c
or dword [0x4c8c84], esi
or edx, edi
xchg edx, esi
inc esi
and dword [0x4c8ad0], esi
inc eax
xor edi, esi
dec ecx
jne 0x4185ca
mov ecx, 0x32325f93

Function at 0x427b2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48d800]
jne 0x427b37
repz ret
jmp fcn.0042e0f3
Function at 0x43512d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042db02
and dword [ebp - 4], 0
cmp dword [0x491d20], 0
mov ebx, eax
jne 0x4351de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43528f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43528f
push eax
call fcn.0042da90
mov dword [esp], 0x473754
push edi
mov dword [0x491d20], eax
call esi
push eax
call fcn.0042da90
mov dword [esp], 0x473740
push edi
mov dword [0x491d24], eax
call esi
push eax
call fcn.0042da90
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x491d28], eax
call esi
push eax
call fcn.0042da90
pop ecx
mov dword [0x491d30], eax
test eax, eax
je 0x4351de
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042da90
pop ecx
mov dword [0x491d2c], eax
mov eax, dword [0x491d2c]
cmp eax, ebx
je 0x435236
cmp dword [0x491d30], ebx
je 0x435236
push eax
call fcn.0042db0b
push dword [0x491d30]
mov esi, eax
call fcn.0042db0b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x435236
test edi, edi
je 0x435236
call esi
test eax, eax
je 0x43522d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43522d
test byte [ebp - 0xc], 1
jne 0x435236
or dword [ebp + 0x10], 0x200000
jmp 0x43526f
mov eax, dword [0x491d24]
cmp eax, ebx
je 0x43526f
push eax
call fcn.0042db0b
pop ecx
test eax, eax
je 0x43526f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43526f
mov eax, dword [0x491d28]
cmp eax, ebx
je 0x43526f
push eax
call fcn.0042db0b
pop ecx
test eax, eax
je 0x43526f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491d20]
call fcn.0042db0b
pop ecx
test eax, eax
je 0x43528f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x435291
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b210
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 0
je 0x43b245
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
jne 0x43b273
xor eax, eax
jmp 0x43b278
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43e4b0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10264
call fcn.0042beb0
mov eax, dword [0x48d800]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10264], ecx
mov eax, dword [ebp - 0x10264]
add eax, 0xd4
push eax
push 0x8000
lea ecx, [ebp - 0x10260]
push ecx
call fcn.004287bf
add esp, 0xc
push 0x476214
push 0x8000
lea edx, [ebp - 0x10260]
push edx
call fcn.0042870b
add esp, 0xc
push 0x476628
push 0x8000
lea eax, [ebp - 0x10260]
push eax
call fcn.0042870b
add esp, 0xc
lea ecx, [ebp - 0x10260]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x25c], eax
push 0x476658
mov edx, dword [ebp - 0x25c]
lea eax, [ebp + edx*2 - 0x10260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x258], 0x825
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x10260]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0xffffffff
je 0x43e5e2
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43e5e2
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp + eax*2 - 0x1025e]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x476660
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43e5e0
push 0x80
lea eax, [ebp - 0x10260]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x10260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43e578
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427b2d
mov esp, ebp
pop ebp
ret
Function at 0x43fe70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax + 0xd4]
test ecx, ecx
jne 0x43fea3
mov edx, dword [ebp - 0x30]
add edx, 0xd4
push edx
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp + 0x14], 0
mov ecx, dword [ebp - 0x30]
call fcn.0043e4b0
cmp dword [ebp + 0x14], 0
jne 0x43ff7d
push 0
push 0x477418
push str.Choose_a_directory_for_temporary_files._nIt_is_recommended_that_you_do_not_choose_the_temporary_directory_on_the_same_drives_where_the_recoverable_files_are.
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x21310]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x21310]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0x43e420
mov dword [ebp - 0x18], str.Choose_directory_for_temporary_files:
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], 0x51
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x43ff26
xor eax, eax
jmp 0x43ffc2
mov eax, dword [ebp - 0x30]
add eax, 0xd4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43ff79
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x43ff77
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x14]
call ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x43ff7d
xor eax, eax
jmp 0x43ffc2
mov eax, dword [ebp - 0x30]
add eax, 0xd4
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004287bf
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043e450
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042870b
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0042882e
add esp, 4
add eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43ffd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
push 0x10000
call fcn.0040858b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x10], eax
push 0x8000
mov eax, dword [ebp - 0x18]
push eax
push str.PATHEXT
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44003b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00408596
add esp, 4
mov eax, 1
jmp 0x440105
push 0x3b
mov eax, dword [ebp - 0x18]
push eax
call fcn.004027d0
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sar ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x4400ee
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx*2]
push eax
call fcn.00428b5d
add esp, 0xc
test eax, eax
jne 0x4400cf
push 0x14
push 0x4764d4
push str.Selected_file_is_executable._Do_you_want_to_continue_and_run_it___this_may_cause_unrecognized_errors_and_harm_MyUnDelete_process_
mov ecx, dword [0x4b3678]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4400b9
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00408596
add esp, 4
mov eax, 1
jmp 0x440105
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00408596
add esp, 4
xor eax, eax
jmp 0x440105
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x18], eax
push 0x3b
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004027d0
add esp, 8
mov dword [ebp - 0x14], eax
jmp 0x440057
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00408596
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x440210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [0x4b369c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x43ef20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x200d8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x200d8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x440930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [0x4b37a4], 0
mov dword [ebp - 4], 0
jmp 0x440955
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4b3694]
jae 0x440aad
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4 + 0x213bc], 0
mov dword [ebp - 8], 0
jmp 0x440987
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + edx*4 + 0x2028c]
jae 0x440aa8
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x4b25d4]
cmp eax, 1
jne 0x440a35
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
add edx, dword [ecx*4 + 0x4b2554]
imul edx, edx, 5
mov eax, dword [0x4b2674]
mov ecx, dword [eax + edx]
mov edx, dword [ecx + 4]
and edx, 1
je 0x440a33
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add ecx, dword [eax*4 + 0x4b2554]
imul ecx, ecx, 5
mov edx, dword [0x4b2674]
mov eax, dword [edx + ecx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
je 0x440a33
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00440470
cmp eax, 2
jne 0x440a33
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x213bc]
add edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax*4 + 0x213bc], edx
jmp 0x440aa3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx*4 + 0x4b2554]
imul eax, eax, 5
mov ecx, dword [0x4b2674]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x440aa3
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x49], 0
je 0x440aa3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4d]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00440470
cmp eax, 2
jne 0x440aa3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4d]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x213bc]
add eax, 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4 + 0x213bc], eax
jmp 0x44097e
jmp 0x44094c
mov esp, ebp
pop ebp
ret
Function at 0x444310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46caa5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48d800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 0x9c
call fcn.0040855c
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x444368
push 0x65
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00443c10
mov dword [ebp - 0x28], eax
jmp 0x44436f
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 8], 0
je 0x4443b6
push 2
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00466dc0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x28]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x2c]
mov dword [ecx + 0x48], edx
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x10]
call fcn.00442f70
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00444200
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x28