joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push ecx
push 1
lea edx, [esp + 0x30]
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0xbcde0395
mov word [esp + 0x3c], 0xe52f
mov word [esp + 0x3e], 0x467c
mov byte [esp + 0x40], 0x8e
mov byte [esp + 0x41], 0x3d
mov byte [esp + 0x42], 0xc4
mov byte [esp + 0x43], 0x57
mov byte [esp + 0x44], 0x92
mov byte [esp + 0x45], 0x91
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], 0x2e
mov dword [esp + 0x28], 0xa95664d2
mov word [esp + 0x2c], 0x9614
mov word [esp + 0x2e], 0x4f35
mov byte [esp + 0x30], 0xa7
mov byte [esp + 0x31], 0x46
mov byte [esp + 0x32], 0xde
mov byte [esp + 0x33], 0x8d
mov byte [esp + 0x34], 0xb6
mov byte [esp + 0x35], 0x36
mov byte [esp + 0x36], 0x17
mov byte [esp + 0x37], 0xe6
mov dword [esp + 0x48], 0xbfa971f1
mov word [esp + 0x4c], 0x4d5e
mov word [esp + 0x4e], 0x40bb
mov byte [esp + 0x50], 0x93
mov byte [esp + 0x51], 0x5e
mov byte [esp + 0x52], 0x96
mov byte [esp + 0x53], 0x70
mov byte [esp + 0x54], 0x39
mov byte [esp + 0x55], 0xbf
mov byte [esp + 0x56], 0xbe
mov byte [esp + 0x57], 0xe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4508bd
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4508bd
lea edx, [esp + 0xc]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push 1
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4508b3
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4508b3
lea edx, [esp + 8]
mov dword [esp + 8], esi
mov ecx, dword [eax]
push edx
push esi
lea edx, [esp + 0x3c]
push 1
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x4508a9
mov eax, dword [esp + 8]
cmp eax, esi
je 0x4508a9
lea edx, [esp + 4]
mov dword [esp + 4], esi
mov ecx, dword [eax]
push edx
push esi
push 0x579350
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x45089f
mov eax, dword [esp + 4]
cmp eax, esi
je 0x45089f
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
mov ecx, dword [eax]
push eax
sbb esi, esi
inc esi
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 0x40
ret
Function at 0x4508d0
Capabilities:
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
sub esp, 0x440
push ebx
push esi
mov esi, dword [esp + 0x44c]
xor ebx, ebx
cmp esi, ebx
je 0x450aa2
cmp word [esi], bx
je 0x450aa2
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], bx
mov word [esp + 0x244], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x246]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x248]
push 0x26
push eax
push ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x244]
lea edx, [esp + 0x3c]
push ecx
push str._sInternet_Exploreriexplore.exe
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.0043f210
add esp, 0x18
test eax, eax
pop edi
jne 0x450a6e
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0x56bc90
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.0043f210
add esp, 8
test eax, eax
jne 0x450a6e
mov word [esp + 0x38], bx
lea eax, [esp + 8]
mov dword [esp + 8], ebx
push eax
push 0x52b0e0
push 0x15
push ebx
push 0x52b0b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x450aa2
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x450a60
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x450a10
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0xc]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [esp + 0x18]
mov esi, eax
push edx
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
mov word [esp + 0x1c], bx
push edx
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x38]
mov word [esp + 0x38], 8
mov dword [esp + 0x40], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
cmp word [esp + 0x38], bx
je 0x4509b6
push 0xa
push ebx
lea edx, [esp + 0x40]
push esi
push edx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov eax, 1
pop ebx
add esp, 0x440
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x440
ret
Function at 0x450f80
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x529f10
push 1
push 0
push 0x529f40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x45101a
mov ecx, dword [esp]
test ecx, ecx
je 0x45101a
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 8], 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x52b180
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x45100d
mov eax, dword [esp + 8]
test eax, eax
je 0x45100d
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x451470
Capabilities:
Get common file path
Get program files directory

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x41c]
lea ecx, [esp + 8]
push eax
push 0x5384a4
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
cmp word [esp + eax*2 + 6], 0x5c
je 0x4514d4
lea eax, [esp + 8]
push 0x538bc8
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x4514f1
pop edi
mov eax, 1
pop esi
add esp, 0x410
ret
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], 0
rep stosd dword es:[edi], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
lea edx, [esp + 0x218]
push 0x24
push edx
push 0
stosw word es:[edi], ax
call ebx
test eax, eax
je 0x451547
lea eax, [esp + 0x214]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x451547
mov esi, 1
xor eax, eax
lea edx, [esp + 0x214]
push eax
mov ecx, 0x82
lea edi, [esp + 0x218]
push 0x26
push edx
push eax
rep stosd dword es:[edi], eax
call ebx
test eax, eax
pop ebx
je 0x451589
lea eax, [esp + 0x210]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x451589
mov esi, 1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret

Function at 0x4515a0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4515e7
push 0x5580e4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 8], 0xfeff
je 0x4515e7
push esi
push 1
lea eax, [esp + 0x10]
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
ret
Function at 0x4515f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
jne 0x451607
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push ebx
push esi
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x45161e
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
xor eax, eax
push edi
mov dword [esp + 0xd], eax
push 0x5580f0
mov dword [esp + 0x15], eax
push esi
mov dword [esp + 0x1d], eax
mov byte [esp + 0x14], bl
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
call dword [sym.imp.MSVCRT.dll__wfopen]
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x451669
push edi
push 2
lea ecx, [esp + 0x14]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea edx, [esp + 0xc]
push 0x5580ec
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
pop edi
jne 0x451689
push esi
call fcn.004ad5f0
add esp, 4
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x451810
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x451918
cmp word [edi], 0
je 0x451918
push 0x2210
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x451918
mov esi, 0x104
mov ecx, eax
sub edi, eax
lea edx, [esi + 0x7ffffefa]
test edx, edx
je 0x45186b
mov dx, word [edi + ecx]
test dx, dx
je 0x45186b
mov word [ecx], dx
add ecx, 2
dec esi
jne 0x45184d
jmp 0x45186f
test esi, esi
jne 0x451872
sub ecx, 2
mov esi, dword [esp + 0x14]
mov word [ecx], 0
test esi, esi
je 0x4518bc
cmp word [esi], 0
je 0x4518bc
lea ecx, [eax + 0x208]
mov edi, 0x1000
sub esi, ecx
lea edx, [edi + 0x7fffeffe]
test edx, edx
je 0x4518b0
mov dx, word [esi + ecx]
test dx, dx
je 0x4518b0
mov word [ecx], dx
add ecx, 2
dec edi
jne 0x451892
jmp 0x4518b4
test edi, edi
jne 0x4518b7
sub ecx, 2
mov word [ecx], 0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push 0
push 4
push eax
push 0x4516d0
push 0
push 0
mov dword [eax + 0x2208], ecx
mov dword [eax + 0x220c], edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x451918
test edi, edi
je 0x4518fa
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x451911
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
Function at 0x451920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4519dc
cmp word [esp + 0x10], si
je 0x4519dc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x4519a6
lea ecx, [esp + 0x10]
push 0x538bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.360ver.dll
push edx
push 0x538c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret

Function at 0x4519f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x451aac
cmp word [esp + 0x10], si
je 0x451aac
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451a76
lea ecx, [esp + 0x10]
push 0x538bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.SDVersion.dll
push edx
push 0x538c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret
Function at 0x451ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], si
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x451b7c
cmp word [esp + 0x10], si
je 0x451b7c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x451b46
lea ecx, [esp + 0x10]
push 0x538bc8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x21c]
lea edx, [esp + 0x10]
push str.safemon_safemon.dll
push edx
push 0x538c6c
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
add esp, 0x210
ret
mov eax, esi
pop edi
pop esi
add esp, 0x210
ret

Function at 0x452290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x18]
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret

Function at 0x4522d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
mov edx, dword [esp + 0x224]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x228]
lea ecx, [esp + 8]
dec eax
push ecx
mov ecx, dword [esp + 0x224]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x224]
push eax
mov eax, dword [esp + 0x224]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x452349
cmp word [esp + 8], ax
je 0x452349
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret

Function at 0x452360
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [esp + 0xc]
push 4
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x4533c0
Capabilities:
Capture screenshot

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
jle 0x4534e8
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4534e8
mov ebx, dword [esp + 0x18]
test ebx, ebx
jle 0x4534e8
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4534e8
push ebp
mov ebp, dword [esp + 0x24]
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0xcc0020
push ecx
push edx
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x30], eax
push ebp
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, ebx
mov dword [esp + 0x34], edi
jge 0x453475
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push esi
push eax
push edi
push 0
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
add eax, edi
add edi, edi
cmp eax, ebx
mov dword [esp + 0x34], eax
jl 0x453447
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x4534a3
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push edi
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
add edi, ebp
add ebp, ebp
cmp edi, eax
jl 0x453481
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push esi
push edx
mov edx, dword [esp + 0x28]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebp
pop edi
pop ebx
ret 0x28

Function at 0x455ea0
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e348
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00455f20
mov edi, eax
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004217b0
push edi
mov ecx, esi
call fcn.00455c30
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.004216f0
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x18
Function at 0x4563f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x4564e2
push ebp
push 0x80
push 4
push ebp
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4564e2
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6400000
mov dword [esi + 0x244], eax
mov dword [esi + 0x248], eax
mov dword [esp + 0x18], ebp
jbe 0x456454
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esi + 0x240], edi
jne 0x456474
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x244]
xor eax, eax
inc ecx
push ebp
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 ecx, dword [esi + 0x244]
mov edx, dword [esi + 0x240]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4564c2
mov eax, dword [esi + 0x244]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x4564c2
mov dword [esp + 0x10], 1
jmp 0x4564db
mov eax, dword [esi + 0x240]
cmp eax, ebp
je 0x4564db
push eax
call fcn.0051c54a
add esp, 4
mov dword [esi + 0x240], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x24c], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x456790
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x4567f6
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4567f6
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4567f6
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x4567fe
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret 0xc
Function at 0x456f10
Capabilities:
Parse url

Disassembly:
sub esp, 0x654
push esi
mov esi, dword [esp + 0x65c]
test esi, esi
je 0x457003
mov dx, word [0x56bc90]
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 0x454]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x24c]
mov dword [esp + 0xc], eax
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 8]
push eax
push 0
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
pop edi
je 0x457003
mov eax, dword [esp + 0x30]
test eax, eax
je 0x456ff6
cmp word [eax], 0
je 0x456ff6
push 0x555d2c
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x457003
mov eax, 1
pop esi
add esp, 0x654
ret
xor eax, eax
pop esi
add esp, 0x654
ret