joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c962
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x10075418
call fcn.1005886f
mov eax, dword [0x1009a0f4]
mov ecx, 0x1009a0f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push str._s__d
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.1000eccb
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [0x1009a324], eax
je 0x1000c9e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000c9e4
call fcn.100419fb
test al, al
je 0x1000c9e1
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
mov ebx, str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlTxdl.cpp
call fcn.100417cb
pop ecx
pop ecx
xor edi, edi
inc edi
lea eax, [esi - 0x10]
call fcn.100033b2
mov eax, edi
call fcn.10058947
ret 4
Function at 0x1000cb58
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc8
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push edi
mov edi, dword [ebp + 0x7c]
call fcn.100419fb
test al, al
je 0x1000cb93
push edi
push str.TxDl_Main_enter__cmdline_s
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlTxdl.cpp
call fcn.1004188a
add esp, 0x10
mov esi, 0x1007bc68
push esi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push edi
lea eax, [ebp + 4]
push eax
call fcn.10002d85
push esi
lea eax, [ebp + 4]
push eax
call fcn.100090f4
test eax, eax
jne 0x1000cbc7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp + 4]
push eax
call fcn.10002fe5
mov esi, dword [ebp + 4]
push 0x1007bc28
lea eax, [ebp - 0x38]
call fcn.1000189d
push eax
push 0x1007c780
lea eax, [ebp - 0x54]
call fcn.1000189d
push eax
push 0x1007c784
lea eax, [ebp - 0x1c]
call fcn.1000189d
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp], esp
push esi
call fcn.1000189d
lea ecx, [ebp + 0xc]
call fcn.10001205
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x1c]
call fcn.10001f1e
push edi
push 1
lea esi, [ebp - 0x54]
call fcn.10001f1e
push edi
push 1
lea esi, [ebp - 0x38]
call fcn.10001f1e
push 0x1007c78c
lea eax, [ebp - 0x1c]
mov dword [ebp + 8], edi
mov dword [ebp], edi
call fcn.1000189d
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
lea edx, [ebp + 0xc]
call fcn.1000f1f5
push edi
push 1
lea esi, [ebp - 0x1c]
call fcn.10001f1e
push dword [ebp + 8]
call fcn.1000c962
test eax, eax
je 0x1000cc93
lea ecx, [ebp + 0xc]
call fcn.10001308
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
call fcn.100033b2
or eax, 0xffffffff
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.10051861
add ebp, 0x74
leave
ret 4
call fcn.1000c9f6
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x1000ccd4
call fcn.1000ca32
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000ccba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or edi, 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001308
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, edi
jmp 0x1000cc80
push dword [ebp + 4]
lea esi, [ebp]
call fcn.10014477
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push edi
push dword [eax]
push esi
call dword [ecx + 0xc]
push dword [ebp]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.10014b22
mov ecx, esi
call fcn.1000ca65
call fcn.10014b95
cmp dword [0x1009a33c], edi
je 0x1000cd2f
mov eax, dword [0x1009a334]
mov ecx, dword [eax]
push 0x1009a328
push eax
call dword [ecx + 0x18]
mov eax, dword [0x1009a334]
mov ecx, dword [eax]
push 0x1009a32c
push eax
call dword [ecx + 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
call fcn.1000ca32
call fcn.100419fb
test al, al
je 0x1000cd5a
push str.TxDl_Main_leave...
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlTxdl.cpp
call fcn.1004188a
add esp, 0xc
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x1000ccbd
Function at 0x1000ce15
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1009a1e0]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1000ce4f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000ce40
push 0xffffffffffffffff
push dword [0x1009a1e0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1009a1e0]
call esi
and dword [0x1009a1e0], 0
mov eax, dword [0x1009a1e8]
test eax, eax
je 0x1000ce62
push eax
call esi
and dword [0x1009a1e8], 0
pop esi
ret

Function at 0x1000ce64
Capabilities:
Create thread

Disassembly:
push 0x1c
call fcn.100515d4
test eax, eax
pop ecx
je 0x1000ce7b
push dword [esp + 4]
call fcn.1000189d
jmp 0x1000ce7d
xor eax, eax
push 0x1009a1e4
push 0
push eax
push 0x1000cdb2
push 0
push 0
call fcn.10054cc0
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [0x1009a1e0], eax
mov eax, ecx
mov dword [0x1009a1ec], eax
ret 4

Function at 0x1000e3e1
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1000e428
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1000e421
cmp dword [esp + 4], 0x1b
jne 0x1000e408
push 0
push 2
jmp 0x1000e413
cmp dword [esp + 4], 0xd
jne 0x1000e421
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3c0], 0
ret 4
Function at 0x10013159
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x1001316c
push 0x80004005
call fcn.100033ca
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10013173
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10015bda
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x10074f88
call fcn.100588d8
mov eax, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
cmp ebx, esi
mov dword [ebp - 0x30], eax
je 0x10015cb8
cmp eax, esi
je 0x10015cb8
push 0x40
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10051de0
xor eax, eax
mov dword [ebp - 0x40], esi
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov edi, 0x1008279c
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x58], 0x81
mov word [ebp - 0x54], si
call fcn.1000189d
push ebx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], esi
call fcn.100069d0
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.100069d0
push 0x1007bc28
lea eax, [ebp - 0x2c]
push eax
call fcn.100069d0
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
call fcn.100069d0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10015c7a
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, esi
je 0x10015ca9
push dword [ebp - 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x3c]
call edi
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001f1e
mov eax, ebx
jmp 0x10015cba
xor eax, eax
call fcn.1005895b
ret
Function at 0x10015d1b
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2114]
mov eax, 0x2114
call fcn.10069b50
push 0xffffffffffffffff
push 0x100732d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x2110], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x211c]
xor ebx, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ebx
push SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.10015b61
test eax, eax
jge 0x10015d91
cmp dword [ebp - 0x10], ebx
je 0x10015d8a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10015e6c
xor eax, eax
mov byte [ebp + 0x2100], bl
lea edi, [ebp + 0x2101]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebp - 0x74]
stosb byte es:[edi], al
call fcn.10003422
push ebx
lea eax, [ebp - 0x14]
push eax
push 0x2000
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10015dd0
call fcn.1001462e
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10015de4
lea ecx, [ebp]
lea edx, [ebp - 0x74]
call fcn.10003b6c
jmp 0x10015dad
cmp dword [ebp - 0x10], ebx
je 0x10015df5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0x2100]
push eax
lea esi, [ebp - 0x74]
call fcn.10003d77
push 0xfe
lea eax, [ebp + 0x2002]
push ebx
push eax
mov word [ebp + 0x2000], bx
call fcn.10051de0
add esp, 0x10
lea esi, [ebp + 0x2000]
xor edi, edi
movzx eax, byte [ebp + edi + 0x2100]
push eax
push 0x100827a0
push 0xffffffffffffffff
push 3
push esi
call fcn.10055a87
add esp, 0x14
add esi, 4
inc edi
cmp edi, 0x10
jb 0x10015e28
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x18]
call fcn.10002fe5
cmp dword [ebp - 0x10], ebx
je 0x10015e69
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2110]
xor ecx, ebp
call fcn.10051861
add ebp, 0x2114
leave
ret
Function at 0x10018d16
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x10077ea5
call fcn.1005886f
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
xor edi, edi
inc edi
cmp eax, 0xf
jne 0x10018d5e
mov dword [esi + 0xd0], edi
push dword [ebp + 0x10]
and dword [ebp - 4], 0
call fcn.10016cee
or dword [ebp - 4], 0xffffffff
and dword [ebx], 0
cmp dword [esi + 0xd0], 0
je 0x10018dc3
mov eax, edi
call fcn.10058947
ret 0x14
cmp eax, 2
jne 0x10018d97
push dword [esi + 0xd4]
mov dword [esi + 0xd0], edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [ebp + 0x18], eax
je 0x10018d48
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10018d48
push 0
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10018d48
cmp eax, 0x47
jne 0x10018dae
push dword [ebp + 0x14]
mov eax, esi
mov dword [esi + 0xd0], edi
call fcn.10018b25
jmp 0x10018d48
cmp eax, 0x18
jne 0x10018d4b
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xd0], edi
call fcn.10018bff
jmp 0x10018d48
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001716c
jmp 0x10018d56
Function at 0x1001d575
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f4]
xor ecx, ecx
inc ecx
cmp eax, 2
mov dword [esi + 0x40c], ecx
je 0x1001d599
cmp eax, 3
je 0x1001d599
mov eax, esi
pop esi
jmp fcn.1001e934
mov ecx, esi
call fcn.1001df7c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x1001d683
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x10076b78
call fcn.1005886f
cmp dword [ebp + 8], 1
jne 0x1001d6cd
mov eax, dword [esi + 0x404]
mov ecx, dword [esi + 0x3e4]
cmp ecx, dword [eax + 0x30]
jb 0x1001d6ad
and dword [esi + 0x3e4], 0
mov ecx, dword [esi + 0x3e4]
mov eax, dword [eax + ecx*4 + 8]
test eax, eax
je 0x1001d6c2
push eax
push esi
call fcn.1001e7d8
inc dword [esi + 0x3e4]
jmp 0x1001d766
cmp dword [ebp + 8], 2
je 0x1001d766
cmp dword [ebp + 8], 3
jne 0x1001d766
mov eax, dword [esi + 0x41c]
inc dword [esi + 0x410]
mov ecx, dword [eax]
push 0
push str.hidetotraytime
push eax
call dword [ecx + 0x18]
mov edi, eax
sub edi, dword [esi + 0x410]
test edi, edi
jle 0x1001d746
mov eax, dword [0x1009a0f4]
mov ecx, 0x1009a0f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
push edi
lea eax, [ebp + 8]
push 0x10082d28
push eax
call fcn.1000eccb
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
push 0x64
mov eax, esi
call fcn.1001e78e
lea eax, [edi - 0x10]
call fcn.100033b2
jmp 0x1001d766
and dword [esi + 0x410], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.1001df7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
call fcn.10058947
ret 4

Function at 0x1001d77e
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x40c], 1
call fcn.1001df7c
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x1001f742
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
lea esi, [edi + 0x334]
cmp dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x1001f764
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi], ebx
mov eax, dword [edi + 0x324]
cmp eax, ebx
je 0x1001f832
push eax
call fcn.1000c2fe
mov esi, eax
cmp esi, ebx
pop ecx
je 0x1001f7e7
push ebx
push edi
push 2
pop eax
call fcn.1001efc7
mov eax, dword [edi + 0x324]
cmp eax, dword [edi + 0x320]
jne 0x1001f7e7
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.1000c36d
mov eax, dword [esi + 0x88]
cmp eax, ebx
je 0x1001f7d6
cmp word [eax], bx
je 0x1001f7d6
push 1
push ebx
push ebx
push eax
push 0x10082ce0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1001f7e7
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x1001f7e7
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [edi + 0x324], ebx
je 0x1001f832
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [edi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
leave
ret 0xc

Function at 0x100205c9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
je 0x10020666
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp + 8], ebx
jmp 0x1002065b
lea eax, [esi + 0xc]
cmp dword [eax], ebx
je 0x10020681
push 0x4ff
push 0x64
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x10020662
cmp eax, 0xffffffff
je 0x10020681
push 6
pop ecx
push 1
push ebx
xor eax, eax
push ebx
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10020646
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x10020646
mov dword [ebp + 8], 1
cmp dword [ebp + 8], ebx
je 0x1002065b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x2710
ja 0x10020681
cmp dword [esi + 4], ebx
jne 0x100205ea
jmp 0x10020681
mov bl, 1
jmp 0x10020681
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x10020681
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
pop edi
mov al, bl
pop ebx
leave
ret 4
Function at 0x10021318
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
push edi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100213c3
push esi
push 0xff
lea eax, [ebp - 0x73]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x74], bl
call fcn.10051de0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.KAVINSTALLNEEDREBOOT
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], pe_nt_image_headers32
call esi
test eax, eax
je 0x100213b6
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push str.KAV7NEEDREBOOT
push dword [ebp - 0x78]
call esi
test eax, eax
jne 0x100213b9
xor edi, edi
inc edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x8c]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.10051861
add ebp, 0x90
leave
ret

Function at 0x10021c80
Capabilities:
Create thread

Disassembly:
push 0x30
mov eax, 0x10075f18
call fcn.100588d8
xor edi, edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edi
mov word [ebp - 0x34], di
push esi
mov dword [ebp - 4], edi
call fcn.1005184b
pop ecx
mov ecx, esi
lea esi, [ebp - 0x38]
call fcn.100022cf
push edi
push edi
push 1
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
je 0x10021d30
push edi
push edi
mov eax, esi
push eax
push 0x10021bd7
push edi
push edi
call fcn.10054cc0
add esp, 0x18
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x10021d27
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x10021d13
cmp dword [ebx + 0x3c], 1
jne 0x10021d13
cmp dword [0x1009a258], edi
jne 0x10021d13
call fcn.10021d46
test eax, eax
je 0x10021d13
mov dword [0x1009a258], 1
push 0x64
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x10021cf2
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x18]
push edi
push 1
lea esi, [ebp - 0x38]
call fcn.10001f1e
mov eax, ebx
call fcn.1005895b
ret
Function at 0x10021e89
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
je 0x10021f70
call dword [0x1009660c]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x10021f70
lea edi, [eax + eax]
mov eax, edi
call fcn.10062ae0
mov eax, esp
push ebx
push edi
push esi
mov esi, eax
call fcn.10015b2e
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x10021f70
push 0x208
lea eax, [ebp - 0x7a]
push ebx
push eax
mov word [ebp - 0x7c], bx
call fcn.10051de0
add esp, 0xc
lea esi, [ebp - 0x7c]
call fcn.10022072
push str.Txdlproxy.dat
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021f30
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x10083a44
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
call fcn.10056688
add esp, 0xc
cmp dword [ebp - 0x80], ebx
je 0x10021f70
push edi
call fcn.100517c0
push dword [ebp - 0x80]
inc eax
push eax
push 1
push edi
call fcn.10056837
push dword [ebp - 0x80]
call fcn.1005692b
xor eax, eax
add esp, 0x18
inc eax
jmp 0x10021f72
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.10051861
add ebp, 0x194
leave
ret

Function at 0x10021f90
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x208
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1e]
push ebx
push eax
mov word [ebp - 0x20], bx
call fcn.10051de0
add esp, 0xc
lea esi, [ebp - 0x20]
call fcn.10022072
push 0x10083a48
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.10051de0
xor eax, eax
mov dword [ebp - 0x3c], ebx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, esi
push eax
push ebx
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x10022055
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x2c]
add esi, 0x44
lea edi, [ebp - 0x24]
mov dword [ebp - 0x24], eax
call fcn.10021051
cmp dword [ebp - 0x24], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10022050
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x1ec]
mov eax, dword [ebp - 0x28]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10051861
add ebp, 0x1f0
leave
ret 4