joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479c60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x479c77
add esp, 0xfffffff0
call fcn.0040370c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424570
mov eax, dword [0x49164c]
cmp word [eax + 2], 0
jne 0x479c9f
mov eax, dword [0x49164c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047b338
mov eax, dword [0x491754]
cmp word [eax + 2], 0
jne 0x479cb9
mov eax, dword [0x491754]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047b530
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4191bc]
call fcn.00403378
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4191bc]
call fcn.00403378
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4271ec]
call fcn.0042e690
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x479e40
mov eax, dword [0x491528]
mov eax, dword [eax]
push eax
call fcn.00406e08
mov edx, eax
mov eax, esi
call fcn.0042ea60
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47bad0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491528]
mov eax, dword [eax]
push eax
call fcn.00406710
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.00406e48
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cb84
test eax, eax
je 0x479dae
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ccc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cbac
test eax, eax
je 0x479dc2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00406ab8
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040444c
mov eax, dword [0x4913a4]
cmp byte [eax], 0
jne 0x479df6
mov eax, ebx
call fcn.00479f68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0047bcac
mov eax, ebx
call fcn.0047c670
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x479e36
call fcn.00403764
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a1e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x492bf8]
cmp dword [eax + 0x30], 0
je 0x47a292
cmp dword [ebx + 0x94], 0
jne 0x47a28c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47a178
call fcn.00406be0
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47a28c
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00406d48
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00406d58
test al, 8
je 0x47a252
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47a28c
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.0041bbc8
push eax
call fcn.00406f70
dec esi
cmp esi, 0xffffffff
jne 0x47a261
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47adf4
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 0x47ae29
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.00406d70
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042cc
jmp 0x47ae36
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404230
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47be88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47bec9
mov eax, esi
call fcn.00461d70
test al, al
je 0x47bec9
mov eax, dword [ebx + 0x84]
call fcn.00461a6c
push eax
call fcn.00406de0
test eax, eax
je 0x47bec9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00461a6c
push eax
call fcn.00406fa0
pop esi
pop ebx
ret

Function at 0x47d1b4
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040468c
xor eax, eax
push ebp
push 0x47d232
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040469c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x47d1fd
mov eax, dword [ebx + 4]
call fcn.0040469c
push eax
push 0
call fcn.00406608
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call fcn.00406610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d239
lea eax, [ebp - 4]
call fcn.004041dc
ret
Function at 0x47e234
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47e3d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402af4
cmp word [ebx + 0xa2], 0
je 0x47e27d
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x47e291
lea esi, [ebp - 8]
jmp 0x47e293
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x47e2a0
xor edi, edi
jmp 0x47e2ad
mov eax, dword [ebx + 0x80]
call fcn.0040469c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.0040469c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0047d96c
mov eax, dword [ebp - 0x14]
call fcn.0040469c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.0040469c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040469c
push eax
mov eax, ebx
call fcn.0047daa0
push eax
mov eax, ebx
call fcn.0047da74
push eax
mov eax, ebx
call fcn.0047da28
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0047d838
mov eax, dword [ebp - 0x18]
call fcn.0040469c
push eax
mov eax, dword [ebx + 8]
call fcn.0040469c
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00425f04
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x47e336
call fcn.0040d410
xor edx, edx
push ebp
push 0x47e3af
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47e374
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x47e36a
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3b6
mov eax, dword [ebp - 0xc]
push eax
call fcn.00425efc
ret

Function at 0x47e3e0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x47e40c
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040469c
push eax
push ebx
call fcn.00425f1c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47e431
call fcn.0040d410
xor eax, eax
push ebp
push 0x47e468
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call fcn.00425f0c
test eax, eax
jne 0x47e451
call fcn.0040d410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e46f
mov eax, dword [ebp - 8]
push eax
call fcn.00425efc
ret
Function at 0x47fdb8
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 0x47fe41
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x492c28
push 0x101
call fcn.0047ed9c
mov ebx, eax
test ebx, ebx
je 0x47fe2b
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b540
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, 0x47fe58
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4917d0]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be64
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe48
lea eax, [ebp - 0x1c]
call fcn.004041dc
ret

Function at 0x48050c
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00480430
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004035a4
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.0047ece4
mov edx, 0x480570
call fcn.0047fd00
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x480562
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.004035a4
pop esi
pop ebx
ret

Function at 0x480594
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004802b4
xor eax, eax
push ebp
push 0x48060f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x4805ca
call fcn.00403c20
jmp 0x480616
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.0047ecf4
test eax, eax
jne 0x4805f9
mov ax, word [ebp - 0x1a]
push eax
call fcn.0047ed2c
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480616
mov eax, dword [ebp - 4]
call fcn.004802c0
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x48077c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0040469c
push eax
call fcn.0047ed64
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402dbc
test ebx, ebx
je 0x4807c7
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 0x4808a4
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 0x4808d5
mov ecx, dword [0x4918f0]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be28
call fcn.00403b74
push 0
push 1
push 2
call fcn.0047ed54
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x480902
mov ecx, dword [0x491640]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be28
call fcn.00403b74
xor eax, eax
push ebp
push 0x480983
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.004035a4
cmp byte [ebp + 8], 0
je 0x48095d
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.0048080c
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.0048048c
jmp 0x480979
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.0047ffec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4809a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4809ac
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 0x4809dd
mov ecx, dword [0x4916cc]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be28
call fcn.00403b74
push 0
push 1
push 2
call fcn.0047ed54
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x480a0a
mov ecx, dword [0x491640]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be28
call fcn.00403b74
xor eax, eax
push ebp
push 0x480a86
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.004035a4
cmp byte [ebp + 8], 0
je 0x480a62
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0048080c
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 eax, dword [ebp - 4]
call fcn.0048050c
jmp 0x480a7c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047ffec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x480aa3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480c68
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.004802b4
xor eax, eax
push ebp
push 0x480dd9
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 0x480dc3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x480cb3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480cbd
call fcn.00403c20
jmp 0x480de0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e080
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 0x480db8
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.0047ed44
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x480d6b
call fcn.0047ed94
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x480d58
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004035a4
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.00480c20
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x480dec]
cmp dl, byte [eax + 0x28]
je 0x480dbf
call fcn.0040bd4c
jmp 0x480dbf
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041e0a0
jmp 0x480dbf
cmp ecx, ebx
jge 0x480d87
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.0041e0a0
jmp 0x480cbd
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.0041e080
cmp edx, dword [esp + 4]
jne 0x480da7
cmp eax, dword [esp]
pop edx
pop eax
jne 0x480cbd
push ebp
call fcn.00480c20
pop ecx
jmp 0x480dbf
push ebp
call fcn.00480c20
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480de0
mov eax, dword [ebp - 4]
call fcn.004802c0
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480df0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480f12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004802b4
xor eax, eax
push ebp
push 0x480ef5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480e40
call fcn.00403c20
jmp 0x480efc
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.0047ed44
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x480edf
call fcn.0047ed94
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x480edf
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004035a4
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 0x480edf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b540
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, 0x480f2c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4917d0]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be64
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480efc
mov eax, dword [ebp - 4]
call fcn.004802c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480f19
lea eax, [ebp - 0x28]
call fcn.004041dc
ret
Function at 0x480f78
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 0x4810c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004802b4
xor eax, eax
push ebp
push 0x4810a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x480fdd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x480fdd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.0047ed1c
jmp 0x48108f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480ff0
call fcn.00403c20
jmp 0x4810ac
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.0047ed34
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48108f
call fcn.0047ed94
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48108f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004035a4
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 0x48108f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040b540
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, 0x4810dc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4917d0]
mov dl, 1
mov eax, dword [0x47ede4]
call fcn.0040be64
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4810ac
mov eax, dword [ebp - 4]
call fcn.004802c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4810c9
lea eax, [ebp - 0x28]
call fcn.004041dc
ret

Function at 0x4874a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.004041dc
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040469c
push eax
push edi
call fcn.004065d8
test eax, eax
jne 0x48754f
xor eax, eax
push ebp
push 0x487548
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404828
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0040469c
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040469c
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004065f8
test eax, eax
jne 0x48752a
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.00404828
jmp 0x487531
mov eax, ebx
call fcn.004041dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48754f
mov eax, dword [ebp - 0xc]
push eax
call fcn.004065a8
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4893f4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call fcn.004065c8
test eax, eax
jne 0x489435
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.0040444c
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x489440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.0040469c
push eax
push esi
call fcn.004065f0
test eax, eax
jne 0x48948e
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.0040444c
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48daf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
push eax
push 0x48db60
push 0x80000002
call fcn.004065d8
test eax, eax
jne 0x48db59
xor eax, eax
push ebp
push 0x48db52
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x48db88
mov eax, dword [ebp - 8]
push eax
call fcn.004065f8
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48db59
mov eax, dword [ebp - 8]
push eax
call fcn.004065a8
ret
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret