joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47df20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ecx]
sub esp, 8
push esi
push edi
test eax, eax
je 0x47df38
mov dword [eax + 4], 0
mov edi, dword [ebp + 8]
mov dword [ecx], edi
push 0
push 0x3e8
mov dword [edi + 4], ecx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
add ecx, 0x3e7
adc eax, 0
push eax
push ecx
call fcn.00594730
mov esi, eax
call fcn.0046fec0
mov ecx, eax
mov eax, esi
cdq
push edx
push eax
push edi
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.0046e2e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47df90
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [0x60f074]
xor eax, esp
mov dword [esp + 0x25c], eax
push ebx
push esi
mov esi, ecx
mov bl, dl
cmp dword [esi + 0x10], 0x104
jae 0x47e0e7
test bl, bl
jne 0x47e03b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47dfcb
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x47e010
mov eax, dword [esp + 0x2c]
shr eax, 4
and al, 1
je 0x47e010
cmp dword [esi + 0x14], 8
jb 0x47dff0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
pop esi
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47e01a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x47e03b
mov al, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
push 0x20a
lea eax, [esp + 0x54]
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x47e057
mov esi, dword [esi]
lea ecx, [esp + 0x50]
sub ecx, esi
nop dword [eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x47e060
mov dword [esp + 0xc], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
mov eax, 0x414
movlpd qword [esp + 0x1e], xmm0
mov dword [esp + 0x26], 0
mov dword [esp + 0x10], 3
mov word [esp + 0x1c], ax
test bl, bl
jne 0x47e0b9
mov eax, 0x1494
mov word [esp + 0x1c], ax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x1e], 0
jne 0x47e0e7
test eax, eax
je 0x47e025
cmp eax, 2
je 0x47e025
cmp eax, 0x402
je 0x47e025
mov ecx, dword [esp + 0x264]
xor al, al
pop esi
pop ebx
xor ecx, esp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x47e1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3c2a
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x254], ebx
cmp dword [esi + 0x14], 8
jb 0x47e234
mov eax, dword [esi]
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0x5cb60c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x47e2ac
cmp dword [0x61a250], 1
jg 0x47e2a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 0x134
push str.f:my_lab_tabexplorerextab_masterlibrary_base_file_util.cpp
lea ecx, [ebp - 0x310]
call fcn.0046c7d0
mov dword [ebp - 4], 0
lea ecx, [eax + 0x10]
mov ebx, 1
mov edx, str.Failed_to_get_temporary_file_name_in
mov dword [ebp - 0x254], ebx
call fcn.00403840
cmp dword [esi + 0x14], 8
jb 0x47e29b
mov esi, dword [esi]
mov edx, esi
mov ecx, eax
call fcn.0046c990
test bl, 1
jmp 0x47e3b1
push 0x104
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x105
ja 0x47e35b
test eax, eax
je 0x47e35b
xor ecx, ecx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], cx
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x250]
call fcn.00405c70
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.00405a50
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 3
cmp edi, eax
je 0x47e341
cmp dword [ebp - 0x224], 8
mov ecx, edi
push dword [ebp - 0x228]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00405c70
lea ecx, [ebp - 0x238]
call fcn.00405c10
lea ecx, [ebp - 0x250]
call fcn.00405c10
mov al, 1
jmp 0x47e3c0
cmp dword [0x61a250], 1
jg 0x47e3ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 0x13b
push str.f:my_lab_tabexplorerextab_masterlibrary_base_file_util.cpp
lea ecx, [ebp - 0x310]
call fcn.0046c7d0
mov dword [ebp - 4], 1
lea ecx, [eax + 0x10]
mov ebx, 2
mov edx, str.Failed_to_get_long_path_name_for
mov dword [ebp - 0x254], ebx
call fcn.00403840
lea edx, [ebp - 0x220]
mov ecx, eax
call fcn.0046c990
test bl, 2
je 0x47e3be
lea ecx, [ebp - 0x310]
call fcn.0046c870
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x47e3e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10014
call fcn.005514a0
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.0047e100
mov edi, eax
mov dword [ebp - 0x1000c], edi
test edi, edi
jne 0x47e420
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
push edi
push 0x10000
lea eax, [ebp - 0x10008]
push 1
push eax
call fcn.0057f7c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47e4bb
nop dword [eax]
test ebx, ebx
je 0x47e49e
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp esi, eax
ja 0x47e481
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x47e461
mov eax, dword [ebx]
lea edi, [eax + ecx]
push esi
lea eax, [ebp - 0x10008]
push eax
push edi
call fcn.0056f160
mov byte [edi + esi], 0
add esp, 0xc
mov edi, dword [ebp - 0x1000c]
jmp 0x47e49e
push esi
lea eax, [ebp - 0x10008]
mov byte [ebp - 0x10010], 0
push eax
push dword [ebp - 0x10010]
mov ecx, ebx
push esi
call fcn.00403bd0
push edi
push 0x10000
lea eax, [ebp - 0x10008]
push 1
push eax
call fcn.0057f7c4
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x47e440
push edi
call fcn.0057f3b7
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x47e760
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x47e768
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47e77a
shr eax, 4
and al, 1
ret
xor al, al
ret

Function at 0x47ea40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3d80
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov edi, esi
mov dword [ebp - 0x2c], ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], esi
jb 0x47ea85
mov edi, dword [esi]
mov dword [ebp - 0x2c], edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47eb10
test al, 0x10
je 0x47ea9c
mov al, 1
jmp 0x47ec2b
cmp dword [0x61a250], 1
jg 0x47eaf9
push 1
push 0x2b0
push str.f:my_lab_tabexplorerextab_masterlibrary_base_file_util.cpp
lea ecx, [ebp - 0xe0]
call fcn.0046c100
mov dword [ebp - 4], 1
lea ecx, [eax + 8]
mov ebx, 2
mov edx, str.CreateDirectory_
mov dword [ebp - 0x2c], ebx
call fcn.00403840
mov edx, edi
mov ecx, eax
call fcn.0046c990
mov edx, 0x5d35b0
mov ecx, eax
call fcn.00403840
mov edx, str.conflicts_with_existing_file.
mov ecx, eax
call fcn.00403840
test bl, 2
je 0x47eb09
lea ecx, [ebp - 0xe0]
call fcn.0046c520
xor al, al
jmp 0x47ec2b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00476c30
mov dword [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x47eb2c
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
cmp edx, dword [esi + 0x10]
jne 0x47eb68
test edx, edx
je 0x47ec1b
sub edi, ecx
nop dword [eax]
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x47eb68
add ecx, 2
sub edx, 1
jne 0x47eb50
xor bl, bl
jmp 0x47ec21
lea ecx, [ebp - 0x28]
call fcn.0047ea40
test al, al
je 0x47ec1b
mov edi, dword [ebp - 0x2c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47ec1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp eax, 0xb7
jne 0x47eba7
mov ecx, esi
call fcn.0047e760
test al, al
jne 0x47ec1f
cmp dword [0x61a250], 1
jg 0x47ec0b
push 1
push 0x2d2
push str.f:my_lab_tabexplorerextab_masterlibrary_base_file_util.cpp
lea ecx, [ebp - 0x190]
call fcn.0046c100
push dword [ebp - 0x30]
mov byte [ebp - 4], 4
lea ecx, [eax + 8]
mov ebx, 8
mov edx, str.Failed_to_create_directory
mov dword [ebp - 0x2c], ebx
call fcn.00403840
mov edx, edi
mov ecx, eax
call fcn.0046c990
mov edx, str.__last_error_is
mov ecx, eax
call fcn.00403840
mov ecx, eax
call fcn.00413a40
mov edx, 0x5c21f0
mov ecx, eax
call fcn.00403840
test bl, 8
je 0x47ec1b
lea ecx, [ebp - 0x190]
call fcn.0046c520
xor bl, bl
jmp 0x47ec21
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.00405c10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x47fc70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 8
jb 0x47fc83
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x47fd52
push 1
push ebx
call fcn.005727e6
mov edi, eax
add esp, 8
test edi, edi
je 0x47fd52
push edi
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x47fd49
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x47fd49
cmp dword [ebp - 4], 0
je 0x47fd49
push 0x14
call fcn.00550175
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 2]
movzx ecx, word [ecx]
mov dword [esi], vtable.FileVersionInfo.0
mov dword [esi + 4], 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x47fd27
push eax
call fcn.005725ba
add esp, 4
mov dword [esi + 4], edi
lea ecx, [ebp - 0x10]
mov dword [esi + 0x10], 0
push ecx
lea eax, [esi + 0x10]
push eax
push 0x5d0d3c
push dword [esi + 4]
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.005725ba
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ffa0
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3f8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x248
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x254], eax
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
movzx eax, word [ecx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x24], ax
movzx eax, word [ecx + 0xc]
mov word [ebp - 0x22], ax
call esi
mov ecx, dword [ebp - 0x24c]
mov word [ebp - 0x20], ax
movzx eax, word [ecx + 0xc]
mov word [ebp - 0x1e], ax
movzx eax, word [ecx + 8]
mov word [ebp - 0x1c], ax
mov eax, 0x4e4
mov word [ebp - 0x1a], ax
call esi
mov word [ebp - 0x18], ax
xor ecx, ecx
mov eax, 0x4e4
mov word [ebp - 0x16], ax
nop word [eax + eax]
push dword [ebp - 0x254]
movzx eax, word [ebp + ecx*2 - 0x22]
lea esi, [ecx + 2]
push eax
movzx eax, word [ebp + ecx*2 - 0x24]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x230]
push 0x104
push eax
call fcn.004405f0
add esp, 0x1c
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x24c]
push dword [eax + 4]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4800df
mov edx, dword [ebp - 0x250]
test edx, edx
jne 0x480133
mov ecx, esi
cmp esi, 8
jb 0x480070
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x5cb60c
mov word [edi], ax
call fcn.00405c70
lea ecx, [ebp - 0x248]
call fcn.00405c10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480140
sub eax, esi
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
push edx
call fcn.00405c70
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x248], ax
movq xmm0, qword [ebp - 0x238]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
jmp 0x480106
Function at 0x4834c0
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes
Inject apc
Query environment variable
Resume thread
Self delete
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
push eax
push str._SystemRoot_System32_rundll32.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4836e1
cmp eax, 0x104
jae 0x4836e1
push 0x40
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x280], 0x44
push 0
push eax
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov dword [ebp - 0x234], ebx
test ebx, ebx
je 0x4836cb
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x5d3bfc
push edi
call esi
push 0x5d3c18
push edi
mov ebx, eax
call esi
push 0x5d3c04
push edi
mov dword [ebp - 0x218], eax
call esi
push 0x5d3c5c
push edi
mov dword [ebp - 0x214], eax
call esi
mov dword [ebp - 0x230], eax
test ebx, ebx
je 0x4836b1
cmp dword [ebp - 0x218], 0
je 0x4836b1
cmp dword [ebp - 0x214], 0
je 0x4836b1
test eax, eax
je 0x4836b1
push 0x3e8
push dword [ebp - 0x224]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueueUserAPC]
call ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x48368d
mov eax, dword [esi + 0x10]
push 4
push 0x1000
lea eax, [eax*2 + 2]
push eax
push 0
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x48367e
cmp dword [esi + 0x14], 8
mov ecx, esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x22c], 0
jb 0x483630
mov ecx, dword [esi]
lea edx, [ebp - 0x22c]
push edx
lea eax, [eax*2 + 2]
push eax
push ecx
push edi
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x483657
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48367e
push edi
push dword [ebp - 0x224]
test al, 0x10
je 0x483676
push dword [ebp - 0x214]
jmp 0x48367c
push dword [ebp - 0x218]
call ebx
mov eax, dword [ebp + 8]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x4835f3
push 0
push dword [ebp - 0x224]
push dword [ebp - 0x230]
call ebx
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x234]
jmp 0x4836b3
xor ebx, ebx
push dword [ebp - 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x228]
call esi
test ebx, ebx
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550156
mov esp, ebp
pop ebp
ret 8
Function at 0x483700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a44fd
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x82c], esi
push 0x800
mov dword [ebp - 0x838], esi
lea eax, [ebp - 0x810]
mov dword [ebp - 0x834], 0
push 0
push eax
mov dword [ebp - 0x82c], 1
mov dword [ebp - 0x830], 0x800
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x82c]
push eax
push 0x5d3c2c
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x483834
mov dword [ebp - 0x818], eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4837c0
sub eax, edx
lea ecx, [ebp - 0x828]
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00405c70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
mov edx, dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x828]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push esi
mov byte [esi], 0
mov dword [ebp - 0x834], 4
call fcn.004710e0
add esp, 4
lea ecx, [ebp - 0x828]
call fcn.00405c10
jmp 0x483853
push 4
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push str.0000
mov byte [esi], 0
call fcn.00403690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret
Function at 0x483870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a455d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x94c
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x954], esi
push 0x800
mov dword [ebp - 0x954], esi
lea eax, [ebp - 0x920]
mov dword [ebp - 0x95c], 0
push 0
push eax
mov dword [ebp - 0x954], 1
mov dword [ebp - 0x958], 0x800
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x958]
push eax
lea eax, [ebp - 0x920]
push eax
lea eax, [ebp - 0x954]
push eax
push 0x5d3c54
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4839ed
lea ecx, [ebp - 0x920]
mov dword [ebp - 0x928], eax
mov dword [ebp - 0x924], 7
lea edx, [ecx + 2]
mov word [ebp - 0x938], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483944
sub ecx, edx
lea eax, [ebp - 0x920]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x938]
call fcn.00405c70
mov dword [ebp - 4], 1
lea eax, [ebp - 0x950]
cmp dword [ebp - 0x924], 8
lea ecx, [ebp - 0x938]
mov edx, dword [ebp - 0x928]
cmovae ecx, dword [ebp - 0x938]
push eax
mov dword [ebp - 0x940], 0
mov dword [ebp - 0x93c], 0xf
mov byte [ebp - 0x950], 0
mov dword [ebp - 0x95c], 4
call fcn.004710e0
add esp, 4
lea ecx, [ebp - 0x938]
call fcn.00405c10
movups xmm0, xmmword [ebp - 0x950]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x940]
movq qword [esi + 0x10], xmm0
jmp 0x483a48
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0056f6e0
add esp, 8
lea ecx, [ebp - 0x120]
call fcn.004932b0
lea ecx, [ebp - 0x120]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
add esp, 4
mov byte [esi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483a30
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
mov ecx, esi
call fcn.00403690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x483a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x804]
push 0x800
mov dword [ebp - 0x808], esi
mov dword [ebp - 0x808], esi
push 0
push eax
mov dword [ebp - 0x808], 1
mov dword [ebp - 0x80c], 0x800
call fcn.0056f6e0
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x808]
push eax
push str.DisplayVersion
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
jne 0x483b1d
lea ecx, [ebp - 0x804]
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483b04
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
jmp 0x483b29
xor eax, eax
push 7
mov word [esi], ax
push str.1.0.0.0
mov ecx, esi
call fcn.00405c70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00550156
mov esp, ebp
pop ebp
ret

Function at 0x484090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x804]
push 0x800
mov dword [ebp - 0x808], esi
mov edi, edx
mov dword [ebp - 0x808], esi
push 0
push eax
mov dword [ebp - 0x808], 1
mov dword [ebp - 0x80c], 0x800
call fcn.0056f6e0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4840e7
mov edi, dword [edi]
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallExTab
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
jne 0x484149
lea ecx, [ebp - 0x804]
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484130
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
jmp 0x484154
xor eax, eax
push eax
mov word [esi], ax
push 0x5cb60c
mov ecx, esi
call fcn.00405c70
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00550156
mov esp, ebp
pop ebp
ret

Function at 0x486a70
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov dword [esp + 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x486ac5
push str.slot_____DWORD_0xFFFFFFFF_
lea edx, [esp + 8]
mov ecx, esi
call fcn.0042dec0
add esp, 4
test eax, eax
je 0x486ac5
push eax
push 0x11
push str.f:my_lab_tabexplorerextab_masterlibrary_base_threading_thread_local.cpp
lea ecx, [esp + 0x14]
call fcn.0046bee0
lea ecx, [esp + 8]
call fcn.0046c520
pop esi
mov esp, ebp
pop ebp
ret