joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f74f
Capabilities:
Check if file exists

Disassembly:
push dword [0x674a3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44f774
push 0
push 0x414
push dword [0x674a3c]
call fcn.004104ec
add esp, 0xc
ret

Function at 0x450aab
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x58863c
call fcn.00510fdc
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [ebp - 0x20]
call fcn.0044ef05
xor edi, edi
push 0x6749b4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.00568097
xor ebx, ebx
cmp dword [esi + 0x14], edi
mov byte [ebp - 4], 1
jle 0x450b44
jmp 0x450adc
xor edi, edi
cmp ebx, edi
jl 0x450aeb
cmp ebx, dword [esi + 0x14]
jge 0x450aeb
mov eax, dword [esi + 0x10]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x450b3c
mov ecx, edi
call fcn.00450bb1
test eax, eax
je 0x450b3c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x450b10
push 0x5de0dc
lea ecx, [ebp - 0x10]
call fcn.00568414
push 0x5ddee4
lea ecx, [ebp - 0x10]
call fcn.00568414
add edi, 0x6ac
lea ecx, [ebp - 0x10]
push edi
call fcn.00568450
push 0x5ddee4
lea ecx, [ebp - 0x10]
call fcn.00568414
inc dword [ebp - 0x18]
inc ebx
cmp ebx, dword [esi + 0x14]
jl 0x450ada
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x450b87
lea eax, [ebp - 0x14]
push eax
call fcn.0040406e
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 1
push edi
je 0x450b6f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
jmp 0x450b78
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00568023
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0044ef34
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x455796
Capabilities:
Resume thread

Disassembly:
mov eax, 0x588d71
call fcn.00510fdc
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x70
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4557c7
push dword [edi]
call fcn.004556b5
mov esi, eax
jmp 0x4557c9
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x455817
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
jne 0x4557f0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x455817
mov ecx, dword [edi]
push ebx
push 0x64
push ebx
mov eax, dword [ecx]
push ebx
call dword [eax + 0x128]
push ebx
mov dword [edi + 4], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x455abc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x588eb9
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [0x66cc08]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x20], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x40], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x44], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x48], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x4c], eax
mov edi, 0x6749b4
mov byte [ebp - 4], 6
push edi
mov dword [esi], ebx
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x10]
call fcn.005681ba
push edi
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x40]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0x14
call fcn.005681ba
push edi
lea ecx, [esi + 0x44]
call fcn.005681ba
push edi
lea ecx, [esi + 0x48]
call fcn.005681ba
push edi
lea ecx, [esi + 0x4c]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45878b
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x589312
call fcn.00510fdc
sub esp, 0x2a0
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00419c9d
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.0041001c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00568023
lea ecx, [ebp - 0xe4]
call fcn.0045853c
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.0045812f
mov esi, eax
cmp esi, edi
je 0x458825
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00568023
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x5a3310
call fcn.004249d8
jmp 0x45894e
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45885b
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00568023
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x5a3310
call fcn.004249d8
or esi, 0xffffffff
jmp 0x45894e
push edi
lea ecx, [ebp - 0x2ac]
call fcn.004ed1d0
push 3
lea ecx, [ebp - 0x2ac]
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004ee340
test al, al
jne 0x4588af
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x59d698
call fcn.004ed2a0
lea ecx, [ebp - 0x2ac]
call fcn.004ed1f0
mov byte [ebp - 4], 7
or esi, 0xffffffff
jmp 0x458931
cmp dword [ebp + 0x24], edi
jle 0x4588f7
cmp dword [ebp + 0x20], edi
jle 0x4588f7
lea ecx, [ebp - 0x2ac]
call fcn.004ec170
lea ecx, [ebp - 0x2ac]
mov esi, eax
call fcn.004ec160
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push esi
push eax
call fcn.0045a276
push dword [ebp + 0x1c]
lea eax, [ebp - 0x2ac]
push dword [ebp + 0x18]
push eax
call fcn.004121f0
add esp, 0x20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2ac]
push edi
push eax
call fcn.004ed7f0
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2ac], 0x59d698
call fcn.004ed2a0
lea ecx, [ebp - 0x2ac]
call fcn.004ed1f0
mov byte [ebp - 4], 8
xor esi, esi
lea ecx, [ebp - 0x74]
call fcn.00568023
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x59dfec
call fcn.00424995
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00410089
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45896a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x589348
call fcn.00510fdc
sub esp, 0xc0
push esi
lea ecx, [ebp - 0xcc]
call fcn.0045853c
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.00458417
cmp eax, esi
je 0x4589b1
mov dword [ebp - 4], 1
mov esi, eax
jmp 0x4589d1
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4589ca
mov dword [ebp - 4], 2
or esi, 0xffffffff
jmp 0x4589d1
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00568023
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x59dfec
call fcn.00424995
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45a2d9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58951c
call fcn.00510fdc
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, 0x6749cc
push str._sMediaProbe.exe
push edi
call fcn.005652d9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [0x6749cc]
call esi
test eax, eax
jne 0x45a31d
push str.MediaProbe.exe
mov ecx, edi
call fcn.005681ba
push ebx
mov edi, 0x6749d0
push str._sMediaEncode.exe
push edi
call fcn.005652d9
add esp, 0xc
push dword [0x6749d0]
call esi
test eax, eax
jne 0x45a349
push str.MediaEncode.exe
mov ecx, edi
call fcn.005681ba
push dword [0x6749d0]
lea eax, [ebp - 0x14]
push eax
call fcn.0041111c
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0x5efd10
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.005682c8
push eax
mov ecx, 0x6749d4
mov byte [ebp - 4], 1
call fcn.0056816a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00568023
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00568023
push ebx
mov edi, 0x6749d8
push str._sMediaPlay.exe
push edi
call fcn.005652d9
add esp, 0xc
push dword [0x6749d8]
call esi
test eax, eax
jne 0x45a3c0
push str.MediaPlay.exe
mov ecx, edi
call fcn.005681ba
cmp dword [0x6749dc], 0
jne 0x45a4c4
mov eax, dword [0x66cc08]
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.005652d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x45a400
mov dword [0x6749dc], 6
cmp dword [0x6749dc], 0
jne 0x45a4b8
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_59.dll
push eax
call fcn.005652d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x45a432
mov dword [0x6749dc], 5
cmp dword [0x6749dc], 0
jne 0x45a4b8
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_58.dll
push eax
call fcn.005652d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x45a460
mov dword [0x6749dc], 4
cmp dword [0x6749dc], 0
jne 0x45a4b8
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_57.dll
push eax
call fcn.005652d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x45a48e
mov dword [0x6749dc], 3
cmp dword [0x6749dc], 0
jne 0x45a4b8
push ebx
lea eax, [ebp + 8]
push str._s_avcodec_56.dll
push eax
call fcn.005652d9
add esp, 0xc
push dword [ebp + 8]
call esi
test eax, eax
je 0x45a4b8
mov dword [0x6749dc], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x6749e0], 1
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45a4df
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [0x6749d8]
call esi
test eax, eax
je 0x45a4ff
xor eax, eax
push eax
push eax
push eax
push dword [0x6749d8]
jmp 0x45a52f
push dword [0x6749d0]
call esi
test eax, eax
je 0x45a518
xor eax, eax
push eax
push eax
push eax
push dword [0x6749d0]
jmp 0x45a52f
push dword [0x6749cc]
call esi
test eax, eax
je 0x45a537
xor eax, eax
push eax
push eax
push eax
push dword [0x6749cc]
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, 0x589578
call fcn.00510fdc
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 0x45a7da
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041111c
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x10]
call fcn.00568023
lea eax, [ebp - 0x14]
push eax
call fcn.00419c9d
pop ecx
mov eax, dword [eax]
and dword [ebp - 4], 0
push 1
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.0041001c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00568023
push dword [ebp + 8]
lea edi, [esi + 0x70]
mov ecx, edi
call fcn.005681ba
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.0045a55c
test eax, eax
je 0x45a831
mov esi, eax
jmp 0x45a866
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 0x45a84b
or esi, 0xffffffff
jmp 0x45a866
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 0x45a866
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.00410089
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x460cd6
Capabilities:
Resume thread

Disassembly:
mov eax, 0x58a389
call fcn.00510fdc
push ecx
push esi
mov esi, ecx
push 0x74
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x460cfb
push dword [ebp + 8]
push esi
call fcn.00461fad
mov esi, eax
jmp 0x460cfd
xor esi, esi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x460d1f
push 0
push 0
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
jne 0x460d23
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor eax, eax
jmp 0x460d39
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 0x4640e5
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 0x6749b4
mov dword [edi], esi
call fcn.005681ba
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 0x4641c6
cmp dword [ebp + 8], esi
je 0x4641c6
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 0x464165
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 0x4641b9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x80c]
push eax
call fcn.005681ba
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4641c9
or eax, 0xffffffff
pop edi
pop esi
leave
ret 8
Function at 0x464bf1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58a668
call fcn.00510fdc
push ecx
mov eax, dword [0x66cc08]
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.005652d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x464c3c
lea eax, [ebp - 0x10]
lea ecx, [esi + 8]
push eax
call fcn.0056816a
cmp dword [esi + 4], 0
push 2
pop ebx
jne 0x464c54
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.005652d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x464c7d
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.0056816a
cmp dword [esi + 0xc], 0
jne 0x464c92
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.005652d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x464cbb
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x18]
push eax
call fcn.0056816a
cmp dword [esi + 0x14], 0
jne 0x464cd0
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.005652d9
add esp, 0xc
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x464cf9
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x20]
push eax
call fcn.0056816a
cmp dword [esi + 0x1c], 0
jne 0x464d0e
push dword [esi + 0x20]
call edi
neg eax
sbb eax, eax
and eax, ebx
dec eax
mov dword [esi + 0x1c], eax
push str.cacert.pem
mov ebx, 0x5dd228
push dword [ebp + 8]
add esi, 0x24
push ebx
push esi
call fcn.005652d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x464d42
push str.ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.005652d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x464d5c
push str.ca_bundle.trust.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.005652d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x464d76
push str.curl_ca_bundle.crt
push dword [ebp + 8]
push ebx
push esi
call fcn.005652d9
add esp, 0x10
push dword [esi]
call edi
test eax, eax
jne 0x464d90
push str.cacert.pem
push dword [ebp + 8]
push ebx
push esi
call fcn.005652d9
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00568023
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x46643f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xa8]
test edi, edi
mov dword [ebp - 4], edi
je 0x466523
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466469
push eax
jmp 0x4664b4
push 1
pop ebx
cmp edi, ebx
jle 0x466481
cmp dword [esi + 0x38], ebx
jne 0x466481
push ebx
lea ecx, [esi + 0xa0]
call fcn.004663fd
test edi, edi
jle 0x46648f
cmp dword [esi + 0x3c], 0
jle 0x466516
push dword [esi + 0xc]
call fcn.004112da
pop ecx
xor ecx, ecx
cmp edx, ecx
jg 0x4664a4
jl 0x4664b3
cmp eax, ecx
jbe 0x4664b3
test byte [esi + 0x6c], bl
je 0x4664c5
cmp eax, dword [esi + 0x40]
jne 0x4664b3
cmp edx, dword [esi + 0x44]
je 0x4664d7
push ecx
lea ecx, [esi + 0xa0]
call fcn.004663fd
and dword [esi + 0x6c], 0xfffffffe
jmp 0x466523
cmp edi, ebx
jne 0x4664d7
mov ebx, dword [esi + 0xa4]
mov ebx, dword [ebx]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], edx
xor ebx, ebx
xor edx, edx
test edi, edi
jle 0x466516
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46650d
xor edi, edi
cmp dword [eax + 0x44], edi
jg 0x466500
jl 0x4664fa
cmp dword [eax + 0x40], edi
jae 0x466500
mov dword [eax + 0x40], edi
mov dword [eax + 0x44], edi
mov edi, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
add ecx, edi
mov edi, dword [ebp - 4]
adc ebx, eax
inc edx
cmp edx, edi
jl 0x4664df
or ecx, ebx
jne 0x466523
push 0
lea ecx, [esi + 0xa0]
call fcn.004663fd
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x467067
Capabilities:
Resume thread

Disassembly:
mov eax, 0x58a9e5
call fcn.00510fdc
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x128
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4670a5
push dword [edi + 0x34]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
call fcn.0046587c
jmp 0x4670a7
xor eax, eax
or dword [ebp - 4], 0xffffffff
push ebx
push ebx
push 4
mov ecx, eax
mov dword [esi + 0x68], eax
call fcn.0056c33b
test eax, eax
jne 0x4670db
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x4670cb
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
mov eax, dword [edi]
push 0xfffffffffffffffe
mov ecx, edi
call dword [eax + 0x14]
push 0xfffffffffffffffe
jmp 0x467121
mov eax, dword [esi + 0x68]
push ebx
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x68]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x14], ebx
je 0x467124
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x467108
cmp dword [eax], ebx
jne 0x46711f
push 0x64
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x467128
cmp dword [esi + 0x20], 0x14
jge 0x467124
jmp 0x4670fd
push 1
pop eax
jmp 0x46714e
xor eax, eax
jmp 0x46714e
mov ecx, dword [esi + 0x68]
push 0x14
call fcn.004660dc
mov ecx, dword [esi + 0x68]
call fcn.00468740
mov ecx, dword [esi + 0x68]
cmp ecx, ebx
je 0x467148
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x68], ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x467371
Capabilities:
Resume thread

Disassembly:
mov eax, 0x58a9f9
call fcn.00510fdc
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x100], ebx
je 0x467390
push 1
pop eax
jmp 0x4673f8
push 0x6c
mov dword [edi + 0x104], ebx
call fcn.00568612
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x4673b4
push edi
call fcn.004686d9
mov esi, eax
jmp 0x4673b6
xor esi, esi
or eax, 0xffffffff
cmp esi, ebx
mov dword [ebp - 4], eax
je 0x4673f8
push ebx
push ebx
push 4
mov ecx, esi
call fcn.0056c33b
test eax, eax
jne 0x4673dd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4673f8
push ebx
mov dword [edi + 0x100], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48759e
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x58ccd6
call fcn.00510fdc
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0048764b
mov eax, dword [0x66cc08]
lea ecx, [esi + 0x14]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x5a4adc
mov dword [esi + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ebx
mov eax, dword [0x66cc08]
mov dword [esi + 0x3c], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x40], eax
mov eax, dword [0x66cc08]
mov dword [esi + 0x44], eax
mov edi, 0x6749b4
mov byte [ebp - 4], 6
push edi
mov dword [esi], 0x5a4ad0
call fcn.005681ba
push edi
lea ecx, [esi + 0x18]
call fcn.005681ba
push edi
lea ecx, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call fcn.005681ba
push edi
lea ecx, [esi + 0x40]
call fcn.005681ba
push edi
lea ecx, [esi + 0x44]
call fcn.005681ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret