Function at 0x43ee10
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 ebx, dword [ebp + 8]
lock inc dword [0x4a50a8]
jle 0x43f257
mov edi, edx
mov esi, ecx
call fcn.00411570
test eax, eax
jne 0x43ee5a
lea eax, [esp + 0x2c]
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
mov edx, 0x46
push 0x49b57c
push 0x49a954
push eax
call fcn.00404a20
cmp byte [eax + 4], 0
jne 0x43f2ee
inc dword [eax]
mov byte [eax + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x49c29c
mov dword [esp + 0x1c], ebx
movzx ebx, byte [ebp + 0x10]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp + 0x14]
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], al
mov eax, dword [0x4a5094]
cmp eax, 0x3ffffffd
ja 0x43eeae
lea ecx, [eax + 1]
lock cmpxchg dword [0x4a5094], ecx
je 0x43eeb3
call fcn.0043f5b0
movzx eax, byte [0x4a509c]
cmp dword [0x4a50a0], 0
mov eax, dword [edi + 0x10]
jne 0x43ef16
push esi
call eax
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, eax
mov edi, edx
cmp byte [esp + 0x25], 0
jne 0x43ef6f
call fcn.00411570
test eax, eax
jne 0x43f126
lea eax, [esp + 0x2c]
mov edx, 0x46
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destructionlibrary_std_src_threadlocal.rs
push 0x49b57c
push 0x49a954
push eax
call fcn.00404a20
add esp, 0xc
jmp 0x43f15b
push esi
call eax
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [0x4a50a4]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x14]
push ecx
push dword [0x4a50a0]
call eax
add esp, 8
mov ecx, 0xffffffff
lock xadd dword [0x4a5094], ecx
dec ecx
mov eax, ecx
and eax, 0xbfffffff
cmp eax, 0x80000000
jne 0x43ef5d
call fcn.0043e310
call fcn.00411570
test eax, eax
jne 0x43f0b7
jmp 0x43ee3c
mov byte [esp + 4], 3
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x78]
push esi
push ecx
call eax
add esp, 8
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor eax, 0x57a64178
xor ecx, 0xb98b1b71
or ecx, eax
jne 0x43f0c8
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov eax, 4
xor edx, 0xd6cb5d6d
xor ecx, 0x63eb502c
or ecx, edx
mov ecx, esi
jne 0x43f0c8
mov ecx, dword [ecx]
mov eax, dword [esi + eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00410c00
test eax, eax
jne 0x43f143
mov eax, 9
mov ecx, 0x49c154
xor esi, esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esp + 4]
mov dword [esp + 0x38], eax
movzx eax, byte [0x4a5064]
mov dword [esp], 0
test al, al
setne al
mov edi, eax
je 0x43f058
mov byte [0x4a5064], 1
call fcn.004338a0
test eax, eax
je 0x43f058
mov edx, dword [eax]
mov dword [eax], 0
test edx, edx
mov dword [esp], edx
jne 0x43f17d
xor edi, edi
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
lea edx, [esp + 0x44]
lea ecx, [esp + 0x2c]
push 0x49c188
call fcn.0043e3c0
add esp, 4
xor ebx, ebx
test esi, esi
je 0x43f08c
lock dec dword [esi]
jne 0x43f08c
mov ecx, esi
call fcn.004105c0
mov ecx, dword [esp]
mov edx, edi
test ecx, ecx
sete al
or al, bl
movzx ebx, byte [ebp + 0x10]
or dl, al
jne 0x43ef3c
lock dec dword [ecx]
jne 0x43ef3c
call fcn.00433980
jmp 0x43ef3c
test bl, bl
mov byte [eax + 4], 0
je 0x43f40b
call fcn.004340c0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x68]
push esi
push ecx
call eax
add esp, 8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
xor eax, 0xf2b4aa5
xor ecx, 0xe674cff2
or ecx, eax
mov eax, 0xc
mov ecx, 0x49c148
jne 0x43efd3
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
xor edi, 0xb700c7cf
xor edx, 0x3aef8dce
or edx, edi
jne 0x43efd3
mov ecx, esi
mov eax, 8
add ecx, 4
jmp 0x43efce
cmp dword [eax], 1
jbe 0x43f135
mov byte [esp + 4], 1
jmp 0x43ef74
call fcn.004340d0
mov byte [esp + 4], al
jmp 0x43ef74
mov esi, dword [eax]
test esi, esi
jne 0x43f156
mov ecx, eax
mov esi, eax
call fcn.00410ce0
mov eax, esi
mov esi, dword [eax]
lock inc dword [esi]
jg 0x43f15d
ud2
test esi, esi
je 0x43efe8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x43f1a2
cmp eax, 1
jne 0x43f1b1
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
dec eax
jmp 0x43eff4
mov cl, 1
xor eax, eax
lea edi, [edx + 8]
lock cmpxchg byte [edx + 8], cl
je 0x43f192
mov ecx, edi
call fcn.00414510
mov eax, dword [0x4a50a8]
test eax, 0x7fffffff
jne 0x43f1c0
xor ebx, ebx
jmp 0x43f1ca
mov eax, 4
mov ecx, str.main
jmp 0x43eff4
mov eax, 9
mov ecx, 0x49c154
jmp 0x43eff4
call fcn.004145b0
mov ebx, eax
xor bl, 1
mov ecx, dword [esp]
movzx eax, byte [ecx + 9]
lea edx, [ecx + 0xc]
lea ecx, [esp + 0x2c]
push 0x49c160
call fcn.0043e3c0
add esp, 4
test bl, bl
jne 0x43f1f5
mov eax, dword [0x4a50a8]
test eax, 0x7fffffff
jne 0x43f225
xor eax, eax
xchg byte [edi], al
cmp al, 2
jne 0x43f204
push edi
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov byte [0x4a5064], 1
call fcn.004338a0
test eax, eax
jne 0x43f237
mov ecx, dword [esp]
lock dec dword [ecx]
je 0x43f249
xor edi, edi
mov bl, 1
jmp 0x43f07c
call fcn.004145b0
test al, al
jne 0x43f1f5
mov eax, dword [esp]
mov byte [eax + 9], 1
jmp 0x43f1f5
mov ecx, dword [eax]
mov edx, dword [esp]
mov bl, 1
test ecx, ecx
mov dword [eax], edx
je 0x43f250
lock dec dword [ecx]
jne 0x43f250
call fcn.00433980
mov bl, 1
xor edi, edi
jmp 0x43f07c
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x49c29c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0x49c2e0
mov dword [esp + 0x30], 2
mov byte [esp + 0x48], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], eax
movzx eax, byte [ebp + 0x10]
mov byte [esp + 0x24], al
movzx eax, byte [ebp + 0x14]
mov byte [esp + 0x25], al
lea eax, [esp + 0x14]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0x404bf0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 1
lea eax, [esp + 0x2c]
lea esi, [esp + 0xc]
lea ecx, [esp + 0x44]
push eax
push ecx
push esi
call fcn.0040f530
add esp, 0xc
cmp byte [esp + 0xc], 4
je 0x43f3c2
jmp 0x43f3b9
test ebx, ebx
je 0x43f319
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
cmp ecx, 1
je 0x43f311
test ecx, ecx
jne 0x43f319
test eax, eax
jne 0x43f319
mov eax, 1
xor ecx, ecx
jmp 0x43f3d2
test eax, eax
je 0x43f3cb
xor eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0x49c29c
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 0x2c], 0x49c324
mov dword [esp + 0x30], 2
mov byte [esp + 8], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x60], eax
movzx eax, byte [ebp + 0x10]
mov byte [esp + 0x64], al
movzx eax, byte [ebp + 0x14]
mov byte [esp + 0x65], al
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x404bf0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 1
lea eax, [esp + 0x2c]
lea esi, [esp + 0x44]
lea ecx, [esp + 4]
push eax
push ecx
push esi
call fcn.0040f530
add esp, 0xc
cmp byte [esp + 0x44], 4
je 0x43f3c2
push esi
call fcn.0040f660
add esp, 4
mov ecx, 7
int 0x29
ud2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x14]
jmp 0x43f32b
mov dword [esp + 0xc], 0
mov dword [esp + 0x2c], 0x49c364
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 4
mov byte [esp + 0x10], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
lea esi, [esp + 0x54]
push eax
push ecx
push esi
call fcn.0040f530
add esp, 0xc
mov ecx, esi
call fcn.0040f640
mov ecx, 7
int 0x29
ud2