joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430330
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x560204]
mov ecx, dword [0x553e30]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x430361
movzx eax, word [0x5601e0]
cmp eax, 9
jne 0x4303ac
xor eax, eax
inc eax
pop ebp
ret
push 0x560204
call fcn.0049a5e7
add esp, 4
cmp dword [0x560204], 0xffffffff
jne 0x430350
xorps xmm0, xmm0
movups xmmword [0x5601f0], xmm0
movups xmmword [0x5601e0], xmm0
mov dword [0x560200], 0
push 0x5601e0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x560204
call fcn.0049a65d
add esp, 4
jmp 0x430350
test eax, eax
je 0x43035f
cmp eax, 6
jne 0x4303bc
mov eax, 2
jmp 0x43035f
cmp eax, 0xc
jne 0x4303c8
mov eax, 3
jmp 0x43035f
mov eax, 4
jmp 0x43035f

Function at 0x430a60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x430b39
cmp dword [esi], 0
jne 0x430b39
cmp dword [esi + 0xc], 0
jne 0x430b39
xor eax, eax
cmp dword [esi + 4], 0
jne 0x430b39
mov ebx, dword [edi]
cmp eax, ebx
je 0x430ac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x430b09
lea eax, [ebx + 1]
cmp eax, 2
jb 0x430ab9
mov dword [esi], ebx
call fcn.00465200
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x430af6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x430b20
lea eax, [ebx + 1]
cmp eax, 2
jb 0x430aec
mov dword [esi + 4], ebx
call fcn.00465200
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00465200
push dword [esi]
call fcn.00468130
add esp, 4
mov dword [esi], 0
jmp 0x430aaa
call fcn.00465200
push dword [esi + 4]
call fcn.00468130
add esp, 4
mov dword [esi + 4], 0
jmp 0x430adc
mov ecx, esi
call fcn.004e2570
mov eax, dword [esi]
jmp 0x430a94
Function at 0x434cc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x550014]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x434ce9
mov eax, dword [ecx + 4]
test eax, eax
je 0x434e56
mov eax, ebx
not eax
test eax, 0x300
je 0x434e56
cmp edi, 2
mov eax, 0x562f6a
mov ecx, 0x56316a
cmove ecx, eax
cmp word [ecx], 0
jne 0x434e56
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x434e56
cmp byte [0x562f68], 0
setne al
bt ebx, 8
jb 0x434e56
shr ebx, 9
and ebx, 1
or bl, al
je 0x434e56
cmp edi, 2
mov eax, 0x53e608
mov edx, 0x53e61c
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x434e69
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x434dd7
push edi
push dword [edx]
push dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
call fcn.004af3f3
mov edx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x434de3
add edx, 0x14
inc esi
cmp esi, dword [esp + 0x18]
jb 0x434dab
jmp 0x434e4f
mov eax, dword [esp + 4]
movzx ecx, word [eax + edi*2]
mov eax, dword [esp + 0x14]
cmp ecx, 0x5c
jne 0x434e99
mov eax, dword [esp + 4]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
jne 0x434e15
mov dword [esp + 0xc], str.WOW6432Node
mov dword [esp + 8], eax
jmp 0x434e1e
cmp esi, 1
je 0x434ea6
cmp cx, 0x5c
mov dword [esp + 0x10], esi
jne 0x434e3b
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [esp + 4], ecx
mov eax, ecx
je 0x434e28
jmp 0x434e3f
mov dword [esp + 4], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], eax
mov edx, dword [edx + 0xc]
xor esi, esi
mov eax, ebx
jmp 0x434ddb
cmp dword [esp + 0x10], 0
jne 0x434e74
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.0049b033
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
mov eax, ecx
jmp 0x434d8a
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x434e82
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [esp + 8]
sub edx, eax
sar edx, 1
mov ecx, dword [ebp + 8]
push dword [esp + 0xc]
push edx
call fcn.004da2b0
jmp 0x434e56
test ecx, ecx
jne 0x434dd7
jmp 0x434df8
mov dword [esp + 0xc], str.WOW6432Node_
mov edi, dword [esp + 4]
mov dword [esp + 8], edi
jmp 0x434e1e
Function at 0x436740
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 eax, dword [0x550014]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x436913
cmp dword [0x552d10], 0xe69e32f3
jne 0x436916
mov ecx, 0x308
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0xc]
mov byte [esp + 0xf], 0xff
movzx eax, byte [esi + 2]
push eax
mov dword [esp + 8], ecx
push ecx
call fcn.00470120
add esp, 8
movzx ebx, ax
shl ebx, 5
lea edi, [esi + ebx]
add edi, 0x48
add esi, 0x40
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4368db
mov dword [esp + 8], esi
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x43688a
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x436880
mov edi, dword [ebp + 8]
add ebx, edi
mov ebx, dword [ebx + 0x54]
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x4368e7
mov edx, ecx
and edx, 0x1fc000
je 0x4368e7
prefetcht0 byte [ecx]
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 + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.00472ab0
push esi
push dword [0x563588]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x553e30]
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.0049b033
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x4367fb
lea eax, [esp + 0xf]
mov ecx, edi
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.00477450
test eax, eax
je 0x436919
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 0x436814
mov ecx, esi
call fcn.00473780
jmp 0x4367b1
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push dword [esi]
push str.first
call fcn.004e55e0
push edi
call fcn.004106c0
add esp, 4
mov ecx, ebx
call fcn.004e5660
int3
int3
xor esi, esi
jmp 0x436837
Function at 0x436a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x550014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436ac3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x436aad
cmp dword [ebp - 0x18], 4
jne 0x436aad
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b033
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x436aad

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0049b950
mov esi, ecx
mov eax, dword [0x550014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.0049dcc0
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436b69
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x436b6d
push edi
call fcn.004b2e99
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.00420ab0
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b033
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x436b50
cmp eax, 2
jne 0x436bb9
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.0049dcc0
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x436bc0
push ebx
call fcn.004b2e99
add esp, 4
mov ecx, esi
push eax
push ebx
jmp 0x436b49
mov esi, 0x3f4
jmp 0x436b50
mov esi, 0xea
jmp 0x436b50

Function at 0x437520
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x553d24]
cmp eax, 0xffffffff
je 0x437540
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 0x43753e
Function at 0x437550
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x553d24]
cmp eax, 0xffffffff
je 0x437611
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x437611
mov eax, dword [0x5641ec]
mov ecx, dword [0x553e30]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43761b
mov edi, dword [0x5641e8]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x437660
mov ecx, dword [0x5635e4]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x5635e8], 0
jne 0x43766c
lea eax, [eax*4 + 0x5635e8]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x5635ec], ecx
mov dword [0x5635e4], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x5635f0]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x43767b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00437680
jmp 0x437575
push 0x5641ec
call fcn.0049a5e7
add esp, 4
cmp dword [0x5641ec], 0xffffffff
jne 0x437596
push 4
call fcn.0049a541
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00468b60
mov dword [0x5641e8], edi
push 0x5641ec
call fcn.0049a65d
add esp, 4
jmp 0x437596
mov ecx, edi
call fcn.00468b70
jmp 0x4375ab
inc edx
cmp edx, 0x100
jne 0x4375b4
jmp 0x4375fb
int3

Function at 0x437680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x550014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x553d24]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x43772d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x437776
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.0049dcc0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.004449b0
add esp, 8
push edi
call fcn.0049a5a3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.0049d740
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.004449b0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b033
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.00444990
add esp, 4
test al, al
je 0x437779
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x43777c
xor eax, eax
dec eax
lock cmpxchg dword [0x553d24], ecx
je 0x4376b1
push ecx
call fcn.00509da0
add esp, 4
mov ecx, dword [0x553d24]
mov dword [ebp - 0x814], ecx
jmp 0x4376b1
int3
int3
push esi
call fcn.00444990
add esp, 4
test al, al
je 0x4377a4
cmp dword [ebp - 0x814], 0xffffffff
je 0x4377a4
push 0xffffffffffffffff
call fcn.00509da0
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x43774b
int3
Function at 0x438980
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x550014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.00426440
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x4389ae
mov esi, dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x4389cc
push dword [ebp - 0x1c]
call fcn.0049a571
add esp, 4
cmp dword [ebp + 8], 0
je 0x438a65
test esi, esi
je 0x438a65
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.0049a5a3
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.00426440
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x438a0f
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x438a29
push dword [ebp - 0x1c]
call fcn.0049a571
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x438a7e
push edi
call fcn.004b2e99
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.00466f50
add esp, 0xc
cmp byte [ebx + 0xb], 0
js 0x438a81
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.0049a5ac
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b033
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3
push dword [ebx]
call fcn.0049a571
add esp, 4
jmp 0x438a4d
Function at 0x43cc80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [edx + 4]
test eax, eax
je 0x43cdcd
mov edi, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [edx]
xor edx, edx
xor esi, esi
or esi, dword [ecx + edx*4]
inc edx
cmp eax, edx
jne 0x43cc9f
test esi, esi
mov esi, dword [ebp - 0x10]
je 0x43cdcd
test eax, eax
jle 0x43cde9
mov ecx, dword [edi]
test byte [ecx], 1
je 0x43cde9
cmp dword [edi + 0xc], 0
jne 0x43ce1a
lea ebx, [esi + 0x14]
cmp ebx, edi
je 0x43cd11
push eax
push ebx
call fcn.0043b100
add esp, 8
test eax, eax
je 0x43cdf7
mov eax, dword [edi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x43cd06
push ecx
push dword [edi]
push dword [ebx]
call fcn.0049d740
add esp, 0xc
mov eax, dword [edi + 4]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x20], eax
mov edi, ebx
test edi, edi
je 0x43cdf7
mov eax, dword [esi + 0x18]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov edx, eax
test edx, edx
jle 0x43ce05
mov edi, dword [ebx]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x43cd25
inc esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], esi
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
cmp esi, 2
jb 0x43ce13
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
xor esi, esi
inc esi
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x14], esi
and esi, 1
neg esi
mov edi, 0
sbb edi, edi
mov edx, dword [ebp - 0x1c]
and edx, edi
and esi, dword [ebp - 0x20]
mov ecx, edx
xor ecx, eax
and edx, eax
mov eax, esi
xor eax, dword [ebp - 0x14]
and esi, dword [ebp - 0x14]
shrd eax, ecx, 1
shr ecx, 1
add esi, eax
adc edx, ecx
and edi, 0x80000000
shrd dword [ebp - 0x18], ebx, 1
shr ebx, 1
or ebx, edi
mov dword [ebp - 0x14], esi
mov eax, edx
dec dword [ebp - 0x24]
jne 0x43cd71
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
xor eax, eax
inc eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xa4
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x69
push 0
push 3
call fcn.00512e80
add esp, 0x14
xor eax, eax
jmp 0x43cdc5
push 0xa8
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x68
jmp 0x43cdd9
push 0xb2
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x44
jmp 0x43cdd9
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
jns 0x43ce28
mov eax, dword [ebx]
mov ecx, dword [eax]
xor eax, eax
jmp 0x43cd53
push 0xac
push str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x6d
jmp 0x43cdd9
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
jmp 0x43ce0f
Function at 0x443c60
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 0x443c77
test eax, eax
je 0x443c77
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x443c85
mov ecx, dword [0x5645ac]
test ecx, ecx
jne 0x443cc1
cmp dword [0x5645a4], 0
je 0x443c71
mov esi, dword [0x5645a8]
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 0x443ccb
test esi, esi
je 0x443c71
mov ecx, dword [0x5645a4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x443c71
call dword [section..00cfg]
call ecx
jmp 0x443c85
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x443ca9
Function at 0x448b20
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x448b3e
mov eax, dword [ebx + 4]
mov ebx, dword [ebx]
jmp 0x448b41
and eax, 0x7f
mov esi, eax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x18], eax
cmp eax, 4
jb 0x448b7c
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, ebx
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x448b56
cmp edx, 1
je 0x448b9d
cmp edx, 2
je 0x448b94
cmp edx, 3
jne 0x448ba8
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
xor ecx, ecx
mov dword [ebp - 0x10], edx
test edx, edx
je 0x448cc6
mov dword [ebp - 0x1c], ebx
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov esi, eax
shr esi, 0xf
xor esi, eax
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 1
and edx, 0x55555555
sub eax, edx
mov edx, 0x33333333
mov ebx, eax
and ebx, edx
shr eax, 2
and eax, edx
add eax, ebx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
jbe 0x448cd9
mov edx, esi
cmp esi, dword [ebp - 0x10]
jb 0x448c21
mov eax, esi
xor edx, edx
div dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x448cc6
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax]
test ebx, ebx
je 0x448cc6
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x448c8d
movzx edx, byte [ebx + 0x13]
mov eax, edx
and eax, 0x7f
mov ecx, eax
test dl, dl
jns 0x448c65
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x18]
jne 0x448ca4
lea ecx, [ebx + 8]
test dl, dl
jns 0x448c73
mov ecx, dword [ecx]
js 0x448cac
test al, al
je 0x448cc4
xor ecx, ecx
mov dl, byte [ebx + ecx + 8]
mov edi, eax
cmp dl, byte [esi + ecx]
jne 0x448ca4
inc ecx
cmp eax, ecx
jne 0x448c7b
jmp 0x448cc4
cmp dword [ebp - 0x28], 1
jbe 0x448ce6
cmp eax, dword [ebp - 0x10]
jb 0x448c9f
xor edx, edx
div dword [ebp - 0x10]
mov eax, edx
cmp eax, dword [ebp - 0x24]
jne 0x448cd5
mov ebx, dword [ebx]
test ebx, ebx
jne 0x448c4b
jmp 0x448cd5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x448cc4
push eax
push dword [ebp - 0x1c]
push ecx
call fcn.0049c82d
add esp, 0xc
test eax, eax
jne 0x448ca4
mov ecx, ebx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ecx, ecx
jmp 0x448cc6
mov eax, dword [ebp - 0x10]
lea edx, [eax - 1]
and edx, esi
jmp 0x448c21
and eax, dword [ebp - 0x20]
jmp 0x448c9f
Function at 0x44cde0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x550014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x44ce10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b033
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x44cf10
push 0
push eax
push 0x44cd70
push 0x565aa4
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x44cf0b
cmp dword [0x565aa8], 0
jne 0x44cdfc
push dword [0x565aac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44cdfc
mov esi, eax
mov eax, 0x565ab0
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x565ab4]
mov ebx, dword [0x565ab8]
mov eax, dword [0x565abc]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x565ac0]
mov dword [ebp - 0x20], eax
mov eax, dword [0x565ac4]
mov dword [ebp - 0x24], eax
mov eax, 0x565ab0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x44cea4
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x44ceb9
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x44cecf
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x44cee8
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x44cefd
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.00479fe0
add esp, 4
jmp 0x44cdfc
call fcn.004ac810
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x565aac], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x565aa8], ecx
pop ebp
ret