joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41434c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
movzx edx, word [eax + 0x14]
lea edx, [eax + edx + 0x18]
mov esi, edx
xor edi, edi
jmp 0x41441e
test dword [esi + 0x24], 0x20000000
setne cl
movzx eax, cl
mov dword [ebp - 8], eax
test dword [esi + 0x24], 0x40000000
setne cl
movzx eax, cl
mov dword [ebp - 0xc], eax
test dword [esi + 0x24], 0x80000000
setne cl
movzx eax, cl
mov dword [ebp - 0x10], eax
test dword [esi + 0x24], 0x2000000
je 0x4143f3
push 0x4000
push dword [esi + 0x10]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x4143ed
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4143db
test byte [esi + 0x24], 0x40
je 0x4143cc
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
jmp 0x4143d7
test byte [esi + 0x24], 0x80
je 0x4143d7
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x4143ed
lea edx, [ebp - 4]
push edx
push dword [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
inc edi
add esi, 0x28
jmp 0x41441e
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
shl edx, 4
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4 + 0x41a290]
mov dword [ebp - 0x14], eax
test dword [esi + 0x24], 0x4000000
je 0x4143b8
or dword [ebp - 0x14], 0x200
jmp 0x4143b8
mov eax, dword [ebx]
movzx eax, word [eax + 6]
cmp edi, eax
jl 0x41436b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414695
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push eax
push eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp word [eax], 0x5a4d
jne 0x4147da
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, eax
add ebx, dword [ebp + 8]
cmp dword [ebx], 0x4550
jne 0x4147e9
push 4
push 0x3000
push dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4146fb
push 4
push 0x3000
push dword [ebx + 0x50]
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x4147f8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push 0x24
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
je 0x414804
mov dword [edi + 4], esi
and dword [edi + 0xc], 0
and dword [edi + 8], 0
and dword [edi + 0x10], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x20], eax
push 4
push 0x1000
push dword [ebx + 0x54]
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 8], eax
push dword [ebx + 0x54]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004149cc
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax + 0x34], esi
push edi
push ebx
push dword [ebp + 8]
call fcn.004142a0
mov eax, esi
sub eax, dword [ebx + 0x34]
je 0x41478a
push eax
push edi
call fcn.0041446f
push edi
call fcn.004144e5
test eax, eax
je 0x4147c5
push edi
call fcn.0041434c
push edi
call fcn.00414435
mov eax, dword [edi]
cmp dword [eax + 0x28], 0
je 0x4147d6
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
add eax, esi
push 0
push 1
push esi
call eax
test eax, eax
jne 0x4147cf
push 0x45a
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
call fcn.004148df
xor eax, eax
jmp 0x41481c
mov dword [edi + 0x10], 1
mov eax, edi
jmp 0x41481c
push 0xc1
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x41481c
push 0xc1
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x41481c
push 0xe
call dword [sym.imp.KERNEL32.DLL_SetLastError]
xor eax, eax
jmp 0x41481c
push 0xe
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x408fba
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408ff9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408ff9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408ff9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408ff9
cmp dword [ecx + 0x74], 0xe
jbe 0x408ff9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40eec6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47a2a8
push 0x47a2a0
push str.FlsAlloc
push 0x1f
call fcn.0040ed85
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40eefa
push dword [ebp + 8]
mov ecx, esi
call dword [0x427130]
call esi
jmp 0x40ef00
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40ef44
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47a2b8
push 0x47a2b0
push str.FlsGetValue
push 0x21
call fcn.0040ed85
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ef7b
push dword [ebp + 8]
mov ecx, esi
call dword [0x427130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40ef83
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x47a2c0
push 0x47a2b8
push str.FlsSetValue
push 0x22
call fcn.0040ed85
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40efbd
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x427130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b290
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b2cb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
push 0xf01ff
push dword [0x4813a8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40b32a
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push 2
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x481c0c
mov dword [ebp - 0x1c], 0x481c0c
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x40b353
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x40b33d
push esi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call eax
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x40b32c

Function at 0x40b360
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x490d38]
cmp eax, 0x7fffffff
push ebx
push esi
push edi
mov ebx, ecx
sete byte [ebp - 1]
push 3
mov ecx, 0x7530
mov dword [ebp - 8], ebx
push 0
cmove eax, ecx
push 0
mov dword [0x490d38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b3a3
lea ebx, [eax + 0xb]
jmp 0x40b48a
push 0
push 0
push 0x481e9c
push 0
push 0x481c0c
push ebx
push 1
push 2
push 0x10
push 4
push dword [0x4813ac]
push dword [0x4813a8]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x40b3f2
call fcn.0040b290
movzx ebx, al
neg ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
add ebx, 0xb
call esi
jmp 0x40b487
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x431
jne 0x40b470
push 3
push dword [0x4813a8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40b41b
lea ebx, [eax + 0xb]
jmp 0x40b461
push dword [0x4813ac]
push 0
push 0
push 0x481e9c
push 0
push 0x481c0c
push dword [ebp - 8]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x40b44e
call ebx
mov ebx, 0xd
jmp 0x40b461
call fcn.0040b290
mov ebx, 0xd
test al, al
je 0x40b461
mov ebx, 0xc
test esi, esi
je 0x40b481
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x40b487
mov ebx, 0x32
cmp eax, 0x430
je 0x40b481
mov ebx, 0xb
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ecx, dword [0x490d38]
mov eax, 0x7fffffff
cmp byte [ebp - 1], 0
pop edi
cmovne ecx, eax
mov eax, ebx
pop esi
mov dword [0x490d38], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4165d0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c1fd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x1058], bl
je 0x416679
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x1058], bl
cmp dword [ebp + 8], ebx
je 0x41669e
cmp dword [ebp + 0xc], ebx
je 0x41669e
mov edx, dword [esi + 0x1064]
mov edi, dword [esi + 0x1070]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x416641
mov edx, dword [edx]
mov ecx, dword [edx + 8]
mov eax, edi
shr eax, 2
dec ecx
and ecx, eax
and edi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edi*4]
add dword [esi + 0x1074], 0xffffffff
jne 0x416669
mov dword [esi + 0x1070], ebx
jmp 0x41666f
inc dword [esi + 0x1070]
test ecx, ecx
je 0x416679
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1074], ebx
je 0x4167f1
mov edi, dword [esi + 0x105c]
cmp edi, 0xffffffff
je 0x4166fe
mov eax, dword [esi + 0x1064]
test eax, eax
jne 0x416714
xor edx, edx
jmp 0x416716
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004106d0
cmp eax, 2
jg 0x4166ee
push 2
push 0x1ac
push str.f:360work2.vpn_turbowin_turbo_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
mov ebx, 8
mov dword [ebp - 4], 3
push esi
add eax, ebx
mov dword [ebp - 0x10], ebx
push str.pipe_error:
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 8
je 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x1070]
dec ecx
shr eax, 2
and ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x1070]
and eax, 3
mov dword [ebp + 8], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
lea eax, [esi + 0x1040]
push eax
lea eax, [ebp + 0xc]
add ecx, dword [edx]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4167ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4167ea
call fcn.004106d0
cmp eax, 2
jg 0x4167c1
push 2
push 0x1ce
push str.f:360work2.vpn_turbowin_turbo_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
push edi
add eax, 8
mov dword [ebp - 4], 7
push str.pipe_error:
mov ebx, 0x80
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, bl
jns 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x1058], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c23c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [esi + 0x105c]
cmp ecx, 0xffffffff
je 0x4168d5
lea eax, [esi + 0x1024]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4168ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4168ee
call fcn.004106d0
cmp eax, 2
jg 0x4168c5
push 2
push 0x84
push str.f:360work2.vpn_turbowin_turbo_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc4]
call fcn.0040f530
push edi
mov dword [ebp - 4], ebx
add eax, 8
push str.pipe_error:
mov ebx, 1
push eax
mov dword [ebp - 0x14], ebx
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 1
je 0x4168d5
lea ecx, [ebp - 0xc4]
call fcn.0040f6f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 2
mov byte [esi + 0x103c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x418e90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c59f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4938dc], 0
je 0x418eca
xor al, al
jmp 0x418f89
push 0x18
call fcn.00435bec
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x418f1a
lea eax, [ebp - 0x29]
mov ecx, edi
push eax
push 1
call fcn.00417af0
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x34], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004032d0
mov dword [esi], eax
mov dword [edi + 0x14], 1
jmp 0x418f1c
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4938dc], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418f50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403650
mov ecx, dword [0x4938dc]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00419450
lea ecx, [ebp - 0x28]
call fcn.00402e70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x429100
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcea
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4291fb
push 1
push 2
lea ecx, [ebp - 0xa4]
call fcn.00409140
push 0x481ce0
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x481cec
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.00402230
add esp, 8
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
push 0x18
call fcn.00435bec
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4291c5
push eax
lea ecx, [ebp - 0xa4]
call fcn.00409080
mov esi, eax
jmp 0x4291c7
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406ee0
test esi, esi
je 0x4291fb
push esi
push 0x12
push str.f:360work2.vpn_turbowin_turbo_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.0040f5c0
lea ecx, [ebp - 0x154]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b28c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x490274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4292ba
call fcn.004106d0
cmp eax, 4
jg 0x4292aa
push 4
push 0x24
push str.f:360work2.vpn_turbowin_turbo_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
mov dword [ebp - 4], ebx
add eax, 8
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402230
add esp, 8
test bl, 1
je 0x4292ba
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e4c1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x42e6d1
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e653
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00403650
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.0041a700
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041abe0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a740
lea ecx, [ebp - 0x24c]
call fcn.00402e70
lea ecx, [ebp - 0x264]
call fcn.00402e70
lea ecx, [ebp - 0x234]
call fcn.00402e70
mov al, 1
jmp 0x42e6d3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret

Function at 0x430200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x430271
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x472ae0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x472ae0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x472ae0]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x472ae0]
sub edi, 1
jne 0x430213
pop edi
pop ebx
pop esi
ret
Function at 0x2e00202e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x2e00203d
pop dword [ebp - 0x4c]
mov eax, 0xc95ab4d0
add eax, 0x64a56b6d
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xae548157
sub dword [ebp - 0x5c], 0x60023c0c
mov dword [ebp - 0x58], 0x78e48580
add dword [ebp - 0x58], 0xb94ec6c5
mov dword [ebp - 0x54], 0x7185768d
add dword [ebp - 0x54], 0xdac6cda1
mov dword [ebp - 0x50], 0xd801d031
sub dword [ebp - 0x50], 0xd801d031
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x5be63915
add dword [ebp - 0x5c], 0x188c3041
mov dword [ebp - 0x58], 0x9c93f88a
add dword [ebp - 0x58], 0xa4d868eb
mov dword [ebp - 0x54], 0xbab283cf
sub dword [ebp - 0x54], 0x57431763
mov dword [ebp - 0x50], 0x44ed4685
add dword [ebp - 0x50], 0xbb12b97b
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xfad130e3
sub eax, 0xccce0027
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ffad
push 0
call eax
mov ecx, 0x563da1a5
add ecx, 0xa9c2a106
mov esi, eax
mov edi, 0xeeb89bac
sub edi, 0xc0b31dac
add edi, dword [ebp - 0x4c]
mov edx, 0xe91b8d9
add edx, 0xfd654749
add dword [ebp - 0x34], 0x298f2c8d
mov ebx, dword [edi]
add ebx, edx
xor dword [ebp - 0x40], edx
mov dword [esi], ebx
xor dword [ebp - 0x20], 0x3bb27c2a
add esi, 4
add edi, 0xffd97607
sub edi, 0xffd97603
loop 0x2e00215a
add eax, 0xb44efc29
sub eax, 0xb44dfeaa
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2e000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x2e01416e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306d8
call fcn.2e001511
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call fcn.2e014eb5
test ax, ax
je 0x2e014216
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014216
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01420d
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e00202e
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014200
push esi
mov ecx, edi
call fcn.2e010e6c
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e00202e
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00155b
ret