joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e695
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetPropW]
push str.PropChildState
push dword [esi + 4]
call edi
test eax, eax
jne 0x40e7b6
push str.PropChildFocus
push dword [esi + 0x28]
call edi
cmp eax, 4
je 0x40e6d9
test eax, eax
jne 0x40e7b6
push dword [esi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_IsWindowEnabled]
call edi
test eax, eax
je 0x40e7b6
push dword [esi + 4]
call edi
test eax, eax
je 0x40e7b6
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call edi
mov ebx, eax
cmp ebx, dword [esi + 4]
je 0x40e762
cmp ebx, dword [esi + 0x2c]
je 0x40e762
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x48000000
je 0x40e7b6
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.004dbcc0
add esp, 0xc
push 0x40
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.32770
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ebx, eax
test ebx, ebx
je 0x40e7b6
push str.juzi:newtab
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7b6
push str.about:blank
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40e7b6
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xffff8000
test cx, ax
je 0x40e7c6
push 0
push 0xc8
push 0xfeeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d5a7d
leave
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov ebx, eax
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 0x88], eax
call edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [ebp - 0x88]
push ebx
call edi
xor eax, eax
inc eax
jmp 0x40e7b8

Function at 0x40ed5e
Capabilities:
Read file via mapping

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0xf001f
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
ret 4
Function at 0x41104d
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push esi
push edi
mov edi, 0xa000
push edi
mov dword [esp + 0xc], edi
call fcn.004d4f20
mov esi, eax
pop ecx
test esi, esi
je 0x411127
push ebp
push edi
push 0
push esi
call fcn.004dbcc0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push esi
push str.cookie:
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebp, eax
test ebp, ebp
je 0x41111f
push ebx
mov ebx, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, dword [esi + 4]
test eax, eax
je 0x4110f0
push str..a695ed49_1563_4d6c_974e_65414d2c2498
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x4110f0
push dword [0x546fbc]
push 0x546fc0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNA]
test eax, eax
je 0x4110f0
push dword [esi + 4]
call ebx
test eax, eax
jne 0x4110f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4110f0
push 0
push dword [esi + 4]
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFileA]
push dword [esi + 4]
call ebx
push edi
push 0
push esi
mov dword [esp + 0x1c], edi
call fcn.004dbcc0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi], eax
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x41109f
push ebp
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop ebx
push esi
call fcn.004d5a72
pop ecx
pop ebp
pop edi
pop esi
pop ecx
ret

Function at 0x412b0a
Capabilities:
Check if file exists
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412c05
push 0x511454
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
call fcn.004d91eb
add esp, 0xc
test eax, eax
jne 0x412c02
push ebx
push 2
push esi
push dword [ebp - 4]
call fcn.004d92c8
push dword [ebp - 4]
call fcn.004d94ea
push esi
push esi
push dword [ebp - 4]
mov ebx, eax
call fcn.004d92c8
add esp, 0x1c
cmp ebx, 0x10
jb 0x412bf8
push edi
push dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push 0x10
push eax
call fcn.004d97f8
add esp, 0x10
cmp dword [ebp - 0x18], 0x10
jne 0x412bf7
mov edi, dword [ebp - 0x10]
lea eax, [edi + 0x10]
cmp ebx, eax
jne 0x412bf7
lea ebx, [edi + 1]
push ebx
call fcn.004d4f20
mov esi, eax
pop ecx
test esi, esi
je 0x412bf7
push ebx
push 0
push esi
call fcn.004dbcc0
push dword [ebp - 4]
xor ebx, ebx
push edi
inc ebx
push ebx
push esi
call fcn.004d97f8
add esp, 0x1c
test edi, edi
je 0x412bde
xor eax, eax
test edi, edi
jbe 0x412bde
xor byte [eax + esi], 0x9c
inc eax
cmp eax, edi
jb 0x412bd5
push edi
push esi
call fcn.00412ce3
cmp eax, dword [ebp - 0xc]
jne 0x412bf7
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp - 8], ebx
pop edi
push dword [ebp - 4]
call fcn.004d9a70
pop ecx
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 0xc
Function at 0x412c4d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x511454
push dword [ebp + 8]
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004d91eb
add esp, 0xc
test eax, eax
jne 0x412cda
push 2
push esi
push dword [ebp - 4]
call fcn.004d92c8
push dword [ebp - 4]
call fcn.004d94ea
push esi
push esi
push dword [ebp - 4]
mov ebx, eax
call fcn.004d92c8
add esp, 0x1c
cmp ebx, 0x10
jb 0x412cd1
push dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004d97f8
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
jne 0x412cd1
mov eax, dword [ebp - 0xc]
add eax, 0x10
cmp ebx, eax
jne 0x412cd1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
inc esi
push dword [ebp - 4]
call fcn.004d9a70
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x412ce3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x412cf8
xor eax, eax
jmp 0x412d69
push 0x3fc
lea eax, [ebp - 0x3fc]
push esi
push eax
mov dword [ebp - 0x400], esi
call fcn.004dbcc0
add esp, 0xc
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x412d27
shr eax, 1
xor eax, 0xedb88320
jmp 0x412d29
shr eax, 1
dec edx
jne 0x412d1a
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jb 0x412d15
or eax, 0xffffffff
xor ecx, ecx
cmp dword [ebp + 0xc], esi
jbe 0x412d67
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
mov esi, eax
and esi, 0xff
xor edx, esi
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x412d46
not eax
pop esi
leave
ret 8

Function at 0x412dde
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push edi
mov esi, 0x54cc58
cmp ax, word [0x54cc58]
jne 0x412e7b
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x511468
mov ebx, 0x549db4
push ebx
push esi
call edi
push str.excpt.dat
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
test eax, eax
je 0x412e3f
xor eax, eax
mov word [0x54cc58], ax
jmp 0x412e7d
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004dbcc0
add esp, 0xc
push 0x511468
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x12
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5a7d
leave
ret
Function at 0x412e8c
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push edi
cmp dword [0x547350], ebx
jne 0x412f66
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x412eb5
push 2
pop eax
jmp 0x412f68
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push edi
call esi
push str.SymSetOptions
push edi
mov dword [0x547350], eax
call esi
push str.StackWalk
push edi
mov dword [0x547354], eax
call esi
push str.SymFunctionTableAccess
push edi
mov dword [0x547348], eax
call esi
push str.MiniDumpWriteDump
push edi
mov dword [0x54734c], eax
call esi
push str.SymGetModuleBase
push edi
mov dword [0x547358], eax
call esi
push str.GetModuleFileNameExW
push 0x51152c
mov dword [0x54735c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
mov ecx, dword [0x547350]
mov dword [0x547360], eax
pop esi
cmp ecx, ebx
je 0x412f6b
mov edx, dword [0x547354]
cmp edx, ebx
je 0x412f6b
cmp dword [0x547348], ebx
je 0x412f6b
cmp dword [0x54734c], ebx
je 0x412f6b
cmp dword [0x547358], ebx
je 0x412f6b
cmp eax, ebx
je 0x412f6b
push 0x12
call edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x547350]
xor eax, eax
pop edi
pop ebx
ret
mov dword [ecx], ebx
push 6
jmp 0x412eaf
Function at 0x414059
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
inc dword [0x547040]
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x414073
xor eax, eax
inc eax
jmp 0x414146
push ebx
push edi
mov edi, 0x24e8
push edi
call fcn.004d6661
push edi
mov ebx, eax
push 0
push ebx
call fcn.004dbcc0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x324], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x328], eax
mov esi, dword [esi + 4]
mov eax, dword [ebp + 8]
push 0x14
lea edi, [ebx + 0x50]
mov ecx, 0xb3
rep movsd dword es:[edi], dword [esi]
mov esi, dword [eax]
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x413e70
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x493e0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4140f3
push ebx
call fcn.004d5a72
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edi, edi
inc edi
cmp dword [eax], 0xc00000fd
jne 0x414142
xor eax, eax
cmp eax, fcn.004d9aec
je 0x41411f
call fcn.004d9aec
test eax, eax
je 0x41411f
or edi, 0xffffffff
mov eax, dword [0x547364]
cmp eax, esi
je 0x414142
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], esi
call eax
add dword [ebp + 8], 0x200000
lea eax, [ebp + 8]
push eax
call dword [0x547364]
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4162d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10ec
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0x10e8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x24], eax
xor edi, edi
mov eax, 0x800c0011
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
cmp ecx, edi
je 0x416482
cmp word [ecx], di
je 0x416482
cmp edx, edi
je 0x416482
cmp word [edx], di
je 0x416482
xor eax, eax
push 0x7e
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push edi
push eax
call fcn.004dbcc0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x40
lea ebx, [esp + 0x2c]
mov edi, str.x_flash_version
call fcn.00416499
test eax, eax
je 0x416378
mov eax, 0x800c0011
jmp 0x416482
call fcn.004661af
mov ecx, eax
mov eax, dword [esp + 0x14]
call fcn.00466830
test eax, eax
jne 0x41636e
push 0x1046
push eax
mov word [esp + 0xb0], ax
lea eax, [esp + 0xb2]
push eax
call fcn.004dbcc0
mov ecx, dword [esp + 0x24]
add esp, 0xc
push 0x824
lea ebx, [esp + 0xac]
mov edi, str.Referer
call fcn.00416499
xor ebx, ebx
cmp eax, ebx
je 0x41636e
mov dword [esp + 0x18], ebx
call fcn.004661af
mov ecx, dword [esp + 0x14]
call fcn.004668bb
mov dword [esp + 0x1c], eax
call fcn.004661af
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.004663a8
test eax, eax
je 0x41647e
cmp dword [esp + 0x1c], 2
jne 0x41646c
push str.BINARY
push str.IDR_GIF_TANS
push dword [0x5473cc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push dword [0x5473cc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x5473cc]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, dword [esp + 0x20]
mov dword [esi + 0x14], eax
mov esi, dword [esi + 0x18]
mov eax, dword [edi]
push esi
push esi
push 0xd
push edi
call dword [eax + 0x14]
mov eax, dword [edi]
push ebx
push 0xc8
push ebx
push edi
call dword [eax + 0x18]
mov dword [esp + 0x10], ebx
jmp 0x416474
mov dword [esp + 0x10], 0x80004005
mov eax, dword [esp + 0x24]
mov dword [eax], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d5a7d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4169ba
Capabilities:
Parse url

Disassembly:
push ebp
lea ebp, [esp - 0x141c]
mov eax, 0x149c
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x1418], eax
mov eax, dword [ebp + 0x1424]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x44], eax
cmp ebx, edi
je 0x416b15
xor ecx, ecx
cmp cx, word [ebx]
je 0x416b15
cmp eax, edi
je 0x416b15
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x1008], ax
lea eax, [ebp + 0x100a]
push edi
push eax
call fcn.004dbcc0
xor eax, eax
push esi
mov word [ebp + 0x1210], ax
lea eax, [ebp + 0x1212]
push edi
push eax
call fcn.004dbcc0
push 0x38
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.004dbcc0
lea eax, [ebp + 0x1008]
mov dword [ebp - 0x7c], eax
mov eax, 0x104
lea ecx, [ebp + 0x1210]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], eax
mov eax, ebx
mov dword [ebp - 0x70], ecx
add esp, 0x24
mov dword [ebp - 0x80], 0x3c
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x416a6c
mov esi, dword [sym.imp.WININET.dll_InternetCrackUrlW]
sub eax, ecx
lea ecx, [ebp - 0x80]
push ecx
push edi
sar eax, 1
push eax
push ebx
call esi
cmp eax, edi
jne 0x416add
xor eax, eax
push 0x1046
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push edi
push eax
call fcn.004dbcc0
push ebx
push str.http:___s_
lea eax, [ebp - 0x40]
push 0x823
push eax
call fcn.004d5add
lea eax, [ebp - 0x40]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x416abf
lea ecx, [ebp - 0x80]
push ecx
sub eax, edx
sar eax, 1
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call esi
cmp eax, edi
je 0x416b15
mov esi, dword [ebp + 0x1428]
lea eax, [esi + esi]
push eax
push edi
push dword [ebp - 0x44]
call fcn.004dbcc0
lea eax, [ebp + 0x1210]
push eax
lea eax, [ebp + 0x1008]
push eax
push str._s:___s_favicon.ico
dec esi
push esi
push dword [ebp - 0x44]
call fcn.004d5add
xor eax, eax
add esp, 0x20
inc eax
jmp 0x416b17
xor eax, eax
mov ecx, dword [ebp + 0x1418]
pop edi
xor ecx, ebp
pop esi
call fcn.004d5a7d
add ebp, 0x141c
leave
ret
Function at 0x417010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0xe52f
mov word [ebp - 0x30], ax
mov eax, 0x467c
mov word [ebp - 0x2e], ax
mov eax, 0x9614
mov word [ebp - 0x10], ax
mov eax, 0x4f35
mov word [ebp - 0xe], ax
mov eax, 0x4d5e
mov word [ebp - 0x20], ax
push esi
mov eax, 0x40bb
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
xor esi, esi
push esi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0xbcde0395
mov byte [ebp - 0x2c], 0x8e
mov byte [ebp - 0x2b], 0x3d
mov byte [ebp - 0x2a], 0xc4
mov byte [ebp - 0x29], 0x57
mov byte [ebp - 0x28], 0x92
mov byte [ebp - 0x27], 0x91
mov byte [ebp - 0x26], 0x69
mov byte [ebp - 0x25], 0x2e
mov dword [ebp - 0x14], 0xa95664d2
mov byte [ebp - 0xc], 0xa7
mov byte [ebp - 0xb], 0x46
mov byte [ebp - 0xa], 0xde
mov byte [ebp - 9], 0x8d
mov byte [ebp - 8], 0xb6
mov byte [ebp - 7], 0x36
mov byte [ebp - 6], 0x17
mov byte [ebp - 5], 0xe6
mov dword [ebp - 0x24], 0xbfa971f1
mov byte [ebp - 0x1c], 0x93
mov byte [ebp - 0x1b], 0x5e
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x39
mov byte [ebp - 0x17], 0xbf
mov byte [ebp - 0x16], 0xbe
mov byte [ebp - 0x15], 0xe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x417186
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x417186
lea edx, [ebp - 0x3c]
push edx
push 1
push esi
mov dword [ebp - 0x3c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x41717d
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x41717d
lea edx, [ebp - 0x40]
push edx
push esi
push 1
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x40], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x417174
mov eax, dword [ebp - 0x40]
cmp eax, esi
je 0x417174
lea edx, [ebp - 0x44]
push edx
push esi
push 0x5146f0
mov dword [ebp - 0x44], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x41716b
mov eax, dword [ebp - 0x44]
cmp eax, esi
je 0x41716b
mov ecx, dword [eax]
push esi
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
neg esi
sbb esi, esi
push eax
inc esi
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d5a7d
leave
ret
Function at 0x4175ed
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push 0x20
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x417683
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
je 0x417679
lea eax, [edi + 2]
push ebx
push eax
call fcn.004d4f20
mov ebx, eax
pop ecx
cmp ebx, esi
je 0x417678
lea eax, [edi + 2]
push eax
push esi
push ebx
call fcn.004dbcc0
add esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417671
cmp edi, dword [ebp - 4]
jne 0x417671
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
call fcn.004113f1
push ebx
call fcn.004d5e58
pop ecx
pop ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 0xc]
pop esi
leave
ret

Function at 0x417af8
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
jne 0x417b16
xor eax, eax
jmp 0x417b91
cmp word [0x54ce78], 0
push esi
mov esi, 0x54ce78
jne 0x417b32
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004dbcc0
push edi
push esi
push 0x507a0c
mov ecx, 0x105
lea edi, [ebp - 0x210]
call fcn.0040299a
add esp, 0x18
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x417b8e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417b8e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004d5a7d
leave
ret
Function at 0x4182b6
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x9c
mov eax, dword [0x52ec00]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
cmp eax, ebx
je 0x4183d9
push esi
push edi
push 0x7e
pop edi
xor eax, eax
push edi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x12]
push ebx
push eax
call fcn.004dbcc0
xor esi, esi
inc esi
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
cmp dword [ebp + 0x7c], ebx
jne 0x418335
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x507b1c
push str.Softwarehao123JuziBrowser
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x418335
cmp word [ebp - 0x14], bx
jne 0x4183b9
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push eax
push 0x417d79
push ebx
push ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4183aa
push 0x80
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.004dbcc0
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x507b1c
push str.Softwarehao123JuziBrowser
push 0x80000001
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x14], bx
je 0x4183d2
lea eax, [ebp - 0x14]
push eax
push 0x50e498
push 0x40
push dword [ebp - 0x28]
call fcn.004d5add
add esp, 0x10
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
pop edi
pop esi
jmp 0x4183db
xor eax, eax
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
pop ebx
call fcn.004d5a7d
add ebp, 0x70
leave
ret