joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5673cd
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], ebx
push ecx
mov word [ebp - 0x218], ax
call fcn.00545940
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4d382c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d37a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004253c0
push 0x208
lea edx, [ebp - 0x218]
push 0
push edx
call fcn.00545940
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0x593f14
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4d382c
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d3801
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004253c0
lea eax, [ebp - 0x21c]
jmp 0x4d385a
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov ebx, 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
sub eax, 0x10
call fcn.004254c0
add eax, 0x10
or ebx, 2
mov dword [edi], eax
mov dword [ebp - 4], 0
test bl, 1
je 0x4d389a
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d389a
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 - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d38c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x4d4880
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d490b
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d490b
cmp word [eax], 0
je 0x4d490b
test edi, edi
je 0x4d490b
push ebx
push esi
xor bl, bl
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4d4904
call dword [sym.imp.USER32.dll_EmptyClipboard]
add edi, edi
lea eax, [edi + 2]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4d48fe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4d48fe
mov edx, dword [ebp + 8]
push edi
push edx
xor ecx, ecx
push eax
mov word [edi + eax], cx
call fcn.005475b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x4d4920
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567378
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 ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
mov edx, dword [0x5ce94c]
test eax, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
jne 0x4d4985
call eax
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0xd
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x4d49ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x4d49ba
mov edx, eax
lea edi, [ebp - 0x10]
call fcn.00425220
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov eax, esi
call fcn.004254c0
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d49f2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d4d60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [eax + 0x14], 0
push esi
je 0x4d4d92
cmp dword [eax + 0x18], 8
jb 0x4d4d72
mov esi, dword [eax + 4]
jmp 0x4d4d75
lea esi, [eax + 4]
test esi, esi
je 0x4d4d92
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4d4d96
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4d4d9a
xor eax, eax
pop esi
ret
test al, 0x10
je 0x4d4d92
mov eax, 1
pop esi
ret
Function at 0x4d4db0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00545940
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x4d8e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5631e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
cmp edx, str.software360TotalSecurity
je 0x4d8f58
cmp edx, str.Activity
je 0x4d8f58
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp edx, str.LowDiskThreshold
je 0x4d8edd
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043d4e0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
push str.LowDiskThreshold
push eax
push SysReAllocString
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 4
call esi
mov eax, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0046d830
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, str.LowDiskThresholdUnit
je 0x4d8f54
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0043d4e0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
push str.LowDiskThresholdUnit
push eax
push SysReAllocString
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 4
call esi
mov eax, edi
call fcn.0046d830
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test ecx, ecx
jne 0x4d8f7d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], 0x1f4
mov dword [edx], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 0xf423f
jbe 0x4d8f8a
mov ecx, 0xf423f
cmp eax, 1
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jge 0x4d8fb2
test eax, eax
jg 0x4d8f9a
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
jmp 0x4d8f9a
Function at 0x4d8fc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5631b0
mov eax, dword fs:[0]
push eax
sub esp, 8
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 eax, dword [ebp + 8]
mov ecx, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x14], ecx
cmp edx, str.software360TotalSecurity
je 0x4d90a3
xor eax, eax
cmp eax, str.Activity
je 0x4d90a3
xor ecx, ecx
cmp ecx, str.LowDiskThreshold
je 0x4d90a3
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0043d4e0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 8], ebx
call esi
test eax, eax
jne 0x4d9078
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
mov ecx, dword [ebp - 0x10]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.LowDiskThreshold
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0046d830
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x10], edx
cmp eax, str.software360TotalSecurity
je 0x4d914c
xor ecx, ecx
cmp ecx, str.Activity
je 0x4d914c
xor edx, edx
cmp edx, str.LowDiskThresholdUnit
je 0x4d914c
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp + 8], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.0043d4e0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 0xc], ebx
call esi
test eax, eax
jne 0x4d9128
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 8]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push str.LowDiskThresholdUnit
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp + 8]
call fcn.0046d830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d91e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563178
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x18], esi
cmp eax, str.software360TotalSecurity
je 0x4d92a8
xor ecx, ecx
cmp ecx, str.Activity
je 0x4d92a8
xor edx, edx
cmp edx, str.Notification
je 0x4d92a8
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Activity
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0043d4e0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push str.Notification
mov dword [ebp - 0x14], esi
push eax
mov esi, 4
push SysReAllocString
mov bl, 1
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4d929a
cmp dword [ebp - 0x14], esi
je 0x4d929c
xor bl, bl
lea eax, [ebp - 0x10]
call fcn.0046d830
test bl, bl
jne 0x4d92bd
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d93f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563148
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x14], eax
cmp ecx, str.software360TotalSecurity
je 0x4d94aa
xor edx, edx
cmp edx, str.UserProfile
je 0x4d94aa
cmp ecx, str.Count0
je 0x4d94aa
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.UserProfile
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043d4e0
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push str.Count0
push ecx
push SysReAllocString
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, edi
call fcn.0046d830
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4d94c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563118
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x5c5678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x14], eax
cmp ecx, str.software360TotalSecurity
je 0x4d95a0
xor edx, edx
cmp edx, str.UserProfile
je 0x4d95a0
xor eax, eax
cmp eax, str.Count0
je 0x4d95a0
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.UserProfile
push str.software360TotalSecurity
push str._s_s
lea edi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0043d4e0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push str.software360TotalSecurity
push SysReAllocString
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d957c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0x10]
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push str.Count0
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [ebp - 0x10]
call fcn.0046d830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4dd290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dd2a7
mov al, 1
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
lea eax, [esi + 0x30]
push eax
mov dword [esi + 0x2c], ecx
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esi + 0x54]
push ecx
push 0
push esi
push 0x4dd350
push 0
push 0
mov dword [esi + 0x44], 0x46000080
mov dword [esi + 0x48], 0
mov dword [esi + 0x40], 0xacbe
call fcn.0053e671
xor edx, edx
add esp, 0x18
test eax, eax
setne dl
mov dword [esi + 0x50], eax
mov al, dl
pop ebp
ret 8
Function at 0x4dd3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub eax, ecx
sub eax, dword [ebp - 0x20]
mov edi, dword [ebp - 4]
add eax, edx
sub edi, dword [ebp - 0xc]
mov esi, ecx
sub esi, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 4]
sar ecx, 1
sub eax, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
add ecx, esi
mov dword [ebp - 0xc], eax
add eax, edi
mov dword [ebp - 4], eax
mov eax, 0x14
lea esi, [ebp - 0x10]
mov dword [ebp - 8], ecx
call fcn.004d3d40
cmp byte [ebp + 0xc], 0
jne 0x4dd47b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
push 5
push 0
push 0
push edx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push 0
push ecx
push edx
push 0xffffffffffffffff
push ebx
call esi
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push 1
push 0
push 0
push eax
push ecx
push 0xfffffffffffffffe
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dd7a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5766fe
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.CefWebViewHost.virtual_0], vtable.CefWebViewHost.0
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1ac], ebx
mov byte [esi + 0x1b0], bl
mov byte [esi + 0x1b1], 1
mov dword [esi + method.IFontIconCBSimpleImpl_class_CGoogleOAuthDlg_.virtual_0], vtable.IFontIconCBSimpleImpl_class_CGoogleOAuthDlg_.0
mov dword [esi], vtable.CGoogleOAuthDlg.0
mov dword [esi + 0x2c], vtable.CGoogleOAuthDlg.1.0
mov dword [esi + 0x50], vtable.CGoogleOAuthDlg.2.0
mov dword [edi], vtable.CGoogleOAuthDlg.3.0
mov dword [esi + method.CGoogleOAuthDlg.4.virtual_0], vtable.CGoogleOAuthDlg.4.0
mov dword [esi + method.IFontIconCBSimpleImpl_class_CGoogleOAuthDlg_.virtual_0], vtable.CGoogleOAuthDlg.5.0
xor ecx, ecx
mov dword [esi + 0x1d0], 7
mov dword [esi + 0x1cc], ebx
mov word [esi + 0x1bc], cx
mov dword [esi + 0x1d4], ebx
lea eax, [esi + 0x1e4]
mov byte [esi + 0x1d8], bl
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
call fcn.004dd940
lea edx, [esi + 0x294]
mov byte [ebp - 4], 5
push edx
mov dword [esi + 0x28c], 1
mov dword [esi + 0x290], ebx
call fcn.0049b780
mov dword [esi + 0x464], ebx
mov dword [esi + 0x460], ebx
call fcn.0046daa0
cmp byte [eax + 0xc], bl
je 0x4dd8dc
mov eax, dword [eax]
cmp eax, 0x64
je 0x4dd8dc
push 0x64
push eax
push 0x1cc
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4dd8e1
mov eax, 0x1cc
mov dword [esi + 0x458], eax
mov dword [esi + 0x45c], 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 0x4e7760
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x28]
xor esi, esi
push ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], esi
call fcn.0045dba0
add esp, 8
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x28]
mov ecx, 0x5ce94c
cmp dword [edx - 0xc], esi
jne 0x4e77ca
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebx], eax
jmp 0x4e78e1
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push esi
push 0x80
push 3
push esi
push 1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, 0xffffffff
je 0x4e78b2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4e78ab
push 0x5cea3e
push esi
call fcn.0053ef06
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e78a8
push esi
push 0
push ebx
call fcn.00545940
add esp, 0xc
push 0
lea edx, [ebp - 0x3c]
push edx
push esi
push ebx
push edi
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4e789f
cmp dword [ebp - 0x3c], esi
jne 0x4e789f
xor eax, eax
push esi
lea edi, [ebp - 0x24]
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0047c960
add esp, 4
test eax, eax
je 0x4e789c
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
push ecx
call fcn.0045cf40
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00425450
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00425530
mov edi, dword [ebp - 0x34]
push ebx
call fcn.0053ece6
add esp, 4
mov ebx, dword [ebp - 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff0
mov eax, esi
call fcn.004254c0
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4e78e1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e7907
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret
Function at 0x4e7930
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567202
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5c5678]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
mov dword [ebp - 0x228], esi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x21a]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x224], 1
mov word [ebp - 0x21c], ax
call fcn.00545940
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
add esp, 0xc
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x21c]
push eax
push 1
mov dword [ebp - 0x220], 0x104
call edi
test eax, eax
jne 0x4e79f7
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x21c]
push edx
push eax
mov dword [ebp - 0x220], 0x104
call edi
mov eax, dword [ebp - 0x220]
cmp eax, 0x105
jae 0x4e7a34
xor ecx, ecx
mov word [ebp + eax*2 - 0x21c], cx
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e7a17
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x21c]
push edx
push esi
call fcn.004253c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d78d
mov esp, ebp
pop ebp
ret