joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43db40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x43db81
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x43db5f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x43dbea
cmp dword [eax + 0xc], edi
jne 0x43dbe4
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x43dbbc
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x43dbe0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x43dba8
test ecx, ecx
je 0x43dc03
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x43dbe0
cmp ecx, 1
jbe 0x43dc03
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x43dbe0
cmp ecx, 2
jbe 0x43dc03
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x43dc03
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x43db96
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.0043da70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x43dbfc
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44edb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4a19f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x44ee06
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x44ee70
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x44ee28
call fcn.0042ef10
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.0043db40
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00420d90
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x44ee79
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.00468a1d
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x44eeaf
cmp eax, edi
je 0x44ee00
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x44ef09
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x44]
mov esi, eax
cmp edx, dword [ecx + 0x40]
jb 0x44eed3
call fcn.0042ef10
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0043db40
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.0041dca0
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x44ef86
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x44ef3f.6
jmp dword [eax*4 + 0x44ef9c]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x44ef6f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x44ef6f
mov eax, dword [esi]
call fcn.0042d3f0
jmp 0x44ef6f
call fcn.0042f140
test eax, eax
je 0x44ef6d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x44ef6f
xor eax, eax
test eax, eax
jne 0x44ef86
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x451aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x48a1b8]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451ac8
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x451b08
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x451ae5
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x451b82
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x451b7c
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x451b44
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x451b74
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x451b30
test ecx, ecx
je 0x451bf3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x451b74
cmp ecx, 1
jbe 0x451bf3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x451b74
cmp ecx, 2
jbe 0x451bf3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x451bf3
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x451b20
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.0043da70
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x451ab4
mov ecx, dword [0x48a288]
test ecx, ecx
je 0x451bec
mov esi, 0x48a288
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x451bc8
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.0043db40
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x451bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x451b91
xor cl, 3
mov byte [eax + 5], cl
jmp 0x451b91
Function at 0x453a40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebx]
push edi
push esi
push eax
mov eax, ebx
call fcn.00452e30
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
add esp, 8
add eax, 0x10
call fcn.0041f090
push 0x48e1e0
push ecx
mov ecx, dword [ebx + 0x34]
push 0xffffffffffffffff
push ecx
call fcn.0041cd20
add esp, 0xc
push eax
call fcn.00468523
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x453af1
mov edx, dword [esi]
mov eax, dword [ebx + 0x34]
add edx, 0x10
push edx
push str.Include_failed_n___s__n
push eax
call fcn.0043e420
mov esi, dword [ebx + 0x34]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax - 0x10]
add esp, 0xc
cmp ecx, eax
jae 0x453adb
lea edx, [ecx - 0x10]
lea esp, [esp]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 8], eax
add ecx, 0x10
add edx, 0x10
cmp ecx, dword [esi + 8]
jb 0x453ac0
mov ecx, dword [ebp - 4]
add dword [esi + 8], 0xfffffff0
push 0x132
push ecx
push ebx
call fcn.00451eb0
add esp, 0xc
mov eax, dword [ebx + 0x34]
add dword [eax + 8], 0xfffffff0
mov edx, dword [ebx + 0x3c]
mov dword [edx + 4], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebx + 0x34]
push 0x400
push ecx
push edx
push eax
call fcn.00455640
mov ecx, dword [ebx + 0x3c]
mov dword [ecx], eax
mov edx, dword [ebx + 0x3c]
mov dword [edx + 8], 0x400
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push 0x400
push 1
push eax
call fcn.00468a1d
add esp, 0x20
test eax, eax
je 0x453bc0
add dword [esi + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x400
cmp ecx, eax
jbe 0x453ba6
lea edi, [eax + eax]
cmp edi, 0x7ffffffe
jb 0x453b74
push 0
push str.lexical_element_too_long
push ebx
call fcn.00451eb0
add esp, 0xc
lea ecx, [edi + 1]
cmp ecx, 0xfffffffd
ja 0x453b92
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [ebx + 0x34]
push edi
push edx
push eax
push ecx
call fcn.00455640
add esp, 0x10
jmp 0x453b9e
mov edx, dword [ebx + 0x34]
push edx
call fcn.00455620
add esp, 4
mov dword [esi + 8], edi
mov edi, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [esi + 4]
add eax, dword [esi]
push edi
push 0x400
push 1
push eax
call fcn.00468a1d
add esp, 0x10
test eax, eax
jne 0x453b46
push edi
call fcn.00463b34
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
add esp, 4
call fcn.00451f90
mov ecx, dword [ebp + 8]
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0x132
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x455b3b
push 0x4a5a20
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, esi
call fcn.00455790
mov edi, eax
test edi, edi
je 0x455b3b
inc dword [edi + 0x14]
push 0x4a5a20
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x455b5f
test esi, esi
je 0x455b57
push 0x4a5a20
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x455b74
test esi, esi
jmp 0x455c6a
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x455ba9
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x455c66
push 0x1c
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.0046cbb0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.004557d0
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x455c2d
push eax
mov eax, esi
call fcn.00455950
add esp, 4
push esi
call fcn.004559e0
add esp, 4
test eax, eax
je 0x455c5f
push esi
call fcn.00455880
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
mov ebx, 1
test eax, eax
je 0x455c83
add eax, edi
je 0x455c5f
push 0
push ebx
push edi
call eax
test eax, eax
jne 0x455c80
mov eax, esi
call fcn.00455de0
cmp dword [ebp + 0xc], 0
je 0x455c77
push 0x4a5a20
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], ebx
test eax, eax
je 0x455cb4
push eax
call fcn.004644e0
add esp, 4
mov edi, esi
mov dword [esi + 0x18], eax
call fcn.00455690
push 0x4a5a20
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], ebx
pop ebx
pop edi
mov dword [esi + 0x18], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x461231
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a19f4]
jne 0x46123b
repz ret
jmp fcn.0046a67c
Function at 0x464449
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x464470
call fcn.00464bdb
mov dword [eax], esi
call fcn.00464bc8
push 0x16
pop esi
mov dword [eax], esi
call fcn.004646e3
mov eax, esi
jmp 0x4644c5
test dword [ebp + 0xc], 0xfffffff9
jne 0x464456
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46449d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00464bee
pop ecx
call fcn.00464bc8
mov eax, dword [eax]
jmp 0x4644c5
test al, 0x10
jne 0x4644c3
test al, 1
je 0x4644c3
test byte [ebp + 0xc], 2
je 0x4644c3
call fcn.00464bdb
mov dword [eax], 5
call fcn.00464bc8
mov dword [eax], 0xd
jmp 0x464494
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4742cd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4742f4
call fcn.00464bdb
mov dword [eax], esi
call fcn.00464bc8
push 0x16
pop esi
mov dword [eax], esi
call fcn.004646e3
mov eax, esi
jmp 0x474349
test dword [ebp + 0xc], 0xfffffff9
jne 0x4742da
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x474321
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00464bee
pop ecx
call fcn.00464bc8
mov eax, dword [eax]
jmp 0x474349
test al, 0x10
jne 0x474347
test al, 1
je 0x474347
test byte [ebp + 0xc], 2
je 0x474347
call fcn.00464bdb
mov dword [eax], 5
call fcn.00464bc8
mov dword [eax], 0xd
jmp 0x474318
xor eax, eax
pop esi
pop ebp
ret
Function at 0x479ed4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a19f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0046c135
and dword [ebp - 0x14], 0
cmp dword [0x4a42ac], 0
mov dword [ebp - 0x18], eax
jne 0x479f87
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47a02f
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x488b34
push ebx
call edi
test eax, eax
je 0x47a02f
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x488b24
push ebx
mov dword [0x4a42ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a42b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a42b4], eax
call edi
push eax
call esi
mov dword [0x4a42bc], eax
test eax, eax
je 0x479f87
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a42b8], eax
mov eax, dword [0x4a42b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x479fe0
cmp dword [0x4a42bc], ecx
je 0x479fe0
push eax
call esi
push dword [0x4a42bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x479fe0
test ebx, ebx
je 0x479fe0
call edi
test eax, eax
je 0x479fd7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x479fd7
test byte [ebp - 8], 1
jne 0x479fe0
or dword [ebp + 0x10], 0x200000
jmp 0x47a013
mov eax, dword [0x4a42b0]
cmp eax, dword [ebp - 0x18]
je 0x47a013
push eax
call esi
test eax, eax
je 0x47a013
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x47a013
mov eax, dword [0x4a42b4]
cmp eax, dword [ebp - 0x18]
je 0x47a013
push eax
call esi
test eax, eax
je 0x47a013
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a42ac]
call esi
test eax, eax
je 0x47a02f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47a031
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461231
leave
ret
Function at 0x4014fe
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x44c074]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00401400
mov ecx, eax
call fcn.0040378c
call fcn.004013a5
mov ecx, eax
call fcn.00403286
push str.396F874B_AA3D_4B8A_B95D_BDA0F30651C2
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x24c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401574
push dword [edi + 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x24c], ebx
mov dword [edi + 0x28c], 1
xor eax, eax
jmp 0x40163a
push 0x2c
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0041e010
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0xc
mov dword [esp + 0xc], 0x30
push ebx
call esi
mov dword [esp + 0x20], eax
mov ebx, str.360KitTipAppMsgWnd
lea eax, [esp + 0xc]
mov dword [esp + 0x34], ebx
push eax
mov dword [esp + 0x18], 0x4021dc
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
call esi
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x86ca0080
push eax
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x248], eax
test eax, eax
je 0x40156d
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [edi + 0x248]
call esi
push edi
push 0xffffffffffffffeb
push dword [edi + 0x248]
call esi
mov ecx, edi
call fcn.00405930
push ecx
push ecx
push 0x4016d5
lea ecx, [edi + 0x294]
call fcn.0040225a
push 0
push 0x36ee80
push 0x1f4
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041ac4b
mov esp, ebp
pop ebp
ret

Function at 0x401c99
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
call fcn.00401777
test eax, eax
jne 0x401cbf
mov dword [esi + 0x28c], 7
jmp 0x401d57
mov ecx, esi
call fcn.00401e9e
test eax, eax
je 0x401d57
lea edi, [esi + 0x270]
cmp dword [edi + 0x14], 8
jb 0x401cde
mov eax, dword [edi]
jmp 0x401ce0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401d57
cmp dword [edi + 0x14], 8
jb 0x401cf3
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x250], eax
test eax, eax
jne 0x401d1c
mov dword [esi + 0x28c], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x290], eax
jmp 0x401d57
push str.RunTip
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401d3e
push ebx
push ebx
push dword [esi + 0x254]
call eax
mov dword [esi + 0x288], eax
jmp 0x401d54
mov dword [esi + 0x28c], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x290], eax
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40378c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44c074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x6b
pop eax
push 0x65
pop ebx
push 0x72
pop edx
push 0x6e
mov word [ebp - 0x2c], ax
mov esi, ecx
pop eax
push 0x6c
pop ecx
push 0x33
mov word [ebp - 0x26], ax
pop eax
push 0x32
mov word [ebp - 0x20], ax
pop eax
push 0x2e
mov word [ebp - 0x1e], ax
pop eax
mov word [ebp - 0x1c], ax
push 0x64
pop eax
mov word [ebp - 0x1a], ax
xor eax, eax
mov word [ebp - 0x14], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0x2a], bx
push eax
mov word [ebp - 0x28], dx
mov word [ebp - 0x24], bx
mov word [ebp - 0x22], cx
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], cx
mov dword [ebp - 0x10], 0x74697845
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], dl
mov word [ebp - 0xa], 0x636f
mov byte [ebp - 8], bl
mov word [ebp - 7], 0x7373
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
test eax, eax
je 0x40384d
call fcn.00403ec8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.004042a5
sub esp, 0xc
mov ecx, esi
call fcn.00404317
call fcn.00403fd9
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0041ac4b
mov esp, ebp
pop ebp
ret

Function at 0x40387c
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x449578
call fcn.00438460
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x4038f2
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x4038f2
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x4038f2
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x4038f2
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4038fb
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.004384a9
ret

Function at 0x403b09
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x44c074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x44dea0]
jmp 0x403b3a
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x403b4f
mov esi, dword [esi + 4]
test esi, esi
jne 0x403b21
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041ac4b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x403b40
Function at 0x403baf
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44c074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
movzx eax, si
push edi
mov edi, 0x10000
test eax, eax
je 0x403c40
sub esi, eax
add esi, edi
jmp 0x403c40
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x403bed
add esi, 0x8000000
jmp 0x403c40
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x403c44
mov ecx, dword [ebp - 0x14]
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x403c2e
cmp ecx, edi
jb 0x403c2e
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x403c46
jmp 0x403bd4
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x403c40
mov eax, edi
sub eax, ecx
add esi, eax
cmp esi, ebx
jb 0x403bd8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac4b
mov esp, ebp
pop ebp
ret

Function at 0x403c57
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44c074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
add edx, 0xffff0000
mov ebx, ecx
push esi
movzx eax, dx
mov esi, edx
sub esi, eax
test eax, eax
push edi
cmove esi, edx
jmp 0x403ce8
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x403c95
sub esi, 0x8000000
jmp 0x403ce8
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x403cec
mov edi, 0x10000
cmp dword [ebp - 0x10], edi
jne 0x403cd6
cmp dword [ebp - 0x14], edi
jb 0x403cd6
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x403cee
sub esi, edi
jmp 0x403ce8
mov esi, dword [ebp - 0x1c]
add esi, 0xffff0000
movzx eax, si
test eax, eax
je 0x403ce8
sub esi, eax
cmp esi, ebx
ja 0x403c80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ac4b
mov esp, ebp
pop ebp
ret