joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b294
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x23c
mov eax, 0x5ac744
call fcn.00431b4a
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.0044e770
push str.ZhiNengZipService
lea eax, [ebp - 0x218]
push 0x5b2624
push eax
call fcn.00408530
add esp, 0x18
lea ecx, [ebp - 0x248]
call fcn.0043e3f5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0043e429
test eax, eax
lea eax, [ebp - 0x21c]
push eax
je 0x42b328
push 0x20119
push 0
push 0x5b282c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x42b3a9
lea eax, [ebp - 0x220]
push eax
push 0x20119
jmp 0x42b34d
push 0x20019
push 0
push 0x5b282c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call ebx
test eax, eax
jne 0x42b3a9
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x42b370
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42b3a9
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x248]
call fcn.0043e408
call fcn.00431af4
ret 0xc

Function at 0x42b3bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 8]
xor esi, esi
push eax
mov edi, 0xf003f
mov dword [ebp - 8], esi
push edi
push esi
push 0x5b282c
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b43e
push esi
lea eax, [ebp - 4]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5b12b8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42b43e
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x42b433
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0
je 0x42b43e
push dword [ebp - 8]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42b764
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov ebx, ecx
mov dword [ebp - 0xc30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0x18]
push 0x200
mov dword [ebp - 0xc34], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0044e770
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0044e770
push 0x208
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.0044e770
push 0x208
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.0044e770
push 0x208
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.0044e770
push 0x208
lea eax, [ebp - 0xc24]
push 0
push eax
call fcn.0044e770
add esp, 0x48
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b826
cmp byte [ebp + 0x1c], al
jne 0x42b8ea
lea eax, [ebp - 0x60c]
push edi
push eax
call fcn.0045c434
push dword [ebp - 0xc2c]
lea eax, [ebp - 0x204]
push eax
call fcn.0045c434
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0045c434
push dword [ebp - 0xc30]
lea eax, [ebp - 0x404]
push eax
call fcn.0045c434
push dword [ebp - 0xc34]
lea eax, [ebp - 0xc24]
push eax
call fcn.0045c434
push 0
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0xa1c]
push str.__s___d
push eax
call fcn.00408530
add esp, 0x38
mov byte [ebp - 0xc25], 0
lea eax, [ebp - 0xc25]
mov ecx, ebx
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x814]
push str.71899F54_3EFB_40C2_974F_49B9CD82B10E
push 0x5b0700
push eax
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xc24]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.0043084d
cmp byte [ebp - 0xc25], 0
je 0x42b8ea
mov byte [esi], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x42c887
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
call fcn.0042d1d4
test eax, eax
jne 0x42c8a0
push 3
pop eax
jmp 0x42c95b
mov ecx, esi
call fcn.0042d1d8
test eax, eax
je 0x42c8b2
xor eax, eax
jmp 0x42c95b
push edi
push 2
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
jne 0x42c8d0
push 4
pop eax
jmp 0x42c95a
cmp dword [esi + 0x14], 8
jb 0x42c8da
mov edx, dword [esi]
jmp 0x42c8dc
mov edx, esi
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], 8
jb 0x42c8e7
mov eax, dword [eax]
push ebx
lea ebx, [esi + 0x18]
cmp dword [ebx + 0x14], 8
jb 0x42c8fb
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
jmp 0x42c8fe
mov dword [ebp - 8], ebx
push edi
push edi
push edi
push edi
push edi
push edx
push 1
push dword [esi + 0x48]
push 1
push 0xf01ff
push eax
push dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x42c946
cmp dword [ebx + 0x14], 8
jb 0x42c92a
mov ebx, dword [ebx]
push 0xf01ff
push ebx
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x42c949
push 5
pop edi
jmp 0x42c950
mov ebx, dword [ebp - 4]
mov dword [esi + 0x54], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42ca73
Capabilities:
Check if file exists

Disassembly:
push 0x4a0
mov eax, 0x5acf7e
call fcn.00431b4a
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x42cbee
lea ecx, [ebp - 0x47c]
call fcn.0042c79a
lea ecx, [ebp - 0x47d]
mov dword [ebp - 4], ebx
call fcn.0042b0b0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42cab9
mov eax, dword [esi]
jmp 0x42cabb
mov eax, esi
push eax
lea ecx, [ebp - 0x47d]
call fcn.0042b446
test al, al
je 0x42cbd8
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0044e770
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42caee
mov eax, dword [esi]
jmp 0x42caf0
mov eax, esi
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
mov ecx, edi
call fcn.0042d101
cmp dword [esi + 0x14], 8
jb 0x42cb0c
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x47c]
call fcn.0042d36a
test eax, eax
jne 0x42cbd8
push str.system32
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x42cbd8
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x4ac]
call fcn.0043e3f5
lea eax, [ebp - 0x484]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x4ac]
call fcn.0043e685
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cbbc
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00409990
call fcn.0043d101
add esp, 0x18
push dword [ebp - 0x484]
lea ecx, [ebp - 0x4ac]
call fcn.0043e6a3
lea ecx, [ebp - 0x4ac]
call fcn.0043e408
lea ecx, [ebp - 0x47d]
call fcn.00443630
lea ecx, [ebp - 0x47c]
call fcn.0042c7f8
call fcn.00431af4
ret 4
Function at 0x42d101
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push esi
mov esi, dword [ebp + 8]
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
xor edi, edi
call fcn.0045c434
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.0045c3c3
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x204]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d1bf
lea eax, [ebp + 0x10]
push eax
push ebx
push edi
push edi
push str.ImagePath
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d1b3
push 4
push 0x5b40b8
push ebx
call fcn.0045c50b
add esp, 0xc
test eax, eax
jne 0x42d1b0
lea ecx, [ebx + 8]
movzx eax, word [ecx]
mov word [ebx], ax
test ax, ax
je 0x42d1b0
lea ecx, [ecx + 2]
mov ax, word [ecx]
mov word [ecx - 8], ax
cmp word [ecx], di
jne 0x42d1a1
xor edi, edi
inc edi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42d1e0
Capabilities:
Start service

Disassembly:
push edi
mov edi, ecx
call fcn.0042d1d8
test eax, eax
jne 0x42d1ef
inc eax
pop edi
ret
mov ecx, edi
call fcn.0042d1dc
test eax, eax
je 0x42d1fe
xor eax, eax
pop edi
ret
push ebx
push esi
push 2
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x42d216
push 4
jmp 0x42d25d
lea eax, [edi + 0x18]
cmp dword [eax + 0x14], 8
jb 0x42d221
mov eax, dword [eax]
push 0xf01ff
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x42d240
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 7
jmp 0x42d25d
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
test eax, eax
jne 0x42d260
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [edi + 0x4c]
call esi
push 6
pop eax
jmp 0x42d26f
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edi + 0x58], 1
xor eax, eax
pop esi
pop ebx
pop edi
ret
Function at 0x42d36a
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x42d397
push 4
pop eax
jmp 0x42d3de
push 0xf01ff
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x42d3af
push 7
pop esi
jmp 0x42d3d5
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 4
Function at 0x42d643
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x3c
mov eax, 0x5ad05a
call fcn.00431b4a
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x44], ebx
call fcn.0043bded
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push str.LangLang.xml
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042d40f
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.00409960
call fcn.004379d1
add esp, 0x18
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x42d713
push 0x5b4150
push str.Language_xml
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42d7a6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [ebp - 0x44]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42d7a6
test ebx, ebx
je 0x42d7a6
cmp edi, 0x100000
ja 0x42d7a6
push edi
call fcn.0043160f
mov dword [esi + 0x1c], eax
pop ecx
test eax, eax
je 0x42d7a6
push edi
push 0
push eax
call fcn.0044e770
push edi
push ebx
push dword [esi + 0x1c]
call fcn.0044e1f0
add esp, 0x18
push 0x48
call fcn.00431310
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42d731
mov ecx, eax
call fcn.00421710
mov ecx, eax
jmp 0x42d733
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [esi + 0x24], ecx
test ecx, ecx
jne 0x42d752
cmp dword [esi + 0x1c], ecx
je 0x42d7a6
push dword [esi + 0x1c]
call fcn.00431618
and dword [esi + 0x1c], 0
pop ecx
jmp 0x42d7a6
mov eax, dword [ecx]
push 1
push 0
push dword [esi + 0x1c]
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
push str.TheConfigure
call fcn.00422480
mov dword [esi + 0x20], eax
test eax, eax
jne 0x42d7aa
cmp dword [esi + 0x1c], eax
je 0x42d784
push dword [esi + 0x1c]
call fcn.00431618
and dword [esi + 0x1c], 0
pop ecx
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x42d7a6
lea eax, [ecx - 4]
cmp dword [eax], 0
je 0x42d79b
mov eax, dword [ecx]
push 3
call dword [eax]
jmp 0x42d7a2
push eax
call fcn.00431618
pop ecx
and dword [esi + 0x24], 0
xor esi, esi
jmp 0x42d7ad
xor esi, esi
inc esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042c46b
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042c46b
mov eax, esi
call fcn.00431af4
ret 4
Function at 0x42f890
Capabilities:
Enumerate files on windows

Disassembly:
push 0x294
mov eax, 0x5ad429
call fcn.00431b4a
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x144]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x2a0], 0
push 0x5b06fc
call fcn.0040d060
and dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov edi, 0x104
push edi
push 0
push eax
call fcn.0044e770
push ebx
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0045a38b
push 0x5b5244
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0045c64e
add esp, 0x24
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42fa0b
test byte [ebp - 0x29c], 0x10
jne 0x42f9ee
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0040d060
push ebx
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.0040d060
push 0x5b240c
mov byte [ebp - 4], 2
call fcn.0045c480
pop ecx
push eax
push 0x5b240c
lea ecx, [ebp - 0x12c]
call fcn.0040cda0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040cca0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.0042fc1f
pop ecx
test al, al
je 0x42f9cc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x144]
call fcn.0040cca0
push 0x5b524c
call fcn.0045c480
pop ecx
push eax
push 0x5b524c
lea ecx, [ebp - 0x144]
call fcn.0040cda0
push 0
push 1
lea ecx, [ebp - 0x12c]
call fcn.00411f50
push 0
push 1
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0
call fcn.00411f50
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f916
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x144]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004077d0
push ebx
push 1
lea ecx, [ebp - 0x144]
call fcn.00411f50
mov eax, esi
call fcn.00431af4
ret
Function at 0x42fa8a
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0x840
mov eax, 0x5ad467
call fcn.00431b4a
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov edi, 0x5b06fc
xor ebx, ebx
push edi
mov dword [ebp - 0x84c], ebx
call fcn.0040d060
push edi
lea ecx, [ebp - 0x810]
mov dword [ebp - 4], ebx
call fcn.0040d060
push 0x3e8
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 1
push ebx
push eax
mov dword [ebp - 0x848], 2
call fcn.0044e770
add esp, 0xc
mov dword [ebp - 0x844], 0x3e7
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x848]
push eax
push str.MinidumpDir
push str.SYSTEMControlSet001ControlCrashControl
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp byte [ebp - 0x3f8], bl
jne 0x42fb27
mov eax, ebx
jmp 0x42fb34
lea eax, [ebp - 0x3f8]
push eax
call fcn.0045c480
pop ecx
push eax
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x810]
call fcn.00408000
cmp dword [ebp - 0x800], 0
je 0x42fbdf
push 0x400
lea eax, [ebp - 0x7f8]
push ebx
push eax
call fcn.0044e770
add esp, 0xc
lea ecx, [ebp - 0x7f8]
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
push dword [ebp - 0x800]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x7f8], 0
jne 0x42fbb0
cmp dword [ebp - 0x7fc], 0x10
lea eax, [ebp - 0x810]
cmovae eax, dword [ebp - 0x810]
jmp 0x42fbb6
lea eax, [ebp - 0x7f8]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0042f890
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.0040f1a0
push ebx
push 1
lea ecx, [ebp - 0x840]
call fcn.00411f50
lea eax, [ebp - 0x828]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.004077d0
push ebx
push 1
lea ecx, [ebp - 0x810]
call fcn.00411f50
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00411f50
mov eax, esi
call fcn.00431af4
ret 4

Function at 0x42fc1f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x2000080
push 3
push ebx
push ebx
push closesocket
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fc51
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x42fcb4
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xa00000
ja 0x42fcaa
push edi
call fcn.0045c3b8
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x42fcaa
push edi
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 8]
push ebx
mov ebx, dword [ebp - 4]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.ZhiNengZipSvarerHasException
push edi
push ebx
call fcn.0043016a
push dword [ebp - 4]
mov bl, al
call fcn.0045a284
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430204
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
xor ebx, ebx
push esi
inc eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43028d
push dword [ebp - 4]
call fcn.0045c3b8
push dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.0044e770
add esp, 0x10
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test esi, esi
je 0x43028d
push dword [ebp + 0x14]
push esi
call fcn.0045c3f4
test eax, eax
movzx ebx, bl
push 1
pop eax
push esi
cmove ebx, eax
call fcn.0045a284
add esp, 0xc
test bl, bl
jne 0x4302a6
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CheckRegSZValue_false__
call esi
push dword [ebp + 0xc]
call esi
push 0x5b5324
call esi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4302b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
pop ecx
push 0x88
mov dword [ebp - 0x198], eax
lea edi, [ebp - 0xcc]
lea eax, [ebp - 0x8c]
mov esi, str.SOFTWARERegisteredApplications
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0044e770
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.0044e770
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0045c434
lea eax, [ebp - 0x194]
push 0x5b1258
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.0045c3c3
add esp, 0x30
lea eax, [ebp - 0xcc]
cmp dword [ebp + 0x10], 0
push ebx
push eax
je 0x43037f
mov edi, reloc.WS2_32.dll_bind
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, dword [ebp - 0x198]
push esi
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x43038a
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43039d
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x44]
mov esi, str.SOFTWARE
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push 0x2e
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x32]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.0044e770
mov esi, 0xc8
lea eax, [ebp - 0x1d4]
push esi
push edi
push eax
call fcn.0044e770
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0044e770
push 0x190
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.0044e770
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0045c434
lea eax, [ebp - 0x1d4]
push 0x5b1258
push eax
call fcn.0045c3c3
add esp, 0x40
lea eax, [ebp - 0x1d4]
push ebx
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0045c434
lea eax, [ebp - 0x10c]
push str.Capabilities
push eax
call fcn.0045c3c3
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.0045c434
lea eax, [ebp - 0x364]
push str.FileAssociations
push eax
call fcn.0045c3c3
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x364]
add esp, 0x28
cmp dword [ebp + 0x1c], edi
mov edi, reloc.WS2_32.dll_bind
push eax
push edi
je 0x430551
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov esi, dword [ebp - 0x368]
push esi
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10c]
push 1
push str.AppDesc
push eax
push edi
call esi
mov ebx, dword [ebp - 0x36c]
push ebx
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.AppIcon
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ebx, dword [ebp - 0x370]
push ebx
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.AppName
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x364]
push eax
push edi
call esi
jmp 0x43055d
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 0x18