joyce8/EMBER2024-capa huggingface dataset:
Function at 0x513c30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x208], 0
jne 0x513df0
push 0
push 0x6bc2c0
mov eax, str.MainWindow
call fcn.004811b0
push 0
mov esi, eax
push 0x6bc2c4
mov eax, str.MainWindow
call fcn.004811b0
push 2
push eax
push esi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x38], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [edi + 0x2a1]
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [esp + 0x10]
fmul dword [0x723ec4]
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x513cea
fstp st(0)
push ecx
fstp dword [esp]
call fcn.00401650
jmp 0x513d21
fldz
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x513d1f
fdivrp st(1)
push ecx
fldln2
fxch st(1)
fyl2x
fmul dword [0x723974]
fstp dword [esp]
call fcn.00401650
fld qword [0x7236d8]
fxch st(1)
call fcn.006b2780
fld1
fdivrp st(1)
jmp 0x513d21
fstp st(0)
fild dword [esp + 0x1c]
fmul st(1)
call fcn.006b24a0
fimul dword [esp + 0x20]
mov ebx, eax
call fcn.006b24a0
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
sub esi, ecx
sub esi, ebx
sar esi, 1
add esi, ecx
mov ecx, dword [esp + 0x38]
sub edi, ecx
sub edi, eax
sar edi, 1
push str.Hyeb
mov dword [esp + 0x18], eax
add edi, ecx
mov dword [esp + 0x14], 0x80400000
call fcn.004bf140
test al, al
mov eax, SysReAllocStringLen
jne 0x513d7a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x734df4]
mov edx, dword [esp + 0x14]
push 0
push ecx
push 0
push 0
push edx
push ebx
push edi
push esi
push eax
push 0x6bc0cc
push 0x7014d4
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x513df0
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00512a80
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1388
push 1
push edi
call esi
cmp byte [ebx + 0x20c], 0
jne 0x513de9
push 0
push 0x21
push 2
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x515070
Capabilities:
Check if file exists
Get common file path
Get file attributes
Move file

Disassembly:
sub esp, 0x620
push ebx
mov ebx, dword [esp + 0x62c]
push esi
push edi
lea esi, [esp + 0x420]
call fcn.004ac170
push 0x6bc0cc
push str.notifications_en.txt
push ebx
mov eax, esi
call fcn.004ad3a0
push 0
call fcn.0069c84d
add esp, 4
push 0
mov edi, eax
push str.Polled
mov eax, str.PushNotifications
call fcn.004811b0
test eax, eax
jle 0x5150e1
add eax, 0x93a80
cmp eax, edi
jl 0x5150e1
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop edi
pop esi
pop ebx
add esp, 0x620
ret 8
lea eax, [esp + 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str..tmp
lea ecx, [esp + 0x21c]
push ecx
lea esi, [esp + 0x18]
call fcn.004ac1f0
push str.http:__www.audiochannel.net_components_notifications_debut.txt
lea esi, [esp + 0x21c]
call fcn.004a5640
mov eax, dword [eax]
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x638]
push eax
lea ecx, [esp + 0x18]
call fcn.00541e10
mov ecx, dword [esp + 0x41c]
push ecx
call fcn.0069c8fa
add esp, 4
cmp dword [esp + 0xc], 1
jne 0x515169
lea edx, [esp + 0x10]
push edx
mov eax, 0x1f4
call fcn.004abff0
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x620
ret 8
push str.Polled
push str.PushNotifications
mov eax, edi
call fcn.00480f20
cmp dword [esp + 0xc], 2
jne 0x51519e
lea eax, [esp + 0x10]
push eax
mov eax, 0x1f4
call fcn.004abff0
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x620
ret 8
push 3
push ebx
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x51514c
lea eax, [esp + 0x10]
push eax
mov eax, 0x1f4
mov word [esp + 0x14], 0
call fcn.004abff0
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x620
ret 8

Function at 0x515a00
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
jne 0x515a47
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 4], 6
setae al
test al, al
je 0x515a47
mov ecx, dword [esi + 5]
push str.OldWndProc
push ecx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x515a47
mov byte [esi + 0xe3], 1
add esp, 0x114
ret

Function at 0x517540
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push esi
push edi
push 0xff
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.006a1300
mov esi, dword [sym.imp.USER32.dll_GetKeyboardState]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call esi
test eax, eax
mov edi, dword [sym.imp.USER32.dll_keybd_event]
je 0x517589
test byte [esp + 0x1a], 0x80
jne 0x517589
push 0
push 1
push 0
push 0x12
call edi
mov edx, dword [esp + 0x10c]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [esp + 8]
push eax
call esi
test eax, eax
je 0x5175b3
test byte [esp + 0x1a], 0x80
jne 0x5175b3
push 0
push 3
push 0
push 0x12
call edi
pop edi
pop esi
add esp, 0x100
ret 4
Function at 0x517b90
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x130]
push ebp
mov ebp, dword [esp + 0x124]
call fcn.004af5a0
test al, al
jne 0x517bce
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0xc], 6
setae al
test al, al
jne 0x517c13
cmp ebx, 0x60
jge 0x517c13
mov edx, dword [esp + 0x120]
mov eax, dword [edx + 4]
push esi
push edi
push 0x104
lea ecx, [esp + 0x14]
push ecx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edi, str.ComboBox
lea esi, [esp + 0x10]
mov ecx, 9
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
jne 0x517c13
mov ebx, 0x60
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
push 0x104
push ebx
push eax
mov eax, dword [esp + 0x12c]
push ecx
mov ecx, dword [eax + 4]
push edx
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebp
pop ebx
add esp, 0x114
ret 0x18

Function at 0x51caf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, 0x3e8
call ebp
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push 0x4ff
push esi
push 0
push 0
push 0
mov edi, eax
call ebx
cmp eax, 0x102
je 0x51cb51
mov edi, edi
mov eax, dword [esp + 0x14]
push eax
call fcn.0051ca80
test al, al
jne 0x51cb5a
call ebp
sub eax, edi
cmp eax, esi
jbe 0x51cb38
mov eax, esi
push 0x4ff
sub esi, eax
push esi
push 0
push 0
push 0
add edi, eax
call ebx
cmp eax, 0x102
jne 0x51cb20
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
Function at 0x51e500
Capabilities:
Delete registry key

Disassembly:
sub esp, 0xc80
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc90]
mov eax, dword [esi + 4]
push edi
push str.Delete_Hot_Key_s_
push str.Delete_the_selected_hot_key_s__
push eax
mov ecx, str.Cancel
mov eax, str.Delete
call fcn.004f39e0
test al, al
je 0x51e561
mov ecx, dword [esi + 4]
push 0xd5
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x51e561
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, ebp
jge 0x51e577
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc80
ret 4
mov esi, dword [esp + 0xc94]
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x104b
push 0xd5
push eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x25c]
push ecx
mov eax, str.Hotkey
call fcn.004a55f0
lea edx, [esp + 0x87c]
push edx
mov eax, str.Hotkey
call fcn.004a55f0
lea eax, [esp + 0x25c]
push eax
lea eax, [esp + 0x880]
mov ecx, str.Details
call fcn.00401730
push esi
push 0x6bc0dc
lea edx, [esp + 0x678]
call fcn.00401000
add esp, 8
cmp word [esp + 0x468], bp
je 0x51e643
lea ecx, [esp + 0x670]
push ecx
lea edx, [esp + 0x46c]
push edx
push 0x6bc0d0
mov esi, 0x104
lea edi, [esp + 0x5c]
call fcn.004af0d0
add esp, 0xc
cmp word [esp + 0x50], bp
je 0x51e643
mov ecx, dword [esp + 0x25c]
mov eax, edi
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [esp + 0x14]
push 2
push ebx
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
cmp ebx, ebp
jge 0x51e570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc80
jmp fcn.0051e230
Function at 0x525ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [esp + 0x244]
mov edx, dword [esi + 0x2b]
mov ebx, eax
mov eax, dword [esi + 0x117]
imul eax, eax, 0x225
add eax, edx
xor cl, cl
cmp dword [eax + 0x214], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
jle 0x525d9b
mov dword [esp + 0x14], edi
jmp 0x525c00
mov ebp, dword [eax + 0x210]
add ebp, dword [esp + 0x14]
cmp byte [ebp + 0x461], 0
jne 0x525d06
cmp byte [ebp + 0x462], 0
jne 0x525d06
mov eax, dword [ebp + 0x458]
mov edx, eax
shr edx, 6
test dl, 1
jne 0x525c3b
shr eax, 5
and al, 1
je 0x525c4d
test cl, cl
je 0x525d06
mov byte [esp + 0x13], 1
jmp 0x525d06
cmp byte [esp + 0x13], 0
je 0x525c67
push edi
push edi
push 0x800
push ebx
mov byte [esp + 0x23], 0
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp + 0x458]
mov eax, ecx
shr eax, 3
and al, 1
je 0x525c83
shr ecx, 4
test cl, 1
jne 0x525c83
mov ebx, dword [ebp + 0x10]
jmp 0x525c86
mov ebx, dword [ebp + 0xc]
test al, al
mov eax, str._s...
jne 0x525c94
mov eax, 0x6ced18
lea ecx, [ebp + 0x18]
push ecx
push eax
mov esi, 0x104
lea edi, [esp + 0x40]
call fcn.004af0d0
mov ecx, dword [ebp + 0x467]
add esp, 8
test ecx, ecx
lea edx, [esp + 0x24]
mov eax, edi
jne 0x525cc3
push ebx
push edx
call fcn.00510c30
jmp 0x525ccb
push eax
push ebx
push edx
call fcn.00510cc0
mov esi, dword [esp + 0x24]
xor eax, eax
cmp byte [ebp + 0x460], al
sete al
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov cl, byte [ebp + 0x465]
neg cl
sbb ecx, ecx
and ecx, 8
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov ebx, esi
mov esi, dword [esp + 0x244]
mov cl, 1
xor edi, edi
mov eax, dword [esi + 0x117]
mov edx, dword [esp + 0x18]
imul eax, eax, 0x225
mov ebp, dword [esi + 0x2b]
add dword [esp + 0x14], 0x683
add edx, 1
add eax, ebp
cmp edx, dword [eax + 0x214]
mov dword [esp + 0x18], edx
jl 0x525c00
test cl, cl
je 0x525d9b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ecx, dword [0x7b729c]
add ecx, 2
cmp ecx, eax
ja 0x525d9b
mov edi, dword [esi + 0x1e]
test edi, edi
je 0x525d9b
mov edx, dword [esi + 0x1c5]
mov eax, dword [esi + 0x1c9]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
push ecx
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push eax
push 0
push ecx
push edx
push 8
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
call ebp
mov dword [0x7b729c], eax
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
lea edi, [esp + 0x34]
call fcn.0048ab80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret 4
Function at 0x5286e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x7b7298]
add ecx, 2
cmp ecx, eax
jae 0x5288b0
cmp byte [edi + 0x211], 0
mov ecx, dword [edi + 0x154]
mov eax, ecx
je 0x528716
add eax, dword [edi + 0x123]
sub eax, ecx
cmp esi, eax
jl 0x5288b0
add ecx, eax
cmp esi, ecx
jg 0x5288b0
mov edx, dword [edi + 0x117]
mov eax, dword [edi + 0x2b]
imul edx, edx, 0x225
xor ecx, ecx
add eax, edx
cmp dword [eax + 0x214], ecx
mov dword [esp + 0x14], ecx
jle 0x5288b0
mov dword [esp + 0x10], ecx
mov esi, dword [eax + 0x210]
add esi, dword [esp + 0x10]
cmp byte [esi + 0x461], 0
je 0x528870
cmp byte [esi + 0x462], 0
jne 0x528870
mov ebp, dword [esi + 0x458]
mov ecx, ebp
shr ecx, 6
test cl, 1
jne 0x528870
mov edx, ebp
shr edx, 5
and dl, 1
jne 0x528870
cmp byte [esi + 0x460], dl
je 0x528870
mov ecx, dword [esp + 0x1c]
mov edx, esi
call fcn.00521c30
test al, al
je 0x528870
mov al, byte [esi + 0x463]
mov ebx, ebp
shr ebx, 4
mov byte [esp + 0xf], al
mov eax, dword [edi + 0x1e]
and bl, 1
test eax, eax
je 0x528880
test bl, bl
jne 0x5287fd
mov ecx, ebp
shr ecx, 3
test cl, 1
je 0x5287f2
mov edx, dword [esp + 0x1c]
push eax
push edx
mov eax, esi
call fcn.00521df0
test al, al
jne 0x5287fd
cmp byte [esp + 0xf], 0
je 0x528880
mov eax, dword [esi + 0x458]
shr eax, 3
test al, 1
je 0x528813
mov byte [esi + 0x45e], 1
jmp 0x52881a
mov byte [esi + 0x45d], 1
push edi
mov eax, esi
mov byte [esi + 0x464], 1
call fcn.00527670
cmp byte [esp + 0xf], 0
je 0x52883f
push edi
call fcn.00525ba0
mov byte [esi + 0x464], 0
jmp 0x528880
test bl, bl
mov ecx, dword [edi + 0x1e]
je 0x52884b
mov eax, dword [esi + 0xc]
jmp 0x52884e
mov eax, dword [esi + 0x10]
call fcn.00404ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x7b7298], eax
mov byte [esi + 0x464], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
jmp 0x528880
cmp byte [esi + 0x45c], 0
je 0x528880
mov byte [esi + 0x45c], 0
mov edx, dword [edi + 0x117]
mov ecx, dword [esp + 0x14]
imul edx, edx, 0x225
mov eax, dword [edi + 0x2b]
add dword [esp + 0x10], 0x683
add ecx, 1
add eax, edx
cmp ecx, dword [eax + 0x214]
mov dword [esp + 0x14], ecx
jl 0x528751
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x52b800
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [eax + 0x1a]
test eax, eax
je 0x52b838
cmp byte [eax + 0x2d], 0
je 0x52b820
mov ecx, dword [eax + 4]
push 1
push ecx
mov eax, 0x2eae
call fcn.004f6c00
pop ecx
ret
mov edx, dword [eax + 4]
push 0
push 0x2eae
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ecx
ret
Function at 0x539e60
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x208
push esi
push edi
push eax
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x10]
call fcn.004af0d0
add esp, 8
cmp word [esp + 8], 0
pop edi
pop esi
je 0x539e98
lea ecx, [esp]
push ecx
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esp, 0x208
ret
Function at 0x53feb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x83c
push ebx
mov ebx, dword [esp + 0x844]
push ebp
push esi
push edi
lea eax, [esp + 0x230]
push eax
push 0x6bc0cc
push str.Default_Mail_Account
mov ecx, str.softwaremicrosoftiam
mov edx, SysReAllocStringLen
call fcn.004af7e0
test al, al
je 0x53ffa6
xor ebp, ebp
cmp word [esp + 0x230], bp
je 0x53ffa6
lea ecx, [esp + 0x28]
push ecx
push ebp
push ebp
push 0x1c
push ebp
mov word [esp + 0x3c], bp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x230]
push edx
lea eax, [esp + 0x2c]
push eax
push str._s_microsoft_windows_mail_local_folders__s
mov esi, 0x104
lea edi, [esp + 0x444]
call fcn.004af0d0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x644]
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x19], ebp
mov dword [esp + 0x1d], ebp
mov byte [esp + 0x18], 1
mov dword [esp + 0x21], ebp
mov dword [esp + 0x25], ebp
call fcn.0049e820
push str.MessageAccount
lea eax, [esp + 0x14]
call fcn.004c1060
mov esi, eax
cmp esi, ebp
jne 0x53ffb5
mov edx, dword [esp + 0x1d]
push edx
call fcn.0069c8fa
mov eax, dword [esp + 0x25]
add esp, 4
push eax
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x19]
call fcn.00484df0
mov ecx, dword [esp + 0x15]
push ecx
lea ecx, [esp + 0x19]
call fcn.0048b7e0
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x83c
ret 8
mov edi, 0x705f88
call fcn.004c10e0
cmp eax, ebp
je 0x53ff75
mov ecx, eax
call fcn.004c1040
movzx ecx, word [eax]
xor edx, edx
add eax, 2
cmp cx, bp
je 0x53fff1
cmp edx, 0x103
jae 0x53fff1
mov word [ebx + edx*2], cx
movzx ecx, word [eax]
add edx, 1
add eax, 2
cmp cx, bp
jne 0x53ffd7
mov edi, 0x705fa0
mov eax, esi
mov word [ebx + edx*2], bp
call fcn.004c10e0
cmp eax, ebp
je 0x53ff75
mov ecx, eax
call fcn.004c1040
movzx ecx, word [eax]
xor edx, edx
add eax, 2
cmp cx, bp
je 0x540041
lea ecx, [ecx]
cmp edx, 0x103
jae 0x540041
mov esi, dword [esp + 0x854]
mov word [esi + edx*2], cx
movzx ecx, word [eax]
add edx, 1
add eax, 2
cmp cx, bp
jne 0x540020
mov ecx, dword [esp + 0x1d]
mov eax, dword [esp + 0x854]
push ecx
mov word [eax + edx*2], bp
call fcn.0069c8fa
mov edx, dword [esp + 0x25]
add esp, 4
push edx
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x19]
call fcn.00484df0
mov eax, dword [esp + 0x15]
push eax
lea ecx, [esp + 0x19]
call fcn.0048b7e0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x83c
ret 8
Function at 0x540130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 1
push 0
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x54019d
mov ecx, dword [esp]
push edi
lea edx, [esp + 8]
push edx
push esi
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x54019d
mov eax, dword [esp + 4]
shr eax, 1
cmp eax, 0x104
jb 0x54018f
mov eax, 0x103
mov word [esi + eax*2], 0
mov al, 1
add esp, 8
ret 4
mov eax, 0x6bc0cc
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x5401a6
xor al, al
add esp, 8
ret 4
Function at 0x540780
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xe54
lea ecx, [esp]
push ecx
push 8
push 0
push str.SoftwareMicrosoftOffice
push SysReAllocStringLen
mov word [eax], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5407b6
xor al, al
add esp, 0xe54
ret 4
mov ecx, dword [esp]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x5409c6
push edi
lea esp, [esp]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push str._d.0
add ebx, 1
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 0
call fcn.0069d13f
add esp, 0xc
cmp eax, 1
jne 0x54099f
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x1c], ecx
jle 0x54099f
lea edx, [esp + 0x28]
push edx
push str._sCommonIdentityProfiles
lea edi, [esp + 0x648]
call fcn.004af0d0
mov edx, dword [esp + 0x14]
add esp, 8
lea eax, [esp + 0x18]
push eax
push 8
push 0
mov ecx, edi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x54099f
mov edx, dword [esp + 0x18]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44c]
push ecx
push ebx
push edx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x540989
lea eax, [esp + 0x438]
push eax
lea ecx, [esp + 0x2c]
push ecx
push str._sCommonIdentityIdentities_s
lea edi, [esp + 0x23c]
add ebx, 1
mov dword [esp + 0x20], esi
call fcn.004af0d0
add esp, 0xc
lea edx, [esp + 0xa50]
push edx
mov edx, dword [esp + 0x10]
push 0x6bc0cc
push str.ProfileUrl
mov ecx, edi
call fcn.004af7e0
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x848]
push eax
push 0x6bc0cc
push str.ProviderId
mov ecx, edi
call fcn.004af7e0
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc58]
push ecx
push 0x6bc0cc
push str.SigninName
mov ecx, edi
call fcn.004af7e0
cmp word [esp + 0xa50], 0
je 0x540934
cmp word [esp + 0x848], 0
je 0x540934
cmp word [esp + 0xc58], 0
jne 0x54095f
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x44c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x540894
jmp 0x540989
mov edx, dword [esp + 0xe64]
push edx
mov edx, dword [esp + 0x10]
push 0x6bc0cc
push str.EmailAddress
lea ecx, [esp + 0x23c]
call fcn.004af7e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], 0
jg 0x5409c5
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x5407f0
pop edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 0xc], eax
pop esi
setg al
pop ebx
add esp, 0xe54
ret 4