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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7c00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x20]
xor esi, esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4214a3
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x42146d
mov eax, dword [edi + 0xbc]
mov eax, dword [eax - 0xc]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x421466
mov ecx, dword [edi + 0xbc]
mov eax, dword [ecx - 0xc]
inc eax
push eax
push ecx
push edx
call fcn.00589690
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x4214a3
lea ecx, [ebp - 0x10]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov edx, str.The_CSR_has_been_copied_to_the_clipboard.
mov ecx, dword [edi + 0x20]
push 0x40
push dword [eax]
call fcn.00422de0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
jmp 0x4214cd
lea ecx, [ebp - 0x14]
call fcn.00423aa0
mov dword [ebp - 4], 1
mov edx, str.The_CSR_could_not_be_copied_to_the_clipboard.
mov ecx, dword [edi + 0x20]
push 0x30
push dword [eax]
call fcn.00422de0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or ecx, 0xffffffff
add esp, 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4214ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 0x422700
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a90cd
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push 0x94
push 0
push eax
call fcn.00586b50
add esp, 0xc
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42277d
cmp dword [ebp - 0xa0], 6
jb 0x42277d
cmp dword [ebp - 0x9c], 2
jb 0x42277d
mov eax, 1
jmp 0x4227c7
push 0x78
call fcn.00464219
mov esi, eax
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4227b0
mov ecx, esi
call fcn.004693a3
mov dword [esi], vtable.CCustomButton.0
mov dword [esi + 0x74], 0
jmp 0x4227b2
xor esi, esi
push esi
push ebx
push 0x415
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.004227f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 8

Function at 0x423270
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a75a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0046641c
call fcn.00471068
call fcn.00471068
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [edi + 0x20]
call ebx
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call esi
push eax
push 0
push 0x80
push dword [edi + 0x20]
call ebx
lea ecx, [ebp - 0x10]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov ecx, edi
push dword [eax]
call fcn.00468be9
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423329
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea ecx, [edi + 0xc0]
call fcn.00422480
push 1
push dword [0x639b84]
mov ecx, edi
call fcn.0046478d
push dword [0x639b84]
lea ecx, [edi + 0xd4]
push edi
call fcn.00447690
push 0x46e
mov ecx, edi
call fcn.004688d7
push 0xffffffffffffffff
mov esi, eax
push 0
push 0xb1
push dword [esi + 0x20]
call ebx
push 0
push 0
push 0xb7
push dword [esi + 0x20]
call ebx
mov eax, 1
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 0x4239a0
Capabilities:
Terminate thread

Disassembly:
mov ecx, dword [0x62d694]
mov eax, dword [0x62d690]
push ebx
push esi
xor esi, esi
push edi
test ecx, ecx
jle 0x423a00
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [eax + esi*4]
push 0x64
push dword [eax + 0x2c]
call ebx
test eax, eax
je 0x4239dd
mov eax, dword [0x62d690]
push 0
mov eax, dword [eax + esi*4]
push dword [eax + 0x2c]
call edi
mov eax, dword [0x62d690]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4239f5
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [0x62d690]
mov ecx, dword [0x62d694]
inc esi
cmp esi, ecx
jl 0x4239c0
test eax, eax
je 0x423a3f
push ecx
push eax
mov eax, dword [vtable.CDArray_class_CWinThread__.0]
mov ecx, 0x62d68c
call dword [eax + 4]
push dword [0x62d690]
call fcn.00582cf0
add esp, 4
mov dword [0x62d690], 0
mov dword [0x62d694], 0
mov dword [0x62d698], 0
call fcn.00462d40
call fcn.00413870
mov eax, dword [0x639978]
test eax, eax
je 0x423a59
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
call fcn.00462270
cmp word [0x6399f0], 0
je 0x423a82
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x190
push 0
push 0x6399f0
call fcn.00586b50
add esp, 0xc
cmp dword [0x62d550], 0
jl 0x423a94
pop edi
pop esi
pop ebx
jmp dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
ret
Function at 0x423eb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00586b50
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x423f2a
mov eax, dword [ebp - 0x9c]
cmp eax, 6
jb 0x423f15
cmp byte [ebp - 6], 1
jne 0x423f2a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x423f2a
mov eax, dword [ebp - 0x98]
cmp eax, 1
je 0x423f05
cmp eax, 2
je 0x423eff
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret

Function at 0x424970
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9513
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x14], 1
xor esi, esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov edx, dword [0x639cf4]
mov dword [0x639bc0], 0x4247e0
test edx, edx
je 0x4249e5
cmp dword [edx - 0xc], esi
je 0x4249e5
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4249d0
sub ecx, ebx
push ecx
push edx
mov ecx, 0x639c3c
call fcn.004034d0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 8
push eax
mov dword [ebp - 0x20], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.004763a5
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x6399f0
push 0x202
mov dword [0x62d550], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x424aff
cmp byte [0x6399f1], 2
jb 0x424aff
lea eax, [ebp - 0x1c]
mov edx, 0x5f8d68
push eax
mov ecx, 0xa5
call fcn.00428330
add esp, 4
test eax, eax
je 0x424af9
lea ecx, [ebp - 0x1c]
call fcn.004621e0
test eax, eax
je 0x424af9
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 1
push eax
push 0x639978
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x424af9
call fcn.00427c70
test eax, eax
je 0x424af9
call fcn.00413650
test eax, eax
je 0x424af9
call fcn.00462ce0
test eax, eax
je 0x424af9
push dword [0x639c38]
lea ecx, [ebp - 0xb0]
push dword [0x639c34]
push dword [0x639c3c]
call fcn.00461580
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00462380
mov ebx, eax
mov byte [ebp - 4], 0
neg ebx
lea ecx, [ebp - 0xb0]
sbb ebx, ebx
neg ebx
call fcn.0045ed60
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
jmp 0x424b01
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
test edi, edi
je 0x424b22
mov ecx, edi
test esi, esi
je 0x424b19
jmp 0x424b10
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec esi
jne 0x424b10
push edi
call fcn.00582cf0
add esp, 4
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 0x424b40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9548
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x62d550], eax
call fcn.00462270
push 0xfa0
push 0x639bc8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0x7fffffff
push 0
push 0
mov dword [0x639bec], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 4
push 0
push 0
push 0
push 0x462550
mov dword [0x639be0], eax
call fcn.0047662a
mov dword [0x639be8], eax
test eax, eax
jne 0x424c04
call fcn.00462270
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push dword [eax + 0x2c]
mov dword [eax + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00413650
test eax, eax
jne 0x424c2c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x425790
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9690
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x639d38
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x639d38
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0
call fcn.00464b17
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4257fb
push 0x80004005
call fcn.00403a80
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov ebx, 1
mov eax, dword [0x639d54]
cmp eax, 0xffffffff
jne 0x425836
push 0
mov ecx, 0x639d30
call fcn.00425de0
test eax, eax
je 0x4258eb
mov eax, dword [0x639d54]
xor ebx, ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4258cc
push 0
push 0
push 0
push dword [0x639d54]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jns 0x425869
push 0x80070057
call fcn.00403a80
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x425886
push edi
lea ecx, [ebp - 0x10]
call fcn.004037a0
mov esi, dword [ebp - 0x10]
push 0
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push dword [0x639d54]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esi - 8]
push esi
call fcn.00582f38
add esp, 8
test eax, eax
js 0x42585f
cmp eax, dword [esi - 8]
jg 0x42585f
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
test ebx, ebx
je 0x4258d0
push 2
push 0
push 0
push dword [0x639d54]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
jne 0x4258eb
mov eax, dword [0x639d54]
cmp eax, 0xffffffff
je 0x4258eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x639d54], 0xffffffff
add esi, 0xfffffff0
push esi
call fcn.004033d0
mov edi, dword [ebp + 8]
add eax, 0x10
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add esp, 4
mov dword [edi], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42591a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
push 0x639d38
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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 0x425a10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a96e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x639d38
mov dword [ebp - 0x10], 0x639d38
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
mov esi, 1
mov eax, dword [0x639d54]
cmp eax, 0xffffffff
jne 0x425a87
push 0
mov ecx, 0x639d30
call fcn.00425de0
test eax, eax
jne 0x425a80
mov eax, dword [0x639d50]
mov esi, dword [eax - 0xc]
jmp 0x425abb
mov eax, dword [0x639d54]
xor esi, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test esi, esi
jne 0x425ab1
mov eax, dword [0x639d54]
cmp eax, 0xffffffff
je 0x425ab1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x639d54], 0xffffffff
mov eax, dword [0x639d50]
mov esi, dword [eax - 0xc]
add esi, edi
push 0x639d38
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9720
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00464b17
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x425b66
push 0x80004005
call fcn.00403a80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.00425c00
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004054a0
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x425bb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push 0
push eax
push dword [esi - 0xc]
push esi
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x425be5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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 0x425c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9788
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 8]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x1c], 1
or ebx, 0xffffffff
mov byte [ebp - 4], 1
cmp dword [esi + 0x24], ebx
jne 0x425d74
push 1
mov ecx, esi
call fcn.00425de0
test eax, eax
jne 0x425d4a
cmp dword [esi + 0x28], eax
je 0x425d39
lea eax, [ebp - 0x10]
push eax
call fcn.00425c00
mov byte [ebp - 4], 2
lea ecx, [esi + 0x20]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00407970
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425d32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x28], 0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x20]
push dword [eax - 0xc]
push eax
call fcn.00407970
jmp 0x425d9e
mov edx, dword [esi + 0x20]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x425d74
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x5ef390
lea ecx, [esi + 0x20]
call fcn.004034d0
cmp dword [esi + 0x28], 0
je 0x425d88
mov ecx, esi
call fcn.00425b20
mov dword [esi + 0x28], 0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [eax - 0xc]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x425dc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 0x4262e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7c28
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x62c2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0046641c
call fcn.00471068
call fcn.00471068
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 0
push 0x80
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x10]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov ecx, ebx
push dword [eax]
call fcn.00468be9
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42639b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea ecx, [ebx + 0x98]
call fcn.00422480
mov ecx, ebx
call fcn.004263d0
mov ecx, ebx
call fcn.00426470
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426e40
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a99e8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x62c2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0046641c
call fcn.00471068
call fcn.00471068
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0xbd
mov eax, dword [eax + 0xc]
push eax
call esi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push dword [edi + 0x20]
call ebx
call fcn.00471068
call fcn.00471068
push 0xbc
mov eax, dword [eax + 0xc]
push eax
call esi
push eax
push 0
push 0x80
push dword [edi + 0x20]
call ebx
lea ecx, [ebp - 0x54]
call fcn.00423aa0
mov dword [ebp - 4], 0
mov ecx, edi
push dword [eax]
call fcn.00468be9
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x426efe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea ecx, [edi + 0xac]
call fcn.00422480
push dword [0x639b84]
lea ecx, [edi + 0xc0]
push edi
call fcn.00447690
push 0x5f9348
push 0x5f9358
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x63997c], eax
test eax, eax
je 0x426f54
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x63997c]
cmp dword [ebp - 0x50], 0
je 0x426f66
mov dword [edi + 0x98], 0
jmp 0x426f9a
push 0
push 0x44b
mov ecx, edi
mov dword [edi + 0x98], 1
call fcn.004688d7
mov ecx, eax
call fcn.00468c2d
push 0
push 0x44c
mov ecx, edi
call fcn.004688d7
mov ecx, eax
call fcn.00468c2d
push 0
push 0
push 0x31
push dword [edi + 0x20]
call ebx
push eax
call fcn.004678a9
lea ecx, [ebp - 0x4c]
push ecx
push 0x3c
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xfffffff3
push eax
mov dword [ebp - 0x3c], 0x384
lea esi, [edi + 0xa0]
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.00467687
push 0x430
mov ecx, edi
call fcn.004688d7
test esi, esi
jne 0x426ff4
xor ecx, ecx
jmp 0x426ff7
mov ecx, dword [esi + 4]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call ebx
push 0
mov ecx, edi
call fcn.0046da26
push 1
mov ecx, edi
call fcn.0046da26
push ecx
mov ecx, edi
call fcn.00427070
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret
Function at 0x427480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
push 0x20119
push 0x5f92f0
push 0x80000002
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [esi], 1
call fcn.00427690
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
test eax, eax
jne 0x427613
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0x5f9338
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427613
mov eax, dword [ebp - 4]
cmp eax, 0xc
jb 0x427613
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00432ce0
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0
push 0x5f9338
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4275ec
mov ecx, dword [ebp - 4]
lea edi, [ebx + 8]
sub ecx, 8
mov dword [ebp - 4], ecx
sub ecx, 4
mov eax, dword [edi]
add edi, 4
mov dword [esi], eax
mov dword [ebp - 4], ecx
cmp ecx, 4
jbe 0x4275e9
mov edx, dword [edi]
lea eax, [ecx - 4]
mov dword [ebp - 0xc], edx
cmp edx, eax
ja 0x4275ab
cmp edx, ecx
ja 0x4275ab
lea esi, [edx*2 + 2]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0xc]
push eax
push esi
mov dword [ecx + 4], eax
lea eax, [edi + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
add edi, 4
mov eax, 0xfffffffc
add edi, esi
sub eax, esi
add ecx, eax
mov dword [ebp - 4], ecx
cmp ecx, 4
jbe 0x4275e9
mov edx, dword [edi]
lea eax, [ecx - 4]
mov dword [ebp - 0xc], edx
cmp edx, eax
ja 0x4275e9
cmp edx, ecx
ja 0x4275e9
lea esi, [edx*2 + 2]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp + 8]
push esi
push eax
push dword [ebp - 0xc]
mov dword [ecx + 8], eax
lea eax, [edi + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp - 8]
test ebx, ebx
je 0x427612
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
test ecx, ecx
je 0x427609
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x427600
push ebx
call fcn.00582cf0
add esp, 4
pop ebx
test edi, edi
je 0x42761e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4