joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46309c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x94
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x44], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
movzx eax, word [0x48e728]
test eax, eax
jne 0x453d2d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
call fcn.0045dde0
mov dword [ebp - 0x94], eax
push 3
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0x94]
call fcn.0045de70
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 1
push str.sogouexplorer.dll
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004026e0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.004026a0
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x60]
call fcn.00401d50
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x453be9
mov dword [ebp - 0x80], 1
push 0x480d78
lea eax, [ebp - 0x80]
push eax
call fcn.00440c8e
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0043b860
add esp, 4
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x60]
call fcn.00401d50
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x453c49
mov dword [ebp - 0x88], 1
push 0x480d78
lea ecx, [ebp - 0x88]
push ecx
call fcn.00440c8e
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4745c4
mov ecx, dword [ebp - 0x20]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x453c7e
mov dword [ebp - 0x8c], 1
push 0x480d78
lea edx, [ebp - 0x8c]
push edx
call fcn.00440c8e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x30]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x30]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0x4745c8
push 0x48e728
call fcn.00409690
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.0043bc7d
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004026a0
jmp 0x453d26
mov dword [ebp - 4], 0xffffffff
mov eax, 0x48e728
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x454310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [0x48c124]
test eax, eax
jne 0x454324
jmp 0x4543a5
cmp dword [0x48c120], 0
jne 0x45438d
push 0x48c120
push 0
push 0
push 0x4542c0
push 0
push 0
call fcn.0043e921
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
test ecx, ecx
je 0x45438d
push 0
push 0
push 0x2341
mov eax, dword [0x48c120]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
test eax, eax
je 0x454380
jmp 0x45438d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454355
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x2340
mov edx, dword [0x48c120]
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x4543b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.0043c260
add esp, 0xc
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0x244], 0
jmp 0x454418
mov ecx, dword [ebp - 0x244]
add ecx, 1
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x23c]
jge 0x4544d9
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4544bf
push str.sogouexplorer.exe
lea edx, [ebp - 0x214]
push edx
call fcn.0043e459
add esp, 8
test eax, eax
jne 0x4544a8
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x248], eax
push 0
mov ecx, dword [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45445a
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x454409
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x454590
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp + 8]
call fcn.00407e50
test eax, eax
jne 0x4545ba
jmp 0x454735
mov dword [ebp - 0x224], 2
push 4
lea eax, [ebp - 0x224]
push eax
push 4
push str.Open
push 0x474708
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x228], eax
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.0043c260
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x103
push 1
push 0x474738
mov eax, dword [ebp - 4]
push eax
push 0x47473c
push str.SOFTWARESogouExplorer
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x14], str.SoftwareSogouExplorerurl_hisAllUserurl
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x454679
cmp dword [ebp - 0xc], 0
jne 0x454679
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x22c], 0
jmp 0x454694
mov edx, dword [ebp - 0x22c]
add edx, 1
mov dword [ebp - 0x22c], edx
mov ecx, dword [ebp + 8]
call fcn.00407e50
cmp dword [ebp - 0x22c], eax
jae 0x45472b
xor eax, eax
mov word [ebp - 0x438], ax
push 0x206
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.0043c260
add esp, 0xc
mov edx, dword [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407e90
add eax, 0x1c
mov ecx, eax
call fcn.00402d60
push eax
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407e90
add eax, 0x1c
mov ecx, eax
call fcn.00405c20
push eax
push 1
push 0
mov ecx, dword [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407e90
mov ecx, eax
call fcn.00405c20
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x43c], eax
jmp 0x454685
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret 4
Function at 0x454750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4630cf
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.0044e520
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2078], ecx
mov dword [ebp - 0x10], 0x4746b0
mov byte [ebp - 0x101c], 0
push 0xfff
push 0
lea eax, [ebp - 0x101b]
push eax
call fcn.0043c260
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
mov edx, dword [ebp - 0x10]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x45490b
mov dword [ebp - 0x1024], 0x208
mov byte [ebp - 0x202c], 0
push 0xfff
push 0
lea eax, [ebp - 0x202b]
push eax
call fcn.0043c260
add esp, 0xc
mov dword [ebp - 0x1020], 1
mov dword [ebp - 0x1028], 0
cmp dword [ebp - 0x18], 0x103
je 0x454901
mov dword [ebp - 0x2034], 0x1000
mov dword [ebp - 0x2030], 0x1000
lea ecx, [ebp - 0x2034]
push ecx
lea edx, [ebp - 0x101c]
push edx
lea eax, [ebp - 0x1020]
push eax
push 0
lea ecx, [ebp - 0x2030]
push ecx
lea edx, [ebp - 0x202c]
push edx
mov eax, dword [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x18], eax
movsx edx, byte [ebp - 0x202c]
test edx, edx
je 0x4548c1
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x202c]
push ecx
lea edx, [ebp - 0x2074]
push edx
call fcn.00408960
add esp, 0xc
push eax
lea ecx, [ebp - 0x206c]
call fcn.00408980
mov dword [ebp - 4], 0
lea eax, [ebp - 0x206c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x206c]
call fcn.00407da0
push 0x1000
push 0
lea ecx, [ebp - 0x202c]
push ecx
call fcn.0043c260
add esp, 0xc
push 0x1000
push 0
lea edx, [ebp - 0x101c]
push edx
call fcn.0043c260
add esp, 0xc
mov eax, dword [ebp - 0x1028]
add eax, 1
mov dword [ebp - 0x1028], eax
jmp 0x45480b
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret 4

Function at 0x454e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
add edx, 8
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x454d40
push 0
push 0
call fcn.0043e921
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4
Function at 0x454ec0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x454f38
cmp dword [ebp + 0x10], 0
jle 0x454f03
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
jmp 0x454f12
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043c820
add esp, 4
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x454f3a
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x455010
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46312b
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00402af0
push 2
lea eax, [ebp - 0x2a0]
push eax
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 4], 0
push 0x477bb4
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x45519c
push 0x477bb8
lea ecx, [ebp - 0x258]
push ecx
call fcn.0043bdd5
add esp, 8
test eax, eax
je 0x4550d4
push 0x477bbc
lea edx, [ebp - 0x258]
push edx
call fcn.0043bdd5
add esp, 8
test eax, eax
jne 0x4550d9
jmp 0x455179
mov eax, dword [ebp - 0x284]
and eax, 0x10
je 0x455179
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x2f4]
push eax
call fcn.004026e0
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], ecx
mov byte [ebp - 4], 2
push 0x477bc4
mov edx, dword [ebp - 0x300]
push edx
lea eax, [ebp - 0x2d8]
push eax
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2f4]
call fcn.004026a0
lea ecx, [ebp - 0x2d8]
call fcn.00401d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45516a
lea ecx, [ebp - 0x2d8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d8]
call fcn.004026a0
lea edx, [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4550a4
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.config.xml
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4551d7
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402a70
mov byte [ebp - 0x2f5], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2bc]
call fcn.004026a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call fcn.004026a0
mov al, byte [ebp - 0x2f5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x455230
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463189
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
lea eax, [ebp - 0x2c]
push eax
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
and ecx, 2
je 0x45530f
push str.WebkitCookies
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.WebkitDefaultCookies
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.004026e0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.004026a0
lea ecx, [ebp - 0x48]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004026a0
mov edx, dword [ebp + 8]
and edx, 1
je 0x4553c6
push str.WebkitCache_
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 3
push str.WebkitCache2_
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 4
push str.WebkitDefaultCache_
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00401d50
push eax
call fcn.00453400
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.00401d50
push eax
call fcn.00453400
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00401d50
push eax
call fcn.00453400
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.004026a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004026a0
mov byte [ebp - 0xb9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov al, byte [ebp - 0xb9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x455980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463278
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
lea eax, [ebp - 0x80]
push eax
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 4], 0
push str.CommCfg.xml
mov edx, dword [ebp - 0xa8]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.004026a0
lea ecx, [ebp - 0x44]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 2
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 3
push str.configlocal.xml
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004026e0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x9c]
call fcn.004026a0
lea ecx, [ebp - 0x60]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.0040b9f0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x24]
push edx
call fcn.00455010
add esp, 4
mov dword [ebp - 0x64], 0
jmp 0x455a94
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x24]
call fcn.00402a20
cmp dword [ebp - 0x64], eax
jae 0x455abd
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402a40
mov ecx, eax
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x455a8b
mov byte [ebp - 0x9d], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00402a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004026a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004026a0
mov al, byte [ebp - 0x9d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x455ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463e6f
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0045dde0
mov ecx, eax
call fcn.0045de70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004015b0
movzx ecx, al
test ecx, ecx
je 0x455f44
mov byte [ebp - 0x291], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov al, byte [ebp - 0x291]
jmp 0x456118
push 0x477024
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push 0x477048
call fcn.00459910
add esp, 0xc
push 0x477054
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push 0x477078
call fcn.00459910
add esp, 0xc
push 0x477084
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push 0x4770a8
call fcn.00459600
add esp, 0xc
push 0x4770b4
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
push 0x4770d8
call fcn.00459600
add esp, 0xc
push 0x4770e4
lea ecx, [ebp - 0x2c]
call fcn.00401d50
push eax
call fcn.00458fb0
add esp, 8
call fcn.00458e90
call fcn.0041adc0
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp + 8]
test edx, edx
jne 0x4560e7
call fcn.0041af30
movzx eax, al
test eax, eax
jne 0x4560e7
lea ecx, [ebp - 0x4c]
call fcn.00401d20
xor ecx, ecx
mov word [ebp - 0x254], cx
push 0x206
push 0
lea edx, [ebp - 0x252]
push edx
call fcn.0043c260
add esp, 0xc
push 0x104
lea eax, [ebp - 0x254]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x30], 7
jb 0x4560df
mov dword [ebp - 0x290], 0x3c
mov dword [ebp - 0x28c], 0x40
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0x477108
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x27c], 0x477114
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 5
xor edx, edx
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4560df
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x4c]
call fcn.004026a0
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call fcn.00455b90
mov byte [ebp - 0x292], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004026a0
mov al, byte [ebp - 0x292]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret
Function at 0x457520
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x19c], ecx
movzx eax, byte [0x48e6ad]
test eax, eax
jne 0x45757c
xor ecx, ecx
mov word [ebp - 0x198], cx
push 0x18e
push 0
lea edx, [ebp - 0x196]
push edx
call fcn.0043c260
add esp, 0xc
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov byte [0x48e6ad], 1
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret

Function at 0x4576b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4891c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
mov eax, dword [0x48e824]
and eax, 1
jne 0x4576fd
mov ecx, dword [0x48e824]
or ecx, 1
mov dword [0x48e824], ecx
mov ecx, 0x48e808
call fcn.00401d20
push 0x46ab50
call fcn.0043bdbe
add esp, 4
mov ecx, 0x48e808
call fcn.004015b0
movzx edx, al
test edx, edx
je 0x457755
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043c260
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
push str._ProgramFiles_Internet_Exploreriexplore.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push eax
mov ecx, 0x48e808
call fcn.00401d00
push 0x48e808
mov ecx, dword [ebp + 8]
call fcn.00401d70
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043bc88
mov esp, ebp
pop ebp
ret