joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, ecx
test eax, eax
je 0x446d6d
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
nop dword [eax]
mov ecx, dword [edx + 0x168]
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ebx]
inc ebx
mov dword [ebp + 8], ebx
mov byte [ecx + edx + 0x28], al
inc dword [edx + 0x168]
cmp dword [edx + 0x168], 0x40
jb 0x446d51
lea ecx, [edx + 0x28]
mov edi, 0x10
mov esi, ecx
mov eax, dword [esi]
lea esi, [esi + 4]
bswap eax
mov dword [esi - 4], eax
sub edi, 1
jne 0x446c11
lea esi, [edi + 0x40]
mov eax, dword [ecx + 0x34]
lea ecx, [ecx + 4]
xor eax, dword [ecx + 0x1c]
xor eax, dword [ecx + 4]
xor eax, dword [ecx - 4]
rol eax, 1
mov dword [ecx + 0x3c], eax
sub esi, 1
jne 0x446c23
mov eax, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 4], eax
mov eax, dword [edx + 0x1c]
mov ebx, dword [edx + 4]
mov dword [edx + 8], eax
mov eax, dword [edx + 0x20]
mov edi, dword [edx + 8]
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x28
mov eax, dword [edx]
mov dword [ebp - 4], eax
cmp esi, 0x14
jae 0x446c8d
mov eax, ebx
not eax
and eax, ecx
mov ecx, ebx
and ecx, edi
or eax, ecx
jmp 0x446cac
cmp esi, 0x28
jb 0x446ca6
cmp esi, 0x3c
jae 0x446ca6
mov eax, edi
or eax, ecx
mov ecx, edi
and ecx, dword [ebp - 0xc]
and eax, ebx
or eax, ecx
jmp 0x446cac
mov eax, ebx
xor eax, edi
xor eax, ecx
cmp esi, 0x14
jae 0x446cb8
mov ecx, 0x5a827999
jmp 0x446cd5
cmp esi, 0x28
jae 0x446cc4
mov ecx, 0x6ed9eba1
jmp 0x446cd5
cmp esi, 0x3c
sbb ecx, ecx
and ecx, 0xc4b8fb06
add ecx, 0xca62c1d6
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add dword [ebp - 8], 4
rol ebx, 5
add ebx, dword [esi + edx]
add ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ecx, edi
add dword [ebp - 4], eax
inc esi
mov eax, dword [ebp - 0xc]
mov ebx, dword [edx]
mov dword [ebp - 0xc], edi
mov dword [edx + 0xc], edi
mov edi, dword [ebp - 0x14]
ror edi, 2
cmp dword [ebp - 8], 0x168
mov dword [ebp - 0x10], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx + 8], edi
mov dword [ebp - 0x14], ebx
mov dword [edx + 4], ebx
mov dword [edx], eax
mov dword [ebp - 0x18], esi
jb 0x446c75
add dword [edx + 0x14], eax
mov eax, ebx
add dword [edx + 0x18], eax
mov eax, edi
add dword [edx + 0x1c], eax
mov eax, dword [edx + 0xc]
add dword [edx + 0x20], eax
mov eax, dword [edx + 0x10]
add dword [edx + 0x24], eax
mov ebx, dword [ebp + 8]
mov dword [edx + 0x168], 0
add dword [edx + 0x170], 8
mov eax, dword [ebp + 0xc]
adc dword [edx + 0x174], 0
test eax, eax
jne 0x446be0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x446eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x10
lea edx, [esi + 0x28]
mov ecx, edx
mov eax, dword [ecx]
lea ecx, [ecx + 4]
bswap eax
mov dword [ecx - 4], eax
sub edi, 1
jne 0x446ec5
lea ecx, [edi + 0x40]
mov eax, dword [edx + 0x34]
lea edx, [edx + 4]
xor eax, dword [edx + 0x1c]
xor eax, dword [edx + 4]
xor eax, dword [edx - 4]
rol eax, 1
mov dword [edx + 0x3c], eax
sub ecx, 1
jne 0x446ed7
mov eax, dword [esi + 0x14]
xor edx, edx
mov dword [esi], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 4]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
mov dword [esi + 0x10], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x28
nop dword [eax + eax]
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp edx, 0x14
jae 0x446f48
mov eax, ebx
not eax
and eax, ecx
mov ecx, ebx
and ecx, edi
or eax, ecx
jmp 0x446f67
cmp edx, 0x28
jb 0x446f61
cmp edx, 0x3c
jae 0x446f61
mov eax, edi
or eax, ecx
mov ecx, edi
and ecx, dword [ebp - 0xc]
and eax, ebx
or eax, ecx
jmp 0x446f67
mov eax, ebx
xor eax, edi
xor eax, ecx
cmp edx, 0x14
jae 0x446f73
mov ecx, 0x5a827999
jmp 0x446f90
cmp edx, 0x28
jae 0x446f7f
mov ecx, 0x6ed9eba1
jmp 0x446f90
cmp edx, 0x3c
sbb ecx, ecx
and ecx, 0xc4b8fb06
add ecx, 0xca62c1d6
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add dword [ebp - 8], 4
rol ebx, 5
add ebx, dword [edx + esi]
add ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ecx, edi
add dword [ebp - 4], eax
inc edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [esi]
mov dword [ebp - 0xc], edi
mov dword [esi + 0xc], edi
mov edi, dword [ebp - 0x14]
ror edi, 2
cmp dword [ebp - 8], 0x168
mov dword [ebp - 0x10], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], edi
mov dword [ebp - 0x14], ebx
mov dword [esi + 4], ebx
mov dword [esi], eax
mov dword [ebp - 0x18], edx
jb 0x446f30
add dword [esi + 0x14], eax
mov eax, ebx
add dword [esi + 0x18], eax
mov eax, edi
add dword [esi + 0x1c], eax
mov eax, dword [esi + 0xc]
add dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
add dword [esi + 0x24], eax
pop edi
mov dword [esi + 0x168], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ec
mov eax, dword [0x4f91a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4ec], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00447480
xor ecx, ecx
add esp, 0xc
cmp ecx, 0x20
jge 0x4471b8
mov al, byte [ecx + section..data]
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x20
jl 0x4471a5
lea eax, [ebp - 0xe0]
push esi
push eax
call fcn.0045fd7e
push 0x20
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fdb3
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045fc61
add esp, 0x18
mov esi, 0x32
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fd7e
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fdb3
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045fc61
add esp, 0x18
sub esi, 1
jne 0x4471f2
push ebx
push edi
mov ecx, 8
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x44]
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
lea esp, [esp]
xor eax, eax
mov cl, byte [ebp + eax - 0x14]
xor cl, bl
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, 0x10
jl 0x447242
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4e8]
push 0x10
push eax
call fcn.0045fb95
lea eax, [ebp - 0x44]
push eax
push eax
lea eax, [ebp - 0x4e8]
push 0x20
push eax
call fcn.0045fb3a
inc ebx
add esp, 0x1c
cmp ebx, 0x14
jl 0x447240
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fd7e
push 0x20
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fdb3
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fdb3
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045fc61
add esp, 0x24
mov esi, 0x32
pop edi
pop ebx
lea ebx, [ebx]
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fd7e
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0045fdb3
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0045fc61
add esp, 0x18
sub esi, 1
jne 0x4472d0
mov ecx, dword [ebp - 0x4ec]
mov eax, dword [ebp - 0x14]
pop esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046100d
mov esp, ebp
pop ebp
ret

Function at 0x448510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
push esi
xor esi, esi
test ecx, ecx
je 0x448565
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [0x52033c]
push edi
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push 2
push esi
push edi
push ecx
test ebx, ebx
jne 0x448557
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
pop edi
cmove esi, ecx
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8
call ebx
test eax, eax
mov ecx, 1
pop edi
cmove esi, ecx
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x448570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
push esi
xor esi, esi
test ecx, ecx
je 0x4485c5
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [0x52033c]
push edi
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edx - 0xc]
add eax, eax
push eax
push edx
push 1
push esi
push edi
push ecx
test ebx, ebx
jne 0x4485b7
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
pop edi
cmove esi, ecx
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8
call ebx
test eax, eax
mov ecx, 1
pop edi
cmove esi, ecx
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4485d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4485e5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x448626
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x448622
lea ebx, [ebx]
cmp esi, edx
jae 0x448626
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x448610
cmp esi, edx
jb 0x44862b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x448640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push 0
call fcn.004486d0
add esp, 8
mov ecx, esi
push 1
push 0x4eea78
call fcn.00408850
mov edx, dword [ebp + 8]
cmp word [edx], 0
jne 0x44866e
xor ecx, ecx
jmp 0x448682
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448673
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00408850
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4486c9
cmp dword [esi + 0x14], 8
jb 0x44869a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4486be
test al, 0x10
jne 0x4486be
xor eax, eax
mov ecx, 1
test cl, cl
setne al
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret
xor eax, eax
xor ecx, ecx
test cl, cl
setne al
mov dword [edi], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x449c20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d09c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4f91a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x449c6b
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push edi
push 0x80
push 3
push edi
push 5
push bind
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x449ca2
call fcn.00448e60
mov esi, eax
test esi, esi
jns 0x449ca7
jmp 0x449d46
mov edi, eax
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, 0xffffffff
jne 0x449cca
call fcn.00448e60
mov esi, eax
test esi, esi
js 0x449d46
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
ja 0x449d44
cmp esi, 0xffffffff
jae 0x449d44
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044ada0
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
cmp esi, eax
jne 0x449d30
cmp dword [ebp - 0x14], 0
jne 0x449d30
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0044aa10
mov esi, eax
test esi, esi
js 0x449d35
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004498c0
mov esi, eax
jmp 0x449d35
mov esi, 0x8007000e
test ebx, ebx
je 0x449d46
push ebx
call fcn.0045f168
add esp, 4
jmp 0x449d46
xor esi, esi
test edi, edi
je 0x449d51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44b2a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f91a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 8]
push ebx
push esi
lea esi, [ecx + 8]
mov dword [esi + 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44b2f4
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44b306
test ebx, ebx
je 0x44b2f4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046100d
mov esp, ebp
pop ebp
ret
push edi
jmp 0x44b310
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.004ad8b4
add esp, 8
test eax, eax
jne 0x44b385
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x228]
cmp ecx, eax
jae 0x44b364
mov ecx, dword [esi]
lea edx, [ebp - 0x228]
cmp ecx, edx
ja 0x44b364
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x44b356
push 1
mov ecx, esi
call fcn.0044b5b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44b381
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
jmp 0x44b37f
cmp eax, dword [esi + 8]
jne 0x44b372
push 1
mov ecx, esi
call fcn.0044b5b0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44b381
mov eax, dword [ebp - 0x228]
mov dword [ecx], eax
add dword [esi + 4], 4
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44b310
pop edi
test ebx, ebx
je 0x44b3a6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi]
xor eax, eax
cmp ecx, dword [esi + 4]
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0046100d
mov esp, ebp
pop ebp
ret
Function at 0x44bac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4f91a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0x4d4c50
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44bcc8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 4
test eax, eax
je 0x44bcd6
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push str.Update_Use_Proxy
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44bcc8
cmp dword [ebp - 0x24], 4
jne 0x44bcc8
cmp dword [ebp - 0x20], eax
je 0x44bcc8
lea eax, [ebp - 0x18]
push eax
push str.Update_Proxy_Method
lea ecx, [ebp - 0x1c]
call fcn.0044bcf0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44bcc8
cmp eax, 1
jne 0x44bb8d
mov ecx, esi
call fcn.0044b940
jmp 0x44bcc8
cmp eax, 2
jne 0x44bcc8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x50
mov dword [ebp - 0x20], 0
call fcn.0044b620
lea ecx, [ebp - 0x14]
call fcn.0044b620
lea ecx, [ebp - 0x10]
call fcn.0044b620
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
push str.Update_Proxy_Mode
lea ecx, [ebp - 0x1c]
call fcn.0044bcf0
test eax, eax
je 0x44bcb0
lea eax, [ebp - 0x18]
push eax
push str.Update_Proxy_Host
lea ecx, [ebp - 0x1c]
call fcn.0044bd40
test eax, eax
je 0x44bcb0
lea eax, [ebp - 0x28]
push eax
push str.Update_Proxy_Port
lea ecx, [ebp - 0x1c]
call fcn.0044bcf0
test eax, eax
je 0x44bcb0
lea eax, [ebp - 0x20]
push eax
push str.Update_Proxy_Authorization
lea ecx, [ebp - 0x1c]
call fcn.0044bcf0
test eax, eax
je 0x44bcb0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44bc5f
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push str.Update_Proxy_User_Name
call fcn.0044bd40
test eax, eax
je 0x44bcb0
lea eax, [ebp - 0x10]
push eax
push str.Update_Proxy_Password
lea ecx, [ebp - 0x1c]
call fcn.0044bd40
test eax, eax
je 0x44bcb0
mov eax, dword [ebp - 0x24]
cmp eax, 1
jne 0x44bc6c
mov dword [esi + 4], eax
jmp 0x44bc78
cmp eax, 5
jne 0x44bcb0
mov dword [esi + 4], 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 8]
call fcn.0044b7d0
push dword [ebp - 0x28]
lea eax, [esi + 0xc]
push 0x4d4c44
push eax
call fcn.0044b870
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x14]
push eax
call fcn.0044b7d0
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x18]
call fcn.0044b7d0
lea ecx, [ebp - 0x10]
call fcn.00448ab0
lea ecx, [ebp - 0x14]
call fcn.00448ab0
lea ecx, [ebp - 0x18]
call fcn.00448ab0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44bcd6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44bd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx]
test eax, eax
je 0x44be11
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 8]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x44bd7e
cmp eax, 2
jne 0x44be11
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00448010
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x44be1b
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x44bdb2
push edx
mov ecx, esi
call fcn.00448350
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44bde2
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2], dx
lea edi, [edx + 1]
mov eax, dword [esi]
test eax, eax
jne 0x44bdec
xor ecx, ecx
jmp 0x44bdfe
push dword [eax - 8]
push eax
call fcn.004ad6fd
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x44be1b
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x44be1b
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
pop esi
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00447f10
int3
Function at 0x44ddc0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0
push 0
push 1
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
lea esi, [edi + 4]
test eax, eax
je 0x44de04
push 0
push 0
push esi
push 0x44db70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi], eax
test eax, eax
jne 0x44de04
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
pop edi
pop esi
ret

Function at 0x44df60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44dfd1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x44df9f
cmp eax, 2
jne 0x44dfbb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x44dfcb
test ecx, ecx
je 0x44dfc6
test cl, 1
jne 0x44dfbb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x44dfcb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44dfe0
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x44e02f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi]
test eax, eax
je 0x44e02f
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44e011
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], 0
mov dword [edi], 0
pop edi
ret
Function at 0x44e8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREliebao
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44e93f
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
push str.ProgramPath
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44e93e
cmp dword [ebp - 8], 1
jne 0x44e93e
cmp dword [ebp - 0xc], 6
jb 0x44e93e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e905
sub ecx, edx
sar ecx, 1
movzx eax, word [edi + ecx*2 - 2]
cmp eax, 0x5c
je 0x44e939
cmp eax, 0x2f
je 0x44e939
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x44e926
mov eax, dword [0x4eea78]
mov dword [edi], eax
mov esi, 1
pop edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x44e94d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44ead0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
jne 0x44eb50
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44eaf6
pop esi
mov eax, 1
pop edi
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
jne 0x44eb0f
pop esi
mov eax, 2
pop edi
pop ebp
ret 8
push str.DllGetClassObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x44eb2a
pop esi
mov eax, 3
pop edi
pop ebp
ret 8
lea esi, [edi + 8]
push esi
push 0x4d5140
push 0x4d772c
call eax
mov edx, dword [esi]
test edx, edx
je 0x44eb48
mov ecx, dword [edx]
push edx
call dword [ecx + 0xc]
mov dword [edi], eax
pop esi
xor eax, eax
pop edi
pop ebp
ret 8
xor eax, eax
pop edi
pop ebp
ret 8