joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e07c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c0be4]
cmp dword [eax + 0x30], 0
je 0x45e126
cmp dword [ebx + 0x94], 0
jne 0x45e120
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e00c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e120
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e0e6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e120
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041dc44
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e0f5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ec88
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ecbd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404470
jmp 0x45ecca
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45fd44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fd85
mov eax, esi
call fcn.00446578
test al, al
je 0x45fd85
mov eax, dword [ebx + 0x84]
call fcn.00446274
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fd85
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446274
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46babc
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 0x46bac4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46bcb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46bccc
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004043d4
lea ecx, [ebp - 0x10]
mov edx, 0x46bce0
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004043d4
lea ecx, [ebp - 0x14]
mov edx, 0x46bcf8
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004043d4
lea ecx, [ebp - 0x18]
mov edx, 0x46bd14
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004043d4
lea ecx, [ebp - 0x1c]
mov edx, 0x46bd30
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004043d4
lea ecx, [ebp - 0x24]
mov edx, 0x46bd48
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408c64
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409044
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46bd60
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x28]
call fcn.004686e8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46bd70
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x2c]
call fcn.004686e8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46bd88
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409044
inc eax
je 0x46bc59
lea ecx, [ebp - 0x34]
mov edx, 0x46bd88
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x34]
call fcn.00409008
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.0040ad08
fstp qword [ebp - 0x3c]
wait
call fcn.0040b06c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46bc74
lea ecx, [ebp - 0x40]
mov edx, 0x46bd88
mov eax, esi
call fcn.004695dc
mov eax, dword [ebp - 0x40]
call fcn.004686e8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46bd98
mov eax, esi
call fcn.004695dc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004043d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bcbd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004043a4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004043a4
ret
Function at 0x478130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47818a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00478120
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004671e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00466de8
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478191
lea eax, [ebp - 4]
call fcn.00404380
ret

Function at 0x47c93c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ca76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041e8e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x47c9b8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47c9b8
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408a14
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4beff0]
mov ebx, dword [ebx]
mov eax, 0x47ca8c
call ebx
dec eax
jne 0x47c9b8
mov ebx, 1
jmp 0x47c9ba
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47ca5b
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.004733e4
test al, al
jne 0x47ca4f
mov eax, dword [ebp - 4]
call fcn.0047c930
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.004043d4
xor edx, edx
push ebp
push 0x47ca3d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x47ca33
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0047cd7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ca4f
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x47c9d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ca7d
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004043a4
ret
Function at 0x4802ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00404640
mov edx, eax
mov eax, ebp
call fcn.004049cc
mov eax, dword [esp]
call fcn.00404640
mov edi, eax
test edi, edi
jle 0x480310
mov ebx, 1
mov eax, ebp
call fcn.00404898
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x4802dc
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x480318
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00404640
mov edx, eax
mov eax, dword [esp]
call fcn.004049cc
mov eax, edi
call fcn.00404640
mov ebp, eax
test ebp, ebp
jle 0x480377
mov ebx, 1
mov eax, dword [esp]
call fcn.00404898
mov dl, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x480347
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48af9c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x4bf344]
cmp byte [eax], 0
je 0x48b064
cmp dl, byte [esi + 0x62]
je 0x48b064
mov eax, edx
mov byte [esi + 0x62], al
test byte [esi + 0x1c], 0x10
jne 0x48b064
test al, al
je 0x48b016
mov dl, 1
mov eax, esi
call fcn.00487420
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
push 0
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
call fcn.0045ef38
mov eax, esi
call fcn.0048b6cc
xor edx, edx
mov eax, esi
call fcn.0048b190
mov dl, 1
mov eax, esi
call fcn.0048b7a4
jmp 0x48b064
mov eax, esi
call fcn.00487558
xor edx, edx
mov eax, esi
call fcn.00487420
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
mov byte [eax + 0x5b], 1
push 1
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov dx, 2
mov eax, esi
call fcn.0048b190
mov dl, byte [esi + 0x8c]
mov eax, esi
call fcn.0048b764
xor edx, edx
mov eax, esi
call fcn.00487420
pop esi
ret
Function at 0x48c90c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x48c995
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c11b8
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48c97f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c684
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x48c9ac
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4bf648]
mov dl, 1
mov eax, dword [0x48bc70]
call fcn.0040d0f4
call fcn.00403cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c99c
lea eax, [ebp - 0x1c]
call fcn.00404380
ret

Function at 0x48d060
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048cf84
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004036a8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x48d0c4
call fcn.0048c854
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48d0b6
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004036a8
pop esi
pop ebx
ret

Function at 0x48d0e8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404840
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402e2c
test ebx, ebx
je 0x48d133
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x48d210
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48d241
mov ecx, dword [0x4bf800]
mov dl, 1
mov eax, dword [0x48bc70]
call fcn.0040d0b8
call fcn.00403cfc
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x48d26e
mov ecx, dword [0x4bf3c8]
mov dl, 1
mov eax, dword [0x48bc70]
call fcn.0040d0b8
call fcn.00403cfc
xor eax, eax
push ebp
push 0x48d2ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004036a8
cmp byte [ebp + 8], 0
je 0x48d2c9
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048d178
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0048cfe0
jmp 0x48d2e5
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048cb40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d30c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48d4d4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0048ce08
xor eax, eax
push ebp
push 0x48d645
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x48d62f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x48d51f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48d529
call fcn.00403da8
jmp 0x48d64c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004203c8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x48d624
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x48d5d7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x48d5c4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004036a8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0048d48c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x48d658]
cmp dl, byte [eax + 0x28]
je 0x48d62b
call fcn.0040cfdc
jmp 0x48d62b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004203e8
jmp 0x48d62b
cmp ecx, ebx
jge 0x48d5f3
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004203e8
jmp 0x48d529
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004203c8
cmp edx, dword [esp + 4]
jne 0x48d613
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48d529
push ebp
call fcn.0048d48c
pop ecx
jmp 0x48d62b
push ebp
call fcn.0048d48c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d64c
mov eax, dword [ebp - 4]
call fcn.0048ce14
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d6a0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d7ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048ce08
xor eax, eax
push ebp
push 0x48d7cd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48d705
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48d705
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48d7b7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48d718
call fcn.00403da8
jmp 0x48d7d4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48d7b7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48d7b7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004036a8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48d7b7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c684
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48d804
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4bf648]
mov dl, 1
mov eax, dword [0x48bc70]
call fcn.0040d0f4
call fcn.00403cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7d4
mov eax, dword [ebp - 4]
call fcn.0048ce14
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7f1
lea eax, [ebp - 0x28]
call fcn.00404380
ret

Function at 0x4aa498
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4aa4bd
cmp dword [esp + 4], 5
jb 0x4aa4bd
mov al, 1
jmp 0x4aa4bf
xor eax, eax
add esp, 0x94
ret
Function at 0x4bae18
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4bae20
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb064
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.004352dc
xor ecx, ecx
mov dl, 1
mov eax, dword [0x478834]
call fcn.00478d44
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bafe1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x4bb07c
mov eax, dword [ebp - 8]
call fcn.00478ebc
mov edx, dword [ebp - 0xc]
mov eax, dword [0x460b5c]
call fcn.004627c8
mov edx, dword [0x460abc]
call fcn.0040365c
mov ebx, eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0043fa98
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov edx, 0x4bb09c
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x14]
pop eax
call fcn.0040478c
je 0x4bafd0
lea ecx, [ebp - 0x18]
mov edx, 0x4bb09c
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.0043fac8
lea ecx, [ebp - 0x1c]
mov edx, 0x4bb0a8
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.0043fac8
lea ecx, [ebp - 0x20]
mov edx, 0x4bb0b8
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0043fac8
lea ecx, [ebp - 0x24]
mov edx, 0x4bb0c8
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
call fcn.0043fac8
lea ecx, [ebp - 0x28]
mov edx, 0x4bb0d8
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.0043fac8
lea ecx, [ebp - 0x2c]
mov edx, 0x4bb0e4
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.0043fac8
lea ecx, [ebp - 0x30]
mov edx, 0x4bb0f0
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.0043fac8
lea ecx, [ebp - 0x34]
mov edx, 0x4bb100
mov eax, ebx
call fcn.00461a14
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.0043fac8
mov eax, dword [ebp - 4]
call fcn.004bb1ec
mov eax, ebx
call fcn.004034ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bafeb
xor edx, edx
push ebp
push 0x4bb017
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
cmp byte [eax + 0x30], 0
jne 0x4bb00d
call fcn.0048e87c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb021
mov eax, dword [ebp - 8]
call fcn.004034ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
call fcn.004352dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb06b
lea eax, [ebp - 0x34]
mov edx, 9
call fcn.004043a4
lea eax, [ebp - 0x10]
call fcn.00404380
lea eax, [ebp - 0xc]
call fcn.00404380
ret
Function at 0x4bb9f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4bbabe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 7
mov eax, dword [0x4bf52c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, 0x104
call fcn.004098fc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bba9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 8]
call fcn.00402fa8
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x10]
call fcn.004045e4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0x4bbad4
call fcn.0040468c
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.004043d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbaa3
mov eax, dword [ebp - 8]
call fcn.00409948
ret