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

Disassembly:
push 0xffffffffffffffff
push 0x51cc56
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor edi, edi
push 0x206
lea eax, [esp + 0x52]
push edi
push eax
mov word [esp + 0x58], di
call fcn.00433df0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push edi
push 0x19
lea ecx, [esp + 0x54]
push ecx
push edi
call ebx
test eax, eax
je 0x415a89
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415a00
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x50]
push edx
lea esi, [esp + 0x38]
call fcn.004021f0
push 1
push str._.
mov ecx, esi
mov dword [esp + 0x26c], edi
call fcn.00401d70
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x34]
jae 0x415a42
lea ecx, [esp + 0x34]
mov edx, ebp
call fcn.00415b70
mov esi, eax
cmp esi, edi
je 0x415a6a
cmp dword [esp + 0x48], 8
jb 0x415a63
mov eax, dword [esp + 0x34]
push eax
call fcn.0042d197
add esp, 4
mov eax, esi
jmp 0x415b3b
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x415a89
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042d197
add esp, 4
push edi
push 0x10
lea edx, [esp + 0x54]
push edx
push edi
call ebx
test eax, eax
je 0x415b39
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415ab4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x1c]
call fcn.004021f0
push 1
push str._.
mov ecx, esi
mov dword [esp + 0x26c], 1
call fcn.00401d70
mov ecx, dword [esp + 0x18]
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jae 0x415afe
lea ecx, [esp + 0x18]
mov edx, ebp
call fcn.00415b70
mov esi, eax
cmp esi, edi
je 0x415b26
cmp dword [esp + 0x2c], ebx
jb 0x415a63
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042d197
add esp, 4
mov eax, esi
jmp 0x415b3b
cmp dword [esp + 0x2c], ebx
jb 0x415b39
mov edx, dword [esp + 0x18]
push edx
call fcn.0042d197
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0042d085
add esp, 0x254
ret 4
Function at 0x416540
Capabilities:
Check for peb beingdebugged flag
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x51bb2b
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x44a]
push ebx
push eax
mov edi, ecx
mov word [esp + 0x450], bx
call fcn.00433df0
add esp, 0xc
push ebx
push 0x1a
lea ecx, [esp + 0x44c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x444]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4165d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x448]
push edx
lea esi, [esp + 0x20]
call fcn.004021f0
push 0x3e
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov ecx, esi
mov dword [esp + 0x868], ebx
call fcn.00401d70
mov eax, edi
lea edx, [eax + 2]
jmp 0x416610
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416610
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00401d70
push 4
push str..lnk
lea ecx, [esp + 0x20]
call fcn.00401d70
mov eax, dword [esp + 0x1c]
mov ebp, 8
cmp dword [esp + 0x30], ebp
jae 0x41664d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416672
cmp dword [esp + 0x30], ebp
jb 0x41666b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042d197
add esp, 4
xor eax, eax
jmp 0x416797
push 0x206
lea ecx, [esp + 0x652]
push ebx
push ecx
mov word [esp + 0x658], bx
call fcn.00433df0
add esp, 0xc
push 0x206
lea edx, [esp + 0x242]
push ebx
push edx
mov word [esp + 0x248], bx
call fcn.00433df0
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], ebp
jae 0x4166bc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x64c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x4166c3
lea esi, [esp + 0x23c]
lea edi, [esp + 0x64c]
call fcn.00416410
push 0x206
lea eax, [esp + 0x3a]
push ebx
push eax
mov word [esp + 0x40], bx
call fcn.00433df0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x38]
push ecx
mov edx, esi
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [esp + 0x34]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416720
sub eax, edx
sar eax, 1
jne 0x416755
xor eax, eax
jmp 0x416740
movzx ecx, word [esp + eax + 0x23c]
mov word [esp + eax + 0x34], cx
add eax, 2
cmp cx, bx
jne 0x416740
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41677f
cmp dword [esp + 0x30], ebp
jb 0x41666b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042d197
add esp, 4
xor eax, eax
jmp 0x416797
cmp dword [esp + 0x30], ebp
jb 0x416792
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042d197
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0042d085
add esp, 0x850
ret
Function at 0x4170a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.00433df0
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417134
lea edx, [esp]
push edx
call fcn.004301a8
lea eax, [esp + 4]
push str.config_systemprofile
push eax
call fcn.0042d19c
add esp, 0xc
test eax, eax
jne 0x417118
lea ecx, [esp]
push str.cocuments_and_settingslocalService
push ecx
call fcn.0042d19c
add esp, 8
test eax, eax
je 0x417134
mov al, 1
mov byte [0x576b8d], al
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0042d085
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
mov al, byte [0x576b8d]
xor ecx, esp
call fcn.0042d085
add esp, 0x20c
ret

Function at 0x417150
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov al, byte [0x576b8d]
sub esp, 8
push ebx
xor bl, bl
test al, al
jne 0x417168
call fcn.004170a0
test al, al
je 0x4171ab
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0
call fcn.004171d0
test al, al
je 0x4171ab
mov ecx, dword [esp + 8]
push esi
push 1
push ecx
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x417196
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4171be
push 0
push 0x26
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov al, 1
jne 0x4171c0
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x4172a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
xor esi, esi
push 0x206
lea eax, [esp + 0x16]
push esi
push eax
mov word [esp + 0x1c], si
call fcn.00433df0
add esp, 0xc
push esi
push 0x17
lea ecx, [esp + 0x18]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417315
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x4172f2
mov edx, dword [str._.]
push ebp
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
mov dword [edi], edx
call fcn.00417340
jmp 0x417317
mov eax, esi
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042d085
add esp, 0x214
ret 4
Function at 0x417c80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x51ad98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebp
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
xor edi, edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x104
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00410a00
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x417d07
lea edx, [esp + 0x14]
push edx
push eax
call ecx
cmp dword [esp + 0x14], 1
lea eax, [esp + 0x54]
push eax
jne 0x417d5d
push 0xf013f
push edi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417db1
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push 0xf013f
mov edx, dword [esp + 0x64]
push edi
push edi
push edi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x417d85
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x417db1
push 0xf003f
push edi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417db1
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push 0xf003f
jmp 0x417d3d
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push ebp
push edi
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x54]
push edx
call esi
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x417dc2
push eax
call esi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x417dcd
push eax
call esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x3c
ret 8
Function at 0x418680
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0xc14
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x21e]
push ebx
push eax
mov word [esp + 0x224], bx
call fcn.00433df0
add esp, 0xc
xor eax, eax
jmp 0x4186c0
movzx ecx, word [eax + 0x560688]
mov word [esp + eax + 0x218], cx
add eax, 2
cmp cx, bx
jne 0x4186c0
push 0x206
lea ecx, [esp + 0x62e]
push ebx
push ecx
mov word [esp + 0x634], bx
call fcn.00433df0
push 0x206
lea edx, [esp + 0x22]
push ebx
push edx
mov word [esp + 0x28], bx
call fcn.00433df0
add esp, 0x18
push 0x104
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.0042d094
add esp, 8
cmp dword [0x576934], ebx
mov word [eax], bx
je 0x41874f
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x21c]
push str._slog_
push eax
call fcn.0042d101
add esp, 0xc
push 0x3e6
lea ecx, [esp + 0x836]
push ebx
push ecx
mov word [esp + 0x83c], bx
call fcn.00433df0
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x430]
push str._sgswb.log
push eax
call fcn.0042d101
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
lea ecx, [esp + 0x420]
push ecx
call esi
test eax, eax
je 0x4188db
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4187a6
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x12]
lea edx, [esp + 0x628]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4187c2
push edi
lea edx, [esp + 0x62c]
push edx
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x42c]
push str._s_s.txt
push ecx
call fcn.0042d101
mov eax, dword [esp + 0xc34]
lea edx, [esp + 0xc38]
push edx
push eax
lea ecx, [esp + 0x84c]
push 0x1f3
push ecx
call fcn.0042dc1a
add esp, 0x20
lea edx, [esp + 0x424]
push edx
mov word [esp + 0xc1e], bx
xor edi, edi
call esi
test eax, eax
je 0x418836
mov edi, 1
lea eax, [esp + 0x424]
push 0x5606c4
push eax
call fcn.0042dda9
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4188da
cmp edi, ebx
jne 0x418873
push esi
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
mov dword [esp + 0x20], 0xfeff
call fcn.0042df1b
add esp, 0x10
lea eax, [esp + 0x834]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x418880
sub eax, edx
sar eax, 1
push esi
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x83c]
push 1
push eax
call fcn.0042df1b
push esi
push 2
lea ecx, [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x2c], 0xd
call fcn.0042df1b
push esi
push 2
lea edx, [esp + 0x34]
push 1
push edx
mov dword [esp + 0x3c], 0xa
call fcn.0042df1b
push esi
call fcn.0042e00f
add esp, 0x34
pop edi
mov ecx, dword [esp + 0xc18]
pop esi
pop ebx
xor ecx, esp
call fcn.0042d085
add esp, 0xc14
ret
Function at 0x418ea0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x63c
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x638], eax
xor eax, eax
push esi
xor esi, esi
push 0x206
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
lea eax, [esp + 0x2a]
push esi
push eax
mov word [esp + 0x1c], si
mov word [esp + 0x30], si
call fcn.00433df0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0042d0c4
push 0x206
lea ecx, [esp + 0x446]
push esi
push ecx
mov word [esp + 0x44c], si
call fcn.00433df0
push 0x206
lea edx, [esp + 0x24a]
push esi
push edx
mov word [esp + 0x250], si
call fcn.00433df0
add esp, 0x24
push 0x104
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x44c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x418fb2
mov eax, dword [esp + 4]
push eax
push str._08X
push edi
call fcn.0042d101
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x638]
xor ecx, esp
call fcn.0042d085
add esp, 0x63c
ret
mov eax, 0x55ed30
mov edx, edi
sub edx, eax
jmp 0x418fc0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x418fc0
mov ecx, dword [esp + 0x63c]
pop esi
xor ecx, esp
call fcn.0042d085
add esp, 0x63c
ret
Function at 0x419ff0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x569338]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
xor esi, esi
push 0x206
lea eax, [esp + 0xa]
push esi
push eax
mov word [esp + 0x10], si
call fcn.00433df0
push 0x206
lea ecx, [esp + 0x21e]
push esi
push ecx
mov word [esp + 0x224], si
call fcn.00433df0
add esp, 0x18
push esi
push 0x2b
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 4]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x41a050
mov ecx, dword [str._shiqiang_]
mov edx, dword [0x561050]
mov dword [eax], ecx
mov ecx, dword [0x561054]
mov dword [eax + 4], edx
mov edx, dword [0x561058]
mov dword [eax + 8], ecx
mov ecx, dword [0x56105c]
mov dword [eax + 0xc], edx
mov dx, word [0x561060]
mov dword [eax + 0x10], ecx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov word [eax + 0x14], dx
lea eax, [esp + 8]
push eax
call ebx
test eax, eax
jne 0x41a0b1
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
jmp 0x41a0c0
movzx ecx, word [esp + eax + 8]
mov word [esp + eax + 0x210], cx
add eax, 2
cmp cx, si
jne 0x41a0c0
lea eax, [esp + 0x210]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, si
jne 0x41a0e0
mov edx, dword [str.wnsoft.ini]
mov ecx, dword [0x561068]
mov dword [eax], edx
mov edx, dword [0x56106c]
mov dword [eax + 4], ecx
mov ecx, dword [0x561070]
mov dword [eax + 8], edx
mov edx, dword [0x561074]
mov dword [eax + 0xc], ecx
mov cx, word [0x561078]
mov dword [eax + 0x10], edx
lea edx, [esp + 8]
push edx
mov word [eax + 0x14], cx
call ebx
test eax, eax
pop ebx
je 0x41a1a2
mov ecx, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esp + 0x20c]
push eax
push ecx
push str.OnlyIdentifier1
push str.Globals
call esi
mov eax, dword [edi]
lea edx, [esp + 0x20c]
push edx
add eax, 0x208
push eax
push str.OnlyIdentifier2
push str.Globals
call esi
mov edx, dword [edi]
lea ecx, [esp + 0x20c]
push ecx
add edx, 0x410
push edx
push str.OnlyIdentifier3
push str.Globals
call esi
mov ecx, dword [edi]
lea eax, [esp + 0x20c]
push eax
add ecx, 0x618
push ecx
push str.OnlyIdentifier4
push str.Globals
call esi
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
call fcn.0042d085
add esp, 0x414
ret
Function at 0x41a1c0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.software
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a2cb
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push str.ShiQiang
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41a2cb
mov eax, dword [esi]
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov edx, dword [esi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
push edx
push 1
push 0
push str.OnlyIdentifier1
push eax
call ebx
mov ecx, dword [esi]
add ecx, 0x208
push ecx
call edi
mov ecx, dword [esp + 0xc]
lea edx, [eax + eax + 2]
mov eax, dword [esi]
push edx
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push ecx
call ebx
mov edx, dword [esi]
add edx, 0x410
push edx
call edi
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
add ecx, 0x410
push ecx
push 1
push 0
push str.OnlyIdentifier3
push edx
call ebx
mov eax, dword [esi]
add eax, 0x618
push eax
call edi
mov edx, dword [esi]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
add edx, 0x618
push edx
push 1
push 0
push str.OnlyIdentifier4
push eax
call ebx
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop ebx
pop esi
add esp, 8
ret

Function at 0x41a970
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x51b17b
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 0x54
call fcn.0042cd94
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x41a9b6
push eax
call fcn.0041a5e0
jmp 0x41a9b8
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 0x44], eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x41a9c8
sub ecx, edi
push ecx
push ebx
lea ecx, [eax + 8]
call fcn.00405220
mov eax, dword [esi + 0x44]
mov dword [eax + 4], 1
mov ecx, dword [esi + 0x44]
push 9
push str.GET_test1
add ecx, 0x34
call fcn.00405220
lea ecx, [esi + 0x14]
push ecx
push 0
push esi
push 0x41ab20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
je 0x41aa2e
cmp eax, 0xffffffff
je 0x41aa2e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret
Function at 0x41aa40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x51cfab
mov eax, dword fs:[0]
push eax
push ebp
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1c]
push 0x54
call fcn.0042cd94
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41aa88
push eax
call fcn.0041a5e0
jmp 0x41aa8a
xor eax, eax
mov ecx, ebp
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x44], eax
lea edi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x41aaa0
sub ecx, edi
push ecx
push ebp
lea ecx, [eax + 8]
call fcn.00405220
mov eax, dword [esi + 0x44]
mov dword [eax + 4], 0
mov ecx, dword [esi + 0x44]
push 9
push str.GET_test1
add ecx, 0x34
call fcn.00405220
lea ecx, [esi + 0x14]
push ecx
push 0
push esi
push 0x41ab20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
je 0x41ab06
cmp eax, 0xffffffff
je 0x41ab06
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0xc
ret 4
Function at 0x424a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x51ad0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x569338]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042c921
push 4
mov dword [esp + 0x20], 0
call fcn.0042cd94
mov edi, eax
add esp, 4
test edi, edi
je 0x424a90
call fcn.0042c534
mov dword [edi], eax
call fcn.0042c368
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0042c8ee
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x424a85
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042c90f
jmp 0x424a92
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4