Function at 0x4150d0
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], 0x415fd0
lea edi, [esi + 0x80]
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
mov dword fs:[0], edi
lock inc dword [0x41e180]
jle 0x41545f
mov ebx, edx
mov edi, ecx
call fcn.0040e570
test eax, eax
jne 0x41514b
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 0x41a688
push 0x419dec
push eax
call fcn.004171b0
cmp byte [eax + 4], 0
jne 0x4154db
inc dword [eax]
mov byte [eax + 4], 1
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], str.kernel_drivers_do_not_support_launch_arguments
mov dword [esi + 0x40], 0x41ac3c
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 0x41e170
call dword [sym.imp.kernel32.dll_AcquireSRWLockShared]
movzx eax, byte [0x41e174]
cmp dword [0x41e178], 0
mov eax, dword [ebx + 0x10]
jne 0x4152a5
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 0x415328
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 0x415365
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.0040ce60
mov edi, 9
mov ecx, 0x41ab48
test eax, eax
je 0x415251
mov edx, dword [eax + 0x10]
test edx, edx
je 0x415251
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.00414a80
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4152d9
lock dec dword [ecx]
jne 0x4152d9
call fcn.0040ce20
jmp 0x4152d9
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 [0x41e178]
mov ecx, dword [0x41e17c]
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 0x41e170
call dword [sym.imp.kernel32.dll_ReleaseSRWLockShared]
mov byte [esi + 6], 0
mov dword [esi + 0x88], 0
call fcn.0040e570
test eax, eax
jne 0x4153ba
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 0x41a688
push 0x419dec
push eax
call fcn.004171b0
add esp, 0xc
jmp 0x4153cd
mov byte [esi + 6], 1
call fcn.0040e570
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
test eax, eax
jne 0x4153cf
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 0x41a688
push 0x419dec
push eax
call fcn.004171b0
add esp, 0xc
jmp 0x4153cd
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, 0xb5132e5a
xor ecx, 0xc066cf72
xor edx, 0xcceb16c1
xor eax, 0x368e35df
or ecx, edi
or eax, edx
or eax, ecx
jne 0x415450
lea ecx, [ebx + 4]
add ebx, 8
mov eax, ebx
mov ebx, ecx
jmp 0x415223
cmp byte [ebp + 0x10], 0
mov byte [eax + 4], 0
je 0x4153dd
mov byte [esi + 6], 0
call fcn.004131e0
ud2
cmp dword [eax], 1
jbe 0x415439
mov byte [esi + 7], 1
jmp 0x4151d5
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0x41acfc
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], str.kernel_drivers_do_not_support_launch_arguments
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.0040ca30
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 6], 0
call fcn.0040cb90
mov ecx, 7
int 0x29
ud2
mov byte [esi + 6], 1
call fcn.004131f0
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 8]
mov byte [esi + 7], al
jmp 0x4151d5
mov eax, 0xc
mov ecx, 0x41ab3c
jmp 0x415227
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], str.kernel_drivers_do_not_support_launch_arguments
mov dword [esi + 0x40], 0x41ac3c
mov dword [esi + 0x24], 0x41ac80
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], 0x403ef0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x30], 1
push eax
call fcn.0040ca30
add esp, 4
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
jmp 0x415521
lea eax, [esi + 0x24]
lea ecx, [esi + 0x3c]
lea edx, [esi + 0xc]
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0x41acc4
mov dword [esi + 0x28], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x2c], str.kernel_drivers_do_not_support_launch_arguments
mov byte [esi + 0x10], 0
mov dword [esi + 0x30], 0
push eax
call fcn.0040ca30
add esp, 4
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
call fcn.0040cb90
mov ecx, 7
int 0x29
ud2