joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423216
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x504d9c
call fcn.0044d727
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x848], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0041a040
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x4232a7
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00422382
push 0
jmp 0x4233e4
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x4232d4
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423292
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x423307
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x423292
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x423359
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.00422382
jmp 0x4233e3
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0042c0b0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00431c27
pop ecx
mov ecx, edi
test eax, eax
je 0x423348
lea eax, [ebp - 0x810]
push eax
call fcn.0041a040
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041a530
mov eax, edi
call fcn.0044d6e2
ret
Function at 0x4233f9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x504a86
call fcn.0044d727
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.0041a040
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x423484
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00422382
push 0
jmp 0x423573
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4234ad
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42346f
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x4234f4
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.00422382
jmp 0x423572
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0042c0b0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00431c27
pop ecx
mov ecx, edi
test eax, eax
je 0x4234e6
lea eax, [ebp - 0x810]
push eax
call fcn.0041a040
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041a530
mov eax, edi
call fcn.0044d6e2
ret
Function at 0x423588
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x504dcf
call fcn.0044d727
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0041a040
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42360c
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.00422382
push 0
jmp 0x42370a
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x423640
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4235f7
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x42367b
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x4235f7
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.0042c0b0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.00431c27
pop ecx
mov ecx, edi
test eax, eax
jne 0x4236fd
lea eax, [ebp - 0x828]
push eax
call fcn.00422382
jmp 0x423709
lea eax, [ebp - 0x810]
push eax
call fcn.0041a040
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.0041a530
mov eax, edi
call fcn.0044d6e2
ret
Function at 0x423981
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423a3e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x4239df
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423a3d
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x423a05
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x423a3b
push dword [ebp + 0x14]
call fcn.00431c27
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423af5
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0042c0b0
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x423b58
cmp dword [ebp - 0x118], 2
jg 0x423b58
xor eax, eax
inc eax
jmp 0x423b5a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret
Function at 0x423eeb
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x504eef
call fcn.0044d727
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x423feb
cmp byte [ebx + 0x3d], 0
je 0x423feb
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x423f25
xor al, al
jmp 0x423fed
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004247d7
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x423f83
sub eax, 1
je 0x423f87
dec eax
sub eax, 1
je 0x423fd9
xor bl, bl
jmp 0x423fdb
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x423fbf
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0043be87
add esp, 0x10
cmp esi, eax
jne 0x423f7f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x423fd9
test esi, esi
jne 0x423f49
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004246d4
jmp 0x423f43
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041a7a0
mov al, bl
jmp 0x423fed
mov al, 1
call fcn.0044d6e2
ret
Function at 0x424d9a
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x505059
call fcn.0044d727
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x424dc6
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x424f27
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x424df4
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x424df4
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x424f27
cmp dword [esi + 0x4c], 0
je 0x424f25
mov ecx, esi
call fcn.00424562
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x424e24
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.0042205b
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x424f25
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.004247d7
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x424f19
cmp eax, 1
jg 0x424efe
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x424ecf
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0043be87
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x424f19
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x424ef9
test edx, edx
jne 0x424e4f
cmp dword [ebp - 0x18], 0x20
jae 0x424f19
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.004246d4
jmp 0x424e4c
mov ebx, dword [ebp + 8]
jmp 0x424f19
cmp eax, 3
jne 0x424f19
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.0042205b
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0041a7a0
mov eax, ebx
call fcn.0044d6e2
ret 4
Function at 0x4263eb
Capabilities:
Check if file exists
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0044d7a0
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x3e8
lea eax, [ebp - 0xc10]
push esi
xor edi, edi
push edi
push eax
call fcn.0042c0b0
push esi
lea eax, [ebp - 0xffc]
push edi
push eax
call fcn.0042c0b0
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc10]
push 0x1f3
push 0x1f4
push eax
call fcn.0042661d
xor eax, eax
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xffc]
push str._zip__s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
add esp, 0x3c
mov word [ebp - 0xc16], ax
lea eax, [ebp - 0xffc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
push edi
push eax
call fcn.0042c0b0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0043c3f4
push 0x506508
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.00422196
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0042c0b0
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042c0b0
add esp, 0x40
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0042bd1e
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x42660c
lea eax, [ebp - 0x20c]
push eax
call fcn.00431c27
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.0043c3f4
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.00422196
add esp, 0x20
lea eax, [ebp - 0x414]
push eax
call esi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x506df4
push eax
cmovne edi, ebx
call fcn.0043c5da
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42660c
test edi, edi
jne 0x4265b2
push esi
push 2
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1004], 0xfeff
push ebx
push eax
call fcn.0043be87
add esp, 0x10
lea eax, [ebp - 0xc10]
push eax
call fcn.00431c27
push esi
add eax, eax
push eax
lea eax, [ebp - 0xc10]
push ebx
push eax
call fcn.0043be87
push esi
push 2
lea eax, [ebp - 0x1000]
mov dword [ebp - 0x1000], 0xd
push ebx
push eax
call fcn.0043be87
push esi
push 2
lea eax, [ebp - 0x1000]
mov dword [ebp - 0x1000], 0xa
push ebx
push eax
call fcn.0043be87
push esi
call fcn.0043b3ec
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret
Function at 0x426b9a
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push 0x20c
mov eax, 0x505292
call fcn.0044d727
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
mov dword [ebp - 4], ebx
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426bd9
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0042c0b0
push 0x98967f
push 0xf4240
call fcn.004231e2
add esp, 0x14
cmp dword [esi + 0x14], 8
jb 0x426c05
mov esi, dword [esi]
push eax
push esi
lea eax, [ebp - 0x218]
push str._s__d
push eax
call fcn.004195f0
add esp, 0x10
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 8
cmovae eax, dword [ebp + 0xc]
push ebx
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x426c52
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426c52
mov bl, 1
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.0041a530
mov al, bl
call fcn.0044d6e2
ret 0x1c
Function at 0x426cc0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0xc8
mov eax, 0x5052d2
call fcn.0044d727
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
xor eax, eax
mov dword [ebp - 0xd0], ebx
push 0x551210
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.0041a620
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], ebx
call fcn.0042919e
cmp dword [esi + 0x14], 8
jb 0x426d13
mov eax, dword [esi]
jmp 0x426d15
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426e26
cmp dword [esi + 0x14], 8
jb 0x426d2c
mov esi, dword [esi]
push ebx
push 0x80
push 4
push ebx
push 1
push bind
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x426d5b
push 0x551210
mov ecx, edi
call fcn.0041a040
jmp 0x426e31
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc8], eax
inc eax
push eax
mov dword [ebp - 0xcc], eax
call fcn.0044d7cd
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x426d8f
push 0x551210
mov ecx, edi
call fcn.0041a040
push ebx
jmp 0x426e32
push dword [ebp - 0xcc]
push 0
push ebx
call fcn.0042c0b0
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0
push eax
push dword [ebp - 0xc8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push ebx
call fcn.00429b90
push ebx
call fcn.0044d7d6
pop ecx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004293de
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00423a44
pop ecx
pop ecx
xor ebx, ebx
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0041a7a0
cmp dword [ebp - 0x30], ebx
jbe 0x426e1b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041a6a0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0041a530
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00422382
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0041a530
mov eax, edi
call fcn.0044d6e2
ret 8
Function at 0x426f59
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0x840
mov eax, 0x50535a
call fcn.0044d727
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x830]
mov esi, dword [ebp + 0xc]
mov ebx, 0x208
and dword [ebp - 0x84c], 0
push ebx
push 0
push eax
call fcn.0042c0b0
lea eax, [ebp - 0x848]
push esi
push eax
call fcn.00423a44
xor esi, esi
lea ecx, [ebp - 0x830]
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
push ecx
cmovae eax, dword [ebp - 0x848]
push eax
mov dword [ebp - 4], esi
call fcn.00422fbe
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0042c0b0
push ebx
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.0042c0b0
push ebx
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.0042c0b0
add esp, 0x40
lea eax, [ebp - 0x420]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042e937
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00431bf6
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427058
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0041a040
push 0
push 1
lea ecx, [ebp - 0x848]
call fcn.0041a530
mov eax, edi
call fcn.0044d6e2
ret 8
Function at 0x429059
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x556008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x4290ee
lea ecx, [eax + 0x80]
add eax, 0x100
dec edi
mov dword [ebp - 0x14], ecx
shr edi, 3
inc edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edi
mov edx, ebx
mov ecx, esi
push 8
sub edx, esi
pop edi
mov al, byte [edx + ecx]
mov byte [ecx], al
inc ecx
sub edi, 1
jne 0x42909e
push 8
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0042b770
push esi
push esi
push dword [ebp - 0x14]
call fcn.0042833f
mov edx, dword [ebp - 0x18]
add esp, 0x18
xor ecx, ecx
mov al, byte [edx + ecx]
xor byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x4290c7
push 8
lea eax, [ebp - 0xc]
push eax
push edx
call fcn.0042b770
add esp, 0xc
add ebx, 8
add esi, 8
sub dword [ebp - 0x10], 1
jne 0x429095
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ea4f
mov esp, ebp
pop ebp
ret

Function at 0x429135
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
mov eax, esi
setne dl
mov dword [esi + 4], edx
pop esi
pop ebp
ret 4

Function at 0x4293b7
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x43ff5b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043fc1b

Function at 0x444ad6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00444955