joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100073d0
Capabilities:
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000740d
mov eax, 0x81010541
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
movzx ecx, word [edi + 0x2048]
mov eax, dword [edi + 0x2044]
push ecx
xor ebx, ebx
mov word [ebp - 0x41c], 2
mov dword [ebp - 0x418], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [ebp - 0x41c]
push edx
mov word [ebp - 0x41a], ax
call fcn.10007500
add esp, 4
test eax, eax
je 0x10007453
mov ebx, 0x81010542
jmp 0x100074c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x2054]
push ecx
mov ecx, dword [edi + 0x2038]
lea edx, [edi + 0x215c]
push edx
mov edx, dword [ebp + 8]
neg edx
push ecx
sbb edx, edx
add edx, 2
push edx
push eax
lea eax, [ebp - 0x40c]
push str._Sign_____08X____Mode_____08X____AID_____08X____Name_____s____Port_____08X_
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
lea eax, [ebp - 0x40c]
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10007498
sub eax, edx
push 0
add eax, 1
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100074ce
mov ebx, 0x81010543
mov dword [edi], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi + 0x2034], eax
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
cmp dword [ebp + 8], eax
jne 0x100074ee
mov dword [edi + 0x203c], eax
mov dword [edi + 0x2044], eax
mov dword [edi + 0x2030], eax
mov ecx, dword [ebp - 8]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10012a8e
mov esp, ebp
pop ebp
ret

Function at 0x10007500
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
lea eax, [ebp - 8]
push eax
push 0x8004667e
push esi
mov dword [ebp - 8], 1
call ebx
test eax, eax
je 0x10007533
mov eax, 0x81010551
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push 0x10
push ecx
push esi
xor edi, edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x100075c0
lea edx, [ebp - 0x18]
push edx
push edi
lea eax, [ebp - 0x124]
push eax
mov ecx, eax
push ecx
lea edx, [esi + 1]
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0x3d090
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x100075bb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x1007
push 0xffff
push esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0xffffffff
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x100075af
mov edi, 0x81010553
jmp 0x100075c0
cmp dword [ebp - 0xc], edi
je 0x100075c0
mov edi, 0x81010554
jmp 0x100075c0
mov edi, 0x81010552
lea edx, [ebp - 8]
push edx
push 0x8004667e
push esi
mov dword [ebp - 8], 0
call ebx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007700
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x10025088]
push 0
push 1
push 2
add edi, 0x4c
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10007745
mov eax, 0x81010511
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
xor ebx, ebx
push ebx
mov word [ebp - 0x14], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
mov word [ebp - 0x12], bx
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x100077a0
mov ebx, 0x81010512
mov dword [edi], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov dword [edi + 0x2034], eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x100077b4
mov ebx, 0x81010513
jmp 0x10007778
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100077ce
mov ebx, 0x81010514
jmp 0x10007778
push 0x104
lea eax, [edi + 0x215c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x100077eb
mov ebx, 0x81010502
jmp 0x10007778
mov ecx, dword [ebp - 0x12]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
push 0
push 0
push edi
push 0x10007a80
movzx edx, ax
push 0
push 0
mov dword [edi + 0x2054], edx
mov dword [edi + 0x2050], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
Function at 0x10007840
Capabilities:
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10025088]
push esi
add ebx, 0x4c
push edi
lea eax, [ebx + 0x215c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
xor esi, esi
cmp edi, esi
mov dword [ebp - 0x138], edi
jne 0x10007890
mov eax, 0x81010503
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x13c], eax
movzx eax, word [ebx + 0x204c]
push eax
mov word [ebp - 0x130], 2
mov dword [ebp - 0x12c], 0xffffffff
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12e], ax
xor eax, eax
mov dword [ebp - 0x11e], eax
mov dword [ebp - 0x11a], eax
mov dword [ebp - 0x116], eax
mov word [ebp - 0x112], ax
mov word [ebp - 0x120], 2
mov word [ebp - 0x11e], si
mov dword [ebp - 0x144], 1
mov ecx, dword [edi + 0xc]
cmp dword [ecx], esi
mov dword [ebp - 0x140], esi
je 0x10007a60
xor edi, edi
jmp 0x10007912
xor esi, esi
push esi
push 2
push 2
mov dword [ebp - 0x134], esi
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10007939
mov dword [ebp - 0x134], 0x81010521
jmp 0x10007a16
push 4
lea edx, [ebp - 0x144]
push edx
push 0x20
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x10007963
mov dword [ebp - 0x134], 0x81010522
jmp 0x10007a16
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0xc]
mov edx, dword [edi + ecx]
mov eax, dword [edx]
push 0x10
lea ecx, [ebp - 0x120]
push ecx
push esi
mov dword [ebp - 0x11c], eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x10007997
mov dword [ebp - 0x134], 0x81010523
jmp 0x10007a16
mov edx, dword [ebx + 0x2054]
mov edi, dword [ebp - 0x13c]
push edx
lea eax, [ebx + 0x215c]
push eax
mov eax, dword [ebx + 0x2038]
push eax
push 0
push edi
lea ecx, [ebp - 0x110]
push str._Sign_____08X____Mode_____08X____AID_____08X____Name_____s____Port_____08X____APP____tbTools_
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x1c
add edi, 1
lea eax, [ebp - 0x110]
mov dword [ebp - 0x13c], edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100079e0
push 0x10
lea edx, [ebp - 0x130]
push edx
sub eax, ecx
push 0
add eax, 1
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0x10007a2a
mov dword [ebp - 0x134], 0x81010524
mov ecx, dword [ebp - 0x134]
mov dword [ebx], ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx + 0x2034], eax
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x138]
add eax, 1
lea edi, [eax*4]
mov dword [ebp - 0x140], eax
mov eax, dword [edx + 0xc]
cmp dword [edi + eax], 0
jne 0x10007910
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012a8e
mov esp, ebp
pop ebp
ret
Function at 0x1000a6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014694
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x1000a788
call sub.MFC80U.DLL_Ordinal_1079
mov esi, dword [eax + 8]
push 1
push 1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push 0x1001ddf8
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [ebp - 0x10]
setne bl
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x1000a768
mov edx, dword [ebp + 8]
add edx, 0x1610
push edx
lea eax, [ebp - 0x10]
push eax
mov edi, 0x10016a34
call fcn.10002c80
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10004c20
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000a7a7
mov ecx, dword [ebp + 0xc]
push ecx
push 0x1001ddfc
call sub.acdb17.dll_acutPrintf
add esp, 8
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
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 0xc
mov edx, dword [ebp + 0xc]
push 0x10
push 0x10
push 0x10
push 1
push edx
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x1000a7ce
mov edx, dword [ebp + 0xc]
push edx
push 0x1001de20
jmp 0x1000a780
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10012a8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024018]
jne 0x10012a98
repz ret
jmp fcn.10012f66

Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x422da4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.0041a77c
add esp, 0x208
pop ebx
xor esi, ecx
and esi, ecx

Function at 0x422dd0
Capabilities:
Encode data using xor

Disassembly:
shl eax, 0x10
xor ebx, 0x50f627b4
call fcn.004a1d6c
shr esi, 1
and edi, 0xd8b00d27
add ecx, esi
call fcn.0044efb4
mov ecx, edi
call fcn.00499739
add eax, 0xb5162fdb
shl ecx, 0x18
or dword [0x4baa18], esi
sub esi, dword [0x4b73c1]
and ecx, ebx
sub esi, esi
test esp, esp
je 0x422e17
call fcn.004474f0
or esi, 0x627d8c98
and eax, ebp
mov esi, dword [0x4b910f]
mov ecx, 0x77769a89
dec edi
neg edx
xor eax, 0x2d110177
neg esi
not eax
xor edi, dword [0x4b8c62]
call fcn.00410242
add dword [0x4babd7], 0x6e9b32c5
call fcn.004992dc
shr ebx, 0x15
or edx, 0x8dd4da5
xor eax, 0x92d6dca1
mov edi, 0x661d5ee1
shr eax, 8
dec ecx
jne 0x422e2a
mov ecx, 0x663aeb77
mov ebx, 0x499c26c0
and eax, ecx
mov eax, dword [0x4b846b]
shl edx, 0xc
add ebx, ebx
sub ebx, ebp
and eax, ebx
add esi, 0x2c0cfbed
shl esi, 0x10
shr ebx, 0xf
dec ecx
jne 0x422e71
test ecx, 0xa845b2df
ja 0x422ea5
or edi, 0xcc0854e3
mov ecx, 0x7a914c46
Function at 0x423e48
Capabilities:
Hash data using murmur3

Disassembly:
xor eax, 0x30b93a17
neg eax
and dword [0x4babdc], esi
neg eax
xor eax, 0x30b93a17
and dword [0x4ba88e], edi
not esi
xchg eax, edx
xor ebx, eax
sub eax, 0xfd56f85e
ror edi, 0xb
call fcn.00484683
sub eax, 0x222c3f54
ror edi, 8
add esp, 0x10
add edi, dword [0x4bad95]
or dword [0x4ba82e], esi
call fcn.00443a42
neg edx
dec esi
or edx, dword [0x4baf47]
neg ecx
add eax, 0xc5d6188b
or dword [0x4ba865], 0x55f803cc
call fcn.0045b784
add esi, 0xb1f08329
call fcn.0043a840
xor eax, edi
call fcn.0046e560
call fcn.00428c89
xor eax, edi
call fcn.00475b9e
sub esi, 0xb1f08329
call fcn.0047b843
mov dword [0x4ba9e5], 0xc3cf80e2
sub eax, 0xc5d6188b
neg ecx
inc esi
neg edx
call fcn.004679cf
add dword [0x4ba8b3], edi
mov edi, 0x329886b
or dword [0x4baaad], ecx
xor edx, esi
mov dword [0x4ba876], esi
add edx, dword [0x4bad88]
call fcn.00424ac4
or dword [0x4baa61], eax
and dword [0x4ba8a2], ecx
sub ebx, ebp
ror edi, 0x12
xchg ecx, edx
inc esi
sub ebx, eax
xchg ebx, edx
rol edi, 7
call fcn.00414638
call fcn.004a0105
ror edi, 7
xchg ebx, edx
add ebx, eax
dec esi
xchg ecx, edx
rol edi, 0x12
add ebx, ebp
xor dword [0x4bab3b], edi
xor dword [0x4baba4], eax
xor edx, esi
add edi, 0x73bb350a
dec edi
add dword [0x4ba882], 0x3c6d8fb9
inc edi
add esi, 0x6a0ba25a
xor esi, 0xc2fdb768
rol edi, 0x17
and dword [0x4baa13], ecx
dec ebx
xor esi, ebp
inc ebx
ror edx, 6
xchg edx, esi
not esi
rol eax, 8
call fcn.00484683
xor esi, 0x59ae960b
xor ebx, ecx
add dword [0x4ba87b], ebx
xor ebx, 0x6ee5ff85
or ecx, dword [0x4bac00]
ror edx, 0x1d
call fcn.00469ed7
call fcn.0043ba2f
rol edx, 0x1d
xor ebx, 0x6ee5ff85
or dword [0x4ba849], edx
xor ebx, ecx
xor esi, 0x59ae960b
call fcn.004466c8
ror eax, 8
not esi
xchg edx, esi
rol edx, 6
dec ebx
xor esi, ebp
inc ebx
mov dword [0x4ba854], esi
ror edi, 0x17
xor esi, 0xc2fdb768
sub esi, 0x6a0ba25a
dec edi
mov dword [0x4ba81e], 0xa4d7a2c5
inc edi
sub edi, 0x76e4bd35
dec ebx
xor esi, 0xf1e587e7
xor ebx, dword [0x4bac75]
neg edx
invalid

Function at 0x42729c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00427250
test al, al
jne 0x4272bd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x427309
xor eax, eax
push ebp
push 0x4272f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004084ec
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427300
lea eax, [ebp - 0xc]
call fcn.0042728c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1326058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x13261a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x132607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x132606a
add dl, dl
jne 0x1326089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13260dc
xor eax, eax
add dl, dl
jne 0x1326096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x132617d
add dl, dl
jne 0x13260a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13260b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13260bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13260c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x13260d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1326075
mov eax, 1
add dl, dl
jne 0x13260ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13260f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13260e1
sub eax, ebx
mov ebx, 1
jne 0x1326128
mov ecx, 1
add dl, dl
jne 0x132610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1326119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1326105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1326075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x132613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x132614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1326136
cmp eax, 0x7d00
jae 0x132616d
cmp eax, 0x500
jb 0x1326168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1326075
cmp eax, 0x7f
ja 0x1326170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1326075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x132619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1326075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100027a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100027b7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100027e8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100027e4
cmp esi, eax
jae 0x100027e8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100027d4
cmp esi, eax
jb 0x100027ee
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x10002f10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x100441b0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [0x10046498]
test eax, eax
jne 0x10002fd4
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.1000e5c0
add esp, 0xc
push str.BApi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10002f69
push 0x104
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [esp + 8], 0
jne 0x10002fbd
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 8]
push edx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x207
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.deepscan_bapi.dll
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call fcn.10001420
mov esi, eax
lea eax, [esp + 0xc]
call fcn.10002d10
mov dword [0x10046498], eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1000d18f
add esp, 0x214
ret
Function at 0x100032d0
Capabilities:
Find taskbar
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x100441b0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0x208
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.1000e5c0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Wtsapi32.dll
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebp, ebp
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x10003344
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test ebp, ebp
je 0x1000336b
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x1000336b
lea ecx, [esp + 0x10]
push ecx
push eax
call ebp
test eax, eax
jne 0x100033c8
push 0
push str.Shell_TrayWnd
call ebx
test eax, eax
jne 0x10003387
push 0x2710
inc esi
call edi
cmp esi, 0x1e
jb 0x10003350
jmp 0x100033c8
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
push eax
push 0
push 0x80000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100033c8
lea ecx, [esp + 0x10]
push ecx
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x100033db
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x214]
mov eax, dword [esp]
xor ecx, esp
call fcn.1000d18f
add esp, 0x218
ret