joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421c10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x234
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x230], eax
push 0x105
lea eax, [esp + 0x12d]
push 0
push eax
mov byte [esp + 0x134], 0
call fcn.00457ee0
push 0x104
lea ecx, [esp + 0x138]
push esi
push ecx
call fcn.00453c01
xor eax, eax
push 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea ecx, [esp + 0x3d]
lea edx, [esp + 0x144]
mov eax, 0x214
or word [esp + 0x2c], ax
push 0
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 3
mov byte [esp + 0x44], 0
call fcn.00457ee0
add esp, 0x24
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea ecx, [ecx]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004220b0
add esp, 8
test eax, eax
jne 0x421ce6
lea edi, [esp + 0x24]
call fcn.00421f10
test eax, eax
jne 0x421cc0
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x234]
neg eax
sbb eax, eax
pop edi
xor ecx, esp
inc eax
call fcn.004512da
add esp, 0x234
ret
Function at 0x421d10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48db20
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4afa68]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0x140
xor esi, esi
lea ecx, [ebp - 0x15c]
push esi
push ecx
mov dword [ebp - 0x178], eax
call fcn.00457ee0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x160], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov esi, eax
test esi, esi
je 0x421d9e
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x160], 0
je 0x421dbf
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call edi
push eax
call ebx
lea ecx, [ebp - 0x164]
push ecx
call eax
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x15c]
push edx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421e00
xor eax, eax
push 0x4a74e4
lea ecx, [ebp - 0x168]
push ecx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x168], eax
call fcn.004581eb
mov eax, dword [ebp - 0x15c]
mov edx, eax
or edx, 0x10
cmp eax, edx
jne 0x421e83
nop
lea eax, [ebp - 0x15c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x421e5a
mov eax, dword [ebp - 0x15c]
mov ecx, eax
or ecx, 0x10
cmp eax, ecx
je 0x421e10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 2
push 0x4a74e4
lea edx, [ebp - 0x174]
push edx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x174], eax
call fcn.004581eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x16c], eax
push 0x4a74e4
lea eax, [ebp - 0x16c]
push eax
call fcn.004581eb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 2
push 0x4a74e4
lea ecx, [ebp - 0x170]
push ecx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], eax
call fcn.004581eb
mov dword [ebp - 4], 0xffffffff
mov eax, 0x421eb9
ret
Function at 0x421f10
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x104
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00457ee0
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421f52
sub eax, edx
push esi
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x421fa6
movsx eax, byte [esp + 4]
push eax
call fcn.00453d31
add esp, 4
cmp eax, 0x41
jl 0x421fa6
movsx ecx, byte [esp + 4]
push ecx
call fcn.00453d31
add esp, 4
cmp eax, 0x5a
jg 0x421fa6
cmp byte [esp + 5], 0x3a
jne 0x421fa6
cmp esi, 3
jne 0x421f9f
cmp byte [esp + 6], 0x5c
jne 0x421fa6
cmp byte [esp + 4], 0
jne 0x421fea
lea eax, [esp + 4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421fb0
sub eax, edx
add eax, 0xffffffff
js 0x421fcc
mov edi, edi
cmp byte [esp + eax + 4], 0x5c
je 0x422002
sub eax, 1
jns 0x421fc0
test edi, edi
je 0x421fea
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421fe0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004512da
add esp, 0x10c
ret
mov byte [esp + eax + 4], 0
test edi, edi
je 0x42201f
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x422015
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422026
sub eax, edx
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x42207d
movsx eax, byte [esp + 4]
push eax
call fcn.00453d31
add esp, 4
cmp eax, 0x41
jl 0x42207d
movsx ecx, byte [esp + 4]
push ecx
call fcn.00453d31
add esp, 4
cmp eax, 0x5a
jg 0x42207d
cmp byte [esp + 5], 0x3a
jne 0x42207d
cmp esi, 3
jne 0x422072
cmp byte [esp + 6], 0x5c
jne 0x42207d
cmp byte [esp + 4], 0
jne 0x421fea
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004512da
add esp, 0x10c
ret
Function at 0x4222e0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x48eacb
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00456080
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1030]
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00457ee0
mov eax, dword [esp + 0x1038]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov dword [esp + 0x34], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x18]
mov edi, eax
push edx
lea ecx, [esp + 0x14]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004031c0
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x1028], ebx
call fcn.0040c270
mov dword [esp + 0x1024], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp edi, ebx
jne 0x4223c8
test edx, edx
jg 0x4223c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4223d8
test edx, edx
jg 0x4223d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x101c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.004512da
add esp, 0x1018
ret 8

Function at 0x4225b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.00457ee0
add esp, 0xc
mov ecx, esi
call fcn.004226e0
test al, al
je 0x4226bb
push edi
lea edi, [esi + 4]
push 0x5c
push edi
call fcn.004524c0
sub eax, esi
sub eax, 4
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00453da0
push 0x103
lea edx, [esp + 0x129]
push 0
push edx
mov byte [esp + 0x130], 0
call fcn.00457ee0
add esp, 0x20
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push str.LngENU.ini
push ebp
push str.LanguageItems
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esi + 0x108]
lea eax, [esp + 0xc]
mov esi, edx
mov ecx, eax
sub esi, ecx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x422662
mov edi, edx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x422670
mov ax, word [0x49ac28]
mov word [edi], ax
lea eax, [esp + 0x110]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422690
sub eax, esi
dec edx
lea ebx, [ebx]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4226a0
mov ecx, eax
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, 1
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
call fcn.004512da
add esp, 0x20c
ret 4
Function at 0x4227a0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2810
call fcn.00456080
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x280c], eax
push ebp
mov ebp, dword [esp + 0x2818]
push esi
mov esi, ecx
call fcn.004226e0
test al, al
jne 0x4227d6
mov eax, 0x49c377
jmp 0x4228a7
lea eax, [esi + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4227e0
sub eax, edx
cmp eax, 3
jb 0x4227cc
xor eax, eax
mov byte [esp + 8], cl
mov ecx, esi
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
call fcn.004228c0
lea edx, [esp + 8]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x422810
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.004225b0
test al, al
je 0x4227cc
add esi, 0x108
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422835
sub eax, edx
cmp eax, 3
jb 0x4227cc
push 0x27ff
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x19]
push 0
push ecx
call fcn.00457ee0
add esp, 0xc
push esi
push 0x2800
lea edx, [esp + 0x1c]
push edx
push 0x49c377
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2800
push 0
push 0x4c03b8
call fcn.00457ee0
add esp, 0xc
mov dword [0x4b7a80], 0x4c03b8
xor eax, eax
mov cl, byte [esp + eax + 0x14]
mov byte [eax + 0x4c03b8], cl
inc eax
test cl, cl
jne 0x422893
mov eax, 0x4c03b8
mov ecx, dword [esp + 0x2814]
pop esi
pop ebp
xor ecx, esp
call fcn.004512da
add esp, 0x2810
ret 4

Function at 0x4228c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, ecx
call fcn.004226e0
test al, al
jne 0x4228fb
mov eax, 0x49c377
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004512da
add esp, 0x108
ret
add esi, 4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422903
sub eax, edx
cmp eax, 3
jb 0x4228e0
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], cl
call fcn.00457ee0
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0x49c377
push str.Default
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x4b7a84], 0x4c2bb8
xor eax, eax
mov cl, byte [esp + eax + 4]
mov byte [eax + 0x4c2bb8], cl
inc eax
test cl, cl
jne 0x422955
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
mov eax, 0x4c2bb8
call fcn.004512da
add esp, 0x108
ret
Function at 0x422b20
Capabilities:
Read .ini file

Disassembly:
cmp dword [esp + 8], 0
push ebp
push esi
je 0x422bc9
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x422bc9
push edi
push 0x201
mov esi, 0x200
call fcn.00431836
add esp, 4
mov edi, eax
mov eax, 0x49c377
test ebx, ebx
je 0x422b59
mov eax, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push edx
push 0x200
push edi
push eax
mov eax, dword [esp + 0x24]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
call ebp
inc eax
cmp eax, 0x200
jb 0x422bc1
mov edi, edi
push edi
add esi, 0x200
call fcn.0043182b
lea ecx, [esi + 1]
push ecx
call fcn.00431836
add esp, 8
mov edi, eax
mov eax, 0x49c377
test ebx, ebx
je 0x422ba5
mov eax, ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x18]
push ecx
push esi
push edi
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call ebp
inc eax
cmp eax, esi
jae 0x422b80
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
test ebx, ebx
jne 0x422be0
push 1
call fcn.00431836
mov esi, eax
add esp, 4
mov byte [esi], bl
pop esi
pop ebp
ret 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422be5
sub eax, edx
inc eax
push eax
call fcn.00431836
mov esi, eax
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422c00
sub eax, edx
push ebx
inc eax
push eax
push esi
call fcn.00451b4e
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x422de0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00457ee0
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
jne 0x422e4c
push str.WSAStartup__
push eax
push 2
push 0x560
push str..YWAssistant.c
push str.SocketStartup
call fcn.00423ef0
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.004512da
mov esp, ebp
pop ebp
ret
Function at 0x4230b0
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xfffffffffffffffe
push 0x4a7ee8
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4afa68]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x108], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp], bl
push 0x104
push ebx
lea eax, [ebp + 1]
push eax
call fcn.00457ee0
add esp, 0xc
cmp edi, ebx
jne 0x42311e
lea eax, [ebx + 0x57]
jmp 0x4231dd
mov dword [ebp - 4], ebx
call fcn.00422de0
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x423151
push 0x49df34
push eax
push 2
push 0x66f
push str..YWAssistant.c
push str.W_GetHostName
call fcn.00423ef0
add esp, 0x18
jmp 0x4231ce
push 0x104
lea ecx, [ebp]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x423176
push str.gethostname__
push eax
push 2
push 0x676
jmp 0x42313a
cmp esi, ebx
je 0x4231bc
mov edx, dword [edi]
cmp edx, ebx
jbe 0x4231bc
lea eax, [ebp]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x423186
sub eax, esi
inc eax
cmp eax, edx
jbe 0x423198
mov eax, edx
jmp 0x4231aa
lea eax, [ebp]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4231a0
sub eax, esi
inc eax
push eax
lea eax, [ebp]
push eax
push edx
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004556b8
add esp, 0x10
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4231c2
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.00423202
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.004512da
add ebp, 0x10c
mov esp, ebp
pop ebp
ret
Function at 0x423210
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a7c80
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4afa68]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x24]
push edx
push 0x20019
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4232a9
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x49dd94
push esi
push 2
push 0x6a4
push str..YWAssistant.c
push str.B_GetProxy
call fcn.00423ef0
add esp, 0x1c
jmp 0x42334b
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push str.ProxyEnable
mov eax, dword [ebp - 0x24]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
mov dword [ebp - 0x1c], eax
cmp eax, 2
jne 0x4232e2
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x42334b
cmp dword [ebp - 0x2c], 0
je 0x4232db
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.ProxyServer
mov edx, dword [ebp - 0x24]
push edx
call esi
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 2
je 0x4232db
test esi, esi
je 0x423345
push str.ProxyServer
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x49ddbc
push esi
push 2
push 0x6c1
push str..YWAssistant.c
push str.B_GetProxy
call fcn.00423ef0
add esp, 0x20
jmp 0x42334b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042336e
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a7c60
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4afa68]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1c]
push eax
push 0x20006
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x423417
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x49dd94
push esi
push 2
push 0x6e2
push str..YWAssistant.c
push str.B_SetProxy
call fcn.00423ef0
add esp, 0x1c
jmp 0x423434
push 4
lea ecx, [ebp - 0x24]
push ecx
push 4
push edi
push str.ProxyEnable
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.00423459
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4238d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a7ec8
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4afa68]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x164], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
or esi, 0xffffffff
mov dword [ebp - 0x160], esi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
push 0x124
push ebx
lea ecx, [ebp - 0x150]
push ecx
call fcn.00457ee0
add esp, 0xc
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], 0x128
mov dword [ebp - 4], ebx
mov dword [edi], ebx
push ebx
call fcn.00451423
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x4239b5
mov ebx, 8
mov dword [ebp - 0x15c], ebx
push 0x49de34
push ebx
push 2
push 0x812
push str..YWAssistant.c
push str.W_GetRunningProcesses
call fcn.00423ef0
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.00423a89
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004512da
mov esp, ebp
pop ebp
ret
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x160], esi
cmp esi, 0xffffffff
jne 0x4239e0
push 0x49e0ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x819
jmp 0x423979
lea edx, [ebp - 0x154]
push edx
push esi
call sub.KERNEL32.dll_Process32First
lea ecx, [ecx]
test eax, eax
je 0x42398b
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x14c]
push eax
push 0x49c2e0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00452347
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x158]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00422c20
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x15c], ebx
test ebx, ebx
jne 0x42398b
push 0x128
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.00457ee0
add esp, 0xc
mov dword [ebp - 0x154], 0x128
lea edx, [ebp - 0x154]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
jmp 0x4239f0
Function at 0x423af0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x208]
sub esp, 0x208
push 0xfffffffffffffffe
push 0x4a7c00
push 0x458290
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4afa68]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x204], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp], bl
push 0x200
push ebx
lea eax, [ebp + 1]
push eax
call fcn.00457ee0
add esp, 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x1c], ebx
xor ecx, ecx
cmp ecx, str.zj96596.com
jne 0x423b6c
lea eax, [ebx + 0x57]
jmp 0x423c9e
mov dword [ebp - 4], ebx
push str.zj96596.com
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push str._s_s
push 0x200
lea edx, [ebp]
push edx
call fcn.004523c4
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push ebx
lea ecx, [ebp]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x423bd3
push str.zj96596.com
push 0x49e110
push eax
push 4
push 0x8ae
push str..YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.00423ef0
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x423be4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], ebx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea ecx, [ebp]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x423c20
lea edx, [ebp]
push edx
push 0x49e140
push esi
push 2
push 0x8bb
jmp 0x423c7e
push 4
cmp edi, ebx
je 0x423c51
lea eax, [ebp - 0x24]
push eax
push 4
push ebx
push edi
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x423c90
push edi
push 0x49e158
push esi
push 2
push 0x8c4
jmp 0x423c7e
lea edx, [ebp - 0x24]
push edx
push 4
push ebx
push 0x49dcf8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x423c90
push ebx
push 0x49e158
push esi
push 2
push 0x8cd
push str..YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.00423ef0
add esp, 0x1c
mov dword [ebp - 4], 0xfffffffe
call fcn.00423cc8
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x204]
xor ecx, ebp
call fcn.004512da
add ebp, 0x208
mov esp, ebp
pop ebp
ret