joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413570
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
pop ebp
ret 4

Function at 0x413590
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
pop ebp
ret 4

Function at 0x413c66
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
call fcn.00412a70
test al, al
je 0x413c8c
push 0x32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edi, [esi + 0x20]
mov ecx, edi
push 0
call fcn.00413d36
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x413cf3
mov dword [ebp - 0x10], edi
mov edi, dword [esi + 0x34]
cmp ebx, edi
je 0x413cba
mov ecx, ebx
call fcn.00413190
add ebx, 0xc
cmp ebx, edi
jne 0x413ca9
mov ebx, dword [esi + 0x30]
mov eax, dword [esi + 0x38]
sub eax, ebx
cmp eax, 0x1000
mov edi, dword [ebp - 0x10]
jb 0x413cdb
mov ecx, dword [ebx - 4]
sub ebx, ecx
add ebx, 0xfffffffc
cmp ebx, 0x20
jae 0x413d30
add eax, 0x23
mov ebx, ecx
push eax
push ebx
call fcn.005660aa
add esp, 8
xorps xmm0, xmm0
movlps qword [esi + 0x30], xmm0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x413d03
push eax
call fcn.0056da82
add esp, 4
mov ecx, edi
call fcn.00413d5a
lea ecx, [esi + 0x18]
call fcn.00405300
lea ecx, [esi + 0x14]
call fcn.00405300
lea ecx, [esi + 0x10]
call fcn.00405300
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004129e0
call fcn.0056cec6
int3
Function at 0x418180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [0x5ef0d4]
xor edx, ebp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x4181e8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x4181e8
cmp dword [ebp - 0x14], 4
jne 0x4181e8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x418200
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.00565e50
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x810]
push 0x800
push 0xff
push ebx
call fcn.005683c0
add esp, 0xc
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
lea eax, [ebp - 0x101c]
lea ecx, [ebp - 0x1018]
push eax
push ebx
push ecx
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x418360
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1018]
cmp eax, 2
je 0x4182ba
mov edi, 0x3f4
cmp eax, 1
jne 0x418360
push ebx
call fcn.0056d7aa
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x418329
sub esp, 0xc
mov al, byte [ebp - 0x1010]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
mov ecx, esi
jmp 0x418322
lea esi, [ebp - 0x1010]
push 0x800
push 0xff
push esi
call fcn.005683c0
add esp, 0xc
push 0x400
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x418360
push esi
call fcn.0056d7aa
add esp, 4
mov edi, eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
cmp eax, edi
mov edx, esi
jae 0x41833d
sub esp, 0xc
mov al, byte [ebp - 0x1014]
mov byte [esp + 4], al
mov dword [esp + 8], edx
mov dword [esp], edi
call fcn.00408340
jmp 0x41835e
mov ecx, esi
cmp eax, 8
jb 0x418332
mov esi, dword [ecx]
mov dword [ecx + 0x10], edi
mov eax, edi
add eax, edi
push eax
push ebx
jmp 0x41834f
mov esi, ecx
cmp eax, 8
jb 0x418346
mov esi, dword [ecx]
mov dword [ecx + 0x10], edi
mov eax, edi
add eax, edi
push eax
push edx
push esi
call fcn.00568520
add esp, 0xc
mov word [esi + edi*2], 0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x419b40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
lea edi, [esp + 8]
push 0x4c
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.00409140
add esp, 0x10
lea ecx, [esp + 0x20]
push 0
push edi
call fcn.0041fb90
mov dword [esp + 4], 0xffffffff
cmp dword [esi + 0x14], 8
jb 0x419bab
mov esi, dword [esi]
mov ebx, dword [ebp + 8]
lea eax, [esp + 4]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x419bed
js 0x419d3e
mov edi, eax
cmp eax, 0x1000
jb 0x419bfa
lea eax, [edi + 0x23]
push eax
call fcn.0056607a
add esp, 4
test eax, eax
je 0x419d43
mov ebx, eax
add ebx, 0x23
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x419c05
mov dword [ebx], 0
mov esi, ebx
jmp 0x419d20
push edi
call fcn.0056607a
add esp, 4
mov ebx, eax
push edi
push 0
push ebx
call fcn.005683c0
add esp, 0xc
push ebx
push edi
push dword [esp + 0xc]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x419cef
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x419cef
mov esi, dword [esp + 8]
test esi, esi
je 0x419cef
add edi, ebx
push 0x1c
call fcn.0056607a
add esp, 4
mov ecx, dword [esi]
mov dword [eax], 0x5b70a0
movd xmm0, edi
mov edi, eax
movd xmm1, ebx
punpckldq xmm1, xmm0
pshufd xmm0, xmm1, 0x14
movdqu xmmword [eax + 4], xmm0
mov dword [eax + 0x14], ecx
mov dword [esp + 8], 0
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc]
push eax
push 0x5b7296
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x419ce1
mov esi, edi
lea edi, [esp + 0x18]
push str.::VerQueryValue_data__kRoot__fixed_file_info__dummy_size_
push 0x29
push str..._.._base_file_version_info_win.cc
push edi
call fcn.00409a10
add esp, 0x10
mov ecx, edi
call fcn.00409d80
mov ecx, edi
mov edi, esi
call fcn.00409d90
mov eax, dword [esp + 8]
mov dword [edi + 0x18], eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
jmp 0x419d20
mov esi, dword [ebp + 8]
mov dword [esi], 0
test ebx, ebx
je 0x419d20
cmp edi, 0x1000
jb 0x419d16
mov eax, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, eax
cmp ebx, 0x20
jae 0x419d43
add edi, 0x23
mov ebx, eax
push edi
push ebx
call fcn.005660aa
add esp, 8
lea ecx, [esp + 0x20]
call fcn.0041fbb0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00413a80
call fcn.0056cec6
int3
Function at 0x427cba
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [0x5ef0d4]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
mov esi, 5
cmp eax, 3
jne 0x427d5b
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
jb 0x427cfe
mov esi, dword [esi]
mov ebx, dword [ebx]
push 0
push edx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x427d48
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
push 3
push edi
push edi
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb edi, edi
lea eax, [ebp - 0x14]
or edi, dword [eax]
jmp 0x427d4b
xor edi, edi
dec edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x428e9c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov ebx, ecx
mov al, byte [ebp + 8]
mov ecx, dword [0x5ef0d4]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test al, al
je 0x428eec
xor edi, edi
inc edi
mov esi, 0x5b7ba2
mov ecx, ebx
push 0
push 0x438e24
push edi
push str.NtMapViewOfSection
push esi
call fcn.00428666
mov ecx, ebx
push edi
push 0x439063
push edi
push str.NtUnmapViewOfSection
push esi
call fcn.00428666
jmp 0x428ef6
cmp dword [ebx + 8], 0
je 0x42906a
mov eax, dword [ebx]
mov edi, dword [eax]
sub esp, 0x14
movdqa xmm0, xmmword [0x5b7b30]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebx + 8]
shl esi, 6
lea eax, [esi + 0x50]
mov dword [ebp - 0x70], eax
push eax
call fcn.00428270
add esp, 4
mov dword [ebp - 0x74], ebx
mov ebx, eax
mov ecx, 0xfffff000
and eax, ecx
add eax, dword [ebp - 0x6c]
and ebx, 0xfff
add esi, 0x104f
and esi, ecx
push 0x40
push 0x1000
push esi
push eax
mov dword [ebp - 0x6c], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x428f8b
lea esi, [ebp - 0x60]
push str.thunk_base
push 0x183
push str..._.._sandbox_win_src_interception.cc
push esi
call fcn.00409a10
add esp, 0x10
mov ecx, esi
call fcn.00409d80
mov ecx, esi
call fcn.00409d90
add edi, ebx
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x60]
movdqu xmmword [esi + 8], xmm0
xor eax, eax
dec eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
movdqu xmmword [esi + 0x38], xmm0
movdqu xmmword [esi + 0x28], xmm0
movdqu xmmword [esi + 0x18], xmm0
mov eax, dword [ebp - 0x70]
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0x10
pxor xmm0, xmm0
movdqu xmmword [0x5f2860], xmm0
movdqu xmmword [0x5f2870], xmm0
movdqu xmmword [0x5f2880], xmm0
movdqu xmmword [0x5f2890], xmm0
movdqu xmmword [0x5f28a0], xmm0
movdqu xmmword [0x5f28b0], xmm0
movdqu xmmword [0x5f28bc], xmm0
mov ecx, dword [ebp - 0x74]
push esi
push eax
push edi
call fcn.004292f6
mov ebx, eax
test eax, eax
jne 0x42906c
lea eax, [ebp - 0x64]
mov dword [eax], 0xffffffff
push eax
push 0x10
push esi
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x42906c
cmp dword [ebp - 0x64], 0x10
jne 0x42906c
lea eax, [ebp - 0x68]
mov dword [eax], 0xffffffff
push eax
push 0x20
push dword [ebp - 0x70]
push edi
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push 0x6c
push 0x5f2860
push str.g_originals
call fcn.004140e4
mov ebx, eax
jmp 0x42906c
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x429e50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5ef0d4]
xor ecx, ebp
mov dword [ebp - 8], ecx
test eax, eax
je 0x429e9c
push eax
push dword [ebp + 8]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x429e9c
lea esi, [ebp - 0xc]
push str.success
push 0x20
push str..._.._base_rand_util_win.cc
push esi
call fcn.00409a10
add esp, 0x10
mov ecx, esi
call fcn.00409d80
mov ecx, esi
call fcn.00409d90
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00565e42
add esp, 8
pop esi
pop ebp
ret
Function at 0x42f2ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42f410
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x42f410
cmp word [eax + edx + 0x14], 0x68
jb 0x42f410
mov eax, dword [eax + edx + 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov esi, ecx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x5983d0]
mov dword [ebp - 0x14], esi
mov ecx, esi
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x42f410
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
cmp ecx, 0xffff
jbe 0x42f452
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 0x14]
mov esi, eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x5983d0]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov edx, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x42f410
lea edi, [edx + eax*4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edi
sub edi, edx
mov eax, edi
sar eax, 2
shr edi, 0x1f
add edi, eax
and edi, 0xfffffffe
mov dword [ebp - 0x18], edx
mov eax, dword [edx + edi*2]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x5983d0]
mov ecx, esi
push dword [ebp - 0x10]
call ebx
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x42f3e6
mov edx, dword [ebp - 0x28]
cmp cl, byte [eax]
jne 0x42f3e8
inc eax
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x42f3da
xor ecx, ecx
mov edx, dword [ebp - 0x18]
lea edi, [edx + edi*2]
movzx eax, byte [eax]
cmp cl, al
je 0x42f41c
movzx ecx, cl
cmp ecx, eax
lea eax, [edi + 4]
cmovg edx, eax
mov eax, dword [ebp - 0x2c]
cmovs eax, edi
mov edi, eax
xor eax, eax
cmp edx, edi
jne 0x42f39f
jmp 0x42f412
xor eax, eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x5983d0]
mov ecx, esi
push dword [ebp - 0x10]
call ebx
sub edi, dword [ebp - 0x24]
sar edi, 1
movzx eax, word [eax + edi]
mov ecx, dword [ebp - 0x1c]
add ax, word [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x20]
mov word [ebx], ax
mov al, 1
jmp 0x42f412

Function at 0x430150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00430160
Function at 0x432440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x290
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [esp + 0x288], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x270], xmm0
movdqa xmmword [esp + 0x260], xmm0
movdqa xmmword [esp + 0x250], xmm0
movdqa xmmword [esp + 0x240], xmm0
lea ebx, [esp + 0x38]
push 0x38f
push str..._.._base_files_file_util_win.cc
push 0x5b837e
push ebx
call fcn.00409140
add esp, 0x10
lea ecx, [esp + 0x240]
push 0
push ebx
call fcn.0041fb90
lea eax, [esp + 0x3a]
push 0x206
push 0xff
push eax
call fcn.005683c0
add esp, 0xc
mov word [esp + 0x38], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x432523
push ebx
call fcn.0056d7aa
add esp, 4
lea edi, [esp + 8]
mov ecx, edi
push eax
push ebx
call fcn.00407270
lea ebx, [esp + 0x20]
mov ecx, edi
push ebx
call fcn.00408240
mov ecx, dword [ebp + 8]
push ebx
call fcn.004073c0
mov ecx, ebx
call fcn.00407360
mov ecx, edi
call fcn.00407360
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x240]
call fcn.0041fbb0
mov ecx, dword [esp + 0x288]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x432550
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
mov ebx, esp
push 0x39f
push str..._.._base_files_file_util_win.cc
push 0x5b8393
push ebx
call fcn.00409140
add esp, 0x10
lea esi, [esp + 0x10]
mov ecx, esi
push 0
push ebx
call fcn.0041fb90
cmp dword [edi + 0x14], 8
jb 0x4325b6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov ecx, esi
call fcn.0041fbb0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4331c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.00565e50
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5eeef4]
cmp eax, 0xffffffff
je 0x43332b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x43332b
mov eax, ebx
and eax, 0xfffffffc
lea ecx, [ebp - 0x810]
push 0x800
push eax
push ecx
call fcn.00568520
add esp, 0xc
mov ecx, dword [0x5eeef4]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.00445610
add esp, 8
and ebx, 0xfffffffc
je 0x43323e
push ebx
call fcn.005667c6
add esp, 4
mov eax, dword [0x5f34e8]
mov ecx, dword [0x5f3980]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x43334c
mov esi, dword [0x5f34e4]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x433340
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5f28e4
push eax
call fcn.00568520
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x100
jmp 0x4332ae
mov edx, dword [ebp - 0x1418]
lea ecx, [edx - 1]
cmp edx, 2
jb 0x43331b
test al, 1
je 0x43331b
mov dword [ebp - 0x1418], ecx
mov ebx, 8
xor eax, eax
lea edi, [ebp - 0x810]
jmp 0x4332de
add ebx, 0xc
add edi, 8
cmp ebx, 0xc08
je 0x4332a0
mov esi, dword [edi]
test esi, esi
je 0x4332d0
cmp dword [ebp + ebx - 0x1418], 0
je 0x4332d0
mov ecx, dword [edi + 4]
cmp ecx, dword [ebp + ebx - 0x1410]
jne 0x4332d0
mov ecx, dword [ebp + ebx - 0x1414]
test ecx, ecx
je 0x4332d0
mov dword [edi], 0
call dword [0x5983d0]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x4332d0
push 2
push dword [ebp - 0x1414]
call fcn.00445610
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.0041c8c0
jmp 0x433274
push 0x5f34e8
call fcn.00566696
add esp, 4
cmp dword [0x5f34e8], 0xffffffff
jne 0x43325f
push 4
call fcn.0056607a
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.0041c8b0
mov dword [0x5f34e4], esi
push 0x5f34e8
call fcn.0056664c
add esp, 4
jmp 0x43325f

Function at 0x4333a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5eeef4]
cmp eax, 0xffffffff
je 0x4333c0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4333d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5eeef4]
cmp eax, 0xffffffff
je 0x4333fa
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4333ff
call fcn.004335e0
mov eax, dword [0x5f34e8]
mov ecx, dword [0x5f3980]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x433599
mov edi, dword [0x5f34e4]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x43358d
mov ecx, dword [0x5f28e0]
inc ecx
mov edx, 0x100
nop word cs:[eax + eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x5f28e4], 0
je 0x43347d
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x5f28e4], 0
je 0x43347d
add ecx, 2
add edx, 0xfffffffe
jne 0x433450
jmp 0x4334ad
lea ecx, [eax*4 + 0x5f28e4]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x5f28e8], ecx
mov dword [0x5f28e0], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x5f28ec]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 0x14], 0xffffffff
mov ebx, dword [esi]
cmp ebx, 0xffffffff
jne 0x433516
push 0xffffffffffffffff
call fcn.00414570
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
call fcn.00414570
add esp, 4
lea edi, [ebp - 0x14]
mov ecx, edi
push ebx
push eax
push str.slot____kInvalidSlotValue
call fcn.00414a80
cmp dword [ebp - 0x14], 0
je 0x433514
lea ebx, [ebp - 0x18]
push edi
push 0x1c7
push str..._.._base_threading_thread_local_storage.cc
push ebx
call fcn.00409dc0
add esp, 0x10
mov ecx, ebx
call fcn.00409d80
mov ecx, ebx
call fcn.00409d90
mov ebx, dword [esi]
mov dword [ebp - 0x14], 0xffffffff
cmp ebx, 0x100
jl 0x433579
push 0x100
call fcn.00414570
add esp, 4
mov edi, eax
push ebx
call fcn.00414570
add esp, 4
lea esi, [ebp - 0x14]
mov ecx, esi
push edi
push eax
push str.slot____kThreadLocalStorageSize
call fcn.00414a80
cmp dword [ebp - 0x14], 0
je 0x433579
lea edi, [ebp - 0x18]
push esi
push 0x1c8
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.00409dc0
add esp, 0x10
mov ecx, edi
call fcn.00409d80
mov ecx, edi
call fcn.00409d90
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.0041c8c0
jmp 0x433435
push 0x5f34e8
call fcn.00566696
add esp, 4
cmp dword [0x5f34e8], 0xffffffff
jne 0x433420
push 4
call fcn.0056607a
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.0041c8b0
mov dword [0x5f34e4], edi
push 0x5f34e8
call fcn.0056664c
add esp, 4
jmp 0x433420