joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b7d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x5080f4]
xor eax, esp
mov dword [esp + 0x44], eax
push 0x40
lea eax, [esp + 4]
push 0
push eax
call fcn.004a08b0
add esp, 0xc
mov dword [esp], 0x40
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x44b828
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
shrd eax, edx, 0x14
shr edx, 0x14
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00484d55
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
xor ecx, esp
xor edx, edx
call fcn.00484d55
mov esp, ebp
pop ebp
ret
Function at 0x44b840
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5080f4]
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
cmp dword [ecx + 0x28], 8
lea esi, [ecx + 0x14]
mov ebx, dword [esi + 0x10]
jb 0x44b879
mov esi, dword [esi]
push dword [ebp - 0x14]
mov edx, ebx
mov ecx, esi
push 2
push 0x4eb8d4
push 0
call fcn.0040d310
add esp, 0x10
cmp eax, 0xffffffff
je 0x44b8d0
inc eax
mov dword [ebp - 0x38], 0
cmp ebx, eax
cmovb eax, ebx
xor ecx, ecx
mov dword [ebp - 0x28], 0
push eax
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x38]
push esi
mov dword [ebp - 0x24], 7
mov dword [ebp - 4], 0xffffffff
call fcn.004123e0
mov ecx, dword [ebp - 0x28]
jmp 0x44b950
test ebx, ebx
je 0x44b937
xor edi, edi
mov edx, ebx
cmp word [esi], 0x3a
mov ecx, esi
je 0x44b8ef
cmp edx, 1
je 0x44b8f1
add ecx, 2
dec edx
cmp word [ecx], 0x3a
jne 0x44b8e0
mov edi, ecx
test edi, edi
je 0x44b937
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x44b937
lea eax, [edi + 1]
mov dword [ebp - 0x38], 0
cmp ebx, eax
cmovb eax, ebx
xor ecx, ecx
mov dword [ebp - 0x28], 0
push eax
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x38]
push esi
mov dword [ebp - 0x24], 7
mov dword [ebp - 4], 0xffffffff
call fcn.004123e0
mov ecx, dword [ebp - 0x28]
jmp 0x44b950
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x24], 7
xor eax, eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x38], ax
mov dword [ebp - 4], 3
test ecx, ecx
je 0x44b990
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x5c
je 0x44b980
push 0x5c
lea ecx, [ebp - 0x38]
call fcn.0040b380
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
test ecx, ecx
je 0x44b990
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, edx
jmp 0x44b992
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44b9dc
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp - 0x14]
call fcn.004127e0
shrd esi, edi, 0x14
shr edi, 0x14
mov eax, esi
mov edx, edi
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.00484d55
mov esp, ebp
pop ebp
ret
push str.get_available_disk_space
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x54]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x54]
push eax
call fcn.004a0209
int3
Function at 0x451f30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d37b3
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5080f4]
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0xd0]
mov esi, dword [ebp + 8]
push 0xb0
push 0
push eax
mov dword [ebp - 0xec], edi
call fcn.004a08b0
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00452b10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
add eax, ecx
push eax
call fcn.00455d60
mov eax, dword [esi]
lea ecx, [ebp - 0xc0]
add esp, 4
push dword [eax]
call fcn.00452d60
push str.handle
lea eax, [ebp - 0xf0]
mov ecx, edi
push eax
call fcn.0048cc30
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.004978a0
mov edi, eax
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0xe8]
push eax
call fcn.00452a30
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x451ff9
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.00496c10
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0
call fcn.004127e0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
mov eax, dword [esi]
movlpd qword [ebp - 0x20], xmm0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4520e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xfc]
mov esi, eax
call fcn.00412370
movq xmm0, qword [eax]
movq qword [ebp - 0xe8], xmm0
xorps xmm0, xmm0
mov ecx, dword [eax + 8]
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xdc], 0x43384333
mov dword [ebp - 0xd8], 0x32333346
mov dword [ebp - 0xd4], 0x99
movlpd qword [ebp - 0x18], xmm0
call fcn.00411780
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4520a3
push esi
push str.Get_file_size_of_SFX_fail__d
lea eax, [ebp - 0xe8]
push eax
push 5
call fcn.0043f9a0
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4520e3
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4520e3
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x4520e3
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4d9444]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0x14]
push str.size
push eax
call fcn.0048cc30
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.004978a0
push dword [ebp - 0x1c]
mov ecx, eax
push dword [ebp - 0x20]
call fcn.00496c60
lea ecx, [ebp - 0xd0]
call fcn.00452140
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.00484d55
mov esp, ebp
pop ebp
ret 8
Function at 0x454990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x4549ae
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x4549d4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4549c0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00454f50
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x4549f4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x460120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp + 8]
ja 0x460171
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jae 0x460171
push esi
push 0
lea esi, [ebp - 8]
mov dword [ebp - 8], 0
push esi
push eax
push edx
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
test eax, eax
je 0x460192
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret 0xc
push str.Too_big_number_of_bytes_to_write.
lea eax, [ebp - 0x1c]
push 0x6f
push eax
call fcn.0044c560
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x505c88
push eax
call fcn.004a0209
push str.Unable_to_write_to_the_file
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044c560
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x505c88
push eax
call fcn.004a0209
int3
Function at 0x464990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf0a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5080f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x58
mov dword [ebp - 0x10], esi
call fcn.00484da3
xorps xmm0, xmm0
add esp, 4
mov dword [eax + 0xc], 0
movups xmmword [eax + 0x14], xmm0
mov dword [eax + 0x24], 0
mov dword [eax], vtable.asw::sfx::confirm_dlg.0
mov dword [eax + 4], vtable.asw::sfx::confirm_dlg.1.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 7
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [esi], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x467aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x20], 8
lea edx, [edi + 0xc]
jb 0x467ac6
mov edx, dword [edx]
movzx eax, word [edi + 8]
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x467af1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x467b47
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x467adb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x467adb
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ecx
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
add eax, ecx
movq qword [ebp - 0x10], xmm0
push eax
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], 0
call fcn.0044fb30
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484d55
mov esp, ebp
pop ebp
ret 4

Function at 0x467eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
jne 0x467f19
mov al, byte [ebp + 8]
mov byte [esi + 0x5c], al
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x468220
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x44], eax
test eax, eax
je 0x467f19
mov eax, dword [esi + 0x40]
test eax, eax
je 0x467f06
push 0x2faf080
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00484d55
mov esp, ebp
pop ebp
ret 4

Function at 0x467f40
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x467f96
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x467f68
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x48], 0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x467f86
push 1
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], 0
pop esi
ret

Function at 0x467fd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
je 0x467ff0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x467ff0
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x470630
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d64d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5080f4]
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, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], 5
cmp esi, 0x40
jb 0x47076b
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x47076b
mov ebx, dword [edi + 0x3c]
test ebx, ebx
js 0x470769
cmp esi, ebx
jb 0x470769
sub edx, ebx
lea ecx, [ebx + edi]
cmp edx, 4
jb 0x470769
cmp dword [ecx], 0x4550
jne 0x470769
sub edx, 4
cmp edx, 0x14
jb 0x470769
movzx eax, word [ecx + 4]
sub edx, 0x14
mov dword [ebp - 0x38], 0x14c
cmp ax, word [ebp - 0x38]
jne 0x4706f8
cmp edx, 0xe0
jb 0x470769
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x470769
mov eax, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
jmp 0x470731
mov dword [ebp - 0x38], 0x8664
cmp ax, word [ebp - 0x38]
je 0x470712
mov dword [ebp - 0x38], 0xaa64
cmp ax, word [ebp - 0x38]
jne 0x470769
cmp edx, 0xf0
jb 0x470769
mov eax, 0x20b
cmp word [ecx + 0x18], ax
jne 0x470769
mov eax, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xac]
lea edx, [ebx + 0x58]
lea ebx, [ecx + eax]
mov dword [ebp - 0x38], ebx
mov ebx, edx
cmp dword [ebp - 0x38], esi
ja 0x47076b
cmp dword [ebp - 0x38], eax
jb 0x47076b
test eax, eax
jne 0x47074f
test ecx, ecx
cmove eax, esi
dec eax
xor ecx, ecx
cmp eax, esi
jae 0x470763
cmp byte [eax + edi], 0
jne 0x470763
inc ecx
dec eax
cmp ecx, 8
jl 0x470752
inc eax
mov dword [ebp - 0x14], eax
jmp 0x47076b
xor ebx, ebx
lea eax, [ebp - 0x14]
mov edx, edi
push eax
lea ecx, [ebp - 0x34]
call fcn.0046fac0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [ebp - 0x28], 0
jne 0x47078d
xor bl, bl
jmp 0x470807
push ebx
push dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov edx, edi
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
call fcn.0046fda0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x20]
call fcn.004700e0
mov edx, dword [ebp - 0x20]
add esp, 0xc
mov bl, al
test edx, edx
je 0x470807
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x4707e8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47082d
push ecx
push edx
call fcn.00484d63
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x34]
call fcn.00470aa0
mov al, bl
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.00484d55
mov esp, ebp
pop ebp
ret
call fcn.004a949f
int3
Function at 0x470840
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6525
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5080f4]
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, ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x47098a
mov esi, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [ebp - 0x14]
or eax, edi
jne 0x4708ab
xor al, al
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.00484d55
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0xffffffff
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 4], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0
push ecx
push 1
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00439bd0
xor eax, eax
mov dword [ebp - 4], 3
cmp eax, edi
jne 0x47096a
test edi, edi
jl 0x47096a
jg 0x47091e
test esi, esi
jb 0x47096a
cmp byte [ebp - 0x28], al
je 0x4709ac
mov edx, esi
mov esi, dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.00470630
add esp, 4
mov byte [ebp - 0x45], al
test esi, esi
je 0x470945
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x470953
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
cmp eax, 0xffffffff
je 0x470962
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x45]
jmp 0x470890
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00411e30
push 0x5056b8
mov eax, ecx
push eax
call fcn.004a0209
push str.Unable_to_get_file_size_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x30]
push eax
call fcn.004a0209
push str.Unable_to_retrieve_pointer_of_the_unmapped_view_
lea ecx, [ebp - 0x60]
call fcn.0043e080
push 0x5057bc
lea eax, [ebp - 0x60]
push eax
call fcn.004a0209
int3
Function at 0x471c00
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0xffffffff
je 0x471cfb
mov edi, dword [ebp + 0xc]
test edi, edi
jl 0x471cfb
mov ebx, dword [ebp + 8]
jg 0x471c36
test ebx, ebx
jb 0x471cfb
push 1
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x30], xmm0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x471c97
push 0
push 0
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x471cdb
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x471cdb
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x471cb9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484d55
mov esp, ebp
pop ebp
ret
push str.Unable_to_retrieve_the_file_pointer_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x24]
push eax
call fcn.004a0209
push str.Unable_to_set_the_file_pointer_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x24]
push eax
call fcn.004a0209
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x24]
call fcn.00471e40
push 0x5057bc
lea eax, [ebp - 0x24]
push eax
call fcn.004a0209
push 0x57
lea ecx, [ebp - 0x24]
call fcn.0043e050
push 0x5057bc
mov eax, ecx
push eax
call fcn.004a0209
int3
Function at 0x474c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
call fcn.00484da3
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x475350
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x475280
push 0
push 0
call fcn.004af7ac
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x474cc2
cmp dword [esi + 0x38], 0
jne 0x474cd0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.004844c3
call fcn.004aef89
int3
Function at 0x475040
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6cce
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5080f4]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], 1
jb 0x4750ad
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push 0xffff
push dword [ebx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4750d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x47517d
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x4750f8
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4750ed
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x475104
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00411a90
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47510e
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x475116
mov edi, dword [edi]
push 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push 0xffff
push dword [ebx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x47519f
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x10]
shr eax, 1
cmp eax, ecx
ja 0x475151
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x475146
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x47515d
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00411a90
mov eax, esi
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.00484d55
mov esp, ebp
pop ebp
ret 8
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043e110
push 0x5057bc
lea eax, [ebp - 0x30]
push eax
call fcn.004a0209
push str.Unable_to_query_response_headers_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
call fcn.0043e110
push 0x5057bc
lea eax, [ebp - 0x30]
push eax
call fcn.004a0209
int3