joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10056db0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x110
mov eax, dword [0x1008d040]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x120]
mov eax, 0x10624dd3
imul ecx
push ebx
sar edx, 6
mov eax, edx
mov ebx, dword [esp + 0x11c]
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
imul eax, eax, 0x3e8
push esi
mov esi, dword [esp + 0x11c]
push edi
mov edi, dword [esp + 0x130]
sub ecx, eax
mov dword [esp + 0x18], esi
imul eax, ecx, 0x3e8
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x10056e6f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.select
push str.Socket_error:__s___d_n
push 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
add esp, 4
push eax
call fcn.10052cb0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.100574bd
add esp, 0x110
ret
jne 0x10056e8b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.100574bd
add esp, 0x110
ret
push 0
push dword [esp + 0x12c]
push ebx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x10056ec6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.recv
push str.Socket_error:__s___d_n
push 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
add esp, 4
push eax
call fcn.10052cb0
add esp, 0x10
test edi, edi
je 0x10056ed0
mov dword [edi], 0
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100574bd
add esp, 0x110
ret
Function at 0x432cf0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov ecx, dword [ebp + 8]
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x432f32
cmp dword [0x4fdca0], 0xe69e32f3
jne 0x432f35
mov edx, dword [ecx + 8]
lea esi, [edx + 0x1c8]
mov byte [esp + 0xf], 0xff
cmp byte [ecx + 3], 0
mov eax, esi
jne 0x432d7d
lea ecx, [edx + 0xc7]
mov eax, esi
cmp ecx, 0x7fefe
ja 0x432d7d
xor ecx, ecx
cmp esi, 1
sbb ecx, ecx
or ecx, 0x20
add edx, 0x1c7
je 0x432d62
bsr eax, edx
xor eax, 0x1f
jmp 0x432d67
mov eax, 0x20
sub ecx, eax
xor edx, edx
inc edx
shl edx, cl
mov eax, edx
shr eax, 1
lea eax, [eax + eax*4]
shr eax, 2
cmp eax, esi
cmovb eax, edx
mov dword [esp + 4], esi
mov edx, 0x20
mov ecx, 0x20
test eax, eax
je 0x432d95
bsr ecx, eax
xor ecx, 0x1f
sub edx, ecx
mov cl, byte [edx + 0x4ed508]
mov esi, eax
shr esi, cl
and esi, 3
and eax, dword [edx*4 + 0x4ed52c]
lea ecx, [esi + edx*4]
cmp eax, 1
sbb ecx, 0xffffffff
movzx edi, word [ecx + ecx + 0x4ed3fc]
shl edi, 5
mov eax, dword [ebp + 8]
lea ebx, [eax + edi]
add ebx, 0x48
lea esi, [eax + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x432ddd
mov ecx, esi
call fcn.00454330
mov dword [esp + 8], esi
mov eax, dword [ebx]
mov esi, dword [eax]
test esi, esi
je 0x432eb0
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x432e26
mov edx, dword [ebp + 8]
mov ebx, dword [edx + edi + 0x54]
mov edi, edx
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x432f01
mov edx, ecx
and edx, 0x1fc000
je 0x432f01
prefetcht0 byte [ecx]
jmp 0x432e2b
xor ecx, ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x8fc]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x900]
mov dword [edi + 0x8fc], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x900], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.004546f0
push esi
push dword [0x50bd4c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x4ffb48]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x90], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.0046fc53
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, ebx
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.00453060
test eax, eax
je 0x432f2b
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x432e44
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push dword [esi]
push 0x4ed2e0
call fcn.0049f0f0
push edi
call fcn.00452760
add esp, 4
mov ecx, ebx
call fcn.0049f1e0
xor esi, esi
jmp 0x432e67
int3
int3
Function at 0x432fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x432fb7
test eax, eax
je 0x432fb7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x432fc5
mov ecx, dword [0x50bd8c]
test ecx, ecx
jne 0x433001
cmp dword [0x50bd84], 0
je 0x432fb1
mov esi, dword [0x50bd88]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x43300b
test esi, esi
je 0x432fb1
mov ecx, dword [0x50bd84]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x432fb1
call dword [section..00cfg]
call ecx
jmp 0x432fc5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x432fe9
Function at 0x4359e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x43b6d0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x435a51
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00457900
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x50c2d4
call fcn.00458270
mov esi, eax
mov edi, dword [ebp - 0x30]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x435aa3
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
test al, al
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmovs esi, edx
test esi, esi
je 0x435b79
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], 0
je 0x435b49
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
movzx esi, al
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x435b52
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], edx
mov byte [ecx], al
xor edi, edi
cmp esi, 0xffffffff
je 0x435b20
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x24]
inc ebx
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
movzx edi, al
cmovs edi, edx
add edi, esi
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x435af2
jmp 0x435b79
mov dword [ebp - 0x20], 0
jmp 0x435b2c
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call edi
mov esi, eax
jmp 0x435b16
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x435b91
push ecx
call fcn.0046ece1
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x435a47
Function at 0x43cac0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x50c990]
test ebx, ebx
jne 0x43cb38
push 0x24
call fcn.0046ecb1
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.0046ecb1
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x50c990], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x43cb42
mov edi, eax
push eax
call fcn.0048a7a7
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0043cb50
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x43f040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [esp + 0xa8], eax
test ecx, ecx
je 0x43f078
cmp byte [ecx + 0xb], 0
js 0x43f20c
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
xor ebx, ebx
test edx, edx
je 0x43f1f4
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push ebx
push ebx
push edx
call fcn.00487d3a
add esp, 0xc
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x60]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x20]
push 0xce
push str..._.._base_files_file_util.cc
push str.ReadStreamToStringWithMaxSize
push esi
call fcn.0045b4f0
add esp, 0x10
mov ecx, edi
push ebx
push esi
call fcn.0045e2d0
mov dword [esi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
push dword [ebp + 8]
call fcn.00481513
add esp, 4
push eax
call fcn.0048156a
add esp, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x43f21d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
xor ebx, ebx
mov edx, ecx
neg edx
mov edx, 0
sbb edx, eax
cmovl ebx, eax
mov edi, 0xffff
cmovl edi, ecx
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], esi
mov dword [ecx + 8], esi
mov eax, dword [ebp + 0xc]
cmp edi, eax
cmovae edi, eax
test ebx, ebx
mov ebx, ecx
cmovne edi, eax
inc edi
push esi
push edi
call fcn.004591a0
cmp byte [esp + 0x1b], 0
mov ecx, dword [ebp + 8]
jns 0x43f160
mov ebx, dword [esp + 0x10]
add ebx, esi
push ecx
push edi
push 1
push ebx
call fcn.00487b37
add esp, 0x10
test eax, eax
je 0x43f199
mov ebx, eax
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x43f227
add ebx, esi
push dword [ebp + 8]
call fcn.004876ce
add esp, 4
test eax, eax
je 0x43f22b
mov esi, ebx
push dword [ebp + 8]
call fcn.004876fa
add esp, 4
test eax, eax
sete bl
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43f1e4
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx + 8], esi
movq xmm0, qword [esp + 0x10]
movq qword [ecx], xmm0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
push 0
push dword [esp + 0x10]
call fcn.004591a0
cmp byte [esp + 0x1b], 0
js 0x43f24f
lea ecx, [esp + 0x60]
call fcn.0045e330
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
jmp 0x43f078
mov edi, 0xffff
jmp 0x43f12d
xor ebx, ebx
jmp 0x43f1ad
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
lea ecx, [esp + 0x10]
push 0
push eax
call fcn.004591a0
mov esi, ebx
lea ebx, [esp + 0x10]
jmp 0x43f152
push dword [esp + 0x10]
call fcn.0046ece1
add esp, 4
jmp 0x43f1eb
Function at 0x43f3c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00459dd0
test al, al
je 0x43f403
call fcn.00459dc0
mov esi, eax
mov ecx, eax
push 0x4f1956
call fcn.00459e60
test al, al
jne 0x43f42b
mov ecx, esi
push str.vmodule
call fcn.00459e60
test al, al
jne 0x43f42b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x4fec30], eax
mov bl, 1
test al, 1
jne 0x43f4cb
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x50c9e4], 0
jne 0x43f54c
mov eax, dword [0x50c9e8]
mov dword [0x50c9e4], eax
push 0x10
call fcn.0046ecb1
add esp, 4
mov edi, eax
mov ebx, str.vmodule
push ebx
call fcn.00489fa0
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push ebx
push edx
call fcn.00459f60
mov eax, 0x4f1956
push eax
call fcn.00489fa0
add esp, 4
lea ebx, [ebp - 0x28]
mov ecx, esi
push eax
mov eax, 0x4f1956
push eax
push ebx
call fcn.00459f60
mov ecx, edi
push 0x50c9ec
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.004be400
mov dword [0x50c9e8], edi
cmp byte [ebx + 0xb], 0
jns 0x43f4b1
push dword [ebp - 0x28]
call fcn.0046ece1
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x43f403
push dword [ebp - 0x1c]
call fcn.0046ece1
add esp, 4
jmp 0x43f403
mov eax, dword [0x50ca00]
test eax, eax
jne 0x43f4e0
mov ecx, dword [0x50c9f0]
test ecx, ecx
je 0x43f502
jmp 0x43f51e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50ca00], 0
mov ecx, dword [0x50c9f0]
test ecx, ecx
jne 0x43f51e
and byte [0x4fec30], 0xfe
push 0xc
call fcn.0046ecb1
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x50c9f0], ecx
push dword [esi + 4]
call fcn.0043bf80
cmp dword [esi + 0xc], 0
jne 0x43f540
mov eax, dword [0x50c9f0]
cmp byte [eax + 0xb], 0
jns 0x43f539
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004b9cd0
mov ebx, eax
jmp 0x43f417
int3
Function at 0x4417d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4fec50]
cmp eax, 0xffffffff
je 0x4417f0
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
jmp 0x4417ee

Function at 0x441800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x4fec50]
cmp eax, 0xffffffff
je 0x4418c7
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4418c7
mov eax, dword [0x50d660]
mov ecx, dword [0x4ffb48]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4418d1
mov edi, dword [0x50d65c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x441916
mov ecx, dword [0x50ca58]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x50ca5c], 0
jne 0x441922
lea eax, [eax*4 + 0x50ca5c]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x50ca60], ecx
mov dword [0x50ca58], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x50ca64]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x441934
cmp eax, 0x100
jge 0x441937
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00441940
jmp 0x441825
push 0x50d660
call fcn.0046ed57
add esp, 4
cmp dword [0x50d660], 0xffffffff
jne 0x441846
push 4
call fcn.0046ecb1
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.0045ef10
mov dword [0x50d65c], edi
push 0x50d660
call fcn.0046edcd
add esp, 4
jmp 0x441846
mov ecx, edi
call fcn.0045ef20
jmp 0x44185b
inc edx
cmp edx, 0x100
jne 0x441864
jmp 0x4418ab
int3
int3
Function at 0x441940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x4fec50]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x4419ed
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x441a36
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.004723c0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.00449200
add esp, 8
push edi
call fcn.0046ed13
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00471e40
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.00449200
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fc53
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.004491e0
add esp, 4
test al, al
je 0x441a39
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x441a3c
xor eax, eax
dec eax
lock cmpxchg dword [0x4fec50], ecx
je 0x441971
push ecx
call fcn.004c1350
add esp, 4
mov ecx, dword [0x4fec50]
mov dword [ebp - 0x814], ecx
jmp 0x441971
int3
int3
push esi
call fcn.004491e0
add esp, 4
test al, al
je 0x441a64
cmp dword [ebp - 0x814], 0xffffffff
je 0x441a64
push 0xffffffffffffffff
call fcn.004c1350
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x441a0b
int3

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

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 [0x4fc014]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x1af
push str..._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.0045b4f0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0045e2d0
cmp byte [edi + 0xb], 0
jns 0x441e71
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov ecx, esi
call fcn.0045e330
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x441ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.004723c0
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
add esi, 0xfffffefc
cmp esi, 0xfffffefd
jb 0x441f28
push ebx
call fcn.0048a7a7
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.0045a750
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.0043edf0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0045a830
mov ecx, ebx
call fcn.0045a810
mov ecx, edi
call fcn.0045a810
cmp esi, 0xfffffefd
setae bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x441f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.004723c0
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4effe0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x441fcc
cmp word [ebp - 0x214], 0
je 0x441fcc
push edi
call fcn.0048a7a7
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0045a750
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0046fc53
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0045a700
push edi
call fcn.00441ea0
add esp, 4
mov ecx, esi
test al, al
je 0x441ffb
push edi
call fcn.0045a720
jmp 0x442007
push 3
push 0x4f0032
call fcn.0045a750
lea ecx, [ebp - 0x220]
call fcn.0045a810
jmp 0x441fb6
Function at 0x442130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov eax, dword [0x4fc014]
xor eax, ebp
mov dword [esp + 0x268], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x220]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x18]
push 0x391
push str..._.._base_files_file_util_win.cc
push 0x4f0043
push ebx
call fcn.0045b4f0
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0045e2d0
lea esi, [esp + 0x1a]
push 0x206
push 0xff
push esi
call fcn.004723c0
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 0xfffffefb
cmp esi, 0xfffffefc
jb 0x442201
push ebx
call fcn.0048a7a7
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.0045a750
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.0043edf0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0045a830
mov ecx, ebx
call fcn.0045a810
mov ecx, edi
call fcn.0045a810
cmp esi, 0xfffffefc
setae bl
lea ecx, [esp + 0x220]
call fcn.0045e330
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.0046fc53
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret