joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003d215
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1003d2b2
push ebx
push esi
call fcn.1003d1de
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1003d172
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1003d25f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003d2b1
push edi
push eax
call fcn.1003f4b1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003d27f
call fcn.1003bd3c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003d2b0
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1003d172
add esp, 0x20
test eax, eax
jne 0x1003d29e
push edi
call fcn.1003bd3c
jmp 0x1003d2a6
push ebx
call fcn.1003bd3c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1003d920
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045a00
push 0x100459f8
push str.FlsAlloc
push 0x1f
call fcn.1003d7df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003d954
push dword [ebp + 8]
mov ecx, esi
call dword [0x10044140]
call esi
jmp 0x1003d95a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003d99e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045a10
push 0x10045a08
push str.FlsGetValue
push 0x21
call fcn.1003d7df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003d9d5
push dword [ebp + 8]
mov ecx, esi
call dword [0x10044140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003d9dd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045a18
push 0x10045a10
push str.FlsSetValue
push 0x22
call fcn.1003d7df
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003da17
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10044140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10041143
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100410bf
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100412b2
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100412b2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10041267
jg 0x1004119f
test eax, eax
je 0x1004125d
push 1
push 0x1000
call fcn.1003bcdf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100411c2
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10041254
push 0x8000
push ebx
call fcn.10040ff0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100411eb
jg 0x100411e6
cmp ecx, 0x1000
jb 0x100411eb
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10039ebd
add esp, 0x10
cmp eax, 0xffffffff
je 0x10041230
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100411e6
jl 0x10041217
test ecx, ecx
jne 0x100411d8
push dword [ebp - 0xc]
push ebx
call fcn.10040ff0
push esi
call fcn.1003bd3c
add esp, 0xc
xor ebx, ebx
jmp 0x100412c0
cmp byte [edi + 0x24], 0
je 0x10041247
cmp dword [edi + 0x20], 5
jne 0x10041247
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10041252
mov ebx, dword [edi + 0x18]
jmp 0x10041254
xor ebx, ebx
push esi
call fcn.1003bd3c
pop ecx
jmp 0x100412c0
test ecx, ecx
jg 0x10041229
jl 0x10041267
test eax, eax
jae 0x10041229
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1003e7d5
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10041287
cmp byte [edi + 0x1c], 0
je 0x10041229
jmp 0x100412b8
push ebx
call fcn.1003e6e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10041229
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100412c0
cmp byte [edi + 0x1c], 0
je 0x100412bd
mov ebx, dword [edi + 0x18]
jmp 0x100412c0
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1003e7d5
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10043300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x665658be
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x19286ee5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401340
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4013f4
cmp byte [esi + 0x5c], 0x77
jne 0x4013f4
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x40138e
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call fcn.00438821
add esp, 0x10
cmp eax, edi
jne 0x4013ea
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x4013da
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.004017e0
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
mov dword [esi + 0x38], eax
test edi, edi
jne 0x4013bb
cmp eax, 0xfffffffb
jne 0x4013bb
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x4013c9
cmp dword [esi + 0x38], 1
je 0x4013c9
xor ebx, ebx
jmp 0x4013ce
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x401360
cmp eax, 1
je 0x401360
mov esi, dword [esi + 0x38]
mov eax, esi
dec eax
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x408d7a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x40]
push eax
call fcn.00408a48
push eax
push esi
push dword [ebp + 8]
call fcn.004089fd
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00408a38
xchg ah, dl
xor cl, byte [esi - 0x73]
inc ebp
call 0x5128eb2e
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
invalid
arpl sp, di
invalid

Function at 0x40990b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
invalid
movsd dword es:[edi], dword [esi]

Function at 0x409e94
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
pop ss
sahf
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
clc
invalid
dec dword [eax - 0x3a]
test ebp, ebx
clc
invalid
call [esi + eax*8 - 0x7b]
fdivp st(0)
invalid
call dword [ecx - 0x3a]
test edi, ebx
clc
invalid
jmp [ebp - 0x3a]
test eax, esp
clc
invalid
dec dword [edi - 0x3a]
test ecx, esp
clc
invalid
call dword [edx - 0x3a]
test edx, esp
clc
invalid
invalid
dec ecx
Function at 0x414da7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f67d
mov eax, dword fs:[0]
push eax
sub esp, 0x8b0
mov eax, dword [0x47f0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0x401
cmp dword [ebp - 0x894], 0
jle 0x414e2c
mov eax, dword [ebp - 0x894]
dec eax
mov dword [ebp - 0x894], eax
mov eax, dword [ebp - 0x894]
shl eax, 1
mov dword [ebp - 0x89c], eax
cmp dword [ebp - 0x89c], 0x802
jae 0x414e15
jmp 0x414e1a
call fcn.00430ba7
xor eax, eax
mov ecx, dword [ebp - 0x89c]
mov word [ebp + ecx - 0x814], ax
jmp 0x414de3
lea eax, [ebp - 0x814]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x414fc1
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00411607
and dword [ebp - 4], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x874]
push eax
call fcn.00456fd9
pop ecx
pop ecx
mov dword [ebp - 0x8a0], eax
mov eax, dword [ebp - 0x8a0]
mov dword [ebp - 0x8a4], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x8a4]
push str.AdobeHeadlightsCCHLLog_
lea eax, [ebp - 0x85c]
push eax
call fcn.00415c43
add esp, 0xc
mov dword [ebp - 0x8a8], eax
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x8ac], eax
mov byte [ebp - 4], 2
push str..txt
push dword [ebp - 0x8ac]
lea eax, [ebp - 0x844]
push eax
call fcn.004103e4
add esp, 0xc
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebp - 0x8b0]
mov dword [ebp - 0x8b4], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x8b4]
lea ecx, [ebp - 0x82c]
call fcn.00410732
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x844]
call fcn.0040fbb5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x85c]
call fcn.0040fbb5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x874]
call fcn.0040fbb5
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x88c]
push eax
call fcn.00457239
pop ecx
pop ecx
mov dword [ebp - 0x8b8], eax
mov eax, dword [ebp - 0x8b8]
mov dword [ebp - 0x8bc], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8bc]
call fcn.004577af
pop ecx
mov byte [ebp - 0x88d], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88c]
call fcn.0040fbb5
movzx eax, byte [ebp - 0x88d]
test eax, eax
je 0x414fb2
lea eax, [ebp - 0x82c]
push eax
push dword [ebp + 8]
call fcn.0045710e
pop ecx
pop ecx
mov eax, dword [ebp - 0x898]
or eax, 1
mov dword [ebp - 0x898], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040fbb5
mov eax, dword [ebp + 8]
jmp 0x414fe0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.0040fbb5
push 0x473ca0
mov ecx, dword [ebp + 8]
call fcn.00408009
mov eax, dword [ebp - 0x898]
or eax, 1
mov dword [ebp - 0x898], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043053f
mov esp, ebp
pop ebp
ret
Function at 0x431fc0
Capabilities:
Move file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x431fd0
mov eax, dword [esi]
jmp 0x431fd2
mov eax, esi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x431fe0
mov ecx, dword [edi]
jmp 0x431fe2
mov ecx, edi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x431ff8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x431ffa
xor eax, eax
push str.boost::filesystem::rename
push dword [esp + 0x18]
push esi
push edi
push eax
call fcn.00431ed0
add esp, 0x14
pop edi
pop esi
ret

Function at 0x449082
Capabilities:
Read file on windows

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

Function at 0x4506a7
Capabilities:
Set environment variable

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

Function at 0x4506b2
Capabilities:
Set environment variable

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

Function at 0x45818e
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4614ca
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x47f0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 1
and dword [ebp - 0x1c], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4581fa
and dword [ebp - 0x1c], 0
jmp 0x458302
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
inc eax
push eax
call fcn.00430a58
pop ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 0
push dword [ebp - 0x18]
call fcn.00435d80
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45824f
and dword [ebp - 0x1c], 0
jmp 0x458263
cmp dword [ebp - 0x1c], 0
jbe 0x458263
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
call fcn.0040a247
jmp 0x4582dd
or dword [ebp - 4], 0xffffffff
jmp 0x4582e9
jmp 0x4582ef
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
call fcn.00430550
pop ecx
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x1c], 0
ja 0x4581d0
cmp dword [ebp - 0x20], 0
je 0x458318
mov byte [ebp - 0x11], 1
jmp 0x45831c
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4585e4
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
push 0
push 0
push 3
push 0
push 0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x24]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x48
call fcn.00407a14
push eax
mov eax, dword [ebp - 4]
push dword [eax]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x458629
xor al, al
jmp 0x458686
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 4
jne 0x45863b
mov dword [ebp - 8], 0x800000
jmp 0x45863f
and dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x60
call fcn.00407a14
push eax
push str.POST
mov eax, dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x45867f
mov dword [ebp - 0xc], 1
jmp 0x458683
and dword [ebp - 0xc], 0
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x401070
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0xce0
push 0x6cde30
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, 0x6cde30
xor ecx, ebp
call fcn.0063ff59
mov esp, ebp
pop ebp
ret

Function at 0x4010b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
xor esi, esi
push edi
mov edi, ecx
test ebx, ebx
je 0x4010e7
nop dword [eax]
mov eax, 0x2f684bdb
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x36
sub ecx, eax
mov al, byte [ecx + str.https:__www.weatherapi.com_]
xor byte [edi + esi], al
inc esi
cmp esi, ebx
jb 0x4010c0
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x6408af
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x6408ee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6408ee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6408ee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x6408ee
cmp dword [ecx + 0x74], 0xe
jbe 0x6408ee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x6492e0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x64938f
push esi
call fcn.0065d790
add esp, 4
test al, al
jne 0x64938f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x649307
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.006682b0
add esp, 0xc
test eax, eax
je 0x64933b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.006682b0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x64933d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x64936e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.006592f0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x649350
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x6574b0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x6b9000
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x6574ca
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x6b901c
push esi
call fcn.006a0720
add esp, 8
test eax, eax
je 0x657512
test ebp, ebp
je 0x657503
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x657538
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x657538
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x6575ef
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x657555
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x6cd05c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x6575e5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x6575e5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x657587
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6575a0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x6575b0
test ebp, ebp
je 0x6575dc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x6cd060]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x6cd060]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x657660
Capabilities:
Get common file path
Initialize winsock library
Link many functions at runtime

Disassembly:
sub esp, 0x198
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x194], eax
test byte [esp + 0x19c], 2
je 0x6576c1
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x6576a7
mov eax, dword [esp + 4]
cmp al, 2
jne 0x6576a1
shr eax, 8
cmp al, 2
je 0x6576c1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0063ff59
add esp, 0x198
ret
call fcn.00689730
test eax, eax
jne 0x657894
push ebp
push esi
push edi
push 0x6b9000
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x6576f5
mov dword [0x6cefc4], esi
jmp 0x657819
push ebx
push str.LoadLibraryExA
push edi
call ebp
push 0x6b901c
push str.iphlpapi.dll
mov ebx, eax
call fcn.006a0720
add esp, 8
test eax, eax
je 0x65773e
test ebx, ebx
je 0x65772c
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x6577fd
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x6577fd
test ebx, ebx
je 0x657763
push str.AddDllDirectory
push edi
call ebp
test eax, eax
je 0x657763
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x6577fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x6577fd
lea ecx, [eax + 0xd]
push ecx
call dword [0x6cd05c]
mov edi, eax
add esp, 4
test edi, edi
je 0x6577f3
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x6577f3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6577a0
sub ecx, edx
mov eax, 0x5c
mov edx, edi
mov word [ecx + edi], ax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x6577b7
sub edx, ecx
mov ecx, str.iphlpapi.dll
sub edx, ecx
add edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x6577d0
test ebx, ebx
je 0x6577ea
push 8
push 0
push edi
call ebx
jmp 0x6577f1
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x6cd060]
add esp, 4
mov dword [0x6cefc4], esi
pop ebx
test esi, esi
je 0x657819
push str.if_nametoindex
push esi
call ebp
test eax, eax
je 0x657819
mov dword [0x6cefb4], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x657851
push str.FreeAddrInfoExW
push esi
call ebp
push str.GetAddrInfoExCancel
push esi
mov dword [0x6cefb8], eax
call ebp
push str.GetAddrInfoExW
push esi
mov dword [0x6cefbc], eax
call ebp
mov dword [0x6cefc0], eax
push 3
push 2
push 0
push 0
push 6
call fcn.00689350
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x6cf891]
call fcn.00689350
add esp, 0x28
test al, al
setne byte [0x6cf890]
push 0x6cf898
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0063ff59
add esp, 0x198
ret