joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f15d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561dc8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 8]
mov edi, ecx
dec al
movzx esi, al
mov eax, dword [edi + 0x39c]
neg esi
push 0
push ecx
sbb esi, esi
mov dword [ebp + 8], esp
and esi, 0xffffd8e0
mov ebx, esp
push ecx
add esi, 0x8107
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ecx], eax
test eax, eax
je 0x4f1631
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, esi
mov edx, ebx
call fcn.0048f0b0
add esp, 4
lea eax, [ebp + 8]
push eax
add edi, 0x54
push edi
call fcn.004af6a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4f167d
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
and al, 1
movzx ecx, al
push ecx
push edx
call fcn.00499010
mov eax, dword [ebp + 8]
push 1
push eax
call fcn.00486690
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4f1690
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57b6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
cmp dword [ebp + 8], ebx
jl 0x4f8ee6
mov eax, dword [edi + 0x4f8]
cmp eax, 2
jne 0x4f8f26
mov edx, dword [edi + 0x4fc]
lea esi, [edi + 0x4fc]
lea eax, [esp + 0x10]
call fcn.0040f390
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x40], ebx
call fcn.00425b30
add esp, 4
push eax
call fcn.00426840
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
mov bl, al
jb 0x4f8e44
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0053d782
add esp, 4
test bl, bl
je 0x4f8eab
call fcn.00425260
mov ecx, edi
mov dword [edi + 0x4f8], 0
call fcn.004f6df0
mov edx, dword [edi + 0x38c]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 0x38c]
push 0
push 0
call eax
or dword [edi + 0x4e0], 0x100
push edi
mov dword [edi + 0x494], 1
mov dword [edi + 0x4e8], 9
call fcn.004f84d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [edi + 0x54]
mov ecx, str.IDS_ERR_WRONG_BOUND_ACCOUNT
lea esi, [esp + 0x14]
call fcn.004adac0
mov dword [esp + 0x38], 1
cmp dword [eax + 0x18], 8
jb 0x4f8ed1
mov eax, dword [eax + 4]
jmp 0x4f8ed4
add eax, 4
push eax
push edi
call fcn.004fa740
lea ecx, [esp + 0x10]
call fcn.0040f400
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x4e4]
cmp eax, 0x1f4
jae 0x4f8fb1
mov edx, dword [edi + 0x30]
push ebx
mov ecx, 0x1f4
sub ecx, eax
push ecx
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x4f8ee6
call fcn.00425b30
mov esi, eax
call fcn.00425f20
test eax, eax
jne 0x4f8f7f
mov ecx, edi
mov dword [edi + 0x4f8], ebx
call fcn.004f6df0
mov edx, dword [edi + 0x38c]
mov eax, dword [edx + 0x14]
lea ecx, [edi + 0x38c]
push ebx
push ebx
call eax
or dword [edi + 0x4e0], 0x80
push edi
call fcn.004f84d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [edi + 0x38c]
mov edx, dword [edx + 0x1c]
lea ecx, [edi + 0x38c]
lea eax, [edi + 0x4fc]
push eax
call edx
push edi
call fcn.004f84d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x454]
cmp eax, ebx
je 0x4f8fdd
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f8fdd
mov ecx, dword [edi + 0x454]
mov edx, dword [ecx + 0x30]
push ebx
push ebx
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fa210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5d1b9c]
sub esp, 0x34
cmp eax, 2
je 0x4fa225
cmp eax, 3
jne 0x4fa235
mov eax, dword [edi + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
push esi
mov dword [ebp - 4], 3
call fcn.00468790
mov esi, dword [eax + 0x1c]
test esi, esi
jne 0x4fa255
cmp dword [eax + 0x18], esi
je 0x4fa255
call fcn.00468b50
mov esi, dword [eax]
push ebx
mov ebx, esi
mov dword [ebp - 8], ebx
test esi, esi
je 0x4fa26b
cmp esi, dword [edi + 0x30]
je 0x4fa26b
mov dword [ebp - 4], 0x17
mov edx, dword [edi + 0x30]
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x2c], 2
jne 0x4fa2b2
mov eax, dword [edi + 0x30]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x454]
test eax, eax
je 0x4fa33b
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4fa2e3
mov eax, dword [edi + 0x454]
mov edx, dword [eax + 0x30]
add eax, 0x30
push edx
call ebx
test eax, eax
je 0x4fa338
mov eax, dword [edi + 0x454]
test eax, eax
je 0x4fa322
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4fa322
mov eax, dword [edi + 0x454]
mov ecx, dword [eax + 0x30]
add eax, 0x30
push ecx
call ebx
test eax, eax
je 0x4fa322
mov edx, dword [edi + 0x454]
mov eax, dword [edx + 0x30]
call fcn.0047cc30
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0047ca80
test eax, eax
jne 0x4fa3a7
mov ecx, esi
call fcn.0047cba0
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
test esi, esi
jne 0x4fa395
mov eax, dword [edi + 0x30]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp - 4]
mov ecx, dword [edi + 0x30]
push ebx
push esi
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffff
push ecx
call esi
mov edx, dword [edi + 0x30]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [edi + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 0x30]
push 1
push ecx
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov edx, dword [edi + 0x30]
push ebx
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edx
call esi
mov ebx, dword [edi + 0x30]
mov esi, ebx
call fcn.0047ca80
test eax, eax
jne 0x4fa3a7
mov ecx, ebx
call fcn.0047cba0
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x50a3e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576027
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
lea edi, [esi + 0x54]
mov dword [ebp - 4], ebx
push edi
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
call fcn.004acfe0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CNotificationPage_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CNotificationPage_.0
mov dword [esi], vtable.CNotificationPage.0
mov dword [esi + 0x2c], vtable.CNotificationPage.1.0
mov dword [esi + 0x50], vtable.CNotificationPage.2.0
mov dword [edi], vtable.CNotificationPage.3.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CNotificationPage_.virtual_0], vtable.CNotificationPage.4.0
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov byte [ebp - 4], 9
lea edx, [esi + 0x1d4]
xor ecx, ecx
mov byte [esi + 0x1cc], bl
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
push edx
mov word [esi + 0x1d0], cx
call fcn.004c8990
lea eax, [esi + 0x1ec]
push eax
mov byte [ebp - 4], 0xa
call fcn.004c8990
lea ecx, [esi + 0x204]
push ecx
mov byte [ebp - 4], 0xb
call fcn.004c8990
lea edx, [esi + 0x21c]
push edx
mov byte [ebp - 4], 0xc
call fcn.004c8990
lea eax, [esi + 0x234]
push eax
mov byte [ebp - 4], 0xd
call fcn.004c8990
mov byte [ebp - 4], 0xe
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x24c], eax
mov byte [ebp - 4], 0xf
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x250], eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x254], eax
mov byte [ebp - 4], 0x11
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x258], eax
lea eax, [esi + 0x25c]
push eax
mov byte [ebp - 4], 0x12
call fcn.004aa810
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov dword [esi + 0x28c], ebx
mov byte [esi + 0x290], bl
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x2ac]
push ecx
mov byte [esi + 0x2a8], bl
mov byte [esi + 0x2a9], bl
mov byte [esi + 0x2aa], bl
call fcn.004c8990
mov dword [esi + 0x2c4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x515390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call sub.IMM32.dll_ImmDisableIME
call fcn.0047cc50
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5153ef
lea eax, [esp + 0x10]
test eax, eax
je 0x5153ef
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x5153ef
push str.ChangeWindowMessageFilter
push esi
call ebx
test eax, eax
je 0x5153ef
push 1
push 0x4a
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.LocalQ360Account
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x515418
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x515440
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push str.Q360ACCOUNT
call dword [sym.imp.USER32.dll_FindWindowW]
push 0
push 0
push 0x62b
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0047f000
lea esi, [esp + 0x10]
call fcn.00401d30
push eax
lea ecx, [esp + 0x10]
push ecx
mov esi, 0x5982e0
call fcn.004236c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x515481
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
call fcn.00423290
test eax, eax
je 0x5154ab
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x5154ab
push str.Initialize
push eax
call ebx
test eax, eax
je 0x5154ab
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5154cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
push 0
mov dword [0x5d0e34], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.0051b340
call fcn.0051b140
xor esi, esi
call fcn.00480b00
test eax, eax
je 0x51553b
call fcn.004815f0
test al, al
je 0x51553b
mov edx, dword [ebp + 0x14]
push edx
call fcn.00515180
add esp, 4
mov esi, eax
call fcn.00515760
call fcn.00515700
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5982e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x515575
push str.OnExiting
push eax
call ebx
test eax, eax
je 0x515575
call eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51c6d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x51c6e3
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 0x51c6f0
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 0x51cc10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5c5678]
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 0x51cc91
xor eax, eax
cmp ecx, edi
je 0x51cc79
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 0x51cc9f
cmp ecx, edi
je 0x51cd60
push ecx
jmp 0x51cd5a
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 0x51cd20
nop
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.0051cc10
mov dword [ebp - 0x218], eax
cmp eax, edi
jne 0x51cd75
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 0x51ccd0
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x51cd37
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 0x51cd60
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.0053d78d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x214]
cmp ecx, edi
je 0x51cd62
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.0053d78d
mov esp, ebp
pop ebp
ret 4
Function at 0x51d880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565756
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5c5678]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x440], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
push 2
push ecx
push eax
mov byte [esp + 0x44c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x51d905
call fcn.00421f70
mov esi, eax
jmp 0x51d9d3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x51d91e
call fcn.00421f70
jmp 0x51d9ca
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x51d938
call fcn.00421f70
jmp 0x51d9ca
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x51d96f
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x51d95c
lea eax, [esp + 0x24]
call fcn.0051c740
lea esi, [esp + 0x18]
call fcn.0051c720
mov eax, 0x8007000e
jmp 0x51d9f2
lea esi, [esp + 0x24]
call fcn.0051c0b0
mov dword [esp + 0x440], 1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x51d992
mov esi, 0x8007000e
jmp 0x51d9cc
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ebx
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x51d9af
call fcn.00421f70
jmp 0x51d9ca
mov ecx, dword [esp + 0x24]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x24]
push edx
lea edx, [esp + 0x20]
call fcn.0051d720
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esp + 0x28]
cmp dword [esp + 0x24], eax
je 0x51d9f0
lea eax, [esp + 0x24]
call fcn.0051c740
jmp 0x51d9f0
mov eax, esi
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x522a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575c71
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.004710a0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], eax
lea edi, [esi + 0x54]
mov dword [ebp - 4], ebx
push edi
mov dword [esi + 0x50], vtable.WTL::CMessageFilter.0
call fcn.004acfe0
mov ecx, dword [ebp + 0xc]
mov dword [esi + method.boost::exception_detail::clone_base.virtual_0], vtable.CMenuItemSetter.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CSettingsPage_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CSettingsPage_.0
mov dword [esi], vtable.CSettingsPage.0
mov dword [esi + 0x2c], vtable.CSettingsPage.1.0
mov dword [esi + 0x50], vtable.CSettingsPage.2.0
mov dword [edi], vtable.CSettingsPage.3.0
mov dword [esi + method.CSettingsPage.4.virtual_0], vtable.CSettingsPage.4.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CSettingsPage_.virtual_0], vtable.CSettingsPage.5.0
mov dword [esi + 0x1a8], ecx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x1cc], 0x1f4
mov dword [esi + 0x1d0], ebx
mov byte [esi + 0x1d4], bl
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x1d8], eax
mov byte [ebp - 4], 6
mov byte [esi + 0x1dc], bl
mov dword [esi + 0x1e0], ebx
mov byte [esi + 0x1e4], bl
mov byte [esi + 0x1e5], 1
mov byte [esi + 0x1e6], bl
mov byte [esi + 0x1e7], bl
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [esi + 0x1e8], eax
lea ecx, [ebp + 0xc]
push ecx
mov byte [ebp - 4], 7
mov ecx, str.Account
mov dword [esi + 0x1ec], ebx
call fcn.00425130
lea edx, [ebp + 0xc]
push edx
lea eax, [esi + 0x1f0]
push eax
mov byte [ebp - 4], 8
call fcn.00482ec0
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x522c18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x525f90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573050
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x1ac], 0
sete al
test al, al
jne 0x526120
lea esi, [ebp - 0x18]
call fcn.00478360
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x526120
mov eax, dword [edi + 0x1ec]
test eax, eax
je 0x526002
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov dword [edi + 0x1ec], 0
lea ecx, [ebp - 0xd]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0045dba0
add esp, 8
mov byte [ebp - 4], 1
cmp byte [ebp + 8], 0
jne 0x52605a
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x52605a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52605a
mov ecx, dword [edi + 0x30]
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push str.IDI_PROFILE_MASK
push ecx
mov dword [ebp + 8], 0x60
call fcn.004a6340
mov ecx, eax
add esp, 0xc
mov eax, esi
call fcn.004785c0
jmp 0x52606d
mov edx, dword [edi + 0x30]
push 0
push str.IDI_PROFILE_DEF
push edx
call fcn.00478f60
add esp, 0xc
mov dword [edi + 0x1ec], eax
mov eax, dword [edi + 0x1ac]
test eax, eax
jne 0x526087
push 0x80004003
call fcn.0053d640
push 1
push 0xacb2
lea esi, [ebp + 8]
call fcn.00471100
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00484dd0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x5260b5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x5260db
mov edi, dword [edi + 0x1ec]
mov eax, dword [esi]
mov ecx, dword [eax + 0x108]
push edi
push esi
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x9c]
push 1
push esi
call eax
mov byte [ebp - 4], 1
test esi, esi
je 0x5260eb
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52610e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4