joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4051e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x405316
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], 0x400
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x508]
push edx
lea eax, [ebp - 0x510]
push eax
push 0x51b934
push 0x51b938
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x405316
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405260
sub eax, edx
cmp eax, 0x40
jne 0x405316
lea ecx, [ebp - 0x508]
mov eax, 0x20
push ecx
lea edx, [eax + 0x60]
lea ecx, [ebp - 0x88]
call fcn.00405800
lea edx, [ebp - 0x4e8]
push edx
mov eax, SysReAllocString
mov edx, 0x80
lea ecx, [ebp - 0x108]
call fcn.00405800
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x508]
push 0x400
push ecx
lea ecx, [ebp - 0x88]
call fcn.00404310
add esp, 8
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405316
lea ecx, [ebp - 0x88]
push ecx
mov edx, 0x104
mov ecx, esi
call fcn.00405860
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x405970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004c5470
push str.bdoctor
push str.Software360360se6_stat
push 0x51b990
mov ecx, 0x103
lea edi, [ebp - 0x414]
call fcn.00401dd0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.004c5470
mov ecx, dword [ebp + 8]
push ecx
push 0x51b99c
mov ecx, 0x103
lea edi, [ebp - 0x20c]
call fcn.00401dd0
add esp, 0x2c
push 4
lea edx, [ebp + 0xc]
push edx
push 4
mov eax, edi
push eax
lea ecx, [ebp - 0x414]
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004c0985
mov esp, ebp
pop ebp
ret 8
Function at 0x405a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 4
push edi
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x420], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov dword [ebp - 0x418], 0
mov word [ebp - 0x414], ax
call fcn.004c5470
push str.bdoctor
push str.Software360360se6_stat
push 0x51b990
mov ecx, 0x103
lea edi, [ebp - 0x414]
call fcn.00401dd0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.004c5470
mov ecx, dword [ebp + 8]
push ecx
push 0x51b99c
mov ecx, 0x103
lea edi, [ebp - 0x20c]
call fcn.00401dd0
add esp, 0x2c
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x41c]
push ecx
mov edx, edi
push edx
lea eax, [ebp - 0x414]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x418]
xor ecx, ebp
pop edi
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4

Function at 0x406a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406ae3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
call fcn.004017f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x406e70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004c5470
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x51c620
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x210]
call fcn.00450b20
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
test al, al
je 0x406f28
xor edx, edx
lea eax, [ebp - 0x210]
mov word [esi + 4], dx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406f10
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
jmp 0x406f34
xor eax, eax
mov word [esi + 4], ax
push eax
mov eax, 0x51c620
call fcn.004017f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x407100
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004c5470
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea esi, [ebp - 0x210]
lea edx, [ebp - 0x20c]
call fcn.00410030
test eax, eax
jl 0x40717c
mov eax, dword [ebp - 0x210]
mov ecx, 0x104
sub ecx, eax
lea edx, [ebp + eax*2 - 0x20c]
mov eax, str._system32
call fcn.00410070
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], 0
mov word [edi + 4], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4071a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
mov esi, edi
call fcn.004017f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x407460
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x407491
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x25c], ax
mov eax, edi
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4074b2
sub eax, edx
push esi
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x260]
call fcn.004017f0
mov edx, esi
lea ecx, [ebp - 0x244]
call fcn.004071d0
cmp dword [ebp - 0x248], 8
jb 0x4074f5
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
mov eax, edi
mov word [ebp - 0x25c], dx
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x24c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407513
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [ebp - 0x260]
call fcn.004017f0
mov ebx, esi
lea eax, [ebp - 0x228]
call fcn.00407290
mov ebx, 8
cmp dword [ebp - 0x248], ebx
jb 0x407559
mov eax, dword [ebp - 0x25c]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.004c5470
mov eax, dword [ebp - 0x224]
add esp, 0xc
cmp dword [ebp - 0x210], ebx
jae 0x40758b
lea eax, [ebp - 0x224]
mov esi, dword [ebp - 0x74aa0240]
in al, dx
cmp dword [ebp - 4], 0
jne 0x407717
xor al, al
jmp 0x40775a
mov edx, dword [ebp - 4]
add edx, 0x10
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x38]
call fcn.004077df
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
cmp dword [ebp - 8], 0
jbe 0x407750
mov dword [ebp - 0x28], 1
jmp 0x407757
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4095f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xf8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x100]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x104]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x108]
mov dword [ecx + 0x18], edx
mov edx, 0x1a
lea ecx, [ebp - 0x1b0]
call fcn.00408b3f
lea eax, [ebp - 0x1b0]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.0040814f
mov dword [ebp - 0x174], 0
test dword [esi + edi*8 + 0xffff], ecx
add byte [eax], al
Function at 0x40fb30
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [ebp - 0x218]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x218], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x214]
mov esi, eax
cmp esi, edi
jne 0x40fbb1
xor eax, eax
cmp ecx, edi
je 0x40fb99
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x210], edi
mov esi, eax
mov dword [ebp - 0x214], ecx
cmp eax, edi
je 0x40fbbf
cmp ecx, edi
je 0x40fc80
push ecx
jmp 0x40fc7a
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
jne 0x40fc40
nop
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.0040fb30
mov dword [ebp - 0x218], eax
cmp eax, edi
jne 0x40fc95
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x214]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
je 0x40fbf0
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x40fc57
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x214], edi
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [ebp - 0x210], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x40fc80
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x214]
cmp ecx, edi
je 0x40fc82
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret 4

Function at 0x4101b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4101c8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4101fc
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4101f8
cmp esi, eax
jae 0x4101fc
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4101e8
cmp esi, eax
jb 0x410202
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x411450
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, str..old
lea ecx, [ebp + 8]
lea esi, [ebp - 0x20]
call fcn.0040e390
mov ecx, dword [ebp - 0x1c]
mov edi, 8
cmp dword [ebp - 8], edi
jae 0x411482
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x41148d
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push eax
call esi
push 1
lea ecx, [ebp - 0x20]
call fcn.0044e5e0
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp dword [ebp - 8], edi
jae 0x4114b1
lea eax, [ebp - 0x1c]
push 6
push 0
push eax
call esi
cmp dword [ebp - 8], edi
jb 0x4114c9
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c097a
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x20], edi
pop edi
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], cx
pop esi
jb 0x4114f0
mov edx, dword [ebp + 0xc]
push edx
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x411ee0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push eax
push 0x29
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov word [ebp - 0x20c], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edx, edx
lea eax, [ebp - 0x20c]
mov word [ebp - 0x240], dx
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411f33
sub eax, edx
push esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x244]
call fcn.004017f0
push 0xb
push str.dnsapi.dll
mov eax, esi
call fcn.0040ba90
cmp dword [ebp - 0x22c], 8
mov eax, dword [ebp - 0x240]
jae 0x411f78
lea eax, [ebp - 0x240]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call edi
xor eax, eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
lea edx, [eax + 2]
jmp 0x411fb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
lea esi, [ebp - 0x228]
call fcn.004017f0
push 0xc
push str._version.dll
mov eax, esi
call fcn.0040ba90
mov eax, dword [ebp - 0x224]
mov esi, 8
cmp dword [ebp - 0x210], esi
jae 0x411ff8
lea eax, [ebp - 0x224]
push eax
call edi
pop edi
cmp dword [ebp - 0x210], esi
jb 0x412013
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.004c097a
add esp, 4
xor edx, edx
cmp dword [ebp - 0x22c], esi
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], dx
pop esi
jb 0x412048
mov eax, dword [ebp - 0x240]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x412060
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
xor eax, eax
push edi
mov edi, dword [ebp + 0x10]
mov word [esp + 0x2c], ax
mov eax, edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x412090
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x2c]
call fcn.004017f0
push 0xffffffffffffffff
push ebx
mov ecx, esi
push ecx
mov eax, 0x544214
call fcn.004018f0
cmp dword [esp + 0x40], 8
jb 0x4120cf
mov edx, dword [esp + 0x2c]
push edx
call fcn.004c097a
add esp, 4
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push str.__clean
push edi
call esi
test eax, eax
jne 0x412110
call fcn.00411100
test al, al
je 0x412105
push str.eea57c71_95f9_40b6_91cb_9e5008152c6c
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412142
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.__cleanl
push edi
call esi
test eax, eax
jne 0x412142
push str.98095770_386d_4997_b486_7542e61292e5
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412142
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00411ee0
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
call fcn.004110d0
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00418970
call fcn.00418770
mov ecx, edi
call fcn.00411790
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
call sub.gdiplus.dll_GdiplusShutdown
call fcn.00412ec0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x419960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x419973
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x419980
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x41a9f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x5402b0]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41aa43
call fcn.00419310
mov esi, eax
jmp 0x41ab18
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41aa5c
call fcn.00419310
jmp 0x41ab0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41aa76
call fcn.00419310
jmp 0x41ab0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x41aabf
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x41aa9a
lea eax, [esp + 0x20]
call fcn.004199b0
lea esi, [esp + 0x14]
call fcn.00410870
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 0xc
lea esi, [esp + 0x20]
call fcn.004192d0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41aad7
mov esi, 0x8007000e
jmp 0x41ab11
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41aaf4
call fcn.00419310
jmp 0x41ab0f
mov ecx, dword [esp + 0x20]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.0041a890
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x41ab30
lea eax, [esp + 0x20]
call fcn.004199b0
jmp 0x41ab30
mov ecx, dword [esp + 0x42c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0985
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41bd70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi], 0
push ebx
push edi
jne 0x41be71
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov dword [esi], 1
mov word [ebp - 0x210], ax
call fcn.004c5470
add esp, 0xc
push 0x103
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360BDoctorExtBDoctor.dll
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
call fcn.00450b20
test al, al
jne 0x41be06
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41bdf4
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LoadPerformanceLib
push edi
call ebx
push str.CleanupSystemResource
push edi
mov dword [esi + 8], eax
call ebx
push str.SaveLog
push edi
mov dword [esi + 0xc], eax
call ebx
push str.AsyncQuerySystemPerformanceDetails
push edi
mov dword [esi + 0x18], eax
call ebx
push str.SetUpdateUsageEnabled
push edi
mov dword [esi + 0x10], eax
call ebx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x41bdf4
cmp dword [esi + 0xc], 0
je 0x41bdf4
cmp dword [esi + 0x10], 0
je 0x41bdf4
test eax, eax
je 0x41bdf4
push 2
call ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x41fb90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x20], 0
push edi
je 0x41fbba
mov eax, dword [esi + 8]
push 0x10004
push eax
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
fldz
cmp dword [esi + 0x24], 0
fld st(0)
mov edi, eax
jne 0x41fc12
mov ecx, edi
fstp st(0)
sub ecx, dword [esi + 0x30]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
test ecx, ecx
jge 0x41fbe7
fadd qword [0x531380]
fdiv qword [esi + 0x38]
fld1
fsubrp st(1)
fimul dword [esi + 0x1c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x41fc12
fstp st(0)
fstp qword [esp + 0x38]
call ebx
fldz
mov dword [esi + 0x30], eax
fld qword [esp + 0x38]
mov dword [esi + 0x24], 1
mov eax, dword [esi + 0x24]
test eax, eax
je 0x41fc30
cmp dword [esi + 0x6c], 0
jne 0x41fc30
fstp st(0)
fstp qword [esp + 0x38]
call ebx
fld qword [esp + 0x38]
mov dword [esi + 0x30], eax
jmp 0x41fc59
fstp st(1)
test eax, eax
je 0x41fc59
cmp dword [esi + 0x6c], 0
je 0x41fc59
sub edi, dword [esi + 0x30]
fstp st(0)
mov dword [esp + 0x38], edi
fild dword [esp + 0x38]
test edi, edi
jge 0x41fc53
fadd qword [0x531380]
fdiv qword [esi + 0x38]
fimul dword [esi + 0x14]
cmp dword [esi + 0x24], 0
je 0x41fcb6
fild dword [esi + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x41fcb4
fstp st(1)
mov bl, 1
fstp qword [esp + 0x38]
mov dword [esi + 0x20], 1
mov dword [esi + 0x28], 0
call fcn.0041e080
mov edx, dword [esi + 8]
push 0x13
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
fld qword [esp + 0x38]
sub esp, 8
mov eax, esi
fstp qword [esp]
call fcn.0041fd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
sub esp, 8
mov eax, esi
fstp qword [esp]
call fcn.0041fd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret