Function at 0x4148f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x4154a0
lea edi, [esi + 0x80]
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
mov dword fs:[0], edi
lock inc dword [0x41e10c]
jle 0x414c7f
mov ebx, edx
mov edi, ecx
call fcn.0040dac0
test eax, eax
jne 0x41496b
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41aa94
push 0x41a118
push eax
call fcn.004166a0
cmp byte [eax + 4], 0
jne 0x414cfb
inc dword [eax]
mov byte [eax + 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], 0x419f24
mov dword [esi + 0x40], 0x41b064
movzx edx, byte [ebp + 0x10]
movzx ecx, byte [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
mov byte [esi + 0x4c], dl
mov byte [esi + 0x4d], cl
push 0x41e0fc
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
movzx eax, byte [0x41e100]
cmp dword [0x41e104], 0
mov eax, dword [ebx + 0x10]
jne 0x414ac5
mov byte [esi + 6], 1
mov dword [esi + 0x88], 0
push edi
call eax
add esp, 4
cmp byte [ebp + 0x14], 0
mov edi, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edx
mov dword [esi + 8], eax
mov dword [esi + 0x50], edx
je 0x414b48
mov byte [esi + 7], 3
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x68]
mov dword [esi + 0x54], eax
mov eax, dword [edx + 0xc]
mov byte [esi + 6], 1
push edi
push ecx
call eax
mov ebx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
mov edi, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
xor edi, 0xcd1e7bc1
xor ecx, 0xb1ef64
xor edx, 0xc1a2c89c
xor eax, 0xfdbc1681
or ecx, edi
or eax, edx
or eax, ecx
jne 0x414b85
mov eax, ebx
add eax, 4
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
mov byte [esi + 6], 1
call fcn.0040c4c0
mov edi, 9
mov ecx, 0x41af70
test eax, eax
je 0x414a71
mov edx, dword [eax + 0x10]
test edx, edx
je 0x414a71
mov edi, dword [eax + 0x14]
mov ecx, edx
dec edi
mov dword [esi + 0xc], ecx
lea edx, [esi + 0xc]
lea ecx, [esi + 0x54]
mov dword [esi + 0x14], 0
mov dword [esi + 8], eax
mov dword [esi + 0x10], edi
mov byte [esi + 0x18], 0
mov dword [esi + 0x88], 1
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
lea edx, [esi + 0x1c]
lea ecx, [esi + 7]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x24]
lea edx, [esi + 0x14]
call fcn.00414340
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414af9
lock dec dword [ecx]
jne 0x414af9
call fcn.0040c480
jmp 0x414af9
mov byte [esi + 6], 1
mov dword [esi + 0x88], 0
push edi
call eax
add esp, 4
mov dword [esi + 0x3c], eax
mov eax, dword [0x41e104]
mov ecx, dword [0x41e108]
mov dword [esi + 0x40], edx
lea edx, [esi + 0x3c]
mov byte [esi + 6], 1
push edx
push eax
call dword [ecx + 0x14]
add esp, 8
push 0x41e0fc
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov byte [esi + 6], 0
mov dword [esi + 0x88], 0
call fcn.0040dac0
test eax, eax
jne 0x414bda
mov byte [esi + 6], 0
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41aa94
push 0x41a118
push eax
call fcn.004166a0
add esp, 0xc
jmp 0x414bed
mov byte [esi + 6], 1
call fcn.0040dac0
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
test eax, eax
jne 0x414bef
mov byte [esi + 6], 1
lea eax, [esi + 0x24]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x41aa94
push 0x41a118
push eax
call fcn.004166a0
add esp, 0xc
jmp 0x414bed
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x58]
mov eax, dword [eax + 0xc]
mov byte [esi + 6], 1
push ebx
push ecx
call eax
mov ebx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
mov edi, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
xor edi, 0x437bc94e
xor ecx, 0xe0bdc524
xor edx, 0xc0168362
xor eax, 0x17262f2c
or ecx, edi
or eax, edx
or eax, ecx
jne 0x414c70
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
jmp 0x414a43
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x414bfd
mov byte [esi + 6], 0
call fcn.00412b80
ud2
cmp dword [eax], 1
jbe 0x414c59
mov byte [esi + 7], 1
jmp 0x4149f5
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0x41b124
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], 0x419f24
mov byte [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov byte [esi + 6], 0
lea ecx, [esi + 0xc]
lea edx, [esi + 0x1c]
push eax
call fcn.0040c0f0
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 6], 0
call fcn.0040c220
mov ecx, 7
int 0x29
ud2
mov byte [esi + 6], 1
call fcn.00412b90
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
mov byte [esi + 7], al
jmp 0x4149f5
mov eax, 0xc
mov ecx, 0x41af64
jmp 0x414a47
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], 0x419f24
mov dword [esi + 0x40], 0x41b064
mov dword [esi + 0x24], 0x41b0a8
mov dword [esi + 0x28], 2
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x1c]
lea edx, [esi + 0x14]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x48], eax
movzx eax, byte [ebp + 0x10]
mov byte [esi + 0x4c], al
movzx eax, byte [ebp + 0x14]
mov byte [esi + 0x4d], al
lea eax, [esi + 0x3c]
mov dword [esi + 0xc], eax
lea eax, [esi + 0xc]
mov dword [esi + 0x10], 0x403560
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x30], 1
push eax
call fcn.0040c0f0
add esp, 4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
jmp 0x414d41
lea eax, [esi + 0x24]
lea ecx, [esi + 0x3c]
lea edx, [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0x41b0ec
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], 0x419f24
mov byte [esi + 0x10], 0
mov dword [esi + 0x30], 0
push eax
call fcn.0040c0f0
add esp, 4
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
call fcn.0040c220
mov ecx, 7
int 0x29
ud2