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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x38], 0
lea eax, [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
lea ecx, [ebp - 0xc]
jne 0x40f665
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x40f63f
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0xc]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x40f6d8
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push ecx
push 0
push 0x2011f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40f6af
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0xc]
push 0
push ecx
push 0
push 0
push 0xf013f
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 8]
push 4
push ecx
push 4
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40f6d6
mov bl, 1
jmp 0x40f6d8
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40f70e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f76a
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x40f758
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f74e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f76a
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
int3
Function at 0x40f960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434c25
mov eax, dword fs:[0]
push eax
mov eax, 0x825c
call fcn.0041aad0
mov eax, dword [0x44d080]
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, ecx
mov dword [ebp - 0x8220], edi
mov dword [ebp - 0x8268], edi
mov dword [ebp - 0x824c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x8248]
push ecx
push 0x20019
lea eax, [ebp + 8]
mov dword [ebp - 0x824c], 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fb87
mov ax, word [0x44263c]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.0041bd40
add esp, 0xc
mov dword [ebp - 0x8228], 0x104
lea eax, [ebp - 0x8244]
mov dword [ebp - 0x8224], 0
push eax
lea eax, [ebp - 0x822c]
push eax
lea eax, [ebp - 0x8230]
push eax
lea eax, [ebp - 0x8234]
push eax
lea eax, [ebp - 0x821c]
push eax
lea eax, [ebp - 0x8238]
push eax
lea eax, [ebp - 0x823c]
push eax
lea eax, [ebp - 0x8224]
push eax
push 0
lea eax, [ebp - 0x8228]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x8248]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x821c]
test eax, eax
je 0x40fb87
xor esi, esi
test eax, eax
je 0x40fb87
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop
xor eax, eax
mov dword [ebp - 0x8220], 0x3fff
push eax
push eax
push eax
push eax
mov word [ebp - 0x8218], ax
lea eax, [ebp - 0x8220]
push eax
lea eax, [ebp - 0x8218]
push eax
push esi
push dword [ebp - 0x8248]
call ebx
test eax, eax
jne 0x40fb7a
mov dword [ebp - 0x8254], eax
mov word [ebp - 0x8264], ax
lea eax, [ebp - 0x8218]
mov dword [ebp - 0x8250], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fb06
sub eax, edx
lea ecx, [ebp - 0x8264]
sar eax, 1
push eax
lea eax, [ebp - 0x8218]
push eax
call fcn.0040b840
lea eax, [ebp - 0x8264]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0040b0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8250]
cmp edx, 8
jb 0x40fb7a
mov ecx, dword [ebp - 0x8264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe7
push edx
push ecx
call fcn.00419f4a
add esp, 8
inc esi
cmp esi, dword [ebp - 0x821c]
jb 0x40fab0
push dword [ebp - 0x8248]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40fbc9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbe7
push edx
push ecx
call fcn.00419f4a
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
int3
Function at 0x40fbf0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434c58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44d080]
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
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x1c], xmm0
push eax
call fcn.0040b290
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.0040f960
add esp, 0x18
lea ecx, [ebp - 0x20]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x40fcbd
xor esi, esi
cmp dword [esi + edi + 0x14], 8
lea eax, [esi + edi]
jb 0x40fc92
mov eax, dword [eax]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x1c]
inc ebx
sub ecx, edi
add esi, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x40fc86
lea ecx, [ebp - 0x1c]
call fcn.0040b540
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40fcfb
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fcf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fd17
push edx
push ecx
call fcn.00419f4a
add esp, 8
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.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
int3

Function at 0x40fd20
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], edi
xor eax, eax
mov dword [ebp - 0x814], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x800
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 1
push eax
call fcn.0041bd40
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40fdde
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fdc0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040b840
mov eax, edi
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.00419c6a
mov esp, ebp
pop ebp
ret
Function at 0x410e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0xc], 4
cmp dword [ebp + 0x1c], 8
lea edx, [ebp - 0x10]
lea eax, [ebp + 8]
mov dword [ebp - 8], esi
cmovae eax, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push esi
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp + 0x1c]
test eax, eax
cmove esi, dword [ebp - 8]
cmp edx, 8
jb 0x410eaf
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410ea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f0a
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x410ef9
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410eef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f0a
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
int3
Function at 0x4114a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434f52
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], 0
xor eax, eax
mov dword [ebp - 4], 2
push eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
push 0x44263c
mov word [edi], ax
call fcn.0040b840
push 0x400
lea eax, [ebp - 0x810]
mov dword [ebp - 0x81c], 1
push 0
push eax
call fcn.0041bd40
add esp, 0xc
mov dword [ebp - 0x814], 0x400
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x818]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x810]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4115e1
mov ax, word [0x44263c]
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push 0
push eax
call fcn.0041bd40
push dword [ebp - 0x814]
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0041b240
lea ecx, [ebp - 0x410]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4115c3
sub ecx, edx
lea eax, [ebp - 0x410]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040b840
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x411617
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41160d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41167e
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x411661
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411657
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411683
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov eax, edi
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.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
call fcn.0042045f
int3
Function at 0x411cc0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.urlmon.dll_URLDownloadToFileW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 0
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call ebx
test eax, eax
je 0x411d09
push 0xbb8
call edi
inc esi
cmp esi, 3
jl 0x411cd4
xor bl, bl
jmp 0x411d0b
mov bl, 1
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x411d41
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411d37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411d92
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x411d8b
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411d81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411d92
push edx
push ecx
call fcn.00419f4a
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
call fcn.0042045f
int3
Function at 0x412420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 8
push ebx
push esi
push edi
lea edi, [ebp + 0x38]
mov esi, ecx
cmovae edi, dword [ebp + 0x38]
lea ebx, [eax + eax]
mov dword [ebp - 0xc], ebx
lea eax, [ebp + 8]
lea ecx, [ebp - 8]
test dl, dl
jne 0x4124a1
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41247f
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 8]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ebx
cmovae eax, dword [ebp + 0x20]
push edi
push 1
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
jmp 0x412510
cmp dword [ebp + 0x1c], 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmovae eax, dword [ebp + 8]
push 0
push ecx
push 0
push 0x2011f
push 0
push 0
push 0
push eax
push esi
call ebx
test eax, eax
je 0x4124e9
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 8]
push 0
push ecx
push 0
push 0
push 0xf013f
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push esi
call ebx
push dword [ebp - 0xc]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push edi
cmovae eax, dword [ebp + 0x20]
push 1
push 0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41250e
mov bl, 1
jmp 0x412510
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x41254a
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412540
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4125f1
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x412594
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41258a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4125f1
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp edx, 8
jb 0x4125de
mov ecx, dword [ebp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4125d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4125f1
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0042045f
int3
Function at 0x413c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4351d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44d080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00419c80
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00418c25
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x413cd2
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
xor ecx, ecx
cmp eax, 0x7fffffff
ja 0x413d8a
test eax, eax
je 0x413d6e
lea ebx, [eax + eax]
cmp ebx, 0x1000
jb 0x413d19
lea eax, [ebx + 0x23]
or ecx, 0xffffffff
cmp eax, ebx
cmovbe eax, ecx
push eax
call fcn.00419c80
add esp, 4
test eax, eax
je 0x413d8f
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x413d2c
test ebx, ebx
je 0x413d2a
push ebx
call fcn.00419c80
add esp, 4
mov esi, eax
jmp 0x413d2c
xor esi, esi
push ebx
push dword [ebp + 8]
push esi
call fcn.0041b240
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [edi + 0x38], eax
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [eax], esi
mov eax, dword [edi + 0x1c]
mov dword [eax], esi
mov eax, dword [edi + 0x2c]
mov dword [eax], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x38]
sub ecx, esi
sar ecx, 1
mov dword [eax], esi
mov eax, dword [edi + 0x20]
mov dword [eax], esi
mov eax, dword [edi + 0x30]
mov dword [eax], ecx
mov ecx, 1
jmp 0x413d71
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004185ed
call fcn.0042045f
int3
Function at 0x427a9e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042791d
Function at 0x402659
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x402661
mov dword [ecx*4 + 0x48fca0], eax
inc ecx
cmp ecx, 0x100
jb 0x40265c
mov edx, 0x800
jmp 0x4026ae
mov eax, dword [ecx*4 + 0x48f8a0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48fca0]
inc ecx
mov dword [ecx*4 + 0x48fc9c], eax
cmp ecx, edx
jb 0x40268d
mov dword [0x48e390], 0x4026d1
call fcn.004113c8
test eax, eax
jne 0x4026cf
mov dword [0x48e390], 0x40276d
pop esi
ret

Function at 0x40c26e
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x45610e
call fcn.0043dfc3
mov esi, dword [ebp + 8]
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.00402102
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 0x478e70
call fcn.00402102
lea ecx, [esi + 0x34]
call fcn.00402102
mov dword [esi + 0x2c], 1
push 0x10
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0043c590
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], 4
call fcn.00402123
push 2
push edi
call dword [0x4596d4]
mov ebx, 0x272f4
mov dword [esi + 0xc], eax
cmp dword [0x48eac4], ebx
je 0x40c3a9
cmp eax, edi
jl 0x40c3a9
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [0x4596d8]
cmp eax, edi
mov dword [esi + 0xc], eax
jge 0x40c33d
cmp eax, 0x80010119
je 0x40c33d
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40c389
push esi
push 0x461b24
push 4
push edi
push 0x461b14
call dword [0x4596dc]
mov ebx, 0x222e0
mov dword [esi + 0xc], eax
cmp dword [0x48eac4], ebx
je 0x40c365
cmp eax, edi
jge 0x40c3d7
mov eax, dword [esi]
cmp eax, edi
je 0x40c373
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
push ebx
mov ecx, dword [esi + 0xc]
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025dc
call dword [0x4596cc]
jmp 0x40c3d7
push 0x460e68
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
push ebx
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, esi
call fcn.0043e09b
ret 8