joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b1e0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x50eed6
push eax
mov eax, 0x1094
mov dword fs:[0], esp
call fcn.0050c9c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10b0]
xor ebp, ebp
push edi
cmp esi, ebp
mov ebx, ecx
je 0x46b3d6
cmp word [esi], bp
je 0x46b3d6
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x5e]
mov word [esp + 0x5c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x5c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x2c], 0x3c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x824
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x46b3d6
cmp word [esp + 0x5c], bp
je 0x46b3d2
mov edx, dword [0x527174]
lea eax, [esp + 0x5c]
test eax, eax
mov dword [esp + 0x10], edx
je 0x46b2d1
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebp
je 0x46b2d1
push esi
lea ecx, [esp + 0x14]
call fcn.00419b60
test eax, eax
je 0x46b2d1
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x5c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x1c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov dword [esp + 0x10b8], ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.004931e0
lea esi, [ebx + 8]
mov ecx, esi
call fcn.0048f810
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
je 0x46b3a7
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x46b3a7
mov eax, dword [0x527174]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov byte [esp + 0x10ac], 1
push eax
push ecx
mov ecx, esi
call fcn.0048f9c0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x46b355
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ebp, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov edx, dword [0x527100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46b37c
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x46b37c
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0050c98e
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x527100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46b3a7
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x46b3a7
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0050c98e
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x527100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46b3d2
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x46b3d2
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0050c98e
add esp, 4
mov eax, ebp
jmp 0x46b3d8
xor eax, eax
mov ecx, dword [esp + 0x10a4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10a0
ret 4
Function at 0x46b530
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x5cb2dc]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x46b549
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46b638
cmp word [esi], 0
je 0x46b638
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b638
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call fcn.0046a1a0
mov edi, eax
test edi, edi
jne 0x46b59c
pop edi
pop esi
pop ecx
ret 4
mov edx, dword [esp + 8]
inc edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x46b5c9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46b5c1
push eax
call fcn.0050c98e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.0047cd50
add esp, 8
test eax, eax
jle 0x46b613
push 1
push 8
push str.SWITCH_
push eax
push esi
push esi
call fcn.0041a830
push esi
push 0x5cb2dc
call fcn.00491170
add esp, 0x20
push esi
call fcn.0050c98e
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x46b62d
push eax
call fcn.0050c98e
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x46bac0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x46baea
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x46baea
lea eax, [esi + 0x18]
push eax
push 0
push esi
push 0x46b6d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
pop esi
ret
Function at 0x46baf0
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x46bb2f
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46bb2f
mov eax, dword [ebp + 0x1c]
cmp eax, esi
je 0x46bb2f
push eax
call edi
mov dword [ebp + 0x1c], esi
mov eax, dword [ebp + 0x1c]
cmp eax, esi
je 0x46bb3c
push eax
call edi
mov dword [ebp + 0x1c], esi
cmp dword [ebp + 4], esi
je 0x46bc6c
mov ebx, dword [esp + 0x878]
cmp ebx, esi
je 0x46bc6c
cmp byte [ebx], 0
je 0x46bc6c
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x87c]
cmp eax, esi
mov dword [esp + 0x28], 0x824
je 0x46bbde
mov edx, ebx
lea ecx, [esp + 0x50]
mov esi, 0x824
lea eax, [esp + 0x50]
sub edx, ecx
lea ecx, [esi + 0x7ffff7da]
test ecx, ecx
je 0x46bbd2
mov cl, byte [edx + eax]
test cl, cl
je 0x46bbd2
mov byte [eax], cl
inc eax
dec esi
jne 0x46bbb3
dec eax
xor esi, esi
mov byte [eax], 0
jmp 0x46bbfb
test esi, esi
jne 0x46bbd7
dec eax
mov byte [eax], 0
xor esi, esi
jmp 0x46bbfb
lea edx, [esp + 0x14]
push edx
push 0x10000000
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x46bc6c
mov al, byte [esp + 0x50]
test al, al
je 0x46bc6c
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x46bc0e
xor edi, edi
jmp 0x46bc16
mov edi, dword [ebp + 0x10]
sub edi, eax
sar edi, 2
test edi, edi
jle 0x46bc5b
mov ebx, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x46bc3d
add eax, 8
test eax, eax
je 0x46bc3d
lea ecx, [esp + 0x50]
push eax
push ecx
call ebx
test eax, eax
jne 0x46bc53
inc esi
cmp esi, edi
jl 0x46bc20
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x864
ret 8
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x864
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x864
ret 8
Function at 0x46ebc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50f170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.0046e360
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x46ec0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x46ed81
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00472900
cmp eax, ebx
jge 0x46ec57
cmp eax, 0x80004002
je 0x46ec57
push eax
call fcn.0050c8bb
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x46ed44
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x46ed31
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.0045e0a0
cmp eax, ebx
jge 0x46ecb0
cmp eax, 0x80004002
je 0x46ecb0
push eax
call fcn.0050c8bb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.0046e930
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.0046e770
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.0046ebc0
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x46ed2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x46ed40
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x46ed6e
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x46ed5f
push 0x80004003
call fcn.0050c8bb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x51b200
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x46ed7d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x46ed96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x472c00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5d6c2c]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x472c2c
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x472c6d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x472c80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5d6c2c]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternationalScripts26
je 0x472caf
mov eax, str.SoftwareMicrosoftInternet_ExplorerInternational
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x472d1d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.AutoDetect
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push str.AutoDetect
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x473c60
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514c70
push 0x50ca2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.0050c9c0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [eax + eax]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push str.file:__
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
call edi
cmp eax, esi
jne 0x473d08
push str.file:__
push 0x528430
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.res:__
push esi
call edi
cmp eax, esi
jne 0x473d43
push str.res:__
push 0x528430
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x54]
push edx
push 0x10000000
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x473e1e
mov word [ebp - 0x109c], di
mov ecx, 0x411
lea edi, [ebp - 0x109a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push str.http:___s
push 0x823
lea eax, [ebp - 0x109c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
lea edx, [ebp - 0x109c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x473e1e
lea ecx, [ebp - 0x109c]
push ecx
push 0x528430
mov edx, dword [ebp + 0x10]
dec edx
push edx
push ebx
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x473de7
cmp word [ebx], 0
je 0x473de7
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474460
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov edi, 1
push 0
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x474559
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x474559
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x47454c
mov eax, dword [esi + 8]
test eax, eax
je 0x47454c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47454c
mov eax, dword [0x5cb2f0]
test eax, eax
jne 0x47452a
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47450e
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x474521
push str.IsUrlCacheEntryExpiredW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5cb2f0], eax
jmp 0x474526
mov eax, dword [0x5cb2f0]
test eax, eax
je 0x47454c
lea ecx, [esi + 0x28]
push ecx
push 0
push ebp
call eax
test eax, eax
jne 0x47454c
push esi
xor edi, edi
call fcn.0050c98e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x14]
push esi
call fcn.0050c98e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x474bc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50f603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ff160
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push 0x6029d8
mov byte [esp + 0x1c], 1
mov dword [esi], 0x514c80
mov dword [esi + 0x44], edi
mov dword [esi + 0x24], edi
mov word [esi + 0x28], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
call fcn.004d6b20
add esp, 4
test eax, eax
jl 0x474c3a
mov eax, dword [0x6029d8]
mov dword [0x6029d8], 1
cmp eax, edi
jne 0x474c40
mov dword [0x6029d8], edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4760f7
Capabilities:
Hide graphical window

Disassembly:
cmp word [esp + 4], 0x1974
push esi
mov esi, ecx
jne 0x476195
mov eax, dword [esp + 0xc]
sub eax, 0x201
je 0x47611d
sub eax, 4
jne 0x476195
call fcn.004761a0
pop esi
ret 8
call fcn.00443aa0
mov eax, dword [eax + 0x290]
cmp eax, 1
mov dword [esp + 0xc], eax
jbe 0x47613c
mov ecx, esi
call fcn.004761a0
pop esi
ret 8
jne 0x476195
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00443aa0
mov ecx, eax
call fcn.00445170
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x476188
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [esp + 8]
push 6
push ecx
call esi
mov edx, dword [esp + 8]
push 0
push edx
call esi
pop esi
ret 8
mov eax, dword [esp + 8]
push eax
call fcn.004760b0
add esp, 4
pop esi
ret 8
Function at 0x4765c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa28
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], bx
mov word [esp + 0x828], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x82a]
mov word [esp + 0x620], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x622]
mov word [esp + 0x418], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41a]
lea edx, [esp + 0x620]
rep stosd dword es:[edi], eax
mov ecx, dword [0x528678]
push edx
stosw word es:[edi], ax
mov eax, dword [0x528674]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
push ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x18]
push ebx
push 0x10
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x476677
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
mov ecx, dword [0x5dc944]
lea eax, [esp + 0x210]
push 0x103
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4766a3
pop edi
mov eax, 1
pop ebx
add esp, 0xa28
ret
lea edx, [esp + 0x210]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edx
push 0x528430
lea eax, [esp + 0x424]
push 0x103
push eax
call esi
push 0x88
call fcn.00496ed0
add esp, 0x14
lea ecx, [esp + 0x624]
lea edx, [esp + 0x82c]
push eax
push ecx
push 0x529df0
push 0x103
push edx
call esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x430]
push eax
lea edx, [esp + 0x844]
push ecx
push edx
call fcn.0044d6d0
mov esi, eax
add esp, 0x20
cmp esi, ebx
jne 0x47674f
cmp word [0x559fa4], bx
jne 0x476734
mov eax, dword [0x5dc940]
push 0x104
push 0x559fa4
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x559fa4
push 0x89
call fcn.00496ed0
add esp, 4
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0xa28
ret
Function at 0x476fd4
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
cmp word [esi + 0x28], 0
je 0x477124
call fcn.00404a10
mov ecx, eax
call fcn.00435670
test eax, eax
jne 0x477124
call fcn.00443aa0
mov eax, dword [eax + 0x290]
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 8]
test ecx, ecx
ja 0x477033
push 0
push eax
push 0x901
call fcn.004cd440
mov ecx, dword [esp + 0x14]
add esp, 0xc
test ecx, ecx
je 0x477124
shl ecx, 2
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x477124
mov ecx, dword [esp + 8]
push ebx
push edi
lea edx, [esp + 0x10]
xor eax, eax
mov edi, ebp
push edx
push ebp
rep stosd dword es:[edi], eax
call fcn.00443aa0
mov ecx, eax
call fcn.00445170
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x4770ba
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jbe 0x4770e1
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindowVisible]
mov eax, dword [esi]
push eax
call ebp
test eax, eax
je 0x4770a8
mov ecx, dword [esi]
push 0
push ecx
call edi
mov edx, dword [esi]
push 6
push edx
call edi
mov eax, dword [esi]
push 0
push eax
call edi
mov eax, dword [esp + 0x10]
inc ebx
add esi, 4
cmp ebx, eax
jb 0x47708a
mov ebp, dword [esp + 0x18]
jmp 0x4770dd
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x4770e1
mov esi, ebp
mov ecx, dword [esi]
push ecx
call fcn.004760b0
mov eax, dword [esp + 0x14]
add esp, 4
inc edi
add esi, 4
cmp edi, eax
jb 0x4770c6
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x2c]
xor eax, eax
test edx, edx
sete al
mov dword [esi + 0x2c], eax
mov ecx, dword [0x5f0e70]
pop edi
pop ebx
test ecx, ecx
je 0x47711b
test eax, eax
push 0
mov ecx, esi
je 0x477116
call fcn.00475390
push ebp
call fcn.0050c98e
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret
call fcn.004752f0
push ebp
call fcn.0050c98e
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x4772a0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00477e20
mov byte [esi], 0x80
pop esi
ret

Function at 0x477e60
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x479270
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push esi
push str.MEDIASAVER_PROC
push eax
mov dword [esi + 0x1060], eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4792a7
push eax
mov eax, dword [esi + 0x1060]
push 0xb6
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esi + 0x1060]
push 0x434
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [0x559954]
test eax, eax
jne 0x4792df
push str.PhoenixStudioTaiHang_Simple_Message
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 1
push eax
mov dword [0x559954], eax
call fcn.004b9660
add esp, 8
mov edx, dword [0x559954]
mov eax, dword [0x5d7584]
push 0x280000
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47930a
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4