joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e2294
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5e240b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x5e2424
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004046e0
push 0xffffffffffffffff
mov ecx, 0x5e2434
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x5e2450
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x5e2470
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d16e8
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5e248c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d15d4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5e24a0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d15d4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x5e24b8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d15d4
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x5e24d4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d16e8
mov byte [ebx + 0x48], al
mov ecx, 0x5e24e8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.005d7070
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x5e24fc
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x5e251c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x5e2540
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x5e255c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x5e2578
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e2412
lea eax, [ebp - 4]
call fcn.0040468c
ret

Function at 0x5eb9d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x5eba0c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5eb9ea
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5eb9f9
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5eba08
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x5eeb08
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x5eeb10
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5eed02
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x5eed18
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004046e0
lea ecx, [ebp - 0x10]
mov edx, 0x5eed2c
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004046e0
lea ecx, [ebp - 0x14]
mov edx, 0x5eed44
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004046e0
lea ecx, [ebp - 0x18]
mov edx, 0x5eed60
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004046e0
lea ecx, [ebp - 0x1c]
mov edx, 0x5eed7c
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004046e0
lea ecx, [ebp - 0x24]
mov edx, 0x5eed94
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409a64
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a250
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x5eedac
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x28]
call fcn.004cba3c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x5eedbc
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x2c]
call fcn.004cba3c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x5eedd4
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040a250
inc eax
je 0x5eeca5
lea ecx, [ebp - 0x34]
mov edx, 0x5eedd4
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x34]
call fcn.0040a214
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c114
fstp qword [ebp - 0x3c]
wait
call fcn.0040c554
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x5eecc0
lea ecx, [ebp - 0x40]
mov edx, 0x5eedd4
mov eax, esi
call fcn.005ec994
mov eax, dword [ebp - 0x40]
call fcn.004cba3c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x5eede4
mov eax, esi
call fcn.005ec994
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004046e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eed09
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004046b0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004046b0
ret

Function at 0x5f950c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004081b4
ret
Function at 0x64a348
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x64a365
add esp, 0xfffffff0
call fcn.00403adc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x64a501
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00640b54
test al, al
jne 0x64a3a2
mov ecx, 0x64a534
mov dl, 1
mov eax, dword [0x635250]
call fcn.0040f05c
call fcn.00404008
xor eax, eax
push ebp
push 0x64a3ce
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0063f600
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0063f4ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64a3ee
mov eax, dword [ebp - 0x10]
mov edx, 0x64a570
call fcn.00405118
je 0x64a40b
mov eax, esi
mov edx, 0x64a570
call fcn.00405118
jne 0x64a42f
mov eax, edi
mov edx, 0x64a580
call fcn.00405118
je 0x64a42f
mov ecx, 0x64a558
mov dl, 1
mov eax, dword [0x6354f8]
call fcn.0040f05c
call fcn.00404008
mov eax, edi
xor edx, edx
call fcn.00405118
jne 0x64a45c
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405118
je 0x64a45c
mov ecx, 0x64a558
mov dl, 1
mov eax, dword [0x6354f8]
call fcn.0040f05c
call fcn.00404008
mov eax, dword [ebp - 0x10]
mov edx, 0x64a5c0
call fcn.00405118
jne 0x64a48f
mov eax, edi
mov edx, 0x64a5cc
call fcn.00405118
je 0x64a48f
mov ecx, 0x64a558
mov dl, 1
mov eax, dword [0x6354f8]
call fcn.0040f05c
call fcn.00404008
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00648438
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404e00
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404e00
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404e00
lea eax, [ebx + 8]
call fcn.00404dc4
mov byte [ebx + 0xc], 2
xor eax, eax
mov dword [ebx + 0x30], eax
mov al, byte [ebp + 8]
mov byte [ebx + 0x34], al
mov ax, word [0x64a618]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64a508
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404ddc
ret
Function at 0x64bdfc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test dl, dl
je 0x64be19
add esp, 0xfffffff0
call fcn.00403adc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x64bfb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00640b54
test al, al
jne 0x64be56
mov ecx, 0x64bfe8
mov dl, 1
mov eax, dword [0x635250]
call fcn.0040f05c
call fcn.00404008
xor eax, eax
push ebp
push 0x64be82
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0063f600
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0063f4ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64bea2
mov eax, edi
xor edx, edx
call fcn.00405118
jne 0x64becf
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00405118
je 0x64becf
mov ecx, 0x64c00c
mov dl, 1
mov eax, dword [0x6354f8]
call fcn.0040f05c
call fcn.00404008
mov eax, dword [ebp - 0x10]
mov edx, 0x64c024
call fcn.00405118
jne 0x64bf02
mov eax, edi
mov edx, 0x64c030
call fcn.00405118
je 0x64bf02
mov ecx, 0x64c00c
mov dl, 1
mov eax, dword [0x6354f8]
call fcn.0040f05c
call fcn.00404008
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00648438
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404e00
lea eax, [ebx + 0x28]
mov edx, edi
call fcn.00404e00
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00404e00
lea eax, [ebx + 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00404e00
lea eax, [ebx + 8]
call fcn.00404dc4
mov byte [ebx + 0xc], 1
mov dl, 1
mov eax, dword [0x41dca4]
call fcn.00403740
mov dword [ebx + 0x38], eax
mov dl, 1
mov eax, dword [0x41dca4]
call fcn.00403740
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x41dca4]
call fcn.00403740
mov dword [ebx + 0x34], eax
push ebx
mov eax, dword [ebx + 0x38]
push eax
mov ax, word [0x64c07c]
push eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x638274]
call fcn.00647690
mov dword [ebx + 0x3c], eax
mov ax, word [0x64c080]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64bfbb
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404ddc
ret
Function at 0x64ea10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x64ea32
add esp, 0xfffffff0
call fcn.00403adc
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x64eb9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00640b54
test al, al
jne 0x64ea6f
mov ecx, 0x64ebd0
mov dl, 1
mov eax, dword [0x635250]
call fcn.0040f05c
call fcn.00404008
push dword [0x6b4458]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x6b4458]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050d0
mov eax, dword [ebp - 0xc]
call fcn.0064162c
test al, al
jne 0x64eb41
push dword [0x6b4454]
push dword [ebp + 8]
push dword [0x6b4454]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004050d0
mov eax, dword [ebp - 0x14]
call fcn.0064162c
test al, al
jne 0x64eb41
push dword [0x6b4458]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x6b4458]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004050d0
mov eax, dword [ebp - 0x18]
call fcn.00641744
test al, al
jne 0x64eb41
push dword [0x6b4454]
push edi
push dword [0x6b4454]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004050d0
mov eax, dword [ebp - 0x20]
call fcn.00641744
test al, al
jne 0x64eb41
mov ecx, 0x64ebd0
mov dl, 1
mov eax, dword [0x635250]
call fcn.0040f05c
call fcn.00404008
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.00648438
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404e00
lea eax, [ebx + 8]
call fcn.00404dc4
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.00404e00
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.00404e00
mov byte [ebx + 0xc], 0xc
mov ax, word [0x64ebec]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64eba4
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404ddc
ret

Function at 0x6836a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x68371b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x100
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x683702
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, 0x100
call fcn.0040490c
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.004096ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x683722
lea eax, [ebp - 0x104]
call fcn.0040468c
ret
Function at 0x690930
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x690a46
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x690a0c
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004030bc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.00404b78
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlA
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x6909d5
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0xb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x6b4a24]
call fcn.00406d3c
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x68fec0]
call fcn.00690594
call fcn.00404008
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x64], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.00404bd8
lea eax, [ebx + 0x5c]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404bd8
jmp 0x690a26
xor eax, eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x58]
call fcn.0040468c
lea eax, [ebx + 0x5c]
call fcn.0040468c
xor eax, eax
mov dword [ebx + 0x64], eax
lea eax, [ebx + 0x3c]
mov edx, esi
call fcn.004046e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x690a4d
lea eax, [ebp - 0x48]
call fcn.0040468c
ret
Function at 0x690c44
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x690d6f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x690da6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00404978
test eax, eax
jle 0x690c79
mov ebx, 3
jmp 0x690c7b
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x690c8b
call fcn.0040f03c
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.00404b78
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00404b78
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00404b78
push eax
call sub.wininet.dll_InternetOpenA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00690738
xor eax, eax
push ebp
push 0x690d4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00404b78
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.00404b78
push eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.00404b78
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00690738
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x690da6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x690d7f
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x690d97
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x6a6008
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop ecx
pop ebp
ret

Function at 0x6ad934
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret
Function at 0x4641b2
Capabilities:
Check for vm using instruction vpcext
Encode data using xor

Disassembly:
cmp dword [ebx], 0xc760f045
add al, 0x24
mov edx, 0x8db31110
and al, 0x20
mov dword [esp + 0x4c], 0x465366
call fcn.00465d09
push es
jp 0x449850
scasd eax, dword es:[edi]
jne 0x449909
outsb dx, byte [esi]
inc edi
sub al, 0xe8
push cs
mov ah, 0x43
outsb dx, byte [esi]
inc edi
mov ebp, 0x77f8c115
dec ebx
clc
ja 0x449920
imul ebx, dword [edi - 0x257e6ffc], 0xfb27c594
daa
sti
sbb byte [0x4740bb33], cl
sbb edx, dword [ecx - 0x69a1a7a9]
loop 0x449906
stc
mov byte [0xf72bbee9], al
xor dword ds:[ebp + 0x7f], ebx
pop ebx
jl 0x4498d2
sub esp, dword [eax + 0x72bf7b77]
inc ebx
ficomp dword [edi + 0xf47eb1d]
aas
aam 0x7a
invalid
aam 0x7a
shr byte [edx + 0xc], 0xac
clc
int1
sub dword [ecx], esp
pop ecx
cmp al, 0x77
mov byte [0xad091241], al
sub ebx, dword [edx + 0x2de7324]
fiadd word [edx]
sbb edi, edx
sahf
arpl word [eax - 0x27], sp
or byte [esi - 0x44], dl
or byte [ecx + eax*2], dl
scasb al, byte es:[edi]
loop 0x4498dd
outsb dx, byte [esi]
mov al, 0xdd
mov esi, 0x83df8dac
jmp dword [0x3b84ffd2]
jmp 0x4498b3
Function at 0x402aec
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004041b0
test esi, esi
jne 0x402b22
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004042a0
jmp 0x402b40
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a00
mov edi, eax
test esi, esi
je 0x402b40
cmp dword [ebx], 0
je 0x402b40
dec esi
jmp 0x402b29
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4aa020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032a8
xor eax, eax
push ebp
push 0x4032a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4aa020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4aa020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad04c], 0
je 0x404011
cmp word [0x4ad220], 0xd7b2
jne 0x403fd9
cmp dword [0x4ad228], 0
jbe 0x403fd9
mov eax, 0x4ad21c
call dword [0x4ad238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4aa06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404038
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4aa030], 0
jne 0x40402d
push 0
push 0x4aa064
push 0x4aa06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404164
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027c4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ad04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40412c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc