joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10dc49f
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push 0x10dc16c
push edi
push edi
mov esi, ecx
push 0x476
push dword [esi + 0x1c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
push edi
push edi
push 0x470
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [esi + 0x3c], edi
mov dword [ebp - 0xc], eax
je 0x10dc563
mov ecx, esi
call fcn.010dc111
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xea60
mov dword [ebp - 8], eax
jmp 0x10dc54c
push 0x4ff
push 0xea60
push edi
lea eax, [esi + 0x3c]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
jne 0x10dc553
mov ecx, esi
call fcn.010dc111
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 8]
jbe 0x10dc54c
cmp dword [ebp - 8], 0xea60
ja 0x10dc55a
cmp dword [ebp - 4], edi
jne 0x10dc512
jmp 0x10dc55a
cmp eax, 0x102
jne 0x10dc56a
mov dword [esi + 0x30], 0x81000329
jmp 0x10dc56a
mov dword [esi + 0x30], 0x80004005
push dword [ebp - 0xc]
mov dword [esi + 0x38], edi
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push 0x10dc16c
push edi
push edi
push 0x476
push dword [esi + 0x1c]
call ebx
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10ded71
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x10ded9a
push 0
push eax
push 0x30
push 0x9daf
push dword [esi + 8]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x18], 0
jne 0x10dedba
push 0x30
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x10dedb5
mov ecx, eax
call fcn.0104c532
jmp 0x10dedb7
xor eax, eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10dee07
push 0xffffffffffffffff
push 0x1022d90
push eax
call fcn.01040dc3
test eax, eax
jl 0x10dee07
push 0x9dc7
push dword [esi + 8]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x1c]
push edi
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x24]
sub ecx, dword [eax + 0xc]
and dword [esi + 0x20], 0
mov dword [edi], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x28], eax
pop edi
pop esi
ret
Function at 0x10e0a15
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push esi
push edi
push 0x4b2
mov edi, ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x10e0a5c
push esi
push 0x259
push 0xd
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10e0a53
add edi, 0x4c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10e0a5c
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor esi, esi
pop edi
mov eax, esi
pop esi
ret

Function at 0x10e0a66
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x111121c]
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x105
mov esi, ecx
push 0xd
push dword [esi + 0x38]
xor edi, edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10e0ab3
add esi, 0x4c0
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10e0ab3
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.0105eca9
leave
ret

Function at 0x10e151d
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x111121c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
push 0
push 0
push 0x147
mov esi, ecx
push 0x9e05
push dword [esi + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], 9
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, dword [esi + 0x450]
push 2
pop eax
jne 0x10e157b
xor eax, eax
inc eax
mov dword [ebp - 0x88], 0xb
jmp 0x10e1585
cmp edi, dword [esi + 0x454]
jne 0x10e1585
xor eax, eax
and dword [ebp - 0x8c], 0
lea ecx, [eax*4 + 0x1023f40]
cmp dword [ecx], 0
mov dword [ebp - 0x94], ecx
jle 0x10e1631
shl eax, 4
add eax, 0x1023f10
mov dword [ebp - 0x90], eax
push 0x40
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x90]
push dword [eax]
push dword [esi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x100aca8
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
cmp edi, dword [esi + 0x450]
lea eax, [ebp - 0x84]
push eax
jne 0x10e1601
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x10e160b
xor dword [ebp - 0x88], 2
jmp 0x10e1631
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x10e162a
inc dword [ebp - 0x8c]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
add dword [ebp - 0x90], 4
cmp ecx, dword [eax]
jl 0x10e15b0
jmp 0x10e1631
or dword [ebp - 0x88], 2
push dword [ebp - 0x88]
push 0
push 0x470
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0105eca9
leave
ret
Function at 0x10e2976
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x10e29a0
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x10e2a43
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x650
mov eax, dword [0x111121c]
push ebx
push 0x10245dc
mov dword [ebp - 4], eax
mov dword [ebp - 0x63c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x638], eax
je 0x10e2b71
push esi
push 0x10245d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x640], esi
je 0x10e2b64
push edi
push ebx
push ebx
push 1
push ebx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x129
push 0x10244c0
lea eax, [ebp - 0x258]
push eax
call edi
lea eax, [ebp - 0x650]
push eax
push 1
push 3
push ebx
call esi
cmp dword [ebp - 0x64c], ebx
jne 0x10e2afc
lea eax, [ebp - 0x634]
push eax
push 1
push 8
push ebx
mov dword [ebp - 0x634], 0x1d4
call esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x20e]
push eax
call edi
jmp 0x10e2b1b
mov esi, 0x104
push esi
lea eax, [ebp - 0x20e]
push eax
push dword [ebp - 0x64c]
push dword [ebp - 0x638]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push ebx
push 7
push ebx
call dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
pop edi
jne 0x10e2b40
mov word [ebp - 0x460], bx
push 1
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x63c]
push 0x100c110
push ebx
push dword [eax]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x638]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0105eca9
leave
ret
Function at 0x1101a07
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1101a2e
xor eax, eax
jmp 0x1101b23
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp edi, eax
jbe 0x1101b20
push esi
push esi
push eax
push dword [ebp + 8]
sub edi, eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1101b20
mov eax, 0x10000
cmp edi, eax
mov dword [ebp + 0xc], edi
jb 0x1101a65
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0xc], eax
je 0x1101b20
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x14], 0
and dword [ebp - 8], 0
sub edi, dword [ebp - 8]
and dword [ebp - 4], 0
cmp edi, dword [ebp + 0xc]
jbe 0x1101a96
mov edi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1101aec
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x1101aec
mov ecx, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov byte [eax + ecx], 0
push dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.011019b0
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
jne 0x1101aec
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jae 0x1101aec
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
inc esi
add dword [ebp - 8], eax
jmp 0x1101a87
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
cmp dword [ebp - 0x10], 0xffffffff
pop ecx
je 0x1101b20
imul esi, dword [ebp + 0xc]
add esi, dword [ebp - 0x10]
push 0
add dword [ebx], esi
mov ebx, dword [ebx]
push 0
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x1101b22
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x1101bb9
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1101c3b
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x1101c2c
lea eax, [esi + 1]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, ebx
pop ecx
je 0x1101c2c
push ebx
lea eax, [ebp + 8]
push eax
push esi
push edi
push dword [ebp - 4]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1101c2c
cmp dword [ebp + 8], esi
jne 0x1101c2c
mov byte [esi + edi], bl
mov dword [ebp - 8], 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
pop esi
jne 0x1101c44
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
mov eax, edi
pop edi
pop ebx
leave
ret 4

Function at 0x1102414
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x111121c]
push esi
push edi
push 0x10284e8
mov esi, 0x80000001
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x110]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x1028558
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x110], edi
je 0x11024b6
push ebx
mov ebx, 0x105
push ebx
lea eax, [ebp - 0x10c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x1102491
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
lea eax, [ebp - 0x10c]
push eax
push 0
push dword [ebp - 0x110]
call edi
test eax, eax
je 0x1102474
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1028558
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0105eca9
leave
ret
Function at 0x1102543
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x28]
xor ebx, ebx
test al, 4
push edi
mov dword [ebp - 4], ebx
mov edi, 0x80000000
jne 0x110256a
test edi, eax
je 0x1102634
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.01100cf2
mov eax, dword [esi + 0x28]
test al, 4
je 0x11025af
test eax, 0x20000000
je 0x11025af
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x30]
mov eax, dword [ebp - 8]
sbb eax, dword [esi + 0x34]
cmp eax, 0xc9
jl 0x1102639
jg 0x1102634
cmp ecx, 0x2a69c000
jmp 0x1102632
test edi, eax
je 0x11025ba
test eax, 0x40000000
jmp 0x1102615
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x11025df
cmp dword [esi], ebx
je 0x11025df
push eax
push dword [ebp + 8]
call fcn.01100f3d
test eax, eax
jne 0x11025df
test byte [esi + 0x28], 0x40
je 0x1102639
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1102611
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x1102634
mov edi, dword [ebp + 0x14]
cmp edi, dword [esi + 0x38]
jne 0x1102634
cmp dword [ebp - 4], ebx
jne 0x1102639
xor edx, edx
cmp edi, ebx
jbe 0x1102611
sub ecx, eax
mov ebx, dword [eax]
cmp ebx, dword [ecx + eax]
jne 0x1102634
inc edx
add eax, 4
cmp edx, edi
jb 0x1102602
test byte [esi + 0x2b], 0x40
je 0x1102639
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x30]
mov eax, dword [ebp - 8]
sbb eax, dword [esi + 0x34]
cmp eax, 0x580
jl 0x1102639
jg 0x1102634
cmp ecx, 0x28e44000
jbe 0x1102639
xor eax, eax
inc eax
jmp 0x110263b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1102647
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x1102667
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [edi], ebx
push ebx
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x1102678
xor eax, eax
jmp 0x11026ca
mov eax, dword [eax + 0xc]
push esi
xor esi, esi
cmp dword [eax], ebx
je 0x11026c7
add eax, 4
inc esi
cmp dword [eax], ebx
jne 0x1102682
cmp esi, ebx
je 0x11026c7
mov eax, esi
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [edi], eax
jne 0x11026a7
push 8
pop eax
jmp 0x11026c9
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
cmp esi, ebx
jbe 0x11026c7
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + eax*4]
mov edx, dword [edi]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, esi
jb 0x11026b2
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x110355f
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x111121c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov dword [esi], 0x70000
and dword [edi], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x11035b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1103676
and eax, 0xffff
or eax, 0x80070000
jmp 0x1103676
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x11035ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1103675
and eax, 0xffff
or eax, 0x80070000
jmp 0x1103675
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0x210], eax
jne 0x1103607
mov eax, 0x8007000e
jmp 0x1103675
push eax
push ebx
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1103651
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x1002e78
push dword [ebp - 0x210]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1103651
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
xor esi, esi
jmp 0x1103667
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1103665
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 0x210]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0105eca9
leave
ret 8
Function at 0x11086c8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x80004005
je 0x1108760
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1108760
push esi
push edi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x1108756
cmp esi, edi
je 0x1108756
push ebx
push esi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x1108755
push edi
lea eax, [ebp + 8]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x110874e
cmp dword [ebp + 8], esi
jne 0x110874e
mov ecx, dword [ebp - 0xc]
push esi
push ebx
call fcn.01108275
mov dword [ebp - 8], eax
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [ebp - 8]
pop edi
leave
ret 4
Function at 0x110a1c9
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x18]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x110a21e
cmp eax, 0xffffffff
je 0x110a21e
cmp dword [ebp + 8], edi
je 0x110a2d0
push edi
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
lea ecx, [ebx + 0x830]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x110a2d0
mov eax, dword [ebp - 8]
add dword [ebx + 0x28], eax
jmp 0x110a2d0
mov edx, dword [ebp + 8]
cmp edx, edi
je 0x110a2d0
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x1c]
add eax, edx
cmp eax, ecx
push esi
mov dword [ebp - 4], 1
jbe 0x110a2b0
add ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], ecx
jbe 0x110a257
mov eax, dword [ebx + 0x28]
add eax, edx
mov ecx, dword [ebp - 4]
add ecx, ecx
cmp eax, ecx
mov dword [ebp - 4], ecx
ja 0x110a24b
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
mov dword [ebp - 0xc], eax
je 0x110a29f
mov esi, dword [ebx + 0x20]
cmp esi, edi
je 0x110a296
mov ecx, dword [ebx + 0x28]
cmp ecx, edi
je 0x110a287
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
push dword [ebx + 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
pop ecx
mov dword [ebx + 0x20], edi
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], ecx
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
mov dword [ebp - 4], ecx
je 0x110a2cf
mov edx, dword [ebp + 8]
mov edi, dword [ebx + 0x20]
add edi, dword [ebx + 0x28]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [ebx + 0x830]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x28], edx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4

Function at 0x110a589
Capabilities:
Read data from internet
Receive data

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x24]
mov eax, dword [edi]
test eax, eax
je 0x110a5a6
push eax
call fcn.0110a1c9
and dword [edi], 0
test eax, eax
je 0x110a5d2
push edi
push 0x400
lea eax, [esi + 0x830]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test ebx, ebx
je 0x110a5d2
mov eax, dword [edi]
test eax, eax
je 0x110a5ef
push eax
mov ecx, esi
call fcn.0110a1c9
jmp 0x110a5a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
sub ebx, 0x3e5
neg ebx
sbb ebx, ebx
inc ebx
je 0x110a600
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
jne 0x110a600
push esi
push 2
push 0x8000
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x110a60b
Capabilities:
Get http content length

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
xor eax, eax
push edi
mov esi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x1448]
push edi
push dword [esi + 0x1444]
mov dword [ebp - 0x10], 4
push 0x16
push dword [esi + 0x14]
call ebx
test eax, eax
jne 0x110a6a8
push dword [esi + 0x1444]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x1444], 0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x110a6a5
inc dword [edi]
mov eax, dword [edi]
add eax, eax
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi + 0x1444], eax
je 0x110a6a5
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push 0x16
push dword [esi + 0x14]
call ebx
test eax, eax
jne 0x110a6a8
push dword [esi + 0x1444]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
and dword [esi + 0x1444], 0
pop ecx
and dword [edi], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push dword [esi + 0x14]
call ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0xc38], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x2c]
push eax
push 0x20000005
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x110a6f2
mov ecx, esi
mov dword [esi], 3
call fcn.0110a589
test eax, eax
jne 0x110a703
push esi
push 4
push 0x8000
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419fa4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419fc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041dc5c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x419fe5
test byte [esp + 8], 2
je 0x419fe5
mov dword [0x451d74], 0xd
mov dword [0x451d78], 5
jmp 0x419fc0
xor eax, eax
ret