joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ec40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 0x20c], eax
cmp ebx, dword [eax + 4]
je 0x43ed38
push esi
push edi
lea ebx, [ebx]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
push esi
push str.oftwarePinstall_s
push 0x4841d0
call fcn.004087e0
add esp, 8
push eax
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push str.fferDate
push 0x484094
call fcn.004087e0
add esp, 0x18
add esi, 0xb30
mov edi, eax
je 0x43ed24
push 0
lea edx, [ebp - 0x208]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43ed24
mov eax, esi
lea edx, [eax + 2]
jmp 0x43ecf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ecf0
sub eax, edx
mov edx, dword [ebp - 0x208]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20c]
add ebx, 4
cmp ebx, dword [ecx + 4]
jne 0x43ec70
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00458db6
mov esp, ebp
pop ebp
ret 4

Function at 0x440b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
push edi
je 0x440c21
push eax
push str._sinit.xml
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push str.write_init_xml_to
push str.INFO
mov ecx, esi
call fcn.00416a80
lea ecx, [ebp - 0x210]
push ecx
push str.INFO
mov ecx, esi
call fcn.00416a80
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x440bed
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x414]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createInitXml__d
lea edx, [ebp - 0x410]
push 0x100
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
push str.ERROR
mov ecx, esi
call fcn.00416a80
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x4425c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ad88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
call fcn.00407810
mov ecx, dword [ebp + 0xc]
push 1
push edi
push edi
push 0x36ee80
push ecx
push 2
sub esp, 0x1c
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], esp
mov edi, esp
push ecx
mov eax, esp
xor esi, esi
mov dword [ebp - 0x38], esp
call fcn.00404e4c
mov eax, edi
call fcn.00404e50
push esi
push esi
call fcn.0040327c
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.0040317c
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
sub esp, 0x1c
add ecx, 0x880
mov eax, esp
mov dword [ebp - 0x38], esp
push ecx
call fcn.004025d0
push str.artnerUtilId
push 0x485a70
mov byte [ebp - 4], 2
call fcn.004087e0
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x34], esp
push eax
mov eax, edx
call fcn.004025d0
mov ecx, esi
push ebx
mov edx, ecx
mov byte [ebp - 4], 0
call fcn.0044c580
add esp, 0x70
mov eax, ebx
call fcn.0040263b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4426aa
test al, 0x10
je 0x4426b3
xor esi, esi
mov eax, ebx
call fcn.0040325f
lea ecx, [ebp - 0x2c]
call fcn.00402601
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x447960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x447a0a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447972
push ebx
sub eax, edx
sar eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 1]
push edi
call fcn.0045854a
push ebx
mov esi, eax
push 0
push esi
call fcn.00465a00
add esp, 0x10
test edi, edi
je 0x4479cd
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jae 0x4479c3
mov byte [eax + esi], 0
jmp 0x4479cd
cmp byte [edi + esi - 1], 0
je 0x4479cd
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4479d2
mov edi, dword [ebp + 8]
sub eax, edx
push 0
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [edi]
push esi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.004592db
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x447ab0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.getHDDSerialAlternate_start
push str.INFO
mov ecx, esi
mov edi, eax
call fcn.00416a80
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [ebp - 4]
mov ecx, 0x5f
push 0xa
mov word [edi], cx
push 0xff
add edi, 2
push edi
push edx
call fcn.00459933
add esp, 0x10
push str.getHDDSerialAlternate_end
push str.INFO
mov ecx, esi
call fcn.00416a80
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44c3b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aa4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xa8
call fcn.00459337
add esp, 4
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x44c417
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edi
push edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push eax
call fcn.00455140
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dl, byte [ebp + 0x28]
push 0x24
mov byte [esi + 0xa4], dl
call fcn.00459337
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44c441
lea eax, [ebx + 4]
call fcn.004025a9
jmp 0x44c443
xor ebx, ebx
push edi
lea eax, [ebx + 4]
push eax
mov dword [ebx], esi
call fcn.0040260f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x20], edx
mov dword [esi + 0xa0], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x44c471
push eax
lea edi, [esi + 0x3c]
call fcn.0040262a
lea ecx, [ebp - 0x14]
push ecx
push 0
push ebx
push 0x44c150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 8
mov edi, eax
call fcn.00459337
add esp, 4
test eax, eax
je 0x44c49e
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x44c4a0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0x28], eax
add esi, 0x1c
lea eax, [ebp + 0x28]
call fcn.00442f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x44ce90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x44cf53
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44cf53
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44cf53
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44cf4c
push esi
push edi
push eax
call fcn.0045d030
add esp, 0xc
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x44cf45
mov ecx, dword [ebp - 4]
push ecx
call fcn.0044ce50
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x44cf45
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x44cf35
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp ecx, edi
je 0x44cf43
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44d290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b27b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, ebx
add edi, 0x34
call fcn.0040107f
mov esi, dword [edi + 0x10]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov eax, esi
cmp esi, ecx
jae 0x44d2de
mov ecx, esi
push ecx
mov eax, edi
call fcn.004036f8
mov ecx, ebx
call fcn.00404106
add esp, 4
test eax, eax
jne 0x44d308
mov eax, dword [ebp - 0x10]
cmp esi, eax
jb 0x44d308
xor ecx, ecx
cmp esi, eax
setne cl
mov eax, ecx
test eax, eax
je 0x44d361
push ebx
call fcn.0040262a
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x24
call fcn.00459337
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x44d349
push ebx
call fcn.004025d0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
jmp 0x44d34b
xor esi, esi
lea ecx, [ebp - 0x14]
push ecx
push 0
push esi
push 0x44d170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44d6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44d6c8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44d6fa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x44d6f6
cmp esi, eax
jae 0x44d6fa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x44d6e8
cmp esi, eax
jb 0x44d700
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4505c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47af53
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.004078f0
push ebx
push ebx
push ebx
push 0x2710
push esi
push 1
sub esp, 0x1c
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], esp
mov edi, esp
push ecx
mov eax, esp
xor esi, esi
mov dword [ebp - 0x4c], esp
call fcn.00404e4c
mov eax, edi
call fcn.00404e50
push esi
push esi
call fcn.0040327c
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.0040317c
sub esp, 0x1c
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x4c], esp
push str.http:__dl.upzona.net_java.json
call fcn.004025d0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x54], esp
push str.JAVA_PARAMS
mov byte [ebp - 4], 3
call fcn.004025d0
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.0044c580
add esp, 0x70
lea ecx, [ebp - 0x48]
call fcn.00402601
lea eax, [ebp - 0x2c]
call fcn.0040263b
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4506c5
test al, 0x10
jne 0x4506c5
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x2c]
call fcn.00450800
lea eax, [ebp - 0x2c]
call fcn.0040263b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00402601
mov eax, dword [ebp - 0x68]
xor esi, esi
cmp eax, esi
je 0x4506ee
push eax
call fcn.004592db
add esp, 4
lea ecx, [ebp - 0x84]
push ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
call fcn.00401000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 4
Function at 0x450aa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47aefb
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0x48cd18
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [ebp + 8]
push 1
push 0x36ee80
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x42c], esp
push esi
call fcn.004025d0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x428], esp
push str.loadJavaPage
mov dword [ebp - 4], 0
call fcn.004025d0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c6f0
add esp, 0x44
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret
Function at 0x451340
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, edx
mov dword [ebp - 0x4dc], eax
mov dword [ebp - 0x4e0], ebx
lea eax, [ebp - 0x448]
mov esi, ecx
mov dword [ebp - 0x4d8], edi
mov dword [ebp - 4], ebx
call fcn.004025a9
lea eax, [ebp - 0x4b8]
call fcn.004025a9
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x448]
push ecx
push edx
lea ecx, [ebp - 0x4b8]
mov edx, esi
mov byte [ebp - 4], 2
call fcn.00450b60
cmp dword [ebp - 0x438], ebx
je 0x451581
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x42c]
push ecx
push ebx
push str.jreTarGz
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x480]
call fcn.004025a9
lea eax, [ebp - 0x49c]
call fcn.004025a9
lea eax, [ebp - 0x464]
call fcn.004025a9
mov byte [ebp - 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call ebx
lea eax, [esi + 0x88]
push eax
lea ecx, [ebp - 0x480]
call fcn.00403b27
push esi
call edi
push esi
call ebx
lea ecx, [esi + 0xa4]
push ecx
lea ecx, [ebp - 0x49c]
call fcn.00403b27
push esi
call edi
push esi
call ebx
add esi, 0xc0
push esi
lea ecx, [ebp - 0x464]
call fcn.00403b27
lea eax, [ebp - 0x464]
call fcn.0040263b
push eax
lea eax, [ebp - 0x49c]
call fcn.0040263b
push eax
lea eax, [ebp - 0x480]
call fcn.0040263b
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieW]
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x4d4]
call fcn.004025d0
mov eax, dword [ebp + 8]
push 1
push 0
push 0xa00000
push 0x36ee80
push eax
mov bl, 6
push 4
lea eax, [ebp - 0x4d4]
mov byte [ebp - 4], bl
call fcn.0040263b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push eax
mov eax, ecx
call fcn.004025d0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x448]
call fcn.0040263b
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x4e8], esp
push eax
mov eax, edx
call fcn.004025d0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x4e4], esp
push str.jreTarGz
mov byte [ebp - 4], 8
call fcn.004025d0
mov esi, dword [ebp - 0x4d8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4dc]
push esi
mov byte [ebp - 4], bl
call fcn.0044c580
add esp, 0x70
lea ecx, [ebp - 0x4d4]
call fcn.00402601
lea ecx, [ebp - 0x464]
call fcn.00402601
lea ecx, [ebp - 0x49c]
call fcn.00402601
lea ecx, [ebp - 0x480]
call fcn.00402601
lea ecx, [ebp - 0x4b8]
call fcn.00402601
lea ecx, [ebp - 0x448]
call fcn.00402601
mov eax, esi
jmp 0x4515ae
lea ecx, [ebp - 0x4b8]
call fcn.00402601
lea ecx, [ebp - 0x448]
call fcn.00402601
jmp 0x4515a5
mov eax, edi
call fcn.004025a9
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47518e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], vtable.download::FileDownloader.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea edi, [esi + 0x14]
mov eax, edi
mov dword [ebp - 4], ebx
call fcn.004025a9
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
lea eax, [esi + 0x3c]
call fcn.004025a9
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push ecx
lea edx, [esi + 0x58]
push edx
mov byte [ebp - 4], 2
call fcn.00454df0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov dword [esi + 0x9c], esi
call fcn.0040262a
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x457120
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push edi
push 0x5000
push 0x40
mov byte [ebp - 1], 0
call esi
push 0x5000
push 0x40
mov ebx, eax
call esi
push 0x5000
mov edi, eax
push 0x40
mov dword [ebp - 0xc], edi
call esi
push 0x5000
push 0x40
mov dword [ebp - 8], eax
call esi
push 0x5000
push 0x40
mov dword [ebp - 0x10], eax
call esi
mov edx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, 0x2800
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], eax
mov eax, 0x104
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4571f1
mov edi, dword [ebp + 0xc]
push ebx
mov byte [ebp - 1], 1
call fcn.0040262a
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp + 0x10]
push ecx
call fcn.0040262a
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
push edx
call fcn.0040262a
mov edi, dword [ebp - 0xc]
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov word [ecx], ax
call ebx
push edi
call ebx
mov edx, dword [ebp - 0x10]
push edx
call ebx
push esi
call ebx
mov eax, dword [ebp - 8]
push eax
call ebx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457220
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0
push 0
push 0
push 0
push str.httpget
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x45730d
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
push 0x32
push eax
mov dword [ebp - 8], 4
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
je 0x457290
test byte [ebp - 4], 0x10
je 0x457290
mov ecx, dword [esi + 0x1c]
push 8
lea eax, [ebp - 0x10]
push eax
push 0x32
push ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0
call edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push ebx
xor edx, edx
push eax
mov eax, dword [ebp + 8]
mov word [ebx], dx
mov edx, dword [ebp + 0xc]
push ecx
push edx
call fcn.0040263b
push eax
call fcn.00457120
add esp, 0x14
test al, al
je 0x45730d
mov ecx, dword [esi + 0x1c]
push 4
lea eax, [esi + 0x28]
push eax
push 2
push ecx
call edi
test eax, eax
je 0x45730d
mov eax, dword [esi + 0x1c]
push 4
lea edx, [esi + 0x2c]
push edx
push 6
push eax
call edi
test eax, eax
je 0x45730d
movzx ecx, word [ebx]
mov eax, dword [ebp + 0xc]
push 0
push 0
push 3
push 0
push 0
push ecx
call fcn.0040263b
mov edx, dword [esi + 0x1c]
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
xor ecx, ecx
test eax, eax
mov dword [esi + 0x20], eax
setne al
pop edi
mov esp, ebp
pop ebp
ret 0x10
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457320
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475908
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49b3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov esi, 0x8460c000
je 0x457366
mov esi, 0x84e0c000
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
call fcn.00404e4c
lea eax, [ebp - 0x2c]
call fcn.00404e50
push 0
push 0
lea edi, [ebp - 0x2c]
call fcn.0040327c
mov eax, dword [ebp - 0x38]
push 0xffffffffffffffff
push eax
xor eax, eax
mov ecx, edi
call fcn.0040317c
mov ecx, dword [ebp - 0x34]
push 0
push ecx
or eax, 0xffffffff
mov dword [ebp - 4], 0
call fcn.00403074
push 0
push esi
push 0
push 0
push str.HTTP_1.1
mov eax, edi
call fcn.0040263b
mov edx, dword [ebp - 0x30]
push eax
push edx
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x4573ee
cmp byte [ebp + 0x10], 0
je 0x4573ee
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4573ee
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00402601
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458db6
mov esp, ebp
pop ebp
ret