joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432b40
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x10], edx
test bl, bl
mov dword [ebp - 0x20], ebx
lea ebx, [esi + ebx]
lea edx, [eax + edx]
cmovs ebx, edx
cmovs esi, eax
sub ebx, esi
cmp ebx, 4
jb 0x432be1
mov dword [ebp - 0x18], ecx
mov edx, ebx
mov edi, esi
mov ecx, ebx
mov eax, ebx
mov dword [ebp - 0x1c], esi
nop
imul esi, dword [edi], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add edx, 0xfffffffc
add edi, 4
mov ebx, esi
shr ebx, 0x18
xor ebx, esi
imul esi, ebx, 0x5bd1e995
xor eax, esi
cmp edx, 3
ja 0x432b80
mov ebx, ecx
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ebx, 0xfffffffc
mov esi, ebx
and esi, 0xfffffffc
lea edx, [edi + esi + 4]
sub ebx, esi
mov esi, edi
cmp ebx, 1
je 0x432bea
cmp ebx, 2
je 0x432bd6
cmp ebx, 3
jne 0x432bf5
movzx edi, byte [edx + 2]
shl edi, 0x10
xor eax, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor eax, edi
jmp 0x432bea
mov eax, ebx
mov edx, esi
cmp ebx, 1
jne 0x432bc3
movzx edx, byte [edx]
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, dword [ecx + 4]
mov edi, ebx
sub edi, 1
jb 0x432d15
mov edx, eax
mov dword [ebp - 0x1c], edi
shr edx, 0xd
xor edx, eax
imul edx, edx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor eax, edx
test edi, ebx
je 0x432c2e
cmp eax, ebx
mov edx, eax
mov edi, eax
jb 0x432c34
mov eax, edi
xor edx, edx
div ebx
jmp 0x432c34
mov edx, eax
and edx, edi
mov edi, eax
mov eax, dword [ecx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x432d15
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
mov ecx, 0
test ebx, ebx
je 0x432d17
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
test cl, cl
cmovns eax, ecx
mov dword [ebp - 0x10], eax
nop word cs:[eax + eax]
nop
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x432cd0
movzx eax, byte [ebx + 0x13]
test al, al
mov ecx, eax
jns 0x432c84
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x432cef
lea ecx, [ebx + 8]
test al, al
mov edx, dword [ecx]
cmovs ecx, edx
js 0x432cfb
cmp dword [ebp - 0x10], 0
je 0x432d11
cmp byte [esi], dl
jne 0x432cef
dec eax
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp eax, ecx
je 0x432d11
movzx edx, byte [ebx + ecx + 9]
cmp dl, byte [esi + ecx + 1]
lea ecx, [ecx + 1]
je 0x432cb0
jmp 0x432cef
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test edx, ecx
je 0x432ce6
cmp eax, ecx
jb 0x432ce8
xor edx, edx
div ecx
mov eax, edx
jmp 0x432ce8
and eax, edx
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x432d15
mov ebx, dword [ebx]
test ebx, ebx
jne 0x432c70
jmp 0x432d15
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x432d11
push eax
push esi
push ecx
call fcn.0045baed
add esp, 0xc
test eax, eax
jne 0x432cef
mov ecx, ebx
jmp 0x432d17
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x436a80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x436af6
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x484e54]
cmp esi, edx
jb 0x436aa0
jmp 0x436af8
xor ebx, ebx
cmp ebx, dword [ecx + 0xc]
sete al
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x436b10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x436b86
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x484e54]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x484e54]
cmp esi, edx
jb 0x436b30
jmp 0x436b88
xor ebx, ebx
mov dword [ecx + 0xc], ebx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c360
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x49c3bc]
mov ebx, ecx
lea esi, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
push edx
push ecx
push esi
call fcn.00426070
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x43c38f
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
mov edi, eax
js 0x43c41d
test edi, edi
je 0x43c430
cmp dword [ebp + 8], 0
mov dword [ebp - 0x20], ebx
mov bl, 1
je 0x43c494
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.00459213
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push ebx
call fcn.00426070
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x43c3eb
mov ebx, dword [ebp - 0x1c]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x43c405
push dword [ebp - 0x1c]
call fcn.004591e8
add esp, 4
cmp word [esi], 0
mov bl, 1
je 0x43c434
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x43c410
jmp 0x43c436
push dword [ebp - 0x1c]
call fcn.004591e8
add esp, 4
test edi, edi
jne 0x43c3aa
xor ebx, ebx
jmp 0x43c494
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push esi
push ecx
call fcn.00426480
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x43c456
mov byte [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x43c47c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x43c47c
push dword [ecx]
call fcn.004591e8
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push esi
call fcn.0045921c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c6b5
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [0x49c3bc]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x43c6d7
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x43c7bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43c712
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov ecx, esi
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0043c7d2
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43c7b9
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0xb4]
push eax
push 2
push 0x245
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042d100
lea eax, [ebp - 0xac]
push 0x10
push str.CreateDirectory
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x43c766
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc0]
push eax
push esi
push ebx
call fcn.00426480
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x43c78b
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
push eax
push ebx
push edi
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb5], al
jns 0x43c7ae
push dword [ebp - 0xc0]
call fcn.004591e8
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0042d1c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c7d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb4
mov eax, dword [0x49c3bc]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x43c7f4
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c8c4
mov bl, 1
test al, 0x10
jne 0x43c96d
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43c96b
lea ecx, [ebp - 0xb4]
push 2
push 0x233
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042ca20
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x43c85c
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc0]
push eax
push esi
push ebx
call fcn.00426480
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x43c881
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
push eax
push ebx
push edi
call fcn.0041c9c0
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb5], al
jns 0x43c8b4
push dword [ebp - 0xc0]
call fcn.004591e8
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0042c1f0
jmp 0x43c96b
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x43c96b
call sub.KERNEL32.dll_GetLastError
lea ecx, [ebp - 0xb4]
push eax
push 2
push 0x22f
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0042d100
lea eax, [ebp - 0xac]
push 0x12
push str.GetFileAttributes
push eax
call fcn.0041c9c0
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x43c918
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc0]
push eax
push esi
push ebx
call fcn.00426480
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x43c93d
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
push eax
push ebx
push edi
call fcn.0041c9c0
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb5], al
jns 0x43c960
push dword [ebp - 0xc0]
call fcn.004591e8
add esp, 4
lea ecx, [ebp - 0xb4]
call fcn.0042d1c0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xb4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43e97a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x43e98c
cmp byte [ecx + 0x1b], 0
jns 0x43e999
mov ecx, dword [ecx + 0x10]
jmp fcn.0043e99c
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2 + 1]
ret
add ecx, 0x10
Function at 0x43f879
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 eax, dword [0x49c3bc]
mov edi, ecx
mov ecx, dword [ebp + 8]
mov ebx, edx
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x43f8a2
mov eax, dword [ecx + 4]
test eax, eax
je 0x43f8cb
bt ebx, 8
jae 0x43f8b5
mov eax, ebx
and eax, 0x200
jne 0x43f8cb
cmp edi, 2
mov eax, 0x49f4ba
mov ecx, 0x49f6ba
cmove ecx, eax
cmp word [ecx], 0
je 0x43f8de
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00459221
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 0x20]
xorps xmm0, xmm0
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 0x43f8cb
cmp byte [0x49f4b8], 0
setne al
bt ebx, 8
jb 0x43f8cb
shr ebx, 9
and ebx, 1
or bl, al
je 0x43f8cb
cmp edi, 2
mov eax, 0x486080
mov edx, 0x486094
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
jns 0x43f93c
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, ecx
xor ecx, ecx
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x43f9c7
movzx ecx, word [eax + edi*2]
cmp cx, 0x5c
je 0x43f972
test cx, cx
jne 0x43f9fc
mov ebx, eax
lea eax, [eax + edi*2]
mov edi, dword [edx + 8]
cmp edi, 1
mov dword [esp + 0xc], edi
je 0x43f998
cmp dword [esp + 0xc], 2
jne 0x43f9a4
mov dword [esp + 8], str.WOW6432Node
mov dword [esp + 4], eax
jmp 0x43f9a4
mov dword [esp + 8], str.WOW6432Node_
mov dword [esp + 4], ebx
cmp cx, 0x5c
jne 0x43f9b5
dec esi
cmp word [eax + 2], 0x5c
lea eax, [eax + 2]
je 0x43f9aa
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
xor edi, edi
mov edx, ebx
mov dword [esp + 0x10], ecx
mov ebx, esi
jmp 0x43fa04
mov dword [esp + 0x1c], edi
mov edi, dword [edx + 4]
mov esi, ebx
sub esi, edi
jb 0x43f9fc
push edi
push dword [edx]
push eax
mov dword [esp + 0x20], ebx
mov ebx, edx
mov dword [esp + 0x24], eax
call fcn.0046b51c
mov edx, ebx
mov ebx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
je 0x43f95f
mov edi, dword [esp + 0x1c]
add edx, 0x14
inc edi
cmp edi, dword [esp + 0x10]
jb 0x43f9c7
cmp dword [esp + 0xc], 0
je 0x43f8cb
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x43fa22
mov eax, ecx
jmp 0x43fa24
mov eax, dword [ecx]
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
push dword [esp + 8]
push edx
call fcn.0041ae44
jmp 0x43f8cb
Function at 0x440ff4
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x49c3bc]
mov bl, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, ebp
test bl, bl
mov dword [ebp - 0x10], eax
je 0x44103a
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x44103a
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [edi + 4], 0x4877cc
mov dword [edi + 8], 1
movzx eax, bl
shl eax, 0x13
or eax, 3
cmp byte [esi + 0xb], 0
jns 0x44104b
mov esi, dword [esi]
mov ecx, 0x200
push edi
push 0
push ecx
push ecx
push 2
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x441078
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xa8
mov eax, dword [0x49c3bc]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x44112d
and eax, 0xfeff
cmp eax, 6
je 0x44112d
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x49fac4]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44114c
push 0x10000000
push 0
push esi
call dword [0x49fac0]
mov bl, 1
test eax, eax
jne 0x441136
push 2
call fcn.0042c980
add esp, 4
test al, al
je 0x441129
call sub.KERNEL32.dll_GetLastError
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.0042d100
lea eax, [ebp - 0xa8]
push 0x1b
push 0x48786b
push eax
call fcn.0041c9c0
add esp, 0xc
mov ecx, esi
call fcn.0042d1c0
xor ebx, ebx
jmp 0x441136
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00459221
mov eax, ebx
add esp, 0xa8
pop esi
pop ebx
pop ebp
ret
push 0x49fac4
call fcn.00459267
add esp, 4
cmp dword [0x49fac4], 0xffffffff
jne 0x4410ce
push 1
push str.::InitializeCriticalSectionEx
push 0x484156
call fcn.004413a0
add esp, 0xc
mov dword [0x49fac0], eax
push 0x49fac4
call fcn.004592dd
add esp, 4
jmp 0x4410ce
Function at 0x441cf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.004595b0
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x49c430]
cmp eax, 0xffffffff
je 0x441e50
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441e50
mov esi, eax
cmp eax, 1
jne 0x441d3b
push 0
push dword [0x49c430]
jmp 0x441e48
lea edi, [ebp - 0x810]
push 0x800
push esi
push edi
call fcn.0045caa0
add esp, 0xc
mov eax, dword [0x49c430]
push edi
mov dword [ebp - 0x1414], eax
push eax
call fcn.00451940
add esp, 8
push esi
call fcn.0045921c
add esp, 4
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a09fc]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x441e65
mov esi, dword [0x4a09f8]
mov ecx, esi
call fcn.0042c0a0
lea eax, [ebp - 0x1410]
push 0xc00
push 0x49fdf8
push eax
call fcn.0045caa0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
nop word cs:[eax + eax]
nop dword [eax]
test al, 1
je 0x441e40
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x441e30
cmp dword [ebp + ebx - 0x810], 0
je 0x441e30
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x441e30
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x441e30
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
nop word cs:[eax + eax]
nop
add edi, 8
add ebx, 0xc
jne 0x441df0
cmp esi, 2
lea esi, [esi - 1]
jae 0x441dd0
push 1
push dword [ebp - 0x1414]
call fcn.00451940
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4a09fc
call fcn.00459267
add esp, 4
cmp dword [0x4a09fc], 0xffffffff
jne 0x441d8f
push 4
call fcn.00459168
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.0042c090
mov dword [0x4a09f8], esi
push 0x4a09fc
call fcn.004592dd
add esp, 4
jmp 0x441d8f
Function at 0x441ed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa8
mov eax, dword [0x49c3bc]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x49c430]
cmp eax, 0xffffffff
je 0x441efd
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x441f02
call fcn.004420a0
mov ecx, dword [0x49f0e0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x4a09fc]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44204c
mov edi, dword [0x4a09f8]
mov ecx, edi
call fcn.0042c0a0
mov eax, dword [0x49fdf4]
xor ecx, ecx
inc eax
nop dword [eax + eax]
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x49fdf8], 0
je 0x441f5e
inc ecx
cmp ecx, 0xff
jbe 0x441f40
jmp 0x441f8e
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x49fdf8]
mov dword [0x49fdf4], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x49fdfc], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x49fe00]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
mov dword [ebp - 0xb4], 0xffffffff
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x441fe4
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x14]
push str.slot____kInvalidSlotValue
push eax
push ecx
call fcn.0042d310
add esp, 0xc
test eax, eax
je 0x441fe4
lea edi, [ebp - 0xb4]
mov ecx, edi
push eax
push 0x159
push str..._.._base_threading_thread_local_storage.cc
call fcn.0042ce40
mov ecx, edi
call fcn.0042c1f0
mov eax, dword [esi]
mov dword [ebp - 0xb4], 0x100
cmp eax, 0xff
mov dword [ebp - 0x14], eax
jle 0x442035
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x14]
push str.slot____kThreadLocalStorageSize
push eax
push ecx
call fcn.0042d310
add esp, 0xc
test eax, eax
je 0x442035
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 0x15a
push str..._.._base_threading_thread_local_storage.cc
call fcn.0042ce40
mov ecx, esi
call fcn.0042c1f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459221
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x4a09fc
call fcn.00459267
add esp, 4
cmp dword [0x4a09fc], 0xffffffff
jne 0x441f23
push 4
call fcn.00459168
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.0042c090
mov dword [0x4a09f8], edi
push 0x4a09fc
call fcn.004592dd
add esp, 4
jmp 0x441f23
Function at 0x4420a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x49c3bc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x49c430]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x44217c
lea edi, [ebp - 0x810]
push edi
call fcn.00451910
add esp, 4
test al, al
jne 0x4420ff
lea esi, [ebp - 0x80c]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0x99
push str..._.._base_threading_thread_local_storage.cc
call fcn.0042c100
mov ecx, esi
call fcn.0042c1f0
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x442153
push edi
call fcn.00451910
add esp, 4
test al, al
je 0x442120
cmp dword [ebp - 0x810], 0xffffffff
jne 0x442143
lea esi, [ebp - 0x80c]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0xa3
push str..._.._base_threading_thread_local_storage.cc
call fcn.0042c100
mov ecx, esi
call fcn.0042c1f0
push 0xffffffffffffffff
call fcn.00451930
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x49c430], ecx
mov eax, dword [ebp - 0x810]
je 0x44217c
push eax
call fcn.00451930
add esp, 4
mov eax, dword [0x49c430]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x80c], eax
je 0x4421c9
lea eax, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::GetTLSValue_key___kUninitialized
push 0x487bac
push eax
call fcn.0041c470
add esp, 0xc
test eax, eax
je 0x4421c9
lea esi, [ebp - 0x80c]
mov ecx, esi
push eax
push 0xb5
push str..._.._base_threading_thread_local_storage.cc
call fcn.0042ce40
mov ecx, esi
call fcn.0042c1f0
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.0045d5a0
add esp, 0xc
push edi
push dword [ebp - 0x810]
call fcn.00451940
add esp, 8
push 0x800
call fcn.00459213
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.0045caa0
add esp, 0xc
push esi
push dword [ebp - 0x810]
call fcn.00451940
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00459221
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
Function at 0x446e70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xa4
mov ecx, dword [0x49c3bc]
mov eax, dword [ebp + 0xc]
xor ecx, ebp
test eax, eax
mov dword [ebp - 8], ecx
je 0x446eb9
push eax
push dword [ebp + 8]
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x446eb9
lea esi, [ebp - 0xa8]
mov ecx, esi
push str.success
push 0x20
push str..._.._base_rand_util_win.cc
call fcn.0042c100
mov ecx, esi
call fcn.0042c1f0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00459221
add esp, 0xa4
pop esi
pop ebp
ret