joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463870
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4b8588
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [edi + 0x100]
test esi, esi
je 0x463901
push 0x4c3af6
lea ecx, [esp + 0x10]
call fcn.00408080
mov dword [esp + 0x18], 0
mov eax, dword [eax]
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x64]
push 0x2a
mov ecx, esi
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov ecx, dword [0x4ee77c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x463970
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov eax, edi
mov dword [esp + 0x10], 0
call fcn.00463cb0
test eax, eax
je 0x46396a
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0xc]
push 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
test eax, eax
je 0x463963
mov edx, dword [edi + 0x104]
push eax
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x46396a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x463990
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4bc660
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x100]
xor ebp, ebp
cmp esi, ebp
je 0x463a9e
push 0x4c3af6
lea ecx, [esp + 0x14]
call fcn.00408080
mov dword [esp + 0x20], ebp
mov eax, dword [eax]
mov edx, dword [esi]
push ebp
push eax
mov eax, dword [edx + 0x64]
push 0x2b
mov ecx, esi
call eax
or edi, 0xffffffff
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x463a27
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push ebp
lea ecx, [esp + 0x14]
push 0x4c3af0
push ecx
mov dword [esp + 0x2c], 1
call fcn.0040a120
mov ecx, dword [ebx + 0x100]
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
add esp, 0xc
push ebp
push esi
push 0x85
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x463b1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
mov ecx, dword [0x4ee77c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x463ae6
mov dword [esp + 0x10], ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.00463cb0
test eax, eax
je 0x463ae0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x104]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebx + 0xa4]
cmp edi, ebp
je 0x463b1f
mov eax, edi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
mov ebp, edi
mov edi, dword [edi]
call edx
test eax, eax
je 0x463b1b
lea esi, [ebx + 0xa0]
mov eax, ebp
call fcn.00481350
mov dword [ebx + 0x12c], 1
test edi, edi
jne 0x463af0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x463b40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4bce10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [edi + 0x100]
test esi, esi
je 0x463c4d
push 0x4c3af6
lea ecx, [esp + 0x18]
call fcn.00408080
mov dword [esp + 0x20], 0
mov eax, dword [eax]
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x64]
push 0x2c
mov ecx, esi
call eax
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463bbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x463bd9
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0x14]
push 0x4c3af0
push ecx
mov dword [esp + 0x2c], 1
call fcn.0040a120
mov ecx, dword [edi + 0x100]
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
add esp, 0xc
push 0
push esi
push 0x85
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x463c9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
mov eax, edi
call fcn.00460ac0
mov ecx, dword [0x4ee77c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x463c9d
mov edx, dword [edi + 0x104]
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x463c97
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
mov ecx, edi
call fcn.00463ed0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x465810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push str.ProMg_d.nix
push eax
lea eax, [esp + 0x18]
push 0x4c8ae8
push eax
mov esi, 1
xor ebp, ebp
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
push esi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x220]
push edx
call edi
add esp, 0xc
lea eax, [esp + 0x218]
push eax
call ebx
cmp eax, 0xffffffff
je 0x46587a
inc ebp
inc esi
cmp esi, 0x65
jl 0x465857
mov ecx, dword [esp + 0x420]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x414
ret 4

Function at 0x4658a0
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
sub esp, 0x458
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x454], eax
mov eax, dword [esp + 0x45c]
push esi
push edi
push str.ProMg_d.nix
push eax
lea eax, [esp + 0x25c]
push 0x4c8ae8
push eax
mov edi, 1
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push str.CurrentFilename
call fcn.0046ccd0
mov esi, eax
mov dword [esp + 0x14], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4658f1
sub eax, edx
push ebx
sar eax, 1
inc eax
push ebp
push eax
call fcn.00490828
push esi
mov ebp, eax
push 0x4c5424
push ebp
call fcn.0049f398
push 0x4cc238
push ebp
call fcn.0049fc40
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x46592e
mov byte [eax], 0
push 0x10
lea ecx, [esp + 0x48]
push ebp
push ecx
call fcn.0049fcd0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0xc
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
lea esp, [esp]
test esi, esi
jne 0x465a0b
push edi
lea edx, [esp + 0x260]
push edx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4659f2
push esi
push esi
push 3
push esi
push esi
push SHChangeNotifyRegister
lea edx, [esp + 0x6c]
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4659fd
push 0
lea eax, [esp + 0x1c]
push eax
push 0x23
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], 0x23
jne 0x4659e9
cmp byte [esp + 0x20], 2
jne 0x4659e9
mov eax, 0x10
xor ecx, ecx
lea ebx, [ebx]
mov edx, dword [esp + ecx + 0x44]
cmp edx, dword [esp + ecx + 0x2b]
jne 0x4659e9
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x4659d0
mov dword [esp + 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4659fd
cmp dword [esp + 0x10], 0
jne 0x4659fd
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x14]
inc edi
cmp edi, 0x65
jl 0x465950
mov eax, dword [esp + 0x1c]
push eax
call fcn.0049081d
push ebp
call fcn.0049081d
add esp, 8
pop ebp
pop ebx
mov eax, esi
test esi, esi
jne 0x465a2a
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
xor ecx, esp
call fcn.0049dc2a
add esp, 0x458
ret 4
Function at 0x466190
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
sub esp, 0x450
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x44c], eax
push esi
push edi
push 0x22
mov edi, ecx
call fcn.00490828
push str.ProMg_d.nix
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
lea ecx, [esp + 0x258]
xor eax, eax
push 0x4c8ae8
push ecx
mov word [esi], ax
call edi
mov edx, dword [esp + 0x470]
push edx
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x60]
push ecx
call edi
add esp, 0x20
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46629a
push ebp
push 0
push 0
push 3
push 0
push 0
push SHChangeNotifyRegister
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x46627e
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x23
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], 0x23
jne 0x466277
cmp byte [esp + 0x10], 2
jne 0x466277
push 0x10
lea ecx, [esp + 0x1f]
xor eax, eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov word [esi + 0x20], ax
mov byte [esp + 0x50], al
call fcn.0049fcd0
lea eax, [esp + 0x40]
push eax
push 0x4cd37c
push esi
call edi
add esp, 0x18
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x454]
pop edi
pop esi
xor ecx, esp
call fcn.0049dc2a
add esp, 0x450
ret 4
mov eax, esi
jmp 0x466281

Function at 0x466340
Capabilities:
Delete file

Disassembly:
sub esp, 0x414
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push str.USB_DRIVEROOT
call fcn.0046ccd0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
push str.ProMg_d.nix
push esi
lea eax, [esp + 0x10]
push 0x4c8ae8
push eax
call ebx
lea ecx, [edi - 1]
add esp, 0x10
cmp ecx, 0x63
ja 0x4663a6
push edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x218]
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.0049081d
mov ecx, dword [esp + 0x41c]
add esp, 4
pop esi
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x414
ret
Function at 0x4663d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b96e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0x4cb980
mov dword [esp + 0x1c], 0
call fcn.0046ccd0
mov esi, eax
test esi, esi
je 0x4664ef
push esi
call fcn.0049e31d
push esi
mov ebp, eax
call fcn.0049081d
add esp, 8
test ebp, ebp
je 0x4664ef
cmp ebp, 0x65
jae 0x4664ef
cmp dword [ebx], 0
je 0x4664ef
push str.USB_DRIVEROOT
call fcn.0046ccd0
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x466506
cmp word [edi], si
je 0x466506
lea ecx, [esp + 0x10]
call fcn.0041c470
push ebp
push edi
lea eax, [esp + 0x18]
push str._sProMg_d.nix
push eax
mov dword [esp + 0x34], esi
call fcn.0040a120
mov ecx, dword [esp + 0x20]
add esp, 0x10
push esi
push SHChangeNotifyRegister
push 2
push esi
push esi
push 0x40000000
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4664cf
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push 0
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebx + 4]
cmp edx, dword [esp + 0x14]
jne 0x4664c8
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
push eax
call fcn.0049081d
push edi
mov dword [ebx], 0
call fcn.0049081d
add esp, 8
lea ecx, [esp + 0x10]
call fcn.00401a70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x4683f0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
push edi
xor edi, edi
push edi
mov dword [esi], vtable.CList_struct_ConsolidatedPromptItems__struct_ConsolidatedPromptItems_.0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
push edi
mov eax, 0xa
mov dword [esi + 0x18], eax
push edi
push edi
mov dword [esi + 0x28], vtable.CList_class_PrintJob___class_PrintJob__.0
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x60], eax
lea eax, [esi + 0x7c]
push eax
call ebp
push edi
push edi
push 1
push edi
call ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x20], 1
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
call ebp
push edi
push edi
push esi
push 0x468490
push edi
push edi
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop ebp
mov dword [esi + 0x24], eax
mov eax, esi
pop ebx
ret
Function at 0x46b510
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebp
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Keyboard_LayoutPreload
mov esi, 1
push reloc.WS2_32.dll_accept
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x46b62e
cmp dword [esp + 0xc], 0
je 0x46b623
push 0x400
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x400
call fcn.00490828
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
xor edx, edx
lea ecx, [esp + 0x20]
push ecx
push edx
mov word [esi], dx
mov edx, dword [esp + 0x1c]
push 0x4c3af8
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46b5e3
mov ecx, edi
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46b5d6
test dx, dx
je 0x46b5d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46b5d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x46b5b0
xor eax, eax
jmp 0x46b5db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b5e3
mov dword [esp + 0x10], eax
push esi
call fcn.0049081d
add esp, 4
cmp dword [esp + 0x10], 0
je 0x46b623
mov eax, edi
lea edx, [eax + 2]
jmp 0x46b600
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b600
mov ecx, dword [esp + 0xc]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push edi
push 1
push 0
push 0x4c3af8
push ecx
call ebp
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Keyboard_LayoutPreload1
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x46b68c
mov edx, dword [esp + 0xc]
test edx, edx
je 0x46b685
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b662
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edi
push 1
push 0
push 0x4c3af8
push edx
call ebp
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x46b6a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bc5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00498c2b
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x46b6fd
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x22c], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0x34], vtable.CList_class_PackControl___class_PackControl__.0
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], 0xa
mov ebx, 1
mov byte [esp + 0x22c], bl
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x46b75b
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x54], eax
mov byte [esp + 0x22c], 2
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x46b78c
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [esp + 0x22c], 3
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebx
mov dword [esi + 0x74], ebp
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
call fcn.0046f410
push str.NEWCAMIMAGE
mov dword [esi + 0x24], ebp
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push esi
mov dword [esi + 0x78], eax
call fcn.0046b8b0
mov ebx, esi
mov dword [esi + 0xc], ebp
call fcn.0046bf70
push ebp
call fcn.0046edd0
push str.CURRENTMULTITAP
mov dword [esi + 0x50], ebp
call fcn.0046ccd0
mov edi, eax
call fcn.0040e8c0
push edi
call fcn.0049081d
mov ecx, dword [0x4ee7ec]
add esp, 4
cmp dword [ecx - 0xc], ebp
jne 0x46b84e
lea edx, [esp + 0x18]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x46b830
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00401fa0
jmp 0x46b85a
push 0x4ee7ec
mov ecx, esi
call fcn.00408830
mov ecx, dword [esi]
mov edx, dword [ecx - 0xc]
lea eax, [edx - 1]
cmp eax, ebp
jl 0x46b8a4
cmp eax, edx
jg 0x46b8a4
cmp word [ecx + eax*2], 0x5c
je 0x46b87a
push 0x5c
mov ecx, esi
call fcn.00411770
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x21c
ret
push 0x80070057
call fcn.004010d0
int3
Function at 0x46b8b0
Capabilities:
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x4bc428
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46b8ef
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
dec ecx
shr eax, 0xa
cmp ecx, 0x61
ja case.0x46b92c.2
movzx ecx, byte [ecx + 0x46bb3c]
jmp dword [ecx*4 + 0x46baf4]
push 0x4cc198
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cb84c
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push str.farsi
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7c0
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7c8
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7d0
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
lea ecx, [esp + 0xc]
cmp eax, 3
jne 0x46b9bd
push 0x4cd7d8
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7e0
call fcn.00401a90
jmp 0x46ba99
push 0x4cc1a0
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7e8
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7f0
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cb854
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd7f8
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd800
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd808
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd810
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
push 0x4cd818
lea ecx, [esp + 0x10]
call fcn.00401a90
jmp 0x46ba99
lea ecx, [esp + 0xc]
cmp eax, 4
jne 0x46ba7d
push 0x4cd820
call fcn.00401a90
jmp 0x46ba99
push 0x4cd828
call fcn.00401a90
jmp 0x46ba99
push 3
push 0x4cd828
lea ecx, [esp + 0x14]
call fcn.00401fa0
mov esi, dword [esp + 0xc]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push esi
call fcn.004020a0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0046e5f0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x46badf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4