joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414ef6
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push 0x2c8
mov eax, 0x4b8c8a
call fcn.00495a70
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xff
lea eax, [ebp - 0x10f]
push 0
push eax
mov dword [ebp - 0x2d4], ebx
mov byte [ebp - 0x110], 0
call fcn.00495b20
add esp, 0xc
test edi, edi
je 0x414f41
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x414f45
xor eax, eax
jmp 0x414f5b
lea esi, [eax + eax]
mov eax, esi
call fcn.00495fa0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00402138
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0049a4d0
pop ecx
pop ecx
lea eax, [ebp - 0x2bc]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x414fa2
push str.wsastartup___failed__
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x44
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcweb_khostnametoipgetter.h
push 9
call fcn.004030c6
add esp, 0x14
xor eax, eax
jmp 0x4150bc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x414fc3
push str.gethostbyname___error__
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x4b
jmp 0x414f8c
movsx eax, word [esi + 0xa]
push eax
movsx eax, word [esi + 8]
push eax
push dword [esi + 4]
push dword [esi]
push str.name:_s_nalianses:_s_naddrtype:_d_nlength:_d
push str.KHostNameToIpGetter::_getIpListFromHostName
push 0x4f
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcweb_khostnametoipgetter.h
push 9
call fcn.004030c6
mov eax, dword [esi + 0xc]
and dword [ebp - 0x2d0], 0
add esp, 0x24
cmp dword [eax], 0
je 0x4150ab
xor ecx, ecx
movsx edx, word [esi + 0xa]
push edx
push dword [eax + ecx]
lea eax, [ebp - 0x2c8]
push eax
call fcn.00495100
add esp, 0xc
push dword [ebp - 0x2c8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
je 0x41503d
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x415041
xor eax, eax
jmp 0x415055
lea eax, [edi + edi]
call fcn.00495fa0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.00402100
push eax
lea ecx, [ebp - 0x12c]
call fcn.004025ee
mov ecx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x12c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0040e4cf
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x12c]
call fcn.00401129
inc dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2d0]
mov eax, dword [esi + 0xc]
shl ecx, 2
cmp dword [eax + ecx], edi
jne 0x415002
mov ebx, dword [ebp - 0x2d4]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push 0x1c
cdq
pop ecx
idiv ecx
lea esp, [ebp - 0x2e4]
call fcn.00495af3
ret 8
Function at 0x418326
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xc
mov eax, 0x4b91bf
call fcn.00495a07
mov esi, ecx
mov ecx, dword [esi + 0x10]
cmp dword [ebp + 0xc], ecx
jne 0x4184e8
mov eax, dword [ebp + 0x10]
mov edx, 0x205
cmp ax, dx
jne 0x41841d
xor edi, edi
cmp dword [esi + 0x410], edi
jne 0x4184e8
mov dword [ebp + 0xc], edi
push ecx
movzx ecx, cx
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], esp
call fcn.00418245
cmp eax, edi
je 0x4184a2
push edi
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00418308
push dword [ebp + 0x10]
xor ebx, ebx
mov ecx, esi
mov eax, dword [ecx]
inc ebx
mov byte [ebp - 4], bl
call dword [eax]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esi - 0x28]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x3c4]
cmp eax, edi
jne 0x4183c3
push ebx
push edi
jmp 0x4183ca
cmp eax, 0xffffffff
je 0x4183d3
push edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [esi + 0x40c], ebx
mov ebx, dword [esi - 0x28]
mov dword [ebp - 0x10], eax
call fcn.00418285
pop ecx
pop ecx
push edi
push ebx
push edi
push dword [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push edi
push edi
push edi
push dword [esi - 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0xc]
call fcn.0041826a
mov dword [esi + 0x40c], edi
jmp 0x4184a2
mov ecx, 0x200
cmp ax, cx
jne 0x418439
add esi, 0x404
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4184e8
mov ecx, 0x203
cmp ax, cx
jne 0x4184b1
push dword [esi - 0x28]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ecx
movzx ecx, word [esi + 0x10]
mov eax, esp
mov dword [eax], ecx
xor edi, edi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], esp
call fcn.00418245
cmp eax, edi
je 0x4184a2
push edi
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.00418308
mov eax, dword [esi + 0x3c4]
push edi
cmp eax, edi
jne 0x41848b
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetMenuItemID]
push edi
push eax
push 0x111
push dword [esi - 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp + 0xc]
call fcn.0041826a
cmp dword [ebp + 0xc], edi
je 0x4184e8
lea ecx, [ebp + 0xc]
call fcn.0041826a
jmp 0x4184e8
mov ecx, 0x201
cmp ax, cx
je 0x4184e8
mov ecx, 0x405
cmp ax, cx
jne 0x4184e8
mov ecx, esi
call fcn.0041820f
test eax, eax
jne 0x4184e8
mov ecx, dword [esi + 0x414]
test ecx, ecx
je 0x4184e8
push dword [esi + 0x41c]
push dword [esi + 0x418]
call ecx
xor eax, eax
call fcn.00495adf
ret 0x10
Function at 0x4185f6
Capabilities:
Read .ini file

Disassembly:
push 0x264
mov eax, 0x4b9221
call fcn.00495a70
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x270], edi
call fcn.00495b20
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x218]
push eax
push str.HKCUSoftwareKingsoftOfficelanguages
call fcn.00450a65
lea eax, [ebp - 0x218]
push eax
call fcn.00495461
add esp, 0x20
test eax, eax
jne 0x418669
push edi
push esi
lea eax, [ebp - 0x218]
push eax
push str.HKLMSoftwareKingsoftOfficelanguages
call fcn.00450a65
add esp, 0x10
lea eax, [ebp - 0x218]
push 0x4c59b4
push eax
call fcn.00497c22
pop ecx
pop ecx
cmp eax, edi
je 0x418685
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.004025ee
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 4], edi
call fcn.0049256e
or dword [ebp - 4], 0xffffffff
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x250]
mov esi, eax
call fcn.00401129
cmp esi, edi
jbe 0x4186c7
mov dword [ebp - 0x270], esi
mov eax, dword [ebp - 0x270]
cmp eax, edi
jne 0x418799
push edi
lea eax, [ebp - 0x270]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonLocalUILanguage
call fcn.00450caf
add esp, 0xc
cmp eax, edi
jl 0x4186fc
mov eax, dword [ebp - 0x270]
cmp eax, edi
jne 0x418799
push str._MulLang::GetCurrentLangID_Failed_to_ReadDWord.
push str.kupdate::KMullangResLoader::_GetCurrentLangID
push 0xc9
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcpublic_MulLang.h
push 5
call fcn.004030c6
lea eax, [ebp - 0x26c]
push 0x17
push eax
call fcn.0044e8e7
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x418733
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.004099d2
push edi
push ebx
lea ecx, [ebp - 0x26c]
call fcn.00401129
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x418761
lea eax, [ebp - 0x234]
push eax
push edi
push str.UILanguage
push 0x4c59b8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
push edi
push ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], eax
call fcn.00401129
mov eax, dword [ebp - 0x270]
cmp eax, edi
jne 0x418799
call dword [sym.imp.KERNEL32.DLL_GetSystemDefaultLangID]
movzx eax, ax
call fcn.00495af3
ret
Function at 0x41ec90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x228
mov eax, 0x4b85b7
call fcn.00495a70
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor edi, edi
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00495b20
add esp, 0xc
push edi
push 0x10
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0044d925
push esi
mov dword [ebp - 4], edi
call fcn.00495461
add esp, 0xc
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
mov esi, str..lnk
push esi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41ed2d
lea eax, [ebp - 0x234]
push edi
push edi
push edi
push eax
push 0x4ccdd4
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41ed52
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.0044d3b5
pop ecx
pop ecx
push edi
neg eax
push 1
lea ecx, [ebp - 0x234]
sbb esi, esi
call fcn.00401129
lea eax, [esi + 1]
call fcn.00495af3
ret
Function at 0x41ed76
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x24c
mov eax, 0x4b9dd0
call fcn.00495a70
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x41ef29
push edi
call fcn.00495461
pop ecx
test eax, eax
je 0x41ef29
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00495b20
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41ee0c
push ebx
mov ecx, esi
call fcn.004025ee
jmp 0x41ef37
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004025ee
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch_
push esi
mov byte [ebp - 4], 1
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
call fcn.0044f113
test al, al
je 0x41ee5d
mov esi, str.User_PinnedTaskBar_
push esi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
push edi
call fcn.00495461
pop ecx
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.0040136b
mov esi, str..lnk
push esi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x41ee9f
lea eax, [ebp - 0x234]
push eax
push str.taskbarpinLink_check___s.
push str.kupdate::KDesktopLink::getTaskbarPinned
push 0x199
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcprotocolKProcedureImpl.cpp
push ebx
call fcn.004030c6
mov eax, dword [ebp - 0x234]
add esp, 0x18
cmp dword [ebp - 0x220], 8
jae 0x41eed2
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41eef3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x250]
call fcn.004024d5
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x250]
push eax
call fcn.0040267b
push ebx
push 1
lea ecx, [ebp - 0x234]
call fcn.00401129
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00401129
mov eax, dword [ebp - 0x254]
jmp 0x41ef47
lea eax, [ebp - 0x250]
push eax
mov ecx, esi
call fcn.0040267b
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00401129
mov eax, esi
call fcn.00495af3
ret
Function at 0x422bc3
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 8], 0x80004005
mov dword [ebp - 4], ebx
call fcn.00495461
pop ecx
push eax
push dword [ebp + 8]
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.00402570
cmp dword [edi + 0x14], 8
jb 0x422bf8
mov edi, dword [edi]
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x422c75
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x422c6c
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x422c34
push eax
call fcn.00495548
pop ecx
push edi
call fcn.004938c3
pop ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push dword [ebp + 8]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x422c6c
xor eax, eax
cmp dword [ebp - 4], ebx
sete al
cmp eax, edi
je 0x422c6c
push edi
mov ecx, esi
call fcn.00422b49
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x422dfa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x422e1a
push ebx
push ebx
push ebx
push 2
call fcn.004258e1
xor al, al
jmp 0x422ed7
push esi
call fcn.00422d67
or dword [edi + 8], 0xffffffff
or dword [edi + 4], 0xffffffff
push 2
push ebx
push dword [ebp + 8]
call fcn.0049abad
push dword [ebp + 8]
call fcn.0049aabe
push ebx
push ebx
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.0049abad
add esp, 0x1c
cmp esi, ebx
jg 0x422e58
push ebx
push ebx
push ebx
push 0xc
jmp 0x422e85
inc esi
push esi
call fcn.004938c3
push dword [ebp + 8]
mov esi, eax
push 1
push dword [ebp - 4]
mov byte [esi], bl
push esi
call fcn.004963c7
add esp, 0x14
cmp eax, 1
je 0x422e90
push esi
call fcn.00495548
pop ecx
push ebx
push ebx
push ebx
push 2
mov ecx, edi
call fcn.004258e1
xor al, al
jmp 0x422ed6
mov edx, dword [ebp - 4]
mov byte [esi + edx], bl
mov ecx, esi
mov eax, esi
cmp byte [esi], bl
je 0x422eb9
mov dl, byte [ecx]
cmp dl, 0xd
jne 0x422eb1
mov byte [eax], 0xa
inc eax
inc ecx
cmp byte [ecx], 0xa
jne 0x422eb5
jmp 0x422eb4
mov byte [eax], dl
inc eax
inc ecx
cmp byte [ecx], bl
jne 0x422e9e
push dword [ebp + 0xc]
mov byte [eax], bl
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 8]
push esi
call fcn.00495548
xor eax, eax
cmp byte [edi + 0x44], bl
pop ecx
sete al
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x42782e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42783c
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4278f7
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4cfb40]
add edx, 8
sub edi, 8
dec esi
jne 0x42785a
pop ebx
test edi, edi
je 0x427910
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4cfb40]
inc edx
dec edi
jne 0x4278fb
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x427916
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4cfb40]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4cfb40]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x427ddd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x427e11
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x427e0c
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x427e39
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x427e22
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00495100
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret
Function at 0x428c63
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x428c97
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428c97
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x428d41
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x428cb3
cmp cx, 0x5c
jne 0x428cb5
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x428ca7
cmp eax, esi
je 0x428cf5
sub eax, esi
push edi
sar eax, 1
lea edi, [eax + eax]
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00495100
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00428c63
add esp, 0x14
pop edi
xor eax, eax
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x428d11
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0049755c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0049752b
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428d41
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret

Function at 0x42a2e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42a393
cmp dword [esi + 4], 0xffffffff
jne 0x42a393
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push edi
call fcn.00495461
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp eax, 0x5c
je 0x42a33a
cmp eax, 0x2f
je 0x42a33a
push 0x4c1660
push edi
call fcn.0049752b
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x42a35c
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42a35c
mov eax, 0x2000000
jmp 0x42a398
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00427c02
add esp, 0x10
test eax, eax
jne 0x42a37a
mov eax, dword [ebp + 0x10]
jmp 0x42a398
push eax
call fcn.00429dbd
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x42a398
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x42c9d2
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x4baa1c
call fcn.00495a07
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xf4], esi
jne 0x42ca83
mov edi, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push esi
call edi
mov dword [ebx + 0xf4], eax
cmp eax, esi
jne 0x42ca83
push 0x500274
lea ecx, [ebp - 0x10]
call fcn.00411580
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0041192d
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041151c
mov esi, str.winhlp32.exe
push esi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0042b612
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42ca71
push 0x6a
push esi
call edi
test eax, eax
je 0x42ca71
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0xf4], eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00410e69
call fcn.00495adf
ret

Function at 0x430437
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4304ad
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004959f8
leave
ret 0xc

Function at 0x43058e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x430610
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
cmp eax, ecx
jle 0x4305f6
cmp dword [ebp - 0x14], edi
je 0x430610
mov ecx, dword [esi]
mov eax, ecx
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov edx, eax
sub edx, ecx
add dword [esi + 8], edx
mov dword [esi], eax
jmp 0x430610
cmp dword [ebp - 0x10], edi
je 0x430610
mov ecx, dword [esi + 4]
mov eax, ecx
sub eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov edx, eax
sub edx, ecx
add dword [esi + 0xc], edx
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004959f8
leave
ret 4