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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x130
cmp byte [edx], 0x15
mov esi, ecx
jne 0x4377c5
mov ebx, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov dword [esp + 0x38], esi
mov ecx, ebx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
shl ecx, 5
add ecx, edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x60], 0x16
call fcn.005c1420
test eax, eax
je 0x437814
mov esi, dword [eax + 8]
mov edx, dword [eax]
mov ecx, 0xaaaa
mov dword [esp + 0x14], ebx
mov dword [esp + 4], edi
cmp ebx, ecx
cmovb ecx, ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0xc], esi
mov esi, dword [eax + 4]
mov dword [esp + 0x10], edx
add edx, 1
mov dword [eax], edx
mov dword [esp + 8], ebx
mov edx, esi
mov dword [esp + 0xac], esi
adc edx, 0
test ecx, ecx
mov dword [eax + 4], edx
je 0x43723b
cmp ecx, 7
ja 0x437248
xor eax, eax
cmp ecx, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x437269
mov ebx, 0x7f5240
xor eax, eax
xor edi, edi
xor esi, esi
jmp 0x4372bb
shl ecx, 3
mov edx, 0x24924925
mov eax, ecx
mul edx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
dec ecx
bsr ecx, ecx
xor eax, eax
dec eax
not ecx
shr eax, cl
inc eax
lea edi, [esp + 0x18]
mov edx, 0x18
mov ecx, edi
push eax
call fcn.0059a8c8
add esp, 4
mov ebx, dword [edi]
test ebx, ebx
je 0x4372b1
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
lea eax, [esi + 0x11]
push eax
push 0xff
push ebx
call fcn.0064ad90
mov eax, dword [esp + 0xb4]
add esp, 0xc
jmp 0x4372bb
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor ebx, ebx
lea ecx, [esp + 0x108]
mov dword [ecx - 8], ebx
mov dword [ecx - 4], esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4374a9
mov edi, dword [esp + 4]
dec eax
xor ecx, ecx
lea esi, [esp + 0x18]
and eax, 0x7ffffff
inc eax
mov dword [esp + 0x14], eax
add edi, 0x20
mov al, byte [edi - 0x20]
cmp al, 0x16
je 0x437457
lea ebx, [edi - 0x20]
lea edx, [esp + 0xd1]
inc ecx
movsd xmm0, qword [ebx + 0x18]
mov dword [esp + 8], ecx
mov ecx, esi
movsd qword [esp + 0x2f], xmm0
movsd xmm0, qword [ebx + 0x11]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [ebx + 1]
movsd xmm1, qword [ebx + 9]
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [ebx + 1]
movsd xmm1, qword [ebx + 8]
movsd qword [edx + 7], xmm1
movsd qword [edx], xmm0
lea edx, [esp + 0x27]
mov byte [esp + 0xd0], al
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
lea edx, [esp + 0xd0]
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm0
call fcn.00437bf4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4376a6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov ecx, esi
call fcn.00437bf4
cmp dword [esp + 0x18], 0
je 0x4376c4
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov ecx, esi
lea edx, [esp + 0x100]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xc]
movsd qword [esp + 0xf0], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.005feb89
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x437437
cmp dword [esp + 0x1c], 0
je 0x437437
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp + 4]
add ebx, 0x20
mov ecx, dword [esp + 8]
add edi, 0x20
cmp ebx, dword [esp + 0x3c]
jne 0x437310
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x108]
mov ebx, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], ecx
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
test ebx, ebx
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x98], xmm1
jne 0x4374e5
jmp 0x437702
movsd xmm1, qword [ecx + 8]
mov eax, dword [esp + 4]
movsd xmm0, qword [ecx]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [ecx + 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], 0
movsd qword [esp + 0x88], xmm0
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esp + 0x90]
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x98]
movsd xmm2, qword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov dl, byte [esp + 0x60]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esp + 0x74]
test eax, eax
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0xb8], xmm2
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
mov dword [esp + 0x58], ecx
movsd qword [esp + 0x50], xmm1
je 0x43769f
movsd xmm0, qword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x80]
xor ebx, ebx
mov byte [esp + 4], dl
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], edi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x437692
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea esi, [eax + 0x20]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [eax + 0x18]
cmp byte [esp + 0xd0], 0x16
movsd qword [esp + 0xe8], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0xd8], xmm1
movsd qword [esp + 0xe0], xmm0
je 0x437738
movsd xmm0, qword [eax + 0x18]
lea ecx, [esp + 0x108]
movsd qword [esp + 0x30], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esp + 0x28]
mov dword [esp + 0x100], ebx
inc ebx
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esp + 0x98]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
movsd xmm1, qword [esp + 0x98]
movsd xmm0, qword [esp + 0xa0]
movsd xmm2, qword [esp + 0x88]
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [ecx + 0x18], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
call fcn.00431610
lea ecx, [esp + 0x118]
call fcn.00431610
cmp esi, edi
mov eax, esi
jne 0x437582
mov dword [esp + 0x48], edi
mov byte [esp + 0xd0], 0x16
jmp 0x43773c
xor esi, esi
jmp 0x43775f
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], eax
call fcn.00431610
jmp 0x4376f6
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ecx
je 0x4376f4
push dword [esp + 0xc]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, edi
lea ecx, [esp + 0x100]
call fcn.00600ad0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], esi
mov dword [eax], 0
je 0x43771f
lea ecx, [esp + 0x70]
call fcn.005fd599
cmp byte [esp + 0x60], 0x16
je 0x4377e3
lea ecx, [esp + 0x60]
call fcn.00431610
jmp 0x4377e3
mov dword [esp + 0x48], esi
lea ecx, [esp + 0xd0]
call fcn.0042dc3f
lea ecx, [esp + 0x40]
call fcn.005fd599
mov dl, byte [esp + 4]
xor esi, esi
test ebx, ebx
jne 0x4377eb
cmp dl, 0x16
je 0x43776d
lea ecx, [esp + 0x60]
call fcn.00431610
mov eax, dword [esp + 0x38]
test esi, esi
je 0x43778c
lea ecx, [esp + 0xb0]
mov dword [eax + 4], esi
mov dword [eax], 0
call fcn.00600ad0
jmp 0x4377e3
movsd xmm1, qword [esp + 0xc0]
movsd xmm0, qword [esp + 0xc8]
movsd xmm2, qword [esp + 0xb0]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0xb8]
movsd qword [eax + 0x18], xmm0
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
jmp 0x4377e3
lea eax, [esp + 0x18]
mov ecx, edx
mov edx, eax
push 0x661f98
call fcn.0065f8ec
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
lea edx, [esp + 0x100]
add ebx, eax
mov dword [edx], eax
mov ecx, ebx
push 0x6670b4
call fcn.0065f813
mov dl, byte [esp + 8]
add esp, 4
mov esi, eax
jmp 0x43775f
lea eax, [esp + 0x18]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadlocal.rs
mov edx, 0x46
push 0x7f49d0
push 0x666bb8
push eax
call fcn.006525c0
add esp, 0xc
ud2