joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413f63
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.YYSetupCore::_do3XUpdate_begin.
mov esi, ecx
call fcn.0044c2ed
mov dword [esp], str.yywizard.exe
add esi, 8
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c29
push 0x40
xor esi, esi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0044d010
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
cmp dword [ebp - 8], 8
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], 0x44
jae 0x413fc4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414004
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.YYSetupCore::_do3XUpdate__wait_finish.
call fcn.0044c2ed
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x2c]
call edi
push str.YYSetupCore::_do3XUpdate_finish.
call fcn.0044c2ed
pop ecx
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044ca2f
leave
ret
Function at 0x414482
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x86c]
sub esp, 0x8ec
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x868], eax
mov eax, dword [ebp + 0x87c]
push ebx
push esi
mov esi, dword [ebp + 0x878]
push edi
mov edi, dword [ebp + 0x874]
mov dword [ebp + 0x48], eax
xor eax, eax
push 0x7fe
mov word [ebp + 0x68], ax
xor ebx, ebx
lea eax, [ebp + 0x6a]
push ebx
push eax
mov dword [ebp + 0x44], esi
call fcn.0044d010
add esp, 0xc
cmp esi, ebx
je 0x4145ad
mov esi, 0x47369c
push esi
push edi
push esi
lea ecx, [ebp - 4]
call fcn.00406c07
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c5e
add esp, 0xc
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00406c29
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x18]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.004064bb
push esi
push dword [ebp + 0x44]
lea ecx, [ebp - 0x20]
call fcn.00406c07
push eax
push 0x4760f8
lea ecx, [ebp - 0x3c]
call fcn.00406c07
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c5e
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406c29
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x4c]
call fcn.004066a2
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp + 0x18]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004064bb
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.004064bb
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x41458f
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.0044e901
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.004064bb
jmp 0x4145cd
cmp dword [edi + 0x18], 8
jb 0x4145b8
mov edi, dword [edi + 4]
jmp 0x4145bb
add edi, 4
push edi
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.0044e901
add esp, 0xc
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0044d010
xor eax, eax
mov dword [ebp + 0x34], ebx
lea edi, [ebp + 0x38]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x48]
lea eax, [ebp + 0x68]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414630
cmp byte [ebp + 0x880], bl
je 0x414620
push 0xffffffffffffffff
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x38]
call esi
mov ecx, dword [ebp + 0x868]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x86c
leave
ret 0x10
Function at 0x414746
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push str..lnk
mov edi, 0x473a64
push edi
push eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x298], ecx
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c29
add esp, 0xc
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
push 0x24c
lea eax, [ebp - 0x288]
push ebx
push eax
mov dword [ebp - 0x28c], ebx
call fcn.0044d010
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x4147c7
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x41487e
test byte [ebp - 0x28c], 0x10
jne 0x414857
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 0x294]
lea eax, [ebp - 0x2b4]
push eax
call fcn.00406c29
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c29
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2b4]
call fcn.004064bb
cmp dword [esi + 0x18], 8
jb 0x414830
mov eax, dword [esi + 4]
jmp 0x414833
lea eax, [esi + 4]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x41483f
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.00413d8e
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4147e4
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064bb
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
leave
ret 8
Function at 0x4149c5
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x284
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
xor eax, eax
push 0x208
mov word [ebp - 0xc], ax
xor esi, esi
lea eax, [ebp - 0xa]
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x64], ebx
call fcn.0044d010
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc]
push eax
push str._APPDATA_MicrosoftInternet_ExplorerQuick_Launch
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x414b35
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406c07
push str.YY.exe
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406c29
mov eax, dword [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 0x2c], 8
jae 0x414a4a
lea eax, [ebp - 0x40]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x414a67
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00414746
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 7
call fcn.004062d2
push str.User_PinnedStartMenu
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c29
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00406799
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.004064bb
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x414ab1
lea eax, [ebp - 0x24]
push eax
call edi
test eax, eax
je 0x414ac8
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414746
push str.User_PinnedTaskBar
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c29
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00406799
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.004064bb
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x414aff
lea eax, [ebp - 0x24]
push eax
call edi
pop edi
test eax, eax
je 0x414b17
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00414746
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004064bb
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.004064bb
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.004064bb
mov ecx, dword [ebp + 0x200]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x204
leave
ret
Function at 0x414e5e
Capabilities:
Terminate process

Disassembly:
push str.DUOWAN_SPEAK_MAIN_FRAME__4D1BB563_E5FC_4771_AD17_6442A4147044
push dword [esp + 8]
call fcn.00409898
pop ecx
pop ecx
test eax, eax
je 0x414e8d
push 0
push 0
push 0x8259
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str.YYSetupDecompressor::_quitYY__post_message__WM_APP__601__to_YY_for_quit.
call fcn.0044c2ed
pop ecx
push esi
push dword [esp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x414eb2
push str.YYSetupDecompressor::_quitYY__OpenProcess_return_NULL__YY_already_quit.
call fcn.0044c2ed
pop ecx
jmp 0x414ed9
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x414ed9
push str.YYSetupDecompressor::_quitYY__WaitForSingleObject_time_out__will_terminate_process.
call fcn.0044c2ed
pop ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret 4

Function at 0x414edd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 0x474cd8
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x414f02
push str.YYSetupDecompressor::_load7zDataFromResource__Find_resource_yy.7z__fail.
call fcn.0044c2ed
pop ecx
xor eax, eax
jmp 0x414f33
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x414f21
push str.YYSetupDecompressor::_load7zDataFromResource__Load_resource_yy.7z__fail.
call fcn.0044c2ed
pop ecx
xor eax, eax
jmp 0x414f32
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x41520d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str..old
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c29
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x41523f
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x415252
lea eax, [ebp - 0x1c]
cmp dword [esi + 0x18], 8
jb 0x41525d
mov esi, dword [esi + 4]
jmp 0x415260
add esi, 4
push eax
push esi
call fcn.00408358
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044ca2f
leave
ret 4
Function at 0x41555d
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x228
mov dword [ebp - 0x6b8], eax
xor esi, esi
lea eax, [ebp - 0x280]
push esi
push eax
mov dword [ebp - 0x6b4], ecx
call fcn.0044d010
add esp, 0xc
push esi
push 2
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x284]
push ecx
push eax
mov dword [ebp - 0x6b0], eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4156c3
mov edi, str.YY.exe
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406c07
push edi
lea ecx, [ebp - 0x20]
call fcn.00406c07
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408ac6
pop ecx
pop ecx
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x20]
inc bl
call fcn.004064bb
test bl, bl
je 0x41569c
push 0x424
lea eax, [ebp - 0x6a8]
push esi
push eax
call fcn.0044d010
add esp, 0xc
push dword [ebp - 0x27c]
mov dword [ebp - 0x6ac], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x6ac]
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406c07
mov eax, dword [ebp - 0x6b4]
add eax, 0x2c
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c29
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408ac6
add esp, 0x14
push esi
push 1
test eax, eax
je 0x4156e2
lea ecx, [ebp - 0x3c]
call fcn.004064bb
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x6b0]
call sub.KERNEL32.dll_Process32NextW
push esi
push 1
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.004064bb
cmp ebx, esi
jne 0x4155cb
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
leave
ret 4
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x6b8]
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
call fcn.004064bb
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.004064bb
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.004064bb
mov al, 1
jmp 0x4156d1

Function at 0x41574e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, ecx
call fcn.00414edd
mov edi, eax
test edi, edi
jne 0x415778
push str.YYSetupDecompressor::_decompress___load7zDataFromResource_fail.
call fcn.0044c2ed
pop ecx
xor al, al
jmp 0x4157ac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test esi, esi
je 0x415788
lea ecx, [esi + 0x24]
jmp 0x41578a
xor ecx, ecx
push ebx
push ecx
push dword [esi + 0x28]
lea ecx, [esi + 0x2c]
push ecx
push dword [ebp - 4]
push eax
call fcn.004154eb
add esp, 0x14
push edi
mov ecx, esi
mov bl, al
call fcn.00414f37
mov al, bl
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4157b0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
mov eax, ecx
push edi
lea edi, [eax + 0x2c]
lea eax, [ebp - 0x34]
push edi
push eax
mov dword [ebp - 0x38], edi
call fcn.00409ac8
push str.temp
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406c29
lea eax, [ebp - 0x18]
push eax
call fcn.00409675
mov eax, dword [ebp - 0x14]
add esp, 0x18
push 8
pop ebx
cmp dword [ebp], ebx
jae 0x415806
lea eax, [ebp - 0x14]
push eax
push str.YYSetupCore::cleanUpFile__delete_temp_directory__s
call fcn.0044c2ed
push str.updatefiles
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 4]
push eax
call fcn.00406c29
lea eax, [ebp + 4]
push eax
call fcn.00409675
mov eax, dword [ebp + 8]
add esp, 0x18
cmp dword [ebp + 0x1c], ebx
jae 0x41583a
lea eax, [ebp + 8]
push eax
mov esi, str.YYSetupCore::cleanUpFile__Delete_temp_directory__s
push esi
call fcn.0044c2ed
lea eax, [ebp + 0x20]
push edi
push eax
call fcn.00409bcf
lea eax, [ebp + 0x20]
push eax
call fcn.00409675
mov eax, dword [ebp + 0x24]
add esp, 0x14
cmp dword [ebp + 0x38], ebx
jae 0x415867
lea eax, [ebp + 0x24]
push eax
push str.YYSetupCore::cleanUpFile__strUpdateCachePath_s
call fcn.0044c2ed
push str.oem.txt
lea eax, [ebp + 0x58]
push edi
push eax
call fcn.00406c29
push str.ProductInfo.txt
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.00406c29
mov eax, dword [ebp + 0x5c]
add esp, 0x20
cmp dword [ebp + 0x70], ebx
jae 0x4158a1
lea eax, [ebp + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov eax, dword [ebp + 0x5c]
cmp dword [ebp + 0x70], ebx
jae 0x4158b5
lea eax, [ebp + 0x5c]
push eax
push esi
call fcn.0044c2ed
mov eax, dword [ebp + 0x40]
pop ecx
pop ecx
cmp dword [ebp + 0x54], ebx
jae 0x4158c9
lea eax, [ebp + 0x40]
push eax
call edi
mov eax, dword [ebp + 0x40]
cmp dword [ebp + 0x54], ebx
jae 0x4158d7
lea eax, [ebp + 0x40]
push eax
push esi
call fcn.0044c2ed
push dword [ebp - 0x38]
call fcn.0040bcca
push str.YYSetupCore::cleanUpFile__clean_single_directory_old_files.
call fcn.0044c2ed
push dword [ebp - 0x38]
call fcn.0040c386
push str.YYSetupCore::cleanUpFile__clean_old_directories_before_install.
call fcn.0044c2ed
add esp, 0x18
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp + 0x3c]
call fcn.004064bb
push edi
push esi
lea ecx, [ebp + 0x58]
call fcn.004064bb
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.004064bb
push edi
push esi
lea ecx, [ebp + 4]
call fcn.004064bb
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.004064bb
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.004064bb
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x78
leave
ret
Function at 0x415d93
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push str.YYSetupDecompressor::_syncDecompress_begin__silence_model_.
mov esi, ecx
call fcn.0044c2ed
and dword [ebp - 8], 0
pop ecx
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.0041555d
test al, al
je 0x415dce
push str.YYSetupDecompressor::_syncDecompress___isYYRunning_return_true.
call fcn.0044c2ed
pop ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x415e22
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov byte [ebp - 8], 0
call fcn.00414edd
mov edi, eax
test edi, edi
je 0x415e16
mov ecx, esi
call fcn.004157b0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push dword [esi + 0x28]
lea ecx, [esi + 0x2c]
push ecx
push dword [ebp - 4]
push eax
call fcn.004154eb
add esp, 0x14
push edi
mov ecx, esi
mov byte [ebp - 8], al
call fcn.00414f37
mov ecx, dword [esi + 0x28]
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
pop edi
pop esi
leave
ret

Function at 0x416337
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x41821e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4df258], 0
jne 0x4182b6
push esi
push 0x4db1d0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0044d010
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044e82e
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044e817
lea eax, [ebp - 0x20c]
push str._disablemempool
push eax
call fcn.0044db7c
add esp, 0x20
pop esi
test eax, eax
je 0x4182ac
mov byte [0x4df254], 1
mov dword [0x4df258], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044ca2f
leave
ret

Function at 0x418c5b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0040ee1b
lea eax, [ebp - 0x1c]
push eax
push 0x477830
push 0x4e0fa8
call fcn.00410481
pop ecx
pop ecx
push eax
call fcn.00418a5e
push eax
call fcn.00418c27
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004064bb
lea ebx, [esi + 4]
test ebx, ebx
je 0x418cb0
lea eax, [esi + 0xc]
jmp 0x418cb2
xor eax, eax
push 0x47782c
push eax
call fcn.00410481
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0040ee1b
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x418cd6
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004064bb
mov ecx, ebx
call fcn.0041898f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419e6e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00419ca7
and byte [esi + 0x24], 0xf8
xor eax, eax
push 0x10
mov dword [esi], 0x4779dc
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi + 0x24]
mov edi, 0x4000000
push edi
shr eax, 8
test al, al
seta al
xor cl, al
and cl, 1
xor byte [esi + 0x24], cl
call fcn.00418ff8
add al, al
xor al, byte [esi + 0x24]
mov ebx, 0x8000000
and al, 2
xor byte [esi + 0x24], al
push ebx
call fcn.00418ff8
shl al, 2
xor al, byte [esi + 0x24]
pop ecx
and al, 4
xor byte [esi + 0x24], al
mov al, byte [esi + 0x24]
pop ecx
test al, 1
je 0x419ee3
and dword [esi + 0x28], 0x2000000
test al, 2
je 0x419eea
and dword [esi + 0x28], edi
test al, 4
je 0x419ef1
and dword [esi + 0x28], ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x42c63b
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42c68c
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x42c69d
push 0xd
pop eax
jmp 0x42c6ca
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42c6a0
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x42cc27
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4d9778]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.0042c5fa
mov ebx, eax
cmp ebx, esi
je 0x42cc97
lea ecx, [ebp - 0x70]
call fcn.0042c585
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ca2f
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42ccaf
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0042cc27
cmp eax, esi
jne 0x42cce1
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x42cc9f
lea ecx, [ebp - 0x70]
call fcn.0042c585
push dword [ebp - 0x78]
mov ecx, edi
call fcn.0042c52a
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0042c585
mov eax, esi
jmp 0x42cc7d