joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015c60
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [edx], 0
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], 0
mov dword [ebp - 0x44], 0x288
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov word [ebp - 8], dx
push 0x288
call fcn.10052d04
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10015cf9
push 0x10072294
call fcn.10012f20
add esp, 4
mov eax, dword [ebp - 0x38]
and eax, 1
je 0x10015cf1
and dword [ebp - 0x38], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10009c50
nop
mov eax, dword [ebp + 8]
jmp 0x10015e58
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10015d57
mov eax, dword [ebp - 0x3c]
push eax
call fcn.1004dd40
add esp, 4
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.10052d04
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10015d57
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.10012f20
add esp, 4
mov edx, dword [ebp - 0x38]
and edx, 1
je 0x10015d4f
and dword [ebp - 0x38], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10009c50
nop
mov eax, dword [ebp + 8]
jmp 0x10015e58
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10015e34
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x34], edx
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x34]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x34]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + eax + 0x194]
push edx
push str._02X:_02X:_02X:_02X:_02X:_02X
push 0x12
lea eax, [ebp - 0x18]
push eax
call fcn.1000ab30
add esp, 0x24
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.100041e0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.10015360
nop
lea ecx, [ebp - 0x30]
call fcn.10006780
nop
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
jne 0x10015d73
mov edx, dword [ebp - 0x3c]
push edx
call fcn.1004dd40
add esp, 4
mov eax, dword [ebp - 0x38]
and eax, 1
je 0x10015e55
and dword [ebp - 0x38], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.10009c50
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret
Function at 0x10016a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0x811c9dc5
mov dword [ebp - 8], 0
jmp 0x10016a6f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jae 0x10016a92
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
imul ecx, dword [ebp - 4], 0x1000193
mov dword [ebp - 4], ecx
jmp 0x10016a66
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x100183b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x58]
sub ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x5c]
sbb edx, dword [ebp + 0x18]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x60]
jb 0x1001844f
ja 0x100183f5
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x64]
jbe 0x1001844f
mov dword [ebp - 0x3c], str.cant_read_pointer
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x3c]
mov ax, word [edx]
mov word [ebp - 0x3e], ax
add dword [ebp - 0x3c], 2
cmp word [ebp - 0x3e], 0
jne 0x10018405
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
sar ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
push str.cant_read_pointer
mov ecx, dword [ebp - 0x38]
add ecx, 0x3c
call fcn.10006ca0
mov dword [ebp - 0x70], eax
xor eax, eax
jmp 0x100184f1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
push 0
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x100184a4
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.10017e10
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x3c
call fcn.100048d0
lea ecx, [ebp - 0x1c]
call fcn.10006840
nop
xor eax, eax
jmp 0x100184f1
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100184ec
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.10017e10
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x3c
call fcn.100048d0
lea ecx, [ebp - 0x34]
call fcn.10006840
nop
xor eax, eax
jmp 0x100184f1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1001a020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x100a2d4c], eax
cmp dword [0x100a2d4c], 0
jne 0x1001a043
xor al, al
jmp 0x1001a06e
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x1001a170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100a2d48], eax
cmp dword [0x100a2d48], 0
jne 0x1001a06c
xor al, al
jmp 0x1001a06e
mov al, 1
pop ebp
ret
Function at 0x1001a070
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a2d4c], 0
je 0x1001a09f
mov eax, dword [0x100a2d4c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x1001a095
mov byte [ebp - 2], 1
jmp 0x1001a099
mov byte [ebp - 2], 0
mov cl, byte [ebp - 2]
mov byte [ebp - 1], cl
cmp dword [0x100a2d48], 0
je 0x1001a13b
push 0xbb8
mov edx, dword [0x100a2d48]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 0x102
jne 0x1001a0f6
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x100a2d48]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x1001a0ec
mov byte [ebp - 3], 1
jmp 0x1001a0f0
mov byte [ebp - 3], 0
mov dl, byte [ebp - 3]
mov byte [ebp - 1], dl
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x100a2d48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1001a111
mov byte [ebp - 4], 1
jmp 0x1001a115
mov byte [ebp - 4], 0
mov dl, byte [ebp - 4]
mov byte [ebp - 1], dl
mov eax, dword [0x100a2d48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001a131
mov byte [ebp - 5], 1
jmp 0x1001a135
mov byte [ebp - 5], 0
mov cl, byte [ebp - 5]
mov byte [ebp - 1], cl
cmp dword [0x100a2d4c], 0
je 0x1001a165
mov edx, dword [0x100a2d4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001a15b
mov byte [ebp - 6], 1
jmp 0x1001a15f
mov byte [ebp - 6], 0
mov al, byte [ebp - 6]
mov byte [ebp - 1], al
mov esp, ebp
pop ebp
ret
Function at 0x1001cb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x100a30b0]
test eax, eax
je 0x1001cb50
jmp 0x1001cc08
mov ecx, dword [0x1009d030]
add ecx, 0x78
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
call fcn.100062a0
mov dword [ebp - 0x58], eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x50], eax
push 2
push 0
push 0xffffffffffffffd8
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x60], eax
push 0x2a
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.1004bd80
add esp, 0xc
mov dword [ebp - 0x5c], 0
push 0
lea edx, [ebp - 0x5c]
push edx
push 0x28
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001cbcd
mov byte [ebp - 0x49], 1
jmp 0x1001cbd1
mov byte [ebp - 0x49], 0
mov dl, byte [ebp - 0x49]
mov byte [ebp - 0x4a], dl
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.100041e0
push eax
mov ecx, 0x100a3098
call fcn.10004860
lea ecx, [ebp - 0x48]
call fcn.10006780
nop
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x100a30b0], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret

Function at 0x1001db50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0x1007afa4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x24], eax
mov edx, dword [0x1009d030]
add edx, 0x130
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
call fcn.10006250
mov dword [ebp - 0x14], eax
push 8
push 0x100a3028
push 0xb
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 8], 0
je 0x1001dbe9
mov eax, dword [ebp - 8]
push eax
push str.RegSetValueExA_error__08X
call fcn.1000b950
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x1002b917
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x1002b93a
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x1002b928
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x10039b40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10053b32
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10039b83
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x10039b83
sub eax, 1
je 0x10039b7e
sub eax, 1
je 0x10039b7a
xor eax, eax
leave
ret
push 3
jmp 0x10039b85
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x1003b590
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 0
push 0x38
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.1004bd80
add esp, 0xc
push 0x38
lea ecx, [ebp - 0x40]
push ecx
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
jne 0x1003b5cd
xor eax, eax
jmp 0x1003b6e4
mov dword [ebp - 8], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10052d04
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x18], 0
je 0x1003b614
lea ecx, [ebp - 0x44]
push ecx
push 0x20119
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x58], eax
jmp 0x1003b629
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jne 0x1003b665
mov eax, dword [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1004bd80
add esp, 0xc
mov eax, dword [ebp - 0x48]
jmp 0x1003b6e4
cmp dword [ebp - 0x50], 0xea
jne 0x1003b6c4
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1005413f
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1003b698
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x48], edx
jmp 0x1003b69d
mov eax, dword [ebp - 0x48]
jmp 0x1003b6e4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x50], eax
jmp 0x1003b665
cmp dword [ebp - 0x50], 0
jne 0x1003b6cf
mov eax, dword [ebp - 0x48]
jmp 0x1003b6e4
mov eax, dword [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1004bd80
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret
Function at 0x1003c0c0
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
push 0xfde9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1003d820
add esp, 0xc
push 0x800100
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
call fcn.100308b1
push eax
push str.POST
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x1003c13c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
call fcn.1002b32e
mov eax, dword [ebp - 0x24]
jmp 0x1003c14e
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x1c]
call fcn.1002b32e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret 4

Function at 0x1003c160
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0
push 0
push 0
push str.BysterCoreDll
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x1003c19a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
jmp 0x1003c1ba
push 0
push 0x10030
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [ebp - 8], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c1c0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1003c209
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
xor eax, eax
jmp 0x1003c32d
mov eax, dword [ebp - 0xc]
push eax
call fcn.1003a71e
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x1003c23d
push str.WinHttp:_Out_of_memory
call fcn.1000b8c0
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x1003c31e
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.1004bd80
add esp, 0xc
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1003c2a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1003a727
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x1003c295
mov dword [ebp - 0x24], 0
jmp 0x1003c2a2
mov dword [ebp - 0x10], 0x8123
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
xor eax, eax
jmp 0x1003c32d
lea ecx, [ebp - 0x11]
call fcn.10023df0
push eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10007270
push eax
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.1003b720
add esp, 0xc
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10004860
lea ecx, [ebp - 0x40]
call fcn.1000ddc0
lea ecx, [ebp - 0x58]
call fcn.1000ddc0
nop
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1003a727
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x1003c311
mov dword [ebp - 0x28], 0
jmp 0x1003c31e
mov dword [ebp - 0x10], 0x8123
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0xc], 0
ja 0x1003c1de
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret
Function at 0x1003d080
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
call fcn.1000c9f0
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x1003d0d7
mov ecx, dword [ebp - 8]
and ecx, 1
je 0x1003d0cf
and dword [ebp - 8], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.1000ddc0
nop
mov eax, dword [ebp + 8]
jmp 0x1003d1f7
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003d0f2
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1003d119
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
and ecx, 1
je 0x1003d111
and dword [ebp - 8], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.1000ddc0
nop
mov eax, dword [ebp + 8]
jmp 0x1003d1f7
push 0
push 0
push 0
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1003d15d
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
and ecx, 1
je 0x1003d155
and dword [ebp - 8], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.1000ddc0
nop
mov eax, dword [ebp + 8]
jmp 0x1003d1f7
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x10], 0
jne 0x1003d1a7
mov edx, dword [ebp - 8]
and edx, 1
je 0x1003d1a2
and dword [ebp - 8], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.1000ddc0
nop
mov eax, dword [ebp + 8]
jmp 0x1003d1f7
lea ecx, [ebp - 1]
call fcn.10023df0
push eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10007270
push eax
mov ecx, dword [ebp + 8]
call fcn.10004860
lea ecx, [ebp - 0x30]
call fcn.1000ddc0
nop
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 8]
and eax, 1
je 0x1003d1f4
and dword [ebp - 8], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.1000ddc0
nop
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10043e20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x44], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x44], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x4c], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x10325476
mov esp, ebp
pop ebp
ret

Function at 0x10046280
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a0f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
call fcn.100308b1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100462ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x100000
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
xor eax, eax
jmp 0x100463b4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10046335
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x200000
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100463b4
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 0
jne 0x1004637f
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x300000
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x100463b4
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003a6b5
mov esp, ebp
pop ebp
ret