joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42996e
Capabilities:
Check if file exists

Disassembly:
push 0x64
mov eax, 0x5e3469
call fcn.0059bbd7
mov edi, ecx
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004298e3
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x4299cb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xb0c
push str.ThemeDllOp::CheckThemeDllExist
push str.__s__d___CheckThemeDllExist_path_not_exist:__s
call fcn.0040a649
add esp, 0x10
jmp 0x429a86
push str.360hbtheme.dll
lea ecx, [ebp - 0x40]
call fcn.0040b0d5
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00429933
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.0040b67e
push 0x637f10
lea ecx, [ebp - 0x40]
call fcn.0040b0d5
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov edx, edi
lea ecx, [ebp - 0x58]
call fcn.00429933
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x429a5b
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x429a5b
mov bl, 1
jmp 0x429a7e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0xb12
push str.ThemeDllOp::CheckThemeDllExist
push str.__s__d___CheckThemeDllExist_file_not_exist:__s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret

Function at 0x429a96
Capabilities:
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x5e3496
call fcn.0059bbd7
mov esi, ecx
mov dword [ebp - 0x27c], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x27c], esi
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
jb 0x429ad3
mov eax, dword [eax]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x429b01
push 0xb1e
push str.ThemeDllOp::GetDllVersion
push str.__s__d___DownloadThemeDllImpl_INVALID_HANDLE_VALUE
call fcn.0040a649
add esp, 0xc
jmp 0x429b4c
test byte [ebp - 0x278], 0x10
je 0x429b14
cmp word [ebp - 0x24c], 0x2e
jne 0x429b28
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x429b01
jmp 0x429b45
lea eax, [ebp - 0x24c]
push eax
call fcn.005c2f90
pop ecx
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b566
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x27c], bl
lea eax, [ebp - 0x28]
push dword [ebp - 0x27c]
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov dword [esi + 0x14], ebx
call fcn.0040b632
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret
Function at 0x42a2d8
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x5e35f4
call fcn.0059bbd7
call fcn.004274a3
test eax, eax
mov edx, str.http:__sedl.360tpcdn.com_se_theme_32.cab
mov ecx, str.http:__sedl.360tpcdn.com_se_theme_64.cab
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b0d5
push 0xbac
push str.ThemeDllOp::DownloadThemeDll
xor edi, edi
push str.__s__d___DownloadThemeDll_async_start
mov dword [ebp - 4], edi
call fcn.0040a649
push 0x18
call fcn.0059a7c1
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040b155
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
push edi
push esi
push 0x42a2ae
push edi
push edi
call fcn.005c30ff
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.0040b67e
xor eax, eax
call fcn.0059bb81
ret
Function at 0x42c375
Capabilities:
Parse credit card information

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42c4c9
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42c4c9
cmp eax, 0x29
jne 0x42c3b2
cmp dword [esi + 0x10], 0
jne 0x42c4c9
cmp eax, eax
jne 0x42c3b2
test dword [esi + 0x50], edx
je 0x42c4cf
cmp eax, 0x2e
jne 0x42c3cd
push 5
lea ecx, [esi + 0x24]
call fcn.0042c5a9
mov ecx, esi
call fcn.0042c34d
jmp 0x42c4b3
cmp eax, 0x5c
jne 0x42c41f
mov ecx, esi
call fcn.0042c34d
test byte [esi + 0x50], 0x80
je 0x42c413
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x42c3fc
push 4
lea ecx, [esi + 0x24]
call fcn.0042c5a9
mov ecx, esi
call fcn.0042c34d
jmp 0x42c4ba
cmp al, 0x42
jne 0x42c413
push 4
lea ecx, [esi + 0x24]
call fcn.0042c5a9
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42c3f0
mov ecx, esi
call fcn.0042ce9d
jmp 0x42c4b3
cmp eax, 0x5b
jne 0x42c43f
mov ecx, esi
call fcn.0042c34d
mov ecx, esi
call fcn.0042ce51
cmp dword [esi + 0x4c], 0x5d
je 0x42c3c1
push 4
jmp 0x42c4d1
cmp eax, 0x28
jne 0x42c45c
mov ecx, esi
call fcn.0042c34d
mov ecx, esi
call fcn.0042cf7e
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x42c4cf
jmp 0x42c4a8
cmp eax, 0x5e
jne 0x42c465
push 2
jmp 0x42c3e8
cmp eax, 0x24
jne 0x42c471
push 3
jmp 0x42c3e8
cmp eax, 0x2a
je 0x42c4c5
cmp eax, 0x2b
je 0x42c4c5
cmp eax, 0x3f
je 0x42c4c5
cmp eax, 0x7b
je 0x42c4c5
cmp eax, 0x7d
jne 0x42c48f
test dword [esi + 0x50], edx
je 0x42c4c1
cmp eax, 0x5d
jne 0x42c499
test dword [esi + 0x50], edx
je 0x42c438
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042d15d
mov bl, 1
mov ecx, esi
call fcn.0042c34d
test bl, bl
je 0x42c4ba
mov ecx, esi
call fcn.0042d083
mov cl, 1
jmp 0x42c37c
push 6
jmp 0x42c4d1
push 0xa
jmp 0x42c4d1
pop esi
mov al, cl
pop ebx
pop ecx
ret
push 5
call fcn.0042b7cd
int3

Function at 0x42ee4e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x6d35ac]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.00412998
jmp 0x42eea6
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.0042ee4e
mov esi, eax
test esi, esi
jne 0x42eefa
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x42ee98
cmp dword [esp + 0xc], esi
je 0x42eee9
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.0042edd5
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x42ef0b
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0059a7a2
mov esp, ebp
pop ebp
ret 4
Function at 0x42efef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x10], esi
jbe 0x42f056
push ebx
mov ebx, dword [ebp + 8]
inc esi
and esi, 0x800000ff
jns 0x42f016
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [esi + ebx]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x42f02e
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + ebx]
mov byte [esi + ebx], al
mov byte [edi + ebx], cl
movzx eax, byte [esi + ebx]
mov ecx, dword [ebp - 4]
add eax, edx
mov edx, dword [ebp + 0xc]
movzx eax, al
mov al, byte [eax + ebx]
xor byte [ecx + edx], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x42f005
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x42f20e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x244
mov eax, 0x5e3ae1
call fcn.0059bbd7
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push 0
push eax
call fcn.005b24a0
add esp, 0xc
mov dword [ebp - 0x250], 1
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], esi
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
push str.Path
push 0x62ea00
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, str.base::Is360SafeRegExistEx
test eax, eax
jne 0x42f321
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call esi
test eax, eax
je 0x42f321
push str.360Safe.exe
lea ecx, [ebp - 0x248]
call fcn.0040b0d5
and dword [ebp - 4], 0
lea edx, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040c622
pop ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.0040b67e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x25
push ebx
push str.__s__d___file_path_exe___s
call fcn.0040a649
add esp, 0x10
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae ecx, dword [ebp - 0x230]
push ecx
call esi
lea ecx, [ebp - 0x230]
test eax, eax
je 0x42f318
call fcn.0040b67e
xor eax, eax
inc eax
jmp 0x42f333
or dword [ebp - 4], 0xffffffff
call fcn.0040b67e
push 0x29
push ebx
push str.__s__d___Is360SafeRegExistEx_not_exist
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.0059bb81
ret
Function at 0x430996
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x420], ebx
cmp dword [edi + 0x10], ebx
je 0x430b44
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005b24a0
movzx eax, byte [ebp + 0x18]
add esp, 0xc
shl eax, 8
inc eax
mov dword [ebp - 0x430], 1
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x42c], 0x206
jb 0x430a0e
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push eax
push ebx
push edi
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430b33
mov eax, dword [ebp - 0x428]
cmp dword [eax + 0x14], 8
jb 0x430a3a
mov eax, dword [eax]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push ebx
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x430b33
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
cmp dword [esi + 0x10], ebx
je 0x430ac0
cmp dword [esi + 0x14], 8
jb 0x430a87
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x41c]
push eax
push str._s_s
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0040ce80
add esp, 0x14
test eax, eax
jns 0x430aeb
push 0x268
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d____snwprintf_s_failed.
jmp 0x430b53
lea eax, [ebp - 0x41c]
push eax
push 0x634350
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0040ce80
add esp, 0x10
test eax, eax
jns 0x430aeb
push 0x26d
jmp 0x430ab1
lea eax, [ebp - 0x214]
mov esi, str.base::RivalMonitor::CheckInstalledReg
push eax
push 0x272
push esi
push str.__s__d___file_path_is:__s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430b5b
push 0x276
push esi
push str.__s__d___file_is_exist.
call fcn.0040a649
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x430b5b
push 0x25f
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x430b53
push 0x24e
push str.base::RivalMonitor::CheckInstalledReg
push str.__s__d___root__strSubKey_is_NULL.
call fcn.0040a649
add esp, 0xc
cmp dword [ebp - 0x420], 0
je 0x430b70
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 0x14
Function at 0x430e32
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x41c], ebx
cmp dword [ecx + 0x10], ebx
je 0x430fb1
cmp dword [edi + 0x10], ebx
je 0x430fb1
cmp dword [eax + 0x10], ebx
je 0x430fb1
cmp dword [esi + 0x10], ebx
je 0x430fb1
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x208
push ebx
push eax
call fcn.005b24a0
mov eax, 0x206
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x428], eax
add esp, 0xc
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x14], 8
jb 0x430edf
mov eax, dword [eax]
lea ecx, [ebp - 0x41c]
push ecx
push 0x101
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430fa0
cmp dword [edi + 0x14], 8
jb 0x430f08
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
push edi
push dword [ebp - 0x41c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x430fa0
mov eax, dword [ebp - 0x42c]
cmp dword [eax + 0x14], 8
jb 0x430f3f
mov eax, dword [eax]
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push dword [ebp - 0x41c]
call edi
test eax, eax
jne 0x430fa0
lea eax, [ebp - 0x210]
push eax
push 0x312
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___installdir_is:__s
call fcn.0040a649
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x430f88
mov esi, dword [esi]
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0043116a
mov bl, al
jmp 0x430fc8
push 0x30e
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___RegOpenKey_or_RegQueryValueEx_failed.
jmp 0x430fc0
push 0x2f9
push str.base::RivalMonitor::CheckInstalledRegFile
push str.__s__d___root__SubKey__value_name1__value_name2__value_filename_is_NULL.
call fcn.0040a649
add esp, 0xc
cmp dword [ebp - 0x41c], 0
je 0x430fdd
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 0x18
Function at 0x430ff0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
cmp dword [eax + 0x10], ebx
je 0x431140
cmp dword [esi + 0x10], ebx
je 0x431140
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push dword [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x431068
push 0x332
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___SHGetSpecialFolderPath_error.
jmp 0x43114f
mov eax, dword [ebp - 0x41c]
cmp dword [eax + 0x14], 8
jb 0x431076
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x43109c
push 0x339
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___PathAppend_error.
jmp 0x43114f
lea eax, [ebp - 0x210]
push eax
push 0x33d
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___installdir_is:__s
call fcn.0040a649
add esp, 0x10
cmp dword [edi + 0x10], ebx
jne 0x43111e
push 0x208
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4310dc
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x431157
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431157
push 0x345
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___find_file_is_success.
call fcn.0040a649
mov bl, 1
jmp 0x431154
cmp dword [edi + 0x14], 8
jb 0x431126
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x43112e
mov esi, dword [esi]
push edi
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0043116a
mov bl, al
jmp 0x431157
push 0x329
push str.base::RivalMonitor::CheckInstalledFile
push str.__s__d___SubKey__wstrAppendFile_is_NULL.
call fcn.0040a649
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 0x10
Function at 0x43116a
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x670], eax
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x4312b3
test edi, edi
je 0x4312b3
test esi, esi
je 0x4312b3
push 0x208
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x4311ed
push 0x35d
push str.base::RivalMonitor::IsFileInDir
push str.__s__d___PathCombine_error.
call fcn.0040a649
add esp, 0xc
jmp 0x4312b3
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4312b3
test byte [ebp - 0x66c], 0x10
push 0x2e
pop eax
je 0x431292
cmp word [ebp - 0x640], ax
jne 0x43123c
cmp word [ebp - 0x63e], bx
je 0x431292
cmp word [ebp - 0x63e], ax
jne 0x43123c
cmp word [ebp - 0x63c], bx
je 0x431292
push 0x208
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea eax, [ebp - 0x640]
push eax
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x431292
push dword [ebp - 0x670]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x431292
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4312a9
lea eax, [ebp - 0x66c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4312ac
jmp 0x43120c
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 0xc
Function at 0x432bfa
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edx + 3]
push 4
sub edx, edi
pop ebx
lea eax, [edi + 1]
mov dword [ebp - 0xc], eax
mov esi, eax
mov al, byte [ecx - 3]
mov byte [esi - 1], al
mov al, byte [edx + esi]
mov byte [esi], al
lea esi, [esi + 4]
mov al, byte [ecx - 1]
mov byte [esi - 3], al
mov al, byte [ecx]
lea ecx, [ecx + 4]
mov byte [esi - 2], al
sub ebx, 1
jne 0x432c15
mov eax, dword [ebp - 0xc]
lea ecx, [edi + 3]
push 4
lea esi, [edi + 0x11]
mov dword [ebp - 8], ecx
pop ebx
lea edx, [eax + 0xc]
sub edi, eax
mov cl, byte [edx + 1]
mov ah, byte [edi + edx]
mov al, byte [edx]
mov byte [ebp - 1], cl
mov cl, byte [edx + 2]
mov byte [ebp - 2], cl
mov ecx, dword [ebp - 8]
mov byte [ebp - 4], ah
mov byte [ebp - 3], al
test bl, 3
jne 0x432ca7
movzx ecx, al
movzx eax, byte [ebp - 1]
mov al, byte [eax + str.cw]
mov byte [ebp - 3], al
movzx eax, byte [ebp - 2]
mov al, byte [eax + str.cw]
mov byte [ebp - 1], al
movzx eax, byte [ebp - 4]
mov al, byte [eax + str.cw]
mov byte [ebp - 2], al
mov eax, ebx
shr eax, 2
mov ah, byte [eax + 0x62bccc]
xor ah, byte [ecx + str.cw]
mov ecx, dword [ebp - 8]
mov al, byte [esi - 0x11]
xor al, ah
mov ah, byte [ebp - 2]
mov byte [esi - 1], al
mov al, byte [edx - 0xc]
add edx, 4
xor al, byte [ebp - 3]
mov byte [esi], al
mov al, byte [ecx - 1]
xor al, byte [ebp - 1]
mov byte [esi + 1], al
mov al, byte [ecx]
add ecx, 4
xor al, ah
mov dword [ebp - 8], ecx
mov byte [esi + 2], al
inc ebx
add esi, 4
cmp ebx, 0x2c
jb 0x432c4a
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432d07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
movzx ecx, cl
shl ecx, 4
add ecx, dword [ebp + 8]
push 4
pop edi
push 4
pop esi
mov al, byte [ecx]
xor byte [edx], al
inc ecx
inc edx
sub esi, 1
jne 0x432d1b
sub edi, 1
jne 0x432d18
pop edi
pop esi
pop ebp
ret
Function at 0x432d42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 4
lea esi, [ecx + 2]
pop edi
mov al, byte [esi - 2]
mov dh, byte [esi - 1]
mov dl, byte [esi]
mov byte [ebp - 4], al
mov al, byte [esi + 1]
mov cl, al
mov byte [ebp - 5], dh
mov byte [ebp - 3], dl
mov byte [ebp - 7], al
call fcn.00432d2f
mov cl, al
mov byte [ebp - 9], al
call fcn.00432d2f
mov cl, dl
mov byte [ebp - 2], al
call fcn.00432d2f
mov cl, al
mov byte [ebp - 8], al
call fcn.00432d2f
mov cl, dh
mov bl, al
call fcn.00432d2f
mov bh, al
mov cl, al
call fcn.00432d2f
mov cl, byte [ebp - 4]
mov dh, al
call fcn.00432d2f
mov cl, al
mov byte [ebp - 6], al
call fcn.00432d2f
mov dl, al
mov cl, al
call fcn.00432d2f
mov cl, dh
mov byte [ebp - 1], al
call fcn.00432d2f
xor byte [ebp - 1], al
mov cl, bl
call fcn.00432d2f
mov cl, byte [ebp - 2]
xor byte [ebp - 1], al
call fcn.00432d2f
mov ah, byte [ebp - 1]
mov ch, byte [ebp - 7]
xor ah, al
mov cl, ah
xor ah, dh
xor ah, byte [ebp - 2]
xor cl, dl
xor cl, bl
mov al, cl
xor cl, byte [ebp - 8]
xor al, byte [ebp - 6]
xor cl, byte [ebp - 9]
xor al, bh
xor al, ch
xor cl, ch
xor al, byte [ebp - 3]
xor al, byte [ebp - 5]
xor cl, byte [ebp - 5]
mov byte [esi - 2], al
mov al, ah
xor ah, byte [ebp - 6]
xor al, bh
xor al, byte [ebp - 8]
xor ah, byte [ebp - 9]
xor al, ch
xor ah, byte [ebp - 3]
mov bh, byte [ebp - 4]
xor al, byte [ebp - 3]
xor cl, bh
xor ah, byte [ebp - 5]
xor al, bh
xor ah, bh
mov byte [esi - 1], al
mov byte [esi], cl
lea esi, [esi + 4]
mov byte [esi - 3], ah
sub edi, 1
jne 0x432d51
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432f0e
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x10
sub edx, ecx
pop esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x432f14
pop esi
ret