joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fb60
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x218
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push edi
push 0
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41fc07
mov eax, dword [esp + 8]
test eax, eax
je 0x41fc07
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x41fc07
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
push 0
call ebx
test eax, eax
je 0x41fc00
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004820d9
add esp, 0x218
ret
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004820d9
add esp, 0x218
ret

Function at 0x41fca0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
jne 0x41fd26
push edi
mov edi, dword [esp + 8]
add edi, 0xffffffff
js 0x41fd25
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_GetTrusteeNameW]
push esi
mov esi, edi
shl esi, 5
cmp dword [esi + eax + 4], 3
jne 0x41fd1a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x41fd0a
cmp dword [esi + eax + 0x14], 0
jne 0x41fd1a
push ecx
lea eax, [esi + eax + 0xc]
push eax
call ebp
push eax
call ebx
test eax, eax
je 0x41fd16
mov ecx, dword [esp + 0x1c]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
mov eax, dword [esp + 0x10]
dec edi
sub esi, 0x20
test edi, edi
jge 0x41fce5
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 8
Function at 0x420450
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4bf036
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x63c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64c]
xor esi, esi
cmp ebp, esi
je 0x420660
push ebp
lea ecx, [esp + 0x1c]
call fcn.00403ac0
push 0x500000
mov dword [esp + 0x648], esi
call fcn.00480dda
push 0x500000
mov edi, eax
push esi
push edi
call fcn.00482260
push 0x208
lea eax, [esp + 0x23c]
push esi
push eax
call fcn.00482260
push 0x208
lea ecx, [esp + 0x450]
push esi
push ecx
call fcn.00482260
push 0x208
lea edx, [esp + 0x4c]
push esi
push edx
call fcn.00482260
add esp, 0x34
push ebp
lea ecx, [esp + 0x18]
call fcn.00403ac0
push 0xe
push str.updatecfg.ini
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64c], 1
call fcn.004037b0
mov eax, dword [esp + 0x14]
push eax
push 0x280000
push edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ebx, ebx
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x420604
movzx eax, word [edi + ebx*2]
test ax, ax
jne 0x4205f0
mov edx, dword [esp + 0x14]
push edx
push 0x104
xor ecx, ecx
mov word [esp + esi*2 + 0x230], cx
lea eax, [esp + 0x438]
push eax
xor esi, esi
push esi
push str.path
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x430], si
je 0x4205f9
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420590
sub eax, edx
sar eax, 1
add eax, eax
shr eax, 1
cmp eax, 0x7ffffffe
jbe 0x4205b3
xor edx, edx
mov word [esp + 0x20], dx
jmp 0x4205be
mov ecx, ebp
lea edx, [esp + 0x20]
call fcn.00420400
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
push str.path
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4205f9
mov word [esp + esi*2 + 0x228], ax
inc esi
inc ebx
cmp ebx, dword [esp + 0x1c]
jb 0x420542
push edi
call fcn.00482fa8
mov byte [esp + 0x648], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x644], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x63c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.004820d9
add esp, 0x634
ret
Function at 0x420710
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4be648
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x420928
push esi
call fcn.00480dda
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x420912
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
push edi
push esi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4208f1
call fcn.00420990
mov ebp, dword [esp + 0x44]
test eax, eax
je 0x4208a2
call fcn.00420690
test eax, eax
jne 0x4208a2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4208a2
xor esi, esi
test dword [esp + 0x18], 0xfffffffc
jbe 0x4208a2
lea esp, [esp]
mov edx, dword [0x4eab28]
mov eax, dword [edx + 0xc]
mov ecx, 0x4eab28
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x48]
push str.StringFileInfo_04x_04xFileVersion
push eax
call fcn.00409b50
mov eax, dword [esp + 0x50]
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x42085c
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.00404680
mov ecx, dword [esp + 0x18]
inc esi
shr ecx, 2
cmp esi, ecx
jb 0x4207e0
jmp 0x4208a2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.00404340
push 0x2e
push 0x2c
mov ecx, ebp
call fcn.00421d40
push 0x20
mov ecx, ebp
call fcn.00421de0
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00404680
mov ecx, dword [ebp]
cmp dword [ecx - 0xc], ebx
jne 0x4208f1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push 0x4d0e64
push edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4208f1
mov eax, dword [esp + 0x40]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push ebp
call fcn.00409b50
add esp, 0x18
mov dword [esp + 0x14], 1
push edi
call fcn.00482fa8
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4212e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x2628
call fcn.00484d50
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x2620], eax
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0x221c]
push 0
push eax
call fcn.00482260
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360wpapp.exe
push ecx
lea edx, [esp + 0x2220]
push edx
call esi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00482260
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x19
lea ecx, [esp + 0x18]
push ecx
push 0
call ebp
push 0x800
lea edx, [esp + 0x814]
push 0
push edx
call fcn.00482260
add esp, 0xc
push 0x4d4238
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x818]
push ecx
call esi
push 0
push 0
lea edx, [esp + 0x2220]
push edx
lea eax, [esp + 0x81c]
push eax
mov edi, edx
call fcn.00421720
test eax, eax
jne 0x4213b5
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2620]
xor ecx, esp
call fcn.004820d9
add esp, 0x2628
ret
push 0x208
lea ecx, [esp + 0x2014]
push 0
push ecx
call fcn.00482260
add esp, 0xc
push 1
push 0x17
lea edx, [esp + 0x2018]
push edx
push 0
call ebp
push 0x4d424c
lea eax, [esp + 0x2014]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x2010]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421410
lea edx, [esp + 0x2010]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [esp + 0x1814]
push 0
push eax
call fcn.00482260
add esp, 0xc
push 0x4d4238
lea ecx, [esp + 0x2014]
push ecx
lea edx, [esp + 0x1818]
push edx
call esi
push 0
push 0
lea eax, [esp + 0x2220]
push eax
lea ecx, [esp + 0x181c]
push ecx
mov edi, eax
call fcn.00421720
test eax, eax
je 0x42139b
push 0x800
lea edx, [esp + 0x1014]
push 0
push edx
call fcn.00482260
add esp, 0xc
push 0x4d4268
lea eax, [esp + 0x2014]
push eax
lea ecx, [esp + 0x1018]
push ecx
call esi
push 0x208
lea edx, [esp + 0x2424]
push 0
push edx
call fcn.00482260
mov eax, dword [ebx]
add esp, 0xc
push str.Uninstall.exe
push eax
lea ecx, [esp + 0x2428]
push ecx
call esi
push 1
push 0
lea edx, [esp + 0x2428]
push edx
lea eax, [esp + 0x101c]
push eax
mov edi, edx
call fcn.00421720
mov ecx, dword [esp + 0x262c]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
neg eax
call fcn.004820d9
add esp, 0x2628
ret
Function at 0x421500
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x2628
call fcn.00484d50
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x2620], eax
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0x221c]
push 0
push eax
call fcn.00482260
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360wpapp.exe
push ecx
lea edx, [esp + 0x2220]
push edx
call esi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00482260
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x19
lea ecx, [esp + 0x18]
push ecx
push 0
call ebp
push 0x800
lea edx, [esp + 0x814]
push 0
push edx
call fcn.00482260
add esp, 0xc
push 0x4d4290
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x818]
push ecx
call esi
push 0
push 1
lea edx, [esp + 0x2220]
push edx
lea eax, [esp + 0x81c]
push eax
mov edi, edx
call fcn.00421720
test eax, eax
jne 0x4215d5
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2620]
xor ecx, esp
call fcn.004820d9
add esp, 0x2628
ret
push 0x208
lea ecx, [esp + 0x2014]
push 0
push ecx
call fcn.00482260
add esp, 0xc
push 1
push 0x17
lea edx, [esp + 0x2018]
push edx
push 0
call ebp
push 0x4d42a4
lea eax, [esp + 0x2014]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x2010]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x421630
lea edx, [esp + 0x2010]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [esp + 0x1814]
push 0
push eax
call fcn.00482260
add esp, 0xc
push 0x4d4290
lea ecx, [esp + 0x2014]
push ecx
lea edx, [esp + 0x1818]
push edx
call esi
push 0
push 1
lea eax, [esp + 0x2220]
push eax
lea ecx, [esp + 0x181c]
push ecx
mov edi, eax
call fcn.00421720
test eax, eax
je 0x4215bb
push 0x800
lea edx, [esp + 0x1014]
push 0
push edx
call fcn.00482260
add esp, 0xc
push 0x4d42b0
lea eax, [esp + 0x2014]
push eax
lea ecx, [esp + 0x1018]
push ecx
call esi
push 0x208
lea edx, [esp + 0x2424]
push 0
push edx
call fcn.00482260
mov eax, dword [ebx]
add esp, 0xc
push str.Uninstall.exe
push eax
lea ecx, [esp + 0x2428]
push ecx
call esi
push 1
push 0
lea edx, [esp + 0x2428]
push edx
lea eax, [esp + 0x101c]
push eax
mov edi, edx
call fcn.00421720
mov ecx, dword [esp + 0x262c]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
neg eax
call fcn.004820d9
add esp, 0x2628
ret
Function at 0x4219e0
Capabilities:
Delete directory
Get common file path

Disassembly:
mov eax, 0x2010
call fcn.00484d50
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x2008], eax
push ebx
push esi
push edi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00482260
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x17
lea ecx, [esp + 0x18]
push ecx
push 0
call edi
push 0x800
lea edx, [esp + 0x1014]
push 0
push edx
call fcn.00482260
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x4d42a4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1018]
push ecx
call esi
lea edx, [esp + 0x1010]
push edx
call fcn.00454660
push 0x800
lea eax, [esp + 0x818]
push 0
push eax
call fcn.00482260
add esp, 0x10
push 0x4d424c
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x818]
push edx
call esi
lea eax, [esp + 0x810]
push eax
call fcn.00454660
push 0x800
lea ecx, [esp + 0x1818]
push 0
push ecx
call fcn.00482260
add esp, 0x10
push 0x4d42d8
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x818]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x1810]
push ecx
call ebx
push 0x800
lea edx, [esp + 0x14]
push 0
push edx
call fcn.00482260
add esp, 0xc
push 1
push 2
lea eax, [esp + 0x18]
push eax
push 0
call edi
push 0x800
lea ecx, [esp + 0x1014]
push 0
push ecx
call fcn.00482260
add esp, 0xc
push 0x4d42a4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1018]
push eax
call esi
lea ecx, [esp + 0x1010]
push ecx
call fcn.00454660
push 0x800
lea edx, [esp + 0x818]
push 0
push edx
call fcn.00482260
add esp, 0x10
push 0x4d424c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x818]
push ecx
call esi
lea edx, [esp + 0x810]
push edx
call fcn.00454660
push 0x800
lea eax, [esp + 0x1818]
push 0
push eax
call fcn.00482260
add esp, 0x10
push 0x4d42d8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x818]
push edx
call esi
lea eax, [esp + 0x1810]
push eax
call ebx
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004820d9
add esp, 0x2010
ret
Function at 0x421bc0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x300c
call fcn.00484d50
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x3004], eax
push esi
push edi
push 0x800
lea eax, [esp + 0x200c]
push 0
push eax
call fcn.00482260
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x19
lea ecx, [esp + 0x2010]
push ecx
push 0
call edi
push 0x800
lea edx, [esp + 0xc]
push 0
push edx
call fcn.00482260
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x4d4238
lea eax, [esp + 0x200c]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 8]
push edx
call fcn.004545b0
push 0x800
lea eax, [esp + 0x810]
push 0
push eax
call fcn.00482260
add esp, 0x10
push 0x4d4290
lea ecx, [esp + 0x200c]
push ecx
lea edx, [esp + 0x810]
push edx
call esi
lea eax, [esp + 0x808]
push eax
call fcn.004545b0
push 0x800
lea ecx, [esp + 0x1010]
push 0
push ecx
call fcn.00482260
add esp, 0x10
push 1
push 0x10
lea edx, [esp + 0x1010]
push edx
push 0
call edi
push 0x800
lea eax, [esp + 0x180c]
push 0
push eax
call fcn.00482260
add esp, 0xc
push 0x4d4238
lea ecx, [esp + 0x100c]
push ecx
lea edx, [esp + 0x1810]
push edx
call esi
lea eax, [esp + 0x1808]
push eax
call fcn.004545b0
push 0x800
lea ecx, [esp + 0x2810]
push 0
push ecx
call fcn.00482260
add esp, 0x10
push 0x4d4290
lea edx, [esp + 0x100c]
push edx
lea eax, [esp + 0x2810]
push eax
call esi
lea ecx, [esp + 0x2808]
push ecx
call fcn.004545b0
mov ecx, dword [esp + 0x3010]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.004820d9
add esp, 0x300c
ret

Function at 0x423a90
Capabilities:
Create thread

Disassembly:
push eax
push 0
push ecx
push 0x4236b0
push 0
push 0
call fcn.00488f23
add esp, 0x18
ret
Function at 0x423e00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4bfae0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7d04]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x14], vtable.CResourceUnpack.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
call fcn.004184c0
test eax, eax
je 0x423edf
mov edx, dword [0x4eab28]
mov eax, dword [edx + 0xc]
mov ecx, 0x4eab28
xor ebx, ebx
xor ebp, ebp
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x2c], 1
call fcn.00418140
mov esi, dword [esp + 0x40]
add esp, 4
test eax, eax
je 0x423eb5
mov eax, esi
lea edi, [esp + 0x14]
call fcn.00418570
test eax, eax
je 0x423eb5
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423edd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10

Function at 0x426620
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0042c9b0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0042ca50
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004820d9
add esp, 0x68
ret

Function at 0x426690
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4e7d04]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0042c9b0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0042ca50
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004820d9
add esp, 0x68
ret
Function at 0x426820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push 0x4d4480
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4269b1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4268b3
cmp dword [esp + 0x14], 1
jne 0x426998
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x426998
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x4268f8
cmp dword [esp + 0x14], 1
jne 0x426998
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x426998
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x42692f
cmp dword [esp + 0x14], 1
jne 0x426998
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x426998
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x426998
cmp dword [esp + 0x14], 3
jne 0x426998
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x426998
lea eax, [esi + 0xc]
call fcn.00426700
test eax, eax
je 0x426998
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
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 ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret