joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417432
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push 0x24
mov eax, 0x45aab4
call fcn.0043e3be
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], edi
call fcn.00410b00
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.004173a9
mov bl, al
push edi
neg bl
push 1
lea ecx, [ebp - 0x2c]
sbb bl, bl
call fcn.00405680
inc bl
je 0x41747c
xor eax, eax
jmp 0x4174c8
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
push edi
lea eax, [ebp - 0x30]
push eax
call dword [0x46742c]
mov eax, dword [ebp - 0x30]
and al, 4
sub al, 4
movzx eax, al
push edi
neg eax
push edi
sbb eax, eax
push edi
and eax, 4
push eax
push 0x469580
call dword [0x467428]
mov dword [esi], eax
cmp eax, edi
jne 0x4174be
call dword [0x467274]
mov dword [esi + 0x2c], eax
jmp 0x417478
mov ecx, esi
call fcn.0041181c
xor eax, eax
inc eax
call fcn.0043e441
ret 8

Function at 0x41a7db
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00419ce9
mov ecx, esi
pop esi
jmp fcn.0041a678

Function at 0x41aed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x46e2f4
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call fcn.00441b94
mov esi, eax
xor edi, edi
pop ecx
pop ecx
cmp esi, edi
jne 0x41aef7
xor eax, eax
jmp 0x41af77
push ebx
push 2
push edi
push esi
call fcn.00441a5a
push esi
call fcn.0044196b
push edi
push edi
push esi
mov ebx, eax
call fcn.00441a5a
add esp, 0x1c
push ebx
push 0x22
call dword [0x467238]
mov edi, eax
test edi, edi
je 0x41af49
push edi
call dword [0x467220]
test eax, eax
jne 0x41af31
push edi
jmp 0x41af43
push esi
push ebx
push 1
push eax
call fcn.004417ba
add esp, 0x10
push edi
cmp eax, ebx
je 0x41af54
call dword [0x46722c]
push esi
call fcn.004414fc
pop ecx
xor eax, eax
jmp 0x41af76
call dword [0x467224]
push esi
call fcn.004414fc
pop ecx
mov ecx, dword [ebp - 4]
push ebx
push edi
call fcn.0041abc5
push edi
mov esi, eax
call dword [0x46722c]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x41c4a5
Capabilities:
Resolve dns

Disassembly:
push 4
mov eax, 0x45b009
call fcn.0043e355
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
xor ebx, ebx
inc ebx
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], esi
je 0x41c4dd
push 8
call fcn.0043ebbd
mov esi, eax
pop ecx
mov dword [esi], ebx
push dword [ebp + 8]
call dword [0x467460]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], ebx
jle 0x41c4f3
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041b74e
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 8
push ebx
push eax
call fcn.00459632
test eax, eax
jne 0x41c513
push ebx
push dword [ebp - 0x10]
call fcn.0045962c
jmp 0x41c515
xor bl, bl
push esi
call fcn.0043dae2
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov al, bl
call fcn.0043e42d
ret
Function at 0x41c53a
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x47c094]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov byte [ebp - 0x805], 1
call dword [0x46743c]
test eax, eax
je 0x41c56a
mov byte [ebp - 0x805], bl
push ebx
push ebx
push ebx
push 1
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
call dword [0x467438]
mov esi, eax
cmp esi, ebx
jne 0x41c586
mov byte [ebp - 0x805], bl
push 0x800
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0043ed90
push 0x2000
lea eax, [ebp - 0x804]
push 0x4697c0
push eax
call fcn.0043ec3d
add esp, 0x18
push ebx
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 8]
push esi
call dword [0x467430]
mov edi, eax
cmp edi, ebx
jne 0x41c5d2
mov byte [ebp - 0x805], bl
push esi
mov esi, dword [0x467434]
call esi
push edi
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 4]
movzx eax, byte [ebp - 0x805]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e346
leave
ret

Function at 0x41ce46
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x45daff
call fcn.0043e3be
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x41cf3d
cmp byte [esi + 0x4a], bl
je 0x41cf3d
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x41ce82
xor al, al
jmp 0x41cf3f
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403160
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41cee0
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x41cee5
dec eax
je 0x41cee9
dec eax
dec eax
je 0x41cf39
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403740
mov al, bl
jmp 0x41cf3f
mov edx, dword [ebp - 0x2c]
jmp 0x41ceab
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41cef5
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x41cf1b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41cf08
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.00442f45
add esp, 0x10
cmp edi, eax
jne 0x41cece
cmp byte [esi + 0x4a], 0
je 0x41cf39
test edi, edi
jne 0x41ce9d
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00407300
jmp 0x41ce9d
mov bl, 1
jmp 0x41ced0
mov al, 1
call fcn.0043e441
ret
Function at 0x41d01f
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x45b0b8
call fcn.0043e3be
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x41d041
xor eax, eax
jmp 0x41d1b4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor ebx, ebx
cmp ecx, ebx
je 0x41d06f
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x41d06f
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 2]
mov dword [esi], ecx
mov word [eax], di
mov ax, di
jmp 0x41d1b4
cmp dword [esi + 0x54], ebx
je 0x41d1af
mov ecx, esi
call fcn.0041b1de
cmp dword [esi + 0x44], ebx
jne 0x41d09f
push dword [esi + 0x54]
push edi
call fcn.0041c096
pop ecx
test al, al
pop ecx
movzx eax, di
jne 0x41d1b4
jmp 0x41d1af
movzx eax, di
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403160
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d15c
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x34]
push ebx
push eax
push edx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
xor ebx, ebx
inc ebx
test eax, eax
js 0x41d1a4
cmp eax, ebx
jg 0x41d164
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d10e
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x41d133
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41d121
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push ebx
push eax
call fcn.00442f45
add esp, 0x10
cmp edi, eax
jne 0x41d1a4
lea eax, [ebp - 0x30]
mov byte [esi + 0x4a], bl
cmp dword [ebp - 0x38], eax
jne 0x41d193
test edi, edi
jne 0x41d0c0
cmp dword [ebp - 0x1c], 0x20
push edi
lea ecx, [ebp - 0x2c]
jae 0x41d1a9
push 8
call fcn.00407300
jmp 0x41d0c0
mov edx, dword [ebp - 0x2c]
jmp 0x41d0d2
cmp eax, 3
jne 0x41d1a4
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.0041c096
movzx esi, word [ebp + 8]
pop ecx
pop ecx
test al, al
jne 0x41d183
mov esi, 0xffff
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403740
mov ax, si
jmp 0x41d1b4
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403740
mov ax, word [ebp + 8]
jmp 0x41d1b4
push 0
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00403740
mov eax, 0xffff
call fcn.0043e441
ret 4
Function at 0x41d50a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x6c
mov eax, 0x45b1dd
call fcn.0043e3be
mov esi, dword [ebp + 8]
xor ebx, ebx
push str.SOFTWAREFunshionFunshion
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], ebx
call fcn.00403010
cmp dword [ebp - 0x58], 0x10
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], 0x40
jae 0x41d54b
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x70]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [0x46701c]
test eax, eax
je 0x41d56c
push 0x46e2fa
jmp 0x41d5a6
push 0x3f
lea eax, [ebp - 0x4f]
push ebx
push eax
mov byte [ebp - 0x50], bl
call fcn.0043ed90
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push str.Version
push dword [ebp - 0x70]
call dword [0x467024]
push dword [ebp - 0x70]
call dword [0x46700c]
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.00403010
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.00403740
mov eax, esi
call fcn.0043e441
ret

Function at 0x41d632
Capabilities:
Initialize winsock library

Disassembly:
push 0x204
mov eax, 0x45b225
call fcn.0043e3be
lea eax, [ebp - 0x20c]
push eax
call fcn.0041c94c
pop ecx
mov esi, dword [ebp - 0x20c]
xor ebx, ebx
cmp dword [esi - 4], 1
mov dword [ebp - 4], ebx
jle 0x41d673
push dword [esi - 0xc]
lea ecx, [ebp - 0x20c]
call fcn.0040b89e
mov esi, dword [ebp - 0x20c]
push esi
lea ecx, [ebp - 0x5c]
call fcn.00410b00
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041d5c0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00405680
lea eax, [ebp - 0x208]
push eax
push 0x202
call dword [0x46745c]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00426330
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042627f
push 0x14
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00403b50
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 3
call fcn.004010b0
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x210], eax
call fcn.00403740
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040c19f
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.00403740
lea ecx, [esi - 0x10]
call fcn.0040b6b3
mov eax, dword [ebp - 0x210]
call fcn.0043e441
ret
Function at 0x41d996
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x45b309
call fcn.0043e3be
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00410b00
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041d78c
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00415b42
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x48]
call fcn.00405680
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41d9f0
lea eax, [ebp - 0x2c]
push eax
call dword [0x4672f8]
test eax, eax
jne 0x41da11
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405680
mov eax, esi
call fcn.0043e441
ret
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41da1d
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0041bf49
jmp 0x41d9fd

Function at 0x41da27
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x148
mov eax, 0x45b362
call fcn.0043e3be
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x14c], esi
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], esi
call fcn.00403010
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xf4]
push eax
xor ebx, ebx
lea eax, [ebp - 0x148]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.00405d60
push 0x4695dc
push eax
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 2
call fcn.004095e0
push str.Connection
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 3
call fcn.004095e0
add esp, 0x24
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.004054f0
push esi
push ebx
lea ecx, [ebp - 0x110]
call fcn.00403740
push esi
push ebx
lea ecx, [ebp - 0x12c]
call fcn.00403740
push esi
push ebx
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], bl
call fcn.00403740
cmp dword [ebp - 0xe0], 0x10
mov eax, dword [ebp - 0xf4]
jae 0x41daef
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0x14c]
push ecx
push 0xf003f
push esi
push eax
push 0x80000002
call dword [0x46701c]
test eax, eax
jne 0x41db50
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x154]
push eax
push esi
push str.Name
push dword [ebp - 0x14c]
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], 0x64
call dword [0x467020]
test eax, eax
jne 0x41db50
lea eax, [ebp - 0xd8]
push eax
jmp 0x41db55
push 0x468f50
mov ecx, edi
call fcn.00410b00
push esi
push ebx
lea ecx, [ebp - 0xf4]
call fcn.00403740
push esi
push ebx
lea ecx, [ebp + 0xc]
call fcn.00403740
mov eax, edi
call fcn.0043e441
ret
Function at 0x41db7b
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push 0x238
mov eax, 0x45b3b8
call fcn.0043e3be
mov esi, dword [ebp + 8]
push 7
pop eax
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x23c]
push eax
push 0x202
mov byte [ebp - 4], 1
mov byte [ebp - 0x23d], bl
call dword [0x46745c]
cmp eax, ebx
jne 0x41dcf0
push esi
call dword [0x467480]
push ebx
push 1
push 2
mov esi, eax
call dword [0x46747c]
push 0x468f50
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x244], eax
call fcn.00410b00
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x41dcd6
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [0x467478]
push eax
lea ecx, [ebp - 0x74]
call fcn.00403010
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00416dc5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00415b42
push ebx
push 1
lea ecx, [ebp - 0x90]
call fcn.00405680
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00403740
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0043ed90
add esp, 0xc
push 2
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x20], ax
call dword [0x467474]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [0x467470]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x244]
call esi
xor edi, edi
cmp eax, 0xffffffff
jne 0x41dcc1
cmp edi, 4
jge 0x41dcbc
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x244]
inc edi
call esi
mov byte [ebp - 0x23d], bl
cmp eax, 0xffffffff
je 0x41dc9d
cmp eax, 0xffffffff
je 0x41dcc8
mov byte [ebp - 0x23d], 1
push dword [ebp - 0x244]
call dword [0x46746c]
jmp 0x41dcdc
mov byte [ebp - 0x23d], bl
call dword [0x467458]
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00405680
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405680
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00405680
movzx eax, byte [ebp - 0x23d]
call fcn.0043e441
ret
Function at 0x41de94
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x45b49f
call fcn.0043e355
xor esi, esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
push 0x47b5e4
mov dword [ebp - 4], esi
call fcn.0041b726
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push 0x4699e4
push 0x80000000
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], esi
call dword [0x467028]
test eax, eax
jne 0x41df4d
mov edi, dword [0x467020]
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call edi
test eax, eax
jne 0x41df44
mov eax, dword [ebp - 0x14]
cmp eax, esi
jbe 0x41df44
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042a136
mov ebx, eax
pop ecx
cmp ebx, esi
je 0x41df44
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push esi
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x41df3d
push ebx
call dword [0x467300]
mov ecx, dword [ebp + 8]
push ebx
call fcn.0040bb2f
push ebx
call fcn.0043f20b
pop ecx
push dword [ebp - 0x10]
call dword [0x46700c]
mov eax, dword [ebp + 8]
call fcn.0043e42d
ret

Function at 0x41e19f
Capabilities:
Get common file path

Disassembly:
push 0xc
mov eax, 0x45b537
call fcn.0043e355
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
mov esi, 0x468f50
push esi
mov dword [ebp - 4], ebx
call fcn.0040be56
xor edi, edi
inc edi
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
call fcn.0040be56
push ebx
push 0x28
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040b9f3
push eax
push ebx
call dword [0x4672f0]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00418593
push str._funshionupdatedoctor.json
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040bbac
add esp, 0xc
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.0040bc74
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov eax, dword [ebp + 8]
call fcn.0043e42d
ret

Function at 0x41e812
Capabilities:
Get networking parameters

Disassembly:
push 0xc
mov eax, 0x45b73c
call fcn.0043e355
and dword [ebp - 0x18], 0
mov esi, 0x47b5e4
push esi
lea ecx, [ebp - 0x18]
call fcn.0041b726
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x14]
call fcn.0041b726
mov edi, dword [0x467238]
mov esi, 0x248
push esi
push 0x40
mov byte [ebp - 4], 1
call edi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], esi
call fcn.00459614
cmp eax, 0x6f
jne 0x41e87f
push ebx
call dword [0x46722c]
push dword [ebp - 0x10]
push 0x40
call edi
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00459614
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x41e894
add ebx, 0x110
push ebx
call fcn.00410e7b
jmp 0x41e89e
push 0x468f50
call fcn.0040be56
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov eax, dword [ebp + 8]
call fcn.0043e42d
ret
Function at 0x41e8bd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x164
mov eax, 0x45b76d
call fcn.0043e3be
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push str.SYSTEMCurrentControlSetServicesTcpipParametersInterfaces_
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x170], ebx
call fcn.00403010
push dword [ebp - 0x168]
mov dword [ebp - 4], ebx
call fcn.0043f600
pop ecx
push eax
push dword [ebp - 0x168]
lea ecx, [ebp - 0x158]
call fcn.004030b0
cmp dword [ebp - 0x144], 0x10
mov eax, dword [ebp - 0x158]
jae 0x41e929
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x160]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call dword [0x46701c]
test eax, eax
je 0x41e957
push 0x468f50
mov ecx, esi
call fcn.0040be56
jmp 0x41ea2f
push 0x64
pop eax
push eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x13c]
push ebx
push eax
mov dword [ebp - 0x170], 1
call fcn.0043ed90
add esp, 0xc
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x170]
push eax
push ebx
push str.NameServer
push dword [ebp - 0x160]
call dword [0x467020]
test eax, eax
je 0x41e9aa
mov byte [edi], bl
jmp 0x41e946
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x16c]
push eax
push ebx
push ebx
push str.EnableDHCP
push dword [ebp - 0x160]
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x15c], 4
call dword [0x467020]
cmp eax, ebx
jne 0x41e9a6
cmp dword [ebp - 0x16c], ebx
push dword [ebp - 0x160]
setne al
mov byte [edi], al
call dword [0x46700c]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x164]
call fcn.0040be56
mov eax, dword [ebp - 0x164]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 1
call fcn.0040b7fa
pop ecx
mov ecx, dword [ebp - 0x164]
add eax, 0x10
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.0040b6b3
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.00403740
mov eax, esi
call fcn.0043e441
ret

Function at 0x41f02c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x4672e8]
xor ebx, ebx
push edi
cmp byte [ebp + 0xc], bl
je 0x41f07d
lea eax, [ebp + 0xc]
push eax
call fcn.0041de94
mov eax, dword [ebp + 0xc]
pop ecx
cmp dword [eax - 0xc], ebx
jle 0x41f075
push 1
push ebx
push dword [ebp + 8]
push eax
push ebx
push ebx
call esi
mov edi, eax
cmp edi, 0x20
jbe 0x41f072
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov eax, edi
jmp 0x41f09c
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0x10]
call fcn.0040b6b3
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
push ebx
call esi
cmp eax, 0x20
ja 0x41f09c
push 1
push ebx
push dword [ebp + 8]
push str.iexplore
push ebx
push ebx
call esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41f4ad
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x45ba15
call fcn.0043e355
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041eb45
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov dword [esp], 0x47b5e4
call fcn.0041b726
lea eax, [ebp + 0xc]
push eax
mov esi, 0x467db4
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0040bc10
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.0040bbac
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0040bc74
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040b6b3
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00410e7b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push str._interface_IP_set_dns
push eax
mov byte [ebp - 4], 5
call fcn.0040bc10
push str._static
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.0040bbac
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.0040bb55
add esp, 0x24
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040bc74
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040b6b3
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x14]
call fcn.0040b7d6
test eax, eax
je 0x41f5e3
push str.Microsoft_Windows7
lea ecx, [ebp - 0x14]
call fcn.0040b7d6
test eax, eax
je 0x41f5e3
push ebx
push ebx
push dword [ebp - 0x10]
push str.netsh
push str.open
jmp 0x41f5f2
push ebx
push ebx
push dword [ebp - 0x10]
push str.netsh
push str.runas
push ebx
call dword [0x4672e8]
cmp eax, 0x20
jge 0x41f627
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov al, bl
call fcn.0043e42d
ret
mov bl, 1
jmp 0x41f5fe

Function at 0x41f62b
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x45c941
call fcn.0043e355
lea eax, [ebp - 0x10]
push eax
call fcn.0041eb45
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
mov dword [esp], str.Microsoft_Windows_Vista
call fcn.0040b7d6
test eax, eax
je 0x41f67c
push str.Microsoft_Windows7
lea ecx, [ebp - 0x10]
call fcn.0040b7d6
test eax, eax
je 0x41f67c
push ebx
push ebx
push str._interface_ip_set_dns__
push str.netsh
push str.open
jmp 0x41f68d
push ebx
push ebx
push str._interface_ip_set_dns__
push str.netsh
push str.runas
push ebx
call dword [0x4672e8]
cmp eax, 0x20
jge 0x41f6ac
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040b6b3
mov al, bl
call fcn.0043e42d
ret
mov bl, 1
jmp 0x41f699