joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4249d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 4], edx
mov esi, ecx
xor ebx, ebx
mov eax, dword [0x5599f4]
xor eax, ebp
test esi, esi
setne bl
mov dword [esp + 0x10], eax
shl ebx, 0x10
push 0xc
call fcn.004d4bd9
add esp, 4
mov edi, eax
mov eax, dword [esp + 4]
cmp dword [ebp + 8], 0
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
setne byte [edi + 4]
mov dword [edi + 8], eax
lea eax, [esp + 8]
push eax
call fcn.00412670
add esp, 4
push 0
push ebx
push edi
push 0x424bc0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 8]
mov esi, eax
call fcn.00424cf0
test esi, esi
je 0x424a50
mov eax, dword [ebp + 8]
test eax, eax
je 0x424a5d
mov dword [eax], esi
jmp 0x424a64
push edi
call fcn.004d4c09
add esp, 4
xor ebx, ebx
jmp 0x424a66
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42d5d0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x5599f4]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42d5fb
cmp eax, 0x103
jbe 0x42d602
xor ebx, ebx
jmp 0x42d740
mov bl, 1
jmp 0x42d740
lea edi, [ebp - 0x28]
mov ecx, esi
push edi
call fcn.00411290
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
jbe 0x42d619
mov edi, dword [ebp - 0x28]
test eax, eax
je 0x42d64f
jle 0x42d64f
lea eax, [edi + eax*2]
mov ebx, edi
nop word cs:[eax + eax]
movzx ecx, word [ebx]
cmp ecx, 0x3f
je 0x42d754
movzx ecx, cx
cmp ecx, 0x2a
je 0x42d754
add ebx, 2
cmp ebx, eax
jb 0x42d630
lea ecx, [ebp - 0x28]
call fcn.00401930
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42d661
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov bl, 1
je 0x42d740
test al, 1
je 0x42d698
mov edi, eax
and eax, 0xfffffffe
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x42d686
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
mov eax, edi
je 0x42d5f4
test al, 0x10
jne 0x42d6b0
cmp dword [esi + 0x14], 7
jbe 0x42d6a4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42d73b
cmp byte [ebp + 0xc], 0
je 0x42d72c
mov ecx, esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], 0x2a
lea edx, [ebp - 0x28]
push 1
call fcn.0042d7b0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov ebx, eax
cmp ecx, 8
jb 0x42d724
inc ecx
js 0x42d7a1
mov eax, dword [ebp - 0x28]
add ecx, ecx
cmp ecx, 0x1000
jb 0x42d71b
test al, 0x1f
jne 0x42d7a1
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x42d7a1
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x42d7a1
push eax
call fcn.004d4c09
add esp, 4
test bl, bl
je 0x42d5f4
cmp dword [esi + 0x14], 7
jbe 0x42d734
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
sub ebx, edi
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.00401930
cmp ebx, 0xfffffffe
je 0x42d657
mov ecx, esi
push edi
call fcn.00411290
lea eax, [ebp - 0x40]
mov ecx, esi
mov esi, eax
push esi
call fcn.00410ee0
movzx eax, byte [ebp + 0xc]
mov ecx, esi
mov edx, edi
push eax
call fcn.0042d7b0
add esp, 4
mov ecx, esi
mov ebx, eax
call fcn.00401930
mov ecx, edi
call fcn.00401930
jmp 0x42d740
call fcn.004dc775
int3
Function at 0x42d7b0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x518
mov eax, ecx
mov ecx, dword [0x5599f4]
lea esi, [ebp - 0x2b4]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, esi
mov dword [ebp - 0x524], edx
push edx
push 3
push 0
push eax
call fcn.0044fb10
lea edi, [ebp - 0x2cc]
mov ecx, esi
push edi
call fcn.0044fc60
cmp dword [ebp - 0x2bc], 0
je 0x42d903
mov al, 1
lea esi, [ebp - 0x51c]
lea ebx, [ebp - 0x2b4]
mov dword [ebp - 0x520], eax
nop word cs:[eax + eax]
mov ecx, ebx
push esi
call fcn.0044fbe0
mov eax, dword [ebp - 0x51c]
test al, 1
je 0x42d865
cmp byte [ebp + 8], 0
jne 0x42d849
mov ecx, esi
call fcn.0044f9f0
test al, al
jne 0x42d865
mov eax, dword [ebp - 0x51c]
and eax, 0xfffffffe
cmp dword [ebp - 0x2b8], 7
mov ecx, edi
jbe 0x42d85d
mov ecx, dword [ebp - 0x2cc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, esi
call fcn.0044f9f0
test al, al
je 0x42d8b0
cmp byte [ebp + 8], 0
je 0x42d8d6
mov edx, dword [ebp - 0x524]
mov ecx, edi
push 1
call fcn.0042d7b0
add esp, 4
test al, al
je 0x42d8cc
cmp dword [ebp - 0x2b8], 7
mov eax, edi
jbe 0x42d89d
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x42d8d6
jmp 0x42d8cc
cmp dword [ebp - 0x2b8], 7
mov eax, edi
jbe 0x42d8c1
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42d8d6
mov dword [ebp - 0x520], 0
mov ecx, esi
call fcn.00404580
mov ecx, ebx
push esi
call fcn.0044fc60
mov ecx, edi
push esi
call fcn.00410590
mov ecx, esi
call fcn.00401930
cmp dword [ebp - 0x2bc], 0
jne 0x42d820
jmp 0x42d90b
mov al, 1
mov dword [ebp - 0x520], eax
lea ecx, [ebp - 0x2cc]
call fcn.00401930
mov ebx, dword [ebp - 0x520]
lea ecx, [ebp - 0x2b4]
and bl, 1
call fcn.0044fb40
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x518
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42d950
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x42d967
mov eax, dword [edi]
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x42d971
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
test eax, eax
jne 0x42d9d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d960
add esp, 4
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x10], eax
jbe 0x42d999
mov esi, dword [esi]
cmp dword [edi + 0x14], 7
jbe 0x42d9a1
mov edi, dword [edi]
push 0
push 0
push 2
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x42d9d8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42d9d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041d960
add esp, 4
mov ecx, dword [ebp - 0x10]
cmp eax, 0xfffffffc
cmovne ecx, eax
mov dword [esi], ecx
xor ebx, ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42d9f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x42d9fe
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x42da10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x42da1e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
pop ebp
ret

Function at 0x42da40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x240
mov eax, dword [0x5599f4]
lea ebx, [ebp - 0x21a]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
jbe 0x42da74
xor ebx, ebx
jmp 0x42dab5
mov esi, dword [ebp + 8]
push ebx
call fcn.004dc2cd
add esp, 4
lea edi, [ebp - 0x24c]
mov ecx, edi
push eax
push ebx
call fcn.00410460
lea ebx, [ebp - 0x234]
mov ecx, edi
push ebx
call fcn.00411f10
mov ecx, esi
push ebx
call fcn.00410590
mov ecx, ebx
call fcn.00401930
mov ecx, edi
call fcn.00401930
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x240
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42dad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x224
mov eax, dword [0x5599f4]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x214]
xor eax, ebp
mov dword [ebp - 0xc], eax
push edi
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42db21
movzx eax, word [ebp - 0x214]
test ax, ax
je 0x42db21
push edi
call fcn.004dc2cd
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00410460
jmp 0x42db5c
lea edi, [ebp - 0x22c]
mov ecx, edi
call fcn.004103c0
push edi
call fcn.0042da40
add esp, 4
mov ecx, esi
test al, al
je 0x42db45
push edi
call fcn.00410410
jmp 0x42db51
push 3
push 0x510e88
call fcn.00410460
lea ecx, [ebp - 0x22c]
call fcn.00401930
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
add esp, 0x224
pop esi
pop edi
pop ebp
ret
Function at 0x42e470
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5599f4]
mov esi, dword [ebp + 8]
xor eax, ebp
mov ebx, esi
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], 7
jbe 0x42e490
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e4ba
mov bl, 1
test al, 0x10
jne 0x42e579
test edi, edi
je 0x42e4b3
mov dword [edi], 0xfffffff7
xor ebx, ebx
jmp 0x42e579
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov ecx, esi
push eax
call fcn.00410ee0
mov eax, dword [esi + 0x10]
cmp dword [ebp - 0x18], eax
jne 0x42e50e
test eax, eax
je 0x42e4ff
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x42e4de
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
jbe 0x42e4ea
mov edx, dword [ebp - 0x28]
xor edi, edi
nop dword [eax]
movzx ebx, word [edx + edi*2]
cmp bx, word [ecx + edi*2]
jne 0x42e50e
inc edi
cmp eax, edi
jne 0x42e4f0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42e56f
mov dword [eax], 0xfffffffc
jmp 0x42e56f
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0042e470
add esp, 8
test al, al
je 0x42e56f
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x42e571
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 0xb7
jne 0x42e560
cmp dword [esi + 0x14], 7
jbe 0x42e54b
mov esi, dword [esi]
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
cmp eax, 0xffffffff
je 0x42e560
and eax, 0x10
jne 0x42e571
test edi, edi
je 0x42e56f
push ecx
call fcn.0041d960
add esp, 4
mov dword [edi], eax
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.00401930
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42e590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x254
mov eax, dword [0x5599f4]
lea edi, [ebp - 0x218]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [ebp - 0x218], 0
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x42e5d0
xor ebx, ebx
jmp 0x42e6d6
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], 0
push edi
call fcn.004dc2cd
add esp, 4
mov esi, eax
cmp esi, 7
jbe 0x42e61e
sub esp, 0xc
mov al, byte [ebp - 0x248]
lea ecx, [ebp - 0x230]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00401822
jmp 0x42e643
mov eax, esi
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x230]
add eax, eax
push eax
push edi
push ecx
call fcn.004d7b40
add esp, 0xc
mov word [ebp + esi*2 - 0x230], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
jbe 0x42e65d
mov edx, dword [ebp - 0x230]
jmp 0x42e663
lea edx, [ebp - 0x230]
lea edi, [ebp - 0x260]
mov ecx, edi
push eax
push edx
call fcn.00410460
lea ebx, [ebp - 0x248]
mov ecx, edi
push ebx
call fcn.00411f10
mov ecx, esi
push ebx
call fcn.00410590
mov ecx, ebx
call fcn.00401930
mov ecx, edi
call fcn.00401930
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x42e6d4
inc ecx
js 0x42e6ed
mov eax, dword [ebp - 0x230]
add ecx, ecx
cmp ecx, 0x1000
jb 0x42e6cb
test al, 0x1f
jne 0x42e6ed
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x42e6ed
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
mov eax, ecx
jae 0x42e6ed
push eax
call fcn.004d4c09
add esp, 4
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x254
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004dc775
int3
Function at 0x4346a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.004d4c20
mov eax, dword [0x5599f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x559030]
cmp eax, 0xffffffff
je 0x4347d2
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4347d2
lea edi, [ebp - 0x810]
push 0x800
push esi
push edi
call fcn.004d7b40
add esp, 0xc
mov eax, dword [0x559030]
push edi
mov dword [ebp - 0x1414], eax
push eax
call fcn.00453530
add esp, 8
push esi
call fcn.004d4c17
add esp, 4
mov eax, dword [0x55b76c]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x4347e7
mov esi, dword [0x55b768]
mov ecx, esi
call fcn.0042cc40
lea eax, [ebp - 0x1410]
push 0xc00
push 0x55ab68
push eax
call fcn.004d7b40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
nop
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x4347b0
cmp dword [ebp + ebx - 0x810], 0
je 0x4347b0
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x4347b0
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x4347b0
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
nop word cs:[eax + eax]
add edi, 8
add ebx, 0xc
jne 0x434770
cmp esi, 2
jl 0x4347c2
dec esi
test al, 1
jne 0x434760
push 0
push dword [ebp - 0x1414]
call fcn.00453530
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x55b76c
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55b76c]
cmp eax, 0xffffffff
jne 0x43472d
push 4
call fcn.004d4bd9
add esp, 4
mov esi, eax
mov ecx, esi
call fcn.0043e370
mov dword [0x55b768], esi
push 0x55b76c
call fcn.004d51bc
add esp, 4
jmp 0x43472d
Function at 0x434830
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [0x5599f4]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xb8], eax
mov eax, dword [0x559030]
cmp eax, 0xffffffff
je 0x434864
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x434869
call fcn.00434a10
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0
mov eax, dword [0x55b76c]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x4349be
mov edi, dword [0x55b768]
mov ecx, edi
call fcn.0042cc40
mov eax, dword [0x55ab64]
xor ecx, ecx
inc eax
nop dword [eax]
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x55ab68], 0
je 0x4348ce
inc ecx
cmp ecx, 0xff
jbe 0x4348b0
jmp 0x4348ff
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x55ab68]
mov dword [0x55ab64], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x55ab6c], ecx
mov dword [esi + 4], edx
mov eax, dword [eax + eax*2 + 0x55ab70]
mov dword [esi + 8], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 4]
mov dword [esp + 8], 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x434952
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kInvalidSlotValue
push eax
push ecx
call fcn.0042ad90
add esp, 0xc
test eax, eax
je 0x434952
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x11d
push str..._.._base_threading_thread_local_storage.cc
call fcn.004185d0
mov ecx, edi
call fcn.00417750
mov eax, dword [esi + 4]
mov dword [esp + 8], 0x100
cmp eax, 0xff
mov dword [esp + 4], eax
jle 0x4349a0
lea eax, [esp + 8]
lea ecx, [esp + 4]
push str.slot____kThreadLocalStorageSize
push eax
push ecx
call fcn.0042ad90
add esp, 0xc
test eax, eax
je 0x4349a0
lea edi, [esp + 8]
mov ecx, edi
push eax
push 0x11e
push str..._.._base_threading_thread_local_storage.cc
call fcn.004185d0
mov ecx, edi
call fcn.00417750
mov dword [esi], 1
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004d4bc8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x55b76c
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55b76c]
cmp eax, 0xffffffff
jne 0x434898
push 4
call fcn.004d4bd9
add esp, 4
mov edi, eax
mov ecx, edi
call fcn.0043e370
mov dword [0x55b768], edi
push 0x55b76c
call fcn.004d51bc
add esp, 4
jmp 0x434898
Function at 0x434a10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [0x5599f4]
xor eax, ebp
mov dword [esp + 0x80c], eax
mov eax, dword [0x559030]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x434adb
lea edi, [esp + 4]
push edi
call fcn.00453500
add esp, 4
test al, al
jne 0x434a6d
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0x73
push str..._.._base_threading_thread_local_storage.cc
call fcn.00417610
mov ecx, esi
call fcn.00417750
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
jne 0x434ab6
push edi
call fcn.00453500
add esp, 4
test al, al
je 0x434a8a
cmp dword [esp + 4], 0xffffffff
jne 0x434aa8
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0x7d
push str..._.._base_threading_thread_local_storage.cc
call fcn.00417610
mov ecx, esi
call fcn.00417750
push 0xffffffffffffffff
call fcn.00453520
add esp, 4
mov ecx, dword [esp + 4]
mov eax, 0xffffffff
lock cmpxchg dword [0x559030], ecx
mov eax, dword [esp + 4]
je 0x434adb
push eax
call fcn.00453520
add esp, 4
mov eax, dword [0x559030]
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x434b07
lea esi, [esp + 8]
mov ecx, esi
push str._PlatformThreadLocalStorage::GetTLSValue_key_
push 0x8f
push str..._.._base_threading_thread_local_storage.cc
call fcn.00417610
mov ecx, esi
call fcn.00417750
lea edi, [esp + 8]
push 0x800
push 0
push edi
call fcn.004d7460
add esp, 0xc
push edi
push dword [esp + 8]
call fcn.00453530
add esp, 8
push 0x800
call fcn.004d4c0e
add esp, 4
mov esi, eax
push 0x800
push edi
push esi
call fcn.004d7b40
add esp, 0xc
push esi
push dword [esp + 8]
call fcn.00453530
add esp, 8
mov ecx, dword [esp + 0x80c]
xor ecx, ebp
call fcn.004d4bc8
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x43fa70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x55c0cc]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x43fa9e
mov ecx, dword [0x55c0c8]
pop esi
pop ebp
jmp fcn.00434c30
push 0x55c0cc
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55c0cc]
cmp eax, 0xffffffff
jne 0x43fa91
push 0xc
call fcn.004d4bd9
add esp, 4
mov esi, eax
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov ecx, esi
push 0
call fcn.00434cb0
mov dword [0x55c0c8], esi
push 0x55c0cc
call fcn.004d51bc
add esp, 4
jmp 0x43fa91
Function at 0x45ee60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, ecx
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
mov ecx, esi
call fcn.0042cc40
cmp dword [0x5599e4], 2
mov dword [ebp - 0x10], esi
jne 0x45ef2e
movzx edx, bl
mov ecx, ebx
mov eax, ebx
xor edx, 0x811c9dc5
shr ecx, 0x10
shr eax, 0x18
imul esi, edx, 0x1000193
movzx edx, bh
xor esi, edx
mov dword [ebp - 0x14], edx
mov edx, ebx
movzx ebx, cl
imul esi, esi, 0x1000193
and edx, 0xff0000ff
xor esi, ebx
shl ebx, 0x10
imul ecx, esi, 0x1000193
or edx, ebx
xor ecx, eax
mov eax, dword [edi + 0x94]
imul esi, ecx, 0x1000193
mov ecx, dword [edi + 0x9c]
and esi, dword [edi + 0xa8]
mov dword [ebp - 0x18], ecx
mov ebx, dword [ecx + esi*8]
mov ecx, dword [ebp - 0x14]
lea esi, [esi + esi + 1]
shl ecx, 8
or edx, ecx
mov ecx, edx
mov edx, ebx
jmp 0x45ef02
mov edx, dword [edx]
cmp ebx, eax
mov edi, ebx
je 0x45ef10
mov edi, dword [ebp - 0x18]
mov edi, dword [edi + esi*4]
mov edi, dword [edi]
cmp edi, edx
je 0x45ef82
mov edi, ecx
cmp dword [edx + 8], edi
jne 0x45ef00
mov esi, dword [ebp - 0x10]
cmp eax, edx
je 0x45ef85
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
jmp 0x45ef87
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + 4]
mov edx, ecx
cmp byte [esi + 0xd], 0
je 0x45ef59
cmp ecx, edx
je 0x45ef82
mov eax, dword [edx + 0x14]
mov esi, dword [ebp - 0x10]
cmp byte [eax + 0x5c], 0
je 0x45ef85
cmp dword [eax + 0x54], ebx
sete bl
jmp 0x45ef87
mov edx, ecx
nop dword [eax + eax]
cmp dword [esi + 0x10], eax
lea edi, [esi + 8]
cmovae edi, esi
cmovae edx, esi
mov esi, dword [edi]
cmp byte [esi + 0xd], 0
je 0x45ef60
cmp edx, ecx
je 0x45ef9a
cmp eax, dword [edx + 0x10]
cmovb edx, ecx
cmp ecx, edx
jne 0x45ef45
mov esi, dword [ebp - 0x10]
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov edx, ecx
cmp ecx, edx
jne 0x45ef45
jmp 0x45ef82
Function at 0x46514d
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 5
jmp fcn.0046515b

Function at 0x46515b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x5599f4]
mov edi, edx
lea esi, [ebp - 0x218]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [esi], 0
push esi
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4651ba
push esi
call fcn.004dc2cd
add esp, 4
mov ebx, edi
lea edi, [ebp - 0x230]
mov ecx, edi
push eax
push esi
call fcn.00410460
mov ecx, ebx
push edi
call fcn.00410590
mov ecx, edi
call fcn.00401930
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x465305
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0xd
jmp fcn.0046515b

Function at 0x465313
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0x27
jmp fcn.0046515b

Function at 0x465321
Capabilities:
Get common file path

Disassembly:
mov edx, dword [esp + 4]
mov ecx, 0xe
jmp fcn.0046515b