joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4360ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x56d090
call fcn.004f8f44
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov eax, esi
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
cdq
mov edi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
call fcn.0055450b
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0055450b
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004367fb
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x436166
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00554497
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00554497
mov eax, dword [ebp + 0xc]
jmp 0x4362a3
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x88]
push eax
call fcn.005545de
lea eax, [ebp + 8]
lea ecx, [esi + 0x8c]
push eax
call fcn.005545de
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00436612
cmp eax, ebx
je 0x4361b4
push 0x28
push 4
mov ecx, esi
call fcn.004362b4
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push 0x5a0a68
push eax
call fcn.004fa740
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test al, 1
jne 0x4361f2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add eax, 2
adc ecx, ebx
cmp eax, edi
jne 0x4361d2
cmp ecx, dword [ebp - 0x34]
je 0x4361f2
push 0x28
push 4
mov ecx, esi
call fcn.004362b4
lea eax, [ebp - 0x1c]
push 0x5a0a68
push eax
mov dword [ebp - 0x1c], 0xfffffffe
call fcn.004fa740
lea eax, [ebp - 0x20]
push 0x5a0a68
push eax
mov dword [ebp - 0x20], ebx
call fcn.004fa740
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x436282
lea eax, [ebp - 0x28]
push eax
call fcn.00437557
mov edi, dword [ebp - 0x24]
mov eax, dword [eax]
pop ecx
push ebx
push 2
pop esi
mov ecx, edi
push esi
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
call fcn.004362b4
mov ecx, edi
call fcn.0043633c
cmp word [edi + 0x78], si
jne 0x436241
cmp word [edi + 0x7a], bx
je 0x43624a
mov dword [edi + 0xa0], ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x436282
mov ecx, dword [ebp - 0x30]
mov eax, edi
add ecx, esi
mov esi, dword [ebp - 0x2c]
cdq
adc esi, ebx
cmp ecx, eax
jne 0x436270
cmp esi, edx
je 0x436282
push 0x28
push 4
mov ecx, edi
call fcn.004362b4
mov dword [ebp + 0xc], 0xfffffffe
mov eax, 0x436288
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x436b23
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e10
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push 0x655b6c
call fcn.0055462e
xor esi, esi
push 0x1001
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x436b86
or eax, 0xffffffff
jmp 0x436be0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1001
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp + 8]
push eax
push esi
push esi
mov dword [ebp + 8], 3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
test eax, eax
je 0x436bbd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436b81
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x436b81
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
mov ecx, ebx
push dword [ebp - 4]
push eax
call fcn.00436c88
neg eax
sbb eax, eax
pop esi
pop ebx
leave
ret 8

Function at 0x436be6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.004f9e10
push ebx
push edi
xor edi, edi
push 0x1001
lea eax, [ebp - 0x1010]
push edi
mov ebx, ecx
push eax
call fcn.004f9050
add esp, 0xc
lea eax, [ebp - 8]
mov ecx, ebx
mov dword [ebp - 8], 0x1001
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.00436d97
test eax, eax
jne 0x436c54
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x436c59
or eax, 0xffffffff
jmp 0x436c82
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
push 3
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x436c77
or edi, 0xffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop ebx
leave
ret 8
Function at 0x437557
Capabilities:
Get common file path

Disassembly:
mov eax, 0x56d198
call fcn.004f8f44
sub esp, 0x830
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0054d506
and word [ebp - 0x83c], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x83c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x83c]
lea ecx, [ebp - 0x14]
push eax
call fcn.0055450b
and dword [ebp - 4], 0
push str._bootstat.dat
lea ecx, [ebp - 0x14]
call fcn.00554888
push 0x24
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f9050
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x14]
call fcn.004fa838
add esp, 0x14
test eax, eax
jne 0x4375f9
mov eax, dword [ebp - 0x20]
push ecx
mov ecx, esp
mov esi, eax
mov dword [ebp - 0x18], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x10]
call fcn.0042a944
test eax, eax
je 0x4375f9
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov dword [esi], eax
call fcn.00554497
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43839a
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
and dword [edx], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x4383ad
cmp eax, 0xffffffff
jne 0x4383b2
or eax, 0xffffffff
jmp 0x4383cb
push 0
push edx
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
dec eax
ret 0xc
Function at 0x43aedb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x56da6b
call fcn.004f8f44
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x188]
mov dword [ebp - 4], 0x25
call fcn.00554497
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0x24
call fcn.00554497
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0x23
call fcn.00554497
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 0x22
call fcn.00554497
lea ecx, [esi + 0x178]
mov byte [ebp - 4], 0x21
call fcn.00554497
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0x20
call fcn.00554497
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 0x1f
call fcn.00554497
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0x1e
call fcn.00554497
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 0x1d
call fcn.00554497
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0x1c
call fcn.00554497
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0x1b
call fcn.00554497
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0x1a
call fcn.00554497
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 0x19
call fcn.00554497
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0x104]
call fcn.00554497
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 0x17
call fcn.00554497
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0x16
call fcn.00554497
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 0x15
call fcn.00554497
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 0x14
call fcn.00554497
lea ecx, [esi + 0xec]
mov byte [ebp - 4], 0x13
call fcn.00554497
lea ecx, [esi + 0xe8]
mov byte [ebp - 4], 0x12
call fcn.00554497
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 0x11
call fcn.00554497
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 0x10
call fcn.00554497
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 0xf
call fcn.00554497
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 0xe
call fcn.00554497
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0xd
call fcn.00554497
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.00554497
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xb
call fcn.00554497
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 0xa
call fcn.00554497
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 9
call fcn.00554497
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 8
call fcn.00554497
lea ecx, [esi + 0x84]
mov byte [ebp - 4], 7
call fcn.00554497
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call fcn.00554497
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.00554497
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 4
call fcn.00554497
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.00554497
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00554497
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.00554497
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.00554497
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.00554497
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43b97e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56dc0a
call fcn.004f8f44
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00426cf6
pop ecx
mov eax, dword [eax]
push 1
xor edi, edi
push 1
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0041d7a7
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00554497
lea ecx, [ebp - 0xe4]
call fcn.0043b72f
push dword [ebp + 0x2c]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.0043b322
mov esi, eax
cmp esi, edi
je 0x43ba18
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00554497
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x58678c
call fcn.0043e01f
jmp 0x43bb41
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ba4e
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00554497
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x58678c
call fcn.0043e01f
or esi, 0xffffffff
jmp 0x43bb41
push edi
lea ecx, [ebp - 0x2ac]
call fcn.004d5420
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004d6590
test al, al
jne 0x43baa2
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x585a88
call fcn.004d54f0
lea ecx, [ebp - 0x2ac]
call fcn.004d5440
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x43bb24
cmp dword [ebp + 0x24], edi
jle 0x43baea
cmp dword [ebp + 0x20], edi
jle 0x43baea
lea ecx, [ebp - 0x2ac]
call fcn.004d34f0
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.004d34e0
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0043c94a
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.0041f8f4
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.004d5a40
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x585a88
call fcn.004d54f0
lea ecx, [ebp - 0x2ac]
call fcn.004d5440
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.00554497
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x5863dc
call fcn.00431a22
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041d814
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43bb5d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56dc40
call fcn.004f8f44
sub esp, 0xc0
push esi
lea ecx, [ebp - 0xcc]
call fcn.0043b72f
push dword [ebp + 0x14]
xor esi, esi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043b60a
cmp eax, esi
je 0x43bba4
mov dword [ebp - 4], 1
mov esi, eax
jmp 0x43bbc4
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43bbbd
mov dword [ebp - 4], 2
or esi, 0xffffffff
jmp 0x43bbc4
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00554497
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x5863dc
call fcn.00431a22
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43c9ad
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56dda8
call fcn.004f8f44
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x655d84
push str._sMediaProbe.exe
push edi
call fcn.0054d2a9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x655d84]
call esi
test eax, eax
jne 0x43c9f1
push str.MediaProbe.exe
mov ecx, edi
call fcn.0055462e
push ebx
mov edi, 0x655d88
push str._sMediaEncode.exe
push edi
call fcn.0054d2a9
add esp, 0xc
push dword [0x655d88]
call esi
test eax, eax
jne 0x43ca1d
push str.MediaEncode.exe
mov ecx, edi
call fcn.0055462e
push dword [0x655d88]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e79b
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5ce1c4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0055473c
push eax
mov ecx, 0x655d8c
mov byte [ebp - 4], 1
call fcn.005545de
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00554497
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00554497
push ebx
mov edi, 0x655d90
push str._sMediaPlay.exe
push edi
call fcn.0054d2a9
add esp, 0xc
push dword [0x655d90]
call esi
test eax, eax
jne 0x43ca94
push str.MediaPlay.exe
mov ecx, edi
call fcn.0055462e
cmp dword [0x655d94], 0
jne 0x43cb98
mov eax, dword [0x64ddc8]
mov dword [ebp + 8], eax
push 2
lea eax, [ebp + 8]
pop edi
push ebx
push str._s_avcodec_60.dll
push eax
mov dword [ebp - 4], edi
call fcn.0054d2a9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cad4
mov dword [0x655d94], 6
cmp dword [0x655d94], 0
jne 0x43cb8c
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb06
mov dword [0x655d94], 5
cmp dword [0x655d94], 0
jne 0x43cb8c
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb34
mov dword [0x655d94], 4
cmp dword [0x655d94], 0
jne 0x43cb8c
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb62
mov dword [0x655d94], 3
cmp dword [0x655d94], 0
jne 0x43cb8c
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x43cb8c
mov dword [0x655d94], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00554497
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x655d98], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43cbb3
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x655d90]
call esi
test eax, eax
je 0x43cbd3
xor eax, eax
push eax
push eax
push eax
push dword [0x655d90]
jmp 0x43cc03
push dword [0x655d88]
call esi
test eax, eax
je 0x43cbec
xor eax, eax
push eax
push eax
push eax
push dword [0x655d88]
jmp 0x43cc03
push dword [0x655d84]
call esi
test eax, eax
je 0x43cc0b
xor eax, eax
push eax
push eax
push eax
push dword [0x655d84]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

Function at 0x43ce70
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x56de04
call fcn.004f8f44
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ceae
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041e79b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.00554497
lea eax, [ebp - 0x14]
push eax
call fcn.00426cf6
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041d7a7
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00554497
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.0055462e
push dword [ebp + 0x10]
mov eax, esi
neg eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x68]
sbb eax, eax
and eax, ecx
mov ecx, esi
push eax
call fcn.0043cc30
test eax, eax
je 0x43cf05
mov esi, eax
jmp 0x43cf3a
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push ebx
push dword [ebp - 0x24]
call dword [eax + 0x28]
test eax, eax
je 0x43cf1f
or esi, 0xffffffff
jmp 0x43cf3a
mov edi, dword [edi]
mov eax, dword [esi]
push edi
push ebx
mov ecx, esi
call dword [eax + 0x2c]
or esi, 0xffffffff
cmp eax, esi
je 0x43cf3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041d814
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x442152
Capabilities:
Resume thread

Disassembly:
mov eax, 0x56eacd
call fcn.004f8f44
push ecx
push esi
mov esi, ecx
push 0x74
call fcn.00550ce9
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x442177
push dword [ebp + 8]
push esi
call fcn.0044348d
mov esi, eax
jmp 0x442179
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44219b
push 0
push 0
push 4
mov ecx, esi
call fcn.00550199
test eax, eax
jne 0x44219f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x4421b5
push 0
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x445c3c
Capabilities:
Parse url

Disassembly:
mov eax, 0x56eb84
call fcn.004f8f44
mov eax, 0x4048
call fcn.004f9e10
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0055450b
xor ebx, ebx
push 0x23
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00554976
or esi, 0xffffffff
cmp eax, esi
je 0x445c98
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0054ce9b
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.005545de
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00554497
mov eax, dword [ebp + 8]
cmp dword [eax - 8], ebx
je 0x445d43
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x655b6c
push esi
mov dword [edi], ebx
call fcn.0055462e
mov ecx, dword [ebp + 0x14]
push esi
call fcn.0055462e
mov eax, dword [ebp + 0x18]
push 0x3c
pop esi
mov dword [eax], ebx
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004f9050
mov eax, 0x1000
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x4054]
lea ecx, [ebp - 0x2050]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
mov dword [ebp - 0x4c], esi
push dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov esi, eax
cmp esi, ebx
je 0x445d1a
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x18]
mov dword [edi], eax
movzx eax, word [ebp - 0x34]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2050]
push eax
call fcn.0055462e
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x4054]
push eax
call fcn.0055462e
xor eax, eax
cmp esi, ebx
setne al
dec eax
pop edi
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00554497
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x445ef9
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x655b6c
mov dword [edi], esi
call fcn.0055462e
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445fda
cmp dword [ebp + 8], esi
je 0x445fda
push ebx
push 4
pop eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyEnable
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x445f79
cmp dword [ebp - 0xc], esi
setne al
mov dword [edi], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x80a]
mov word [ebp - 0x80c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 4]
push eax
push esi
push str.ProxyServer
mov dword [ebp - 8], 0x400
push dword [ebp + 8]
call ebx
test eax, eax
pop ebx
jne 0x445fcd
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.0055462e
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x445fdd
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x447bd1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x56eea0
call fcn.004f8f44
push ecx
mov eax, dword [0x64ddc8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push str._sNIO_curl.exe
push eax
call fcn.0054d2a9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447c1c
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.005545de
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x447c34
push dword [esi + 8]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 4], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_wget.exe
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447c5d
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.005545de
cmp dword [esi + 0xc], 0
jne 0x447c72
push dword [esi + 0x10]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0xc], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_msdl.exe
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447c9b
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.005545de
cmp dword [esi + 0x14], 0
jne 0x447cb0
push dword [esi + 0x18]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x14], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sNIO_rtmp.exe
push eax
call fcn.0054d2a9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x447cd9
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.005545de
cmp dword [esi + 0x1c], 0
jne 0x447cee
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.ca_bundle.crt
mov ebx, 0x5be5a8
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.0054d2a9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447d22
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054d2a9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447d3c
push 0x5d6d6c
push dword [ebp + 8]
push ebx
push esi
call fcn.0054d2a9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x447d56
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.0054d2a9
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554497
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8