joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413f3a
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d1c
call fcn.00430920
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2d18], eax
cmp eax, ebx
je 0x414091
push esi
mov dword [ebp - 0x2d10], ebx
mov dword [ebp - 0x2d0c], ebx
push edi
push dword [ebp - 0x2d0c]
mov eax, 0x200
push 0x43ff3c
lea ecx, [ebp - 0x204]
call fcn.00413958
pop ecx
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d14], eax
cmp eax, 0xffffffff
je 0x414074
xor eax, eax
lea edi, [ebp - 0x2d08]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x2710
push esi
lea eax, [ebp - 0x2cfc]
push ebx
push eax
mov dword [ebp - 0x2d1c], ebx
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.00427d80
add esp, 0xc
push ebx
lea eax, [ebp - 0x2d1c]
push eax
push esi
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push dword [ebp - 0x2d14]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x414060
push 0x3e8
lea eax, [ebp - 0x5ec]
push ebx
push eax
call fcn.00427d80
mov eax, dword [ebp - 0x2ce4]
add esp, 0xc
lea esi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.00419642
mov ecx, dword [ebp - 0x2d18]
mov eax, esi
push eax
push 0x64
pop esi
call fcn.0041384c
test eax, eax
jne 0x414060
mov dword [ebp - 0x2d10], 1
push dword [ebp - 0x2d14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d10], ebx
jne 0x414087
inc dword [ebp - 0x2d0c]
cmp dword [ebp - 0x2d0c], 0x10
jl 0x413f73
mov eax, dword [ebp - 0x2d10]
pop edi
pop esi
jmp 0x414093
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret
Function at 0x414314
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f8
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x4f8], eax
cmp eax, ebx
je 0x4144c0
push 0x64
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00427d80
add esp, 0xc
lea eax, [ebp - 0x4e0]
push eax
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41449e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ebp - 0x4e4], ebx
push ebx
jmp 0x414478
lea eax, [ebp - 0x4ec]
push eax
push 1
push ebx
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41445a
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x4f0]
push eax
push ebx
push 0x44002c
push dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
mov dword [ebp - 0x4f4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41444e
push 0x64
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.00427d80
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0041420e
add esp, 0x10
test eax, eax
je 0x41444e
cmp byte [ebp - 0x68], bl
je 0x414437
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x41444e
lea eax, [ebp - 0xcc]
push eax
push 0x64
mov edx, 0x7ffffffe
pop eax
lea ecx, [ebp - 0x68]
call fcn.00413993
push dword [ebp - 0x4ec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x4e4]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e4]
push dword [ebp - 0x4e0]
mov dword [ebp - 0x4e8], 0x104
call esi
test eax, eax
je 0x414391
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x68], bl
je 0x4144c0
mov ecx, dword [ebp - 0x4f8]
lea eax, [ebp - 0x68]
push eax
push 0x64
pop esi
call fcn.0041384c
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x4144c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret
Function at 0x4146a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
test ebx, ebx
je 0x4147b9
mov edi, 0x400
push edi
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], edi
call fcn.00427d80
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x440060
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4147b9
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414727
sub eax, edx
cmp eax, 0x40
jne 0x4147b9
lea eax, [ebp - 0x508]
push eax
push 0x20
pop edx
lea esi, [edx + 0x60]
mov eax, esi
lea ecx, [ebp - 0x88]
call fcn.00413993
lea eax, [ebp - 0x4e8]
push eax
lea ecx, [ebp - 0x108]
call fcn.0041384c
push edi
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.00427d80
add esp, 0xc
lea eax, [ebp - 0x508]
push edi
push eax
lea ecx, [ebp - 0x88]
call fcn.00413a07
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4147b9
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.0041384c
neg eax
sbb eax, eax
inc eax
jmp 0x4147bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042396b
leave
ret
Function at 0x4156f5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2dc
mov eax, dword [0x44465c]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0xe0], ax
lea eax, [esp + 0xe2]
mov esi, ecx
push eax
mov dword [esp + 0x18], esi
call fcn.00427d80
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x415790
push 0x103
lea ecx, [esp + 0xdc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xd8]
push eax
call fcn.00408296
mov eax, esi
jmp 0x415939
push 0x104
lea eax, [esp + 0xdc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xd8]
push eax
lea esi, [esp + 0x34]
call fcn.00408296
mov eax, esi
push eax
lea eax, [esp + 0x50]
call fcn.00414a71
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.00402346
lea eax, [esp + 0x4c]
call fcn.0041823b
and dword [esp + 0x24], 0
mov edi, eax
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
test edi, edi
je 0x415912
push str.360base.dll
lea esi, [esp + 0x34]
call fcn.00408296
lea eax, [esp + 0xbc]
push eax
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov esi, eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x94]
call fcn.00414d39
push eax
mov ecx, esi
call fcn.00414e0c
pop ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00414e0c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
call fcn.00402209
push ebx
xor edi, edi
lea esi, [esp + 0xc0]
call fcn.00402346
push ebx
lea esi, [esp + 0xa4]
call fcn.00402346
push ebx
lea esi, [esp + 0x88]
call fcn.00402346
push ebx
lea esi, [esp + 0x6c]
call fcn.00402346
push ebx
lea esi, [esp + 0x34]
call fcn.00402346
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x4158a2
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415909
push str.360base.dll
lea esi, [esp + 0x34]
call fcn.00408296
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x8c]
call fcn.00414d39
push eax
mov ecx, esi
call fcn.00414e0c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
call fcn.00402209
push ebx
xor edi, edi
lea esi, [esp + 0x6c]
call fcn.00402346
push ebx
lea esi, [esp + 0x88]
call fcn.00402346
push ebx
lea esi, [esp + 0x34]
call fcn.00402346
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov esi, dword [esp + 0xc]
lea ebx, [esp + 0x14]
call fcn.004019f7
push 1
xor edi, edi
mov esi, ebx
call fcn.00402346
push 1
lea esi, [esp + 0x50]
call fcn.00402346
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x416973
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x44465c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
xor esi, esi
mov dword [esp + 8], esi
xor eax, eax
push edi
mov edi, dword [0x44c90c]
lea edx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], esi
mov word [esp + 0x10], ax
call fcn.00417434
cmp dword [esp + 0x20], esi
je 0x4169ea
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], esi
jae 0x4169ca
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
push esi
push dword [esp + 0x10]
push edi
call fcn.004163e9
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
xor edi, edi
lea esi, [esp + 0x14]
call fcn.00402346
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.0042396b
mov esp, ebp
pop ebp
ret

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

Disassembly:
cmp dword [eax + 0x14], 8
jb 0x417d7d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x417d8d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x417e2f
push esi
push edi
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x248]
call fcn.00408296
mov eax, esi
push eax
lea eax, [ebp - 0x264]
call fcn.00414a71
push eax
lea eax, [ebp - 0x22c]
call fcn.00414a71
lea edi, [ebp - 0x22c]
call fcn.00414ffe
push 0xffffffffffffffff
push 0
mov eax, edi
mov ecx, ebx
call fcn.00402209
push 1
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.00402346
push 1
lea esi, [ebp - 0x264]
call fcn.00402346
push 1
lea esi, [ebp - 0x248]
call fcn.00402346
pop edi
mov al, 1
pop esi
jmp 0x417e31
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
leave
ret

Function at 0x417f63
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test bl, bl
je 0x417f94
cmp byte [ebp + 0xc], 0
je 0x417f94
push 0xea60
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, bl
pop ebx
leave
ret
Function at 0x41823b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 8
push esi
jb 0x41824d
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x4182cb
push edi
push 1
push esi
call fcn.00427351
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4182c8
push edi
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4182c1
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4182c1
cmp dword [ebp - 4], 0
je 0x4182c1
push 0x14
call fcn.00424276
mov esi, eax
pop ecx
test esi, esi
je 0x4182c8
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
call fcn.004181af
jmp 0x4182ca
push edi
call fcn.00424001
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418479
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov ax, word [esi + 8]
push ebx
mov word [ebp - 0x14], ax
mov ax, word [esi + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x12], ax
call edi
mov word [ebp - 0x10], ax
mov ax, word [esi + 0xc]
mov word [ebp - 0xe], ax
mov ax, word [esi + 8]
mov word [ebp - 0xc], ax
mov ebx, 0x4e4
mov eax, ebx
mov word [ebp - 0xa], ax
call edi
mov word [ebp - 6], bx
mov word [ebp - 8], ax
xor edi, edi
mov ebx, 0x104
push dword [ebp - 0x228]
movzx ecx, word [ebp + edi*2 - 0x12]
movzx eax, word [ebp + edi*2 - 0x14]
push ecx
push eax
push 0x440530
push ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
add edi, 2
call fcn.00423998
mov eax, dword [esi + 4]
and dword [ebp - 0x220], 0
add esp, 0x1c
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x418546
cmp dword [ebp - 0x220], 0
jne 0x41855d
cmp edi, 8
jb 0x4184e8
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret 8
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call fcn.0040231e
mov al, 1
jmp 0x41854d
Function at 0x419e92
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x41ae53
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x250], edi
cmp byte [ebp + 8], al
je 0x41aee9
xor ecx, ecx
mov word [ebp - 0x214], cx
lea ecx, [ebp - 0x214]
push ecx
push eax
push 0xffffffffffffffff
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x41ae9f
xor al, al
jmp 0x41afb0
lea eax, [ebp - 0x214]
push eax
lea esi, [ebp - 0x24c]
call fcn.00408296
mov eax, esi
push eax
lea eax, [ebp - 0x230]
call fcn.00414a71
push edi
call fcn.00414aa7
push 1
xor edi, edi
lea esi, [ebp - 0x230]
call fcn.00402346
push 1
lea esi, [ebp - 0x24c]
call fcn.00402346
mov edi, dword [ebp - 0x250]
jmp 0x41aef5
push 0x6c
call fcn.00418c72
pop ecx
test al, al
je 0x41ae98
lea eax, [ebp - 0x258]
push eax
lea ebx, [ebp - 0x230]
mov ecx, edi
mov dword [ebp - 0x258], 0x440658
mov dword [ebp - 0x254], 9
call fcn.00414f2e
push edi
call fcn.00414aa7
push 1
xor edi, edi
mov esi, ebx
call fcn.00402346
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x258]
push eax
lea ebx, [ebp - 0x230]
mov dword [ebp - 0x258], str.Internet_Explorer
mov dword [ebp - 0x254], 0x11
call fcn.00414f2e
push dword [ebp - 0x250]
call fcn.00414aa7
push 1
mov esi, ebx
call fcn.00402346
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x258]
push eax
lea ebx, [ebp - 0x230]
mov dword [ebp - 0x258], str.Quick_Launch
mov dword [ebp - 0x254], 0xc
call fcn.00414f2e
push dword [ebp - 0x250]
call fcn.00414aa7
push 1
mov esi, ebx
call fcn.00402346
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret

Function at 0x41be88
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x446c00]
and dword [esp], 0
push ebx
push esi
push edi
cmp eax, 0xffffffff
je 0x41bf29
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x41bf29
push 0x40
pop ecx
lea eax, [esp + 0x10]
push eax
push dword [0x446c00]
mov esi, ebx
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call edi
push ebx
call fcn.00423a27
pop ecx
mov dword [esp + 0xc], 0x40
mov esi, dword [0x44ca60]
xor bl, bl
jmp 0x41bf0c
lea eax, [esp + esi*4 + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x41bf0b
mov edx, dword [esi*4 + 0x449b18]
test edx, edx
je 0x41bf0b
and dword [eax], 0
push ecx
call edx
pop ecx
mov bl, 1
dec esi
test esi, esi
jg 0x41beed
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 0
jle 0x41bf1f
test bl, bl
jne 0x41bee3
push 0
push dword [0x446c00]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cce0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
xor ecx, ecx
push eax
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x60]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.00420b20
add esp, 4
mov ecx, esi
call fcn.00420bd0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x41ce70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20119
xor edi, edi
push edi
push 0x440794
push 0x80000002
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cfe8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [ebp - 8]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xc]
push str.Operator
mov edi, 0x400
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cf00
cmp dword [ebp - 8], 1
jne 0x41cfd2
mov eax, ebx
mov ebx, dword [ebp - 4]
sub edi, ebx
mov dword [esi], eax
lea ebx, [ebx + eax]
je 0x41cfd2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.IssueDate
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cf3b
cmp dword [ebp - 8], 1
jne 0x41cfd2
mov eax, dword [ebp - 4]
mov dword [esi + 4], ebx
add ebx, eax
sub edi, eax
je 0x41cfd2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cf6e
cmp dword [ebp - 8], 1
jne 0x41cfd2
mov eax, dword [ebp - 4]
mov dword [esi + 8], ebx
add ebx, eax
sub edi, eax
je 0x41cfd2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
lea edx, [ebp - 8]
push edx
push 0
push str.SignData
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cfd2
cmp dword [ebp - 8], 3
jne 0x41cfd2
mov eax, dword [ebp - 4]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x41cfd2
add esi, 0xc
call fcn.0041cd50
test eax, eax
je 0x41cfd2
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d3b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, edx
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x60]
mov dword [ebp - 0x6c], eax
xor eax, eax
push edx
lea edx, [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.0041f5a0
add esp, 8
test eax, eax
jne 0x41d417
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
test eax, eax
je 0x41d42a
push esi
lea esi, [ebp - 0x60]
call fcn.00420b20
add esp, 4
mov ebx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x60]
call fcn.00420bd0
test edi, edi
je 0x41d446
mov ecx, dword [ebp - 0x64]
xor eax, eax
cmp ecx, dword [ebp - 0x68]
sete al
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042396b
mov esp, ebp
pop ebp
ret

Function at 0x41d4b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x8c], eax
cmp dword [edi + 0x1c], ecx
je 0x41d4df
lea esi, [edi + 0x20]
cmp esi, ecx
jne 0x41d4e6
mov dword [eax], ecx
jmp 0x41d586
mov dword [eax], 1
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x84], 0x67452301
mov dword [ebp - 0x80], 0xefcdab89
mov dword [ebp - 0x7c], 0x98badcfe
mov dword [ebp - 0x78], 0x10325476
call fcn.0041f790
add esp, 4
test eax, eax
je 0x41d586
lea ecx, [ebp - 0x84]
lea ebx, [ebp - 0x18]
call fcn.00420bd0
push 0x80
push esi
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x43f118
mov dword [ebp - 0x88], 0x10
call fcn.0041bc93
add esp, 0x10
test eax, eax
jne 0x41d586
mov eax, 0x10
xor ecx, ecx
mov edx, dword [ebp + ecx - 0x18]
cmp edx, dword [ebp + ecx - 0x28]
jne 0x41d586
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x41d565
mov eax, dword [ebp - 0x8c]
mov dword [eax], 3
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0042396b
mov esp, ebp
pop ebp
ret