joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401620
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x401660
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40166d
push str.RegDeleteKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40166d
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push ecx
call eax
pop esi
ret 8
cmp dword [esi + 4], 0
je 0x40166d
pop esi
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, 1
pop esi
ret 8

Function at 0x401940
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x401960
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x401974
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x4019a0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x4019b6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4019c3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x402040
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004018c0
mov ebx, eax
cmp ebx, esi
je 0x4020a5
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x40209e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x402141
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push eax
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
jne 0x40210c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402040
mov ebx, eax
cmp ebx, esi
jne 0x40215b
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
push edx
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
je 0x4020d2
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x402121
push eax
call ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.00401760
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40213e
push eax
call ebx
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045407e
add esp, 0x120
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40216a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x402140
Function at 0x40cec0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4722db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004415ae
push 4
mov dword [esp + 0x24], 0
call fcn.00453c68
mov edi, eax
add esp, 4
test edi, edi
je 0x40cf42
call fcn.00441217
mov dword [edi], eax
call fcn.00441092
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00440fc7
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40cf37
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00440fef
jmp 0x40cf44
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 + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40e200
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46f990
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, 0xf
xor ebp, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov byte [esp + 0x48], 0
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x74], ebp
call fcn.0040d760
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 1
call fcn.00405310
mov esi, 0x10
cmp dword [esp + 0x40], esi
jb 0x40e27d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
mov byte [esp + 0x10], 0
push str._bspatch.exe
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x7c], 2
call fcn.0040e090
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 3
call fcn.00405310
mov byte [esp + 0x70], 2
cmp dword [esp + 0x40], esi
jb 0x40e2cd
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004533ae
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x40e2db
lea eax, [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
push str._newimage
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0040e090
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 4
call fcn.00405310
mov byte [esp + 0x70], 2
cmp dword [esp + 0x40], esi
jb 0x40e322
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004533ae
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x40e330
lea eax, [esp + 0x10]
push eax
call edi
push 0x479584
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0040e090
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 5
call fcn.00405310
cmp dword [esp + 0x40], esi
jb 0x40e36c
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004533ae
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], esi
jae 0x40e37a
lea eax, [esp + 0x10]
push eax
call edi
cmp dword [esp + 0x24], esi
jb 0x40e390
mov edx, dword [esp + 0x10]
push edx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebp
mov byte [esp + 0x10], 0
cmp dword [esp + 0x5c], esi
jb 0x40e3b4
mov eax, dword [esp + 0x48]
push eax
call fcn.004533ae
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0045407e
add esp, 0x64
ret
Function at 0x410260
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46fd30
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
push 8
xor ebx, ebx
push 0x47a2c4
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
call fcn.004042b0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push str.SOFTWAREJavaSoftJava_Runtime_Environment_
push ecx
mov dword [esp + 0x80], ebx
call fcn.00406d30
add esp, 0xc
push 1
lea edx, [esp + 0x34]
push edx
push 0x4a32a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.0043deb0
push 4
push 0x47a2fc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 2
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.004042b0
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 3
call fcn.0043db90
cmp dword [esp + 0x28], 0x10
jb 0x41033a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004533ae
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x74], 1
call fcn.0043d5d0
cmp dword [esp + 0x44], 0x10
jb 0x41035c
mov edx, dword [esp + 0x30]
push edx
call fcn.004533ae
add esp, 4
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x410380
mov eax, dword [esp + 0x4c]
push eax
call fcn.004533ae
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0045407e
add esp, 0x70
ret
Function at 0x4105f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x46fdab
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x81c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x834]
mov dword fs:[0], eax
mov edi, dword [esp + 0x844]
mov ebp, dword [esp + 0x848]
mov esi, dword [esp + 0x850]
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x35]
push ebx
push eax
mov byte [esp + 0x3c], bl
call fcn.004547c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x84c]
push eax
push esi
push ecx
push ebx
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x410721
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
push str.SetOracleJavaAccessBridgeKeyValues___Could_not_set__s_jabswitch_key
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push 0x800
push edx
call fcn.00454e68
add esp, 0x14
push 1
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x41071d
call fcn.00434cf0
mov esi, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4106d0
sub eax, edx
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.004042b0
lea ecx, [esp + 0x14]
push ecx
push str.SetOracleJavaAccessBridgeKeyValues
push 0x4e
push 0x47a718
push 1
mov ecx, esi
mov dword [esp + 0x850], ebx
call fcn.00434dd0
cmp dword [esp + 0x28], 0x10
jb 0x41071d
mov edx, dword [esp + 0x14]
push edx
call fcn.004533ae
add esp, 4
xor eax, eax
jmp 0x410726
mov eax, 1
mov ecx, dword [esp + 0x834]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x81c]
xor ecx, esp
call fcn.0045407e
add esp, 0x82c
ret
Function at 0x4126a0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4126cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4126d1
push str.AddJavaOnStartMenu___Java_and_or_Java_Development_Kit_directory_already_exists__proceed_to_update_shortcut_items.
call fcn.00438d20
add esp, 4
mov eax, 1
ret
push str.AddJavaOnStartMenu___CreateDirectory_api_failed__Java_dir_not_created
call fcn.00438d20
add esp, 4
xor eax, eax
ret

Function at 0x412970
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x828
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push edi
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x31]
push ebx
push eax
xor edi, edi
mov byte [esp + 0x38], bl
call fcn.004547c0
add esp, 0xc
push 0x800
lea ecx, [esp + 0x30]
push ecx
push ebx
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x412afc
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x4129d0
lea edx, [esp + 0x2c]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x40]
push eax
inc edi
push 0x80000003
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
call esi
cmp eax, ebx
jne 0x412a50
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push 0x47e710
push eax
mov ebp, eax
mov dword [esp + 0x24], ebx
call esi
mov dword [esp + 0x24], ebx
cmp eax, ebx
jne 0x412a5a
mov eax, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0x83c], ebx
je 0x412a60
push 0x47e71c
lea ecx, [esp + 0x24]
call fcn.00402040
mov edi, dword [esp + 0x20]
jmp 0x412ab6
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
jmp 0x412ad8
mov dword [esp + 0x18], ebx
jmp 0x412acd
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push 0x47e728
push eax
mov dword [esp + 0x24], ebx
call esi
cmp eax, ebx
jne 0x412ab6
mov eax, dword [esp + 0x10]
push 0x47e734
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.00402040
push 0x47e750
lea ecx, [esp + 0x18]
call fcn.00402040
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x412ab6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp edi, ebx
je 0x412ac9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp ebp, ebx
je 0x412ad8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x30]
push 0x800
lea ecx, [esp + 0x38]
push ecx
push edi
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x4129d0
pop esi
pop ebp
mov ecx, dword [esp + 0x82c]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0045407e
add esp, 0x828
ret
Function at 0x412ca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470059
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x14], 0x10
jb 0x412cd8
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], eax
call fcn.00453b7a
mov dword [esp + 0xc], vtable.std::runtime_error.0
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.00453c26
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 0xc]
push edx
mov byte [esp + 0x2c], 2
mov dword [esi], vtable.JdsError_class_std::runtime_error_.0
call fcn.00436150
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x20], 0
call fcn.00453bf4
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x413a90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x470156
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x84c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x85c]
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x4d]
push ebx
push eax
mov byte [esp + 0x54], bl
call fcn.004547c0
add esp, 0xc
push 1
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x413b66
call fcn.00434cf0
push 0x23
push str._Start_WINAPI_CleanupTempFiles_
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.004042b0
lea ecx, [esp + 0x2c]
push ecx
push 0x47e780
push 0x517
push 0x47e7a0
push 1
mov ecx, edi
mov dword [esp + 0x868], ebx
call fcn.00434dd0
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x854], 0xffffffff
jb 0x413b66
mov edx, dword [esp + 0x2c]
push edx
call fcn.004533ae
add esp, 4
push esi
push str._score.zip
push 0xffffffffffffffff
lea eax, [esp + 0x54]
push 0x800
push eax
call fcn.00454e68
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x14
lea ecx, [esp + 0x48]
push ecx
call edi
push esi
push str._spatchjre.exe
push 0xffffffffffffffff
lea edx, [esp + 0x54]
push 0x800
push edx
call fcn.00454e68
add esp, 0x14
lea eax, [esp + 0x48]
push eax
call edi
push esi
push str._s_tools.zip
push 0xffffffffffffffff
lea ecx, [esp + 0x54]
push 0x800
push ecx
call fcn.00454e68
add esp, 0x14
lea edx, [esp + 0x48]
push edx
call edi
push 1
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x413c44
call fcn.00434cf0
push 0x21
push str._End_WINAPI_CleanupTempFiles_
lea ecx, [esp + 0x18]
mov esi, eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.004042b0
lea eax, [esp + 0x10]
push eax
push str.CleanupTempFiles
push 0x522
push 0x47e868
push 1
mov ecx, esi
mov dword [esp + 0x868], 1
call fcn.00434dd0
cmp dword [esp + 0x24], 0x10
jb 0x413c44
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004533ae
add esp, 4
mov ecx, dword [esp + 0x84c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0045407e
add esp, 0x848
ret
Function at 0x417790
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x4a5c94]
push ebx
push esi
push 1
push 4
push eax
call fcn.00455dbe
mov ecx, dword [0x4a5c94]
push ecx
push 2
lea edx, [esp + 0x2c]
push 1
push edx
call fcn.00455d17
xor ebx, ebx
add esp, 0x1c
cmp word [esp + 0x18], bx
je 0x4177f7
push str.Error:_Cannot_unzip_deflated_file_entries._n
push 0x47f638
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
add esp, 0xc
mov byte [0x4a257a], bl
mov eax, dword [0x4a5c94]
push 1
push 0xc
push eax
call fcn.00455dbe
mov ecx, dword [0x4a5c94]
push ecx
push 4
lea edx, [esp + 0x30]
push 1
push edx
call fcn.00455d17
mov eax, dword [0x4a5c94]
push eax
push 2
lea ecx, [esp + 0x30]
push 1
push ecx
call fcn.00455d17
mov edx, dword [0x4a5c94]
push edx
push 2
lea eax, [esp + 0x44]
push 1
push eax
call fcn.00455d17
mov ecx, dword [0x4a5c94]
movzx edx, word [esp + 0x48]
push ecx
push 1
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00455d17
movzx ecx, word [esp + 0x58]
add esp, 0x4c
mov byte [esp + ecx + 0x20], bl
cmp eax, ebx
ja 0x4178ac
lea edx, [esp + 0x20]
push edx
push str.Error:_Could_not_read_filename___s___from_zip_header_n
push 0xffffffffffffffff
push 0x208
push 0x4a5a88
call fcn.00454e68
add esp, 0x14
push 0x4a5a88
push 0x47f638
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
add esp, 0xc
mov byte [0x4a257a], bl
movzx eax, word [esp + 0xc]
cmp byte [esp + eax + 0x1f], 0x2f
lea eax, [esp + 0x20]
sete byte [esp + 0xb]
call fcn.004176b0
mov esi, eax
cmp esi, ebx
je 0x4178dd
lea ecx, [esp + 0x20]
push ecx
call fcn.00417700
push esi
call fcn.00453f1a
add esp, 8
lea edx, [esp + 0x20]
push edx
push str.__extracting:__s
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
add esp, 0xc
mov dword [esp + 0x14], ebx
cmp byte [esp + 0xb], bl
jne 0x41795c
push 0x47f6dc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00455a86
add esp, 0xc
test eax, eax
je 0x41795c
lea edx, [esp + 0x20]
push edx
push str.Error:fopen:_while_opening_file___s__n
push 0xffffffffffffffff
push 0x208
push 0x4a5a88
call fcn.00454e68
add esp, 0x14
push 0x4a5a88
push 0x47f638
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
add esp, 0xc
mov byte [0x4a257a], bl
mov ax, word [esp + 0x10]
cmp ax, bx
jbe 0x41797b
mov ecx, dword [0x4a5c94]
movzx eax, ax
push 1
push eax
push ecx
call fcn.00455dbe
add esp, 0xc
cmp byte [esp + 0xb], bl
jne 0x4179cc
push edi
mov edi, dword [esp + 0x20]
lea edx, [edi + 1]
push edx
call fcn.00453e86
mov esi, eax
mov eax, dword [0x4a5c94]
push eax
push edi
push 1
push esi
call fcn.00455d17
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push 1
push esi
call fcn.00455950
add esp, 0x24
pop edi
cmp esi, ebx
je 0x4179bf
push esi
call fcn.00453f1a
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.00455785
add esp, 4
push 0x47f708
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
mov ecx, dword [esp + 0x12c]
add esp, 8
pop esi
pop ebx
xor ecx, esp
call fcn.0045407e
add esp, 0x120
ret
Function at 0x417a70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x417a80
mov eax, esi
call fcn.004176b0
mov ebp, eax
test ebp, ebp
je 0x417adc
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417a90
sub eax, edx
je 0x417adc
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417aa0
push ebx
sub eax, edx
lea ebx, [eax + 2]
push edi
push ebx
call fcn.00453e86
push ebp
push 0x47f73c
push 0xffffffffffffffff
mov edi, eax
push ebx
push edi
call fcn.00454e68
push edi
call fcn.00417700
push edi
call fcn.00453f1a
push ebp
call fcn.004560d6
add esp, 0x24
pop edi
pop ebx
call fcn.00417a00
push esi
push str.Archive:__s_n
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
mov eax, dword [0x4a5c94]
push eax
push 2
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.00455d17
mov edx, dword [0x4a5c94]
push edx
push 2
lea eax, [esp + 0x36]
push 1
push eax
call fcn.00455d17
mov ecx, 0x4b50
add esp, 0x2c
cmp word [esp + 0x10], cx
jne 0x417b39
mov edx, 0x403
cmp word [esp + 0x12], dx
je 0x417b76
push str.Error:_no_entries_in_zip_file._n
push 0xffffffffffffffff
push 0x208
push 0x4a5a88
call fcn.00454e68
add esp, 0x10
push 0x4a5a88
push 0x47f638
call fcn.0045546d
add eax, 0x40
push eax
call fcn.00455361
add esp, 0xc
mov byte [0x4a257a], 0
jmp 0x417bbf
call fcn.00417790
mov eax, dword [0x4a5c94]
push eax
push 2
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00455d17
mov edx, dword [0x4a5c94]
push edx
push 2
lea eax, [esp + 0x2a]
push 1
push eax
call fcn.00455d17
mov ecx, 0x4b50
add esp, 0x20
cmp word [esp + 0x10], cx
jne 0x417bbf
mov edx, 0x403
cmp word [esp + 0x12], dx
je 0x417b76
mov eax, dword [0x4a5c94]
test eax, eax
je 0x417be6
push eax
call fcn.0045607a
mov eax, dword [0x4a5c94]
push eax
call fcn.00455785
add esp, 8
mov dword [0x4a5c94], 0
cmp dword [0x4a5c98], 0
je 0x417bf8
push esi
call fcn.00454e1a
add esp, 4
mov al, byte [0x4a257a]
pop esi
pop ebp
ret

Function at 0x417c00
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417c67
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x417c43
cmp eax, 2
jne 0x417c56
mov eax, dword [esp + 0x14]
test esi, esi
je 0x417c63
test eax, eax
je 0x417c60
cmp byte [eax + esi - 1], 0
je 0x417c63
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc