Function at 0x414a30
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], 0x419c00
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
cmp byte [ebx + 0xd], 0
je 0x414a83
mov byte [esi + 5], 3
jmp 0x414aa9
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x18], 1
jbe 0x414aa1
mov byte [esi + 5], 1
jmp 0x414aa9
call fcn.00411d30
mov byte [esi + 5], al
mov eax, dword [ebx + 8]
mov edi, dword [ebx]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 4]
mov ebx, dword [eax + 0xc]
lea eax, [esi + 0x68]
push edi
push eax
call ebx
add esp, 8
mov eax, dword [esi + 0x70]
mov edx, 0x57a64178
mov ecx, dword [esi + 0x74]
xor edx, dword [esi + 0x68]
xor eax, 0xd6cb5d6d
xor ecx, 0x63eb502c
or eax, edx
mov edx, 0xb98b1b71
xor edx, dword [esi + 0x6c]
or ecx, edx
or ecx, eax
mov eax, 4
mov ecx, edi
je 0x414b2c
lea eax, [esi + 0x58]
push edi
push eax
call ebx
add esp, 8
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov edx, 0xddf6287a
mov ebx, 0x12121edb
xor edx, dword [esi + 0x58]
xor ebx, dword [esi + 0x5c]
xor eax, 0x8f1367ea
xor ecx, 0x7305467b
or eax, edx
or ecx, ebx
or ecx, eax
jne 0x414b33
lea ecx, [edi + 4]
mov eax, 8
mov ecx, dword [ecx]
mov eax, dword [edi + eax]
jmp 0x414b3d
mov ecx, str.Box_dyn_Any_aborting_due_to_panic_at
mov eax, 0xc
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
movzx eax, byte [eax + 0x34]
test eax, eax
je 0x414b64
cmp eax, 1
je 0x414b8e
jmp 0x414bd4
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
lea eax, [edi + 0x30]
push 0x4192d0
push eax
call fcn.00419330
add esp, 8
mov byte [edi + 0x34], 1
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x414e36
lock inc dword [edx]
jle 0x414e5f
test edx, edx
je 0x414bd4
mov dword [esi + 0xc], edx
mov eax, dword [edx + 0x10]
test eax, eax
je 0x414dd1
cmp eax, 2
je 0x414bdd
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x14]
dec eax
jmp 0x414be7
mov dword [esi + 0xc], 0
xor edx, edx
mov eax, 9
mov ecx, str._unnamed_
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
lea eax, [esi + 0x40]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x50], eax
lea eax, [esi + 5]
mov dword [esi + 0x54], eax
movzx eax, byte [0x430128]
mov dword [esi + 8], edx
test al, al
je 0x414d7e
mov byte [0x430128], 1
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x20]
cmp eax, 2
je 0x414d82
cmp eax, 1
je 0x414c52
xor ecx, ecx
mov dword [esi + 0x88], 0
call fcn.00426d90
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x10], 0
mov ebx, dword [eax + 0x24]
mov dword [eax + 0x24], 0
lea eax, [esi + 0x14]
test ebx, ebx
mov dword [esi + 0x14], ebx
je 0x414d94
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], ebx
mov cl, 1
xor eax, eax
lea edi, [ebx + 8]
lock cmpxchg byte [ebx + 8], cl
jne 0x414e61
mov eax, dword [0x43017c]
mov dword [esi + 8], edi
test eax, 0x7fffffff
jne 0x414e7d
mov dword [esi + 0x20], 0
movzx eax, byte [ebx + 9]
mov dword [esi + 0x30], ebx
lea edx, [ebx + 0xc]
mov dword [esi + 0x88], 4
lea ecx, [esi + 0x48]
push 0x42a13c
call fcn.00414fe0
add esp, 4
cmp byte [esi + 0x20], 0
jne 0x414cf2
mov eax, dword [0x43017c]
test eax, 0x7fffffff
jne 0x414e96
mov ecx, dword [esi + 8]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x414d04
push ecx
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov edx, dword [esi + 0x24]
mov byte [0x430128], 1
mov dword [esi + 0x18], edx
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x20]
cmp eax, 2
je 0x414de0
cmp eax, 1
mov dword [esi + 8], edx
je 0x414d48
xor ecx, ecx
mov dword [esi + 0x88], 3
call fcn.00426d90
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov edx, dword [esi + 8]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], edx
test eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 1
je 0x414ded
lock dec dword [eax]
jne 0x414ded
lea ecx, [esi + 0x1c]
jmp 0x414de8
xor eax, eax
jmp 0x414d87
mov eax, 1
mov dword [esi + 0x10], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov byte [esi + 6], 0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x88], 1
lea ecx, [esi + 0x48]
lea edx, [esi + 0x18]
push 0x42a164
call fcn.00414fe0
add esp, 4
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jne 0x414df6
jmp 0x414e03
mov eax, 4
mov ecx, 0x429714
jmp 0x414be7
lock dec dword [edx]
jne 0x414ded
lea ecx, [esi + 0x18]
call fcn.0040e5a0
mov eax, dword [esi + 0xc]
mov bl, 1
test eax, eax
je 0x414e03
lock dec dword [eax]
jne 0x414e03
lea ecx, [esi + 0xc]
call fcn.0040e5e0
mov eax, dword [esi + 0x14]
test eax, eax
sete cl
or cl, byte [esi + 0x10]
or bl, cl
cmp bl, 1
je 0x414e22
lock dec dword [eax]
jne 0x414e22
mov ecx, dword [esi + 0x2c]
call fcn.0040e5a0
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x4301e8]
mov ecx, dword fs:[0x2c]
mov edi, dword [ecx + eax*4]
lea ecx, [edi + 0x30]
call fcn.00426560
mov edx, dword [edi + 0x30]
lock inc dword [edx]
jg 0x414bb4
ud2
push edi
call fcn.00426920
add esp, 4
mov eax, dword [0x43017c]
mov dword [esi + 8], edi
test eax, 0x7fffffff
je 0x414cb1
call fcn.004268d0
xor al, 1
mov dword [esi + 0x88], 4
mov dword [esi + 0x20], eax
jmp 0x414cb8
call fcn.004268d0
test al, al
jne 0x414cf2
mov eax, dword [esi + 0x30]
mov byte [eax + 9], 1
jmp 0x414cf2